parent
e636f42cf2
commit
1af3fcec3d
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST docker-buildx-0.10.2.tar.gz 9187634 BLAKE2B 9a43a7bcb224f33d718928ef3070449cac4db87c951f4337368d0c994f211d4c3db3a5e9c309ce10e357ab24746bed2507e2867c9fdab3b51a5423787362fee1 SHA512 ba6b8baae1a8e24bf9ddc58d5e2451270fa6e3891bae83112ca00ae56b7a4842b45ec970898ec27a2123e312885bf0d8c58cc600d8462787242eb878f45cd877
|
||||
DIST docker-buildx-0.10.4.tar.gz 9184825 BLAKE2B f0e71c0f6dda5f02da4cf0b0514f67f5d339ba10359afc69aae25abf907447fd22fe3d92427299bc67aeaa6a84e748a8a5cbd86151b2baba2dd01f25cc04a793 SHA512 f82b89b8dd4e45524c8d353c4d7588f47b1c7b7ecf759fd9605247c1c7aa0ca152c3ecdec0e0b62b5eef05e6b65d2ca1f5ccab6d75819b92fc92ff62b44105b7
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
MY_PN="buildx"
|
||||
DESCRIPTION="Docker CLI plugin for extended build capabilities with BuildKit"
|
||||
HOMEPAGE="https://github.com/docker/buildx"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/docker/buildx.git"
|
||||
else
|
||||
SRC_URI="https://github.com/docker/buildx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
# This gives us the ability to neatly `-skip` tests.
|
||||
# not required once ::gentoo is all > 1.20
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
BDEPEND="
|
||||
test? ( >=dev-lang/go-1.20 )
|
||||
"
|
||||
DEPEND="app-containers/docker"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local _buildx_r='github.com/docker/buildx'
|
||||
local version=${PV}
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
version="$(git rev-parse --short HEAD)"
|
||||
fi
|
||||
ego build -mod=vendor -o docker-buildx \
|
||||
-ldflags "-linkmode=external \
|
||||
-X $_buildx_r/version.Version=${version} \
|
||||
-X $_buildx_r/version.Revision=$(date -u +%FT%T%z) \
|
||||
-X $_buildx_r/version.Package=$_buildx_r" \
|
||||
./cmd/buildx
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# TestGit can't work in a source tarball; TestReadTargets fails seemingly due to parallelism.
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
ego test ./... -skip "TestReadTargets"
|
||||
else
|
||||
ego test ./... -skip "TestGit|TestReadTargets"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec/docker/cli-plugins
|
||||
doexe docker-buildx
|
||||
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST miglayout-4.0-sources.jar 194675 BLAKE2B 9d0a4fce1b76e49f4a2962fccf323676172fc9fa084060d8b3507031635b7979d8b29ce598a0a484e3707eefdf90721162e67d36be5702e9309ef067fd39aab3 SHA512 27284ceac254707428351fb2451ffd5f2ebd580374df59624bb6af06011f70d87b27849900c2573aff782ebe6d84e1806c18a59741213948f0b238ee5a51ec2f
|
||||
DIST miglayout-5.3.tar.gz 627150 BLAKE2B 2b28b3dd95d84db1665308a2908c6ddf8f0e285431ffc03af0275f7005d98117f873b0752f9b1f428b213a30c9e020b626eb0e6709470c62eac46480c3aab542 SHA512 ee711a453a9e2962017eed9363e4b8c2fb1fb28d9b36455d928b60db40262be310e6d2ab6c9f3ac286f3975e9927f8a8a77827a27cd1cb2238b2033c38a67cdb
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="Easy to use yet very powerful Java Swing layout manager"
|
||||
HOMEPAGE="https://www.miglayout.com"
|
||||
SRC_URI="http://www.migcalendar.com/miglayout/versions/${PV}/${P}-sources.jar"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="swt"
|
||||
|
||||
COMMON_DEPEND="swt? ( dev-java/swt:3.7 )"
|
||||
BDEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv net/miginfocom/{demo,examples} . || die
|
||||
mv demo/* examples || die
|
||||
|
||||
if ! use swt; then
|
||||
rm -r net/miginfocom/swt || die
|
||||
fi
|
||||
|
||||
find net -name '*.java' > sources.lst
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local classpath
|
||||
use swt && classpath=( -classpath "$(java-pkg_getjars swt-3.7)" )
|
||||
|
||||
mkdir classes || die
|
||||
ejavac "${classpath[@]}" -d classes @sources.lst || die
|
||||
jar -cf ${PN}.jar -C classes . || die
|
||||
|
||||
if use doc; then
|
||||
javadoc "${classpath[@]}" -author -version -d api @sources.lst || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc api
|
||||
use examples && java-pkg_doexamples examples
|
||||
use source && java-pkg_dosrc net
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST libsecp256k1-0.2.0.tar.gz 2456096 BLAKE2B 9160ea9977ddc08daf8881cdcb98cd223024c938ab09c0dab9fc4cd67d355018f339bab7701bbb895345fa858e5673006ab81e027da109a7c9d470e2052eecdf SHA512 a345ffd69c5587777dc834a9f86f89971090158695507cf08cd12efc3b136ff5eff54a7bd789354a5e6e11229e1b2839f706458d64cdf7561519245c5be31a9f
|
||||
DIST libsecp256k1-0.3.0.tar.gz 2475682 BLAKE2B a531a87da63abc67a55e756852cde41cdc56d388963871beb23233623721f583ade4ce6b273ffa1c319a3875541e18c549512034d7b6a9eb926e8e916513d14d SHA512 77251b37990b0e73442aa1ec1ff51c5c7e293755ace9abc92ce6c3d21c7ed7f3b1666b939b4410bf1f637e3a69b16a7d33069caf071327f05177420a10f15eda
|
||||
DIST libsecp256k1-v0.1_pre20190401.tgz 166663 BLAKE2B 68c9fc3fda6af56452f32edeae5dcb5a92f68bc3fb39a397c532951c6392347df14ea0347bbe05cab43158512e0d9f5ea87bd8f69bece1b04440860ebb8065ee SHA512 8c4945e93cb5ff241482ba4426b25162a7ae3b26860edc10c91d06b1c396887202ad971f4d38e035828352531b87fc29087a12b675e43da44f23c9ea3b6c0cc8
|
||||
DIST libsecp256k1-v0.1_pre20201028.tgz 200051 BLAKE2B 90d636049b411e02703feb2661006900a55f952f60e76e2b7147a5afe8e391a06a80d6ae1489b1e7f2382176c7ea831526465a85bca09156dc6d37b417fcb33b SHA512 54a0fa21b64dd6836e4227de51f3539afe06e0e2f352683397d6adb5dd0508af443d2e25f91e90e1ae366b261965fe7d438292314705baee799cf37421644958
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST simdjson-3.0.0.gh.tar.gz 1628275 BLAKE2B eef18be927c50527885f6e042ef22317b7e6da6a77d652a4415b98ec7fda227a1b3b798774c12b587a1a011b16c4011a0656f1bf1a20886432796e64076f4775 SHA512 4ea58cd4d059f5e83734f8f084056a58a587529e13df5c47fbb42b141052688f8517ab4e7d6cd4581c6b560f8804968fa0c9c7184b1d8d54e45c280302a069ec
|
||||
DIST simdjson-3.1.1.gh.tar.gz 1633897 BLAKE2B a2bc394bfbf7916bc7743d3891b84eb3743cce2998242ecb427a7a3357986ea90c6ee546c3048aeb5629c9475f9ce862038f349ced51f684d199441632cca7ef SHA512 fb7d0963236c8fa692bf6c4ed2a66da5b29632c02e357894e0d5c604467e82f9a56cc7e8229769d9e401ed5bf5dfb25ae46f40fbe68605cedf58d763d03af93f
|
||||
DIST simdjson-3.1.3.gh.tar.gz 1642519 BLAKE2B 3aaea9c6c226b7d6e5f7251abe72e22c36344ab0d9aa472b046a850f83c028ea0d4e7c694aa343809bef99cd6d70cdfee7d6a60c5bcc1a6424800602b61a2ac0 SHA512 45d2dc0f6735f516f6f6476e8b53577002cb76a5d08c34c8f2a4501fa4c05ab65f6ae09716aad23d60900c777caf944d79c3289015bb05180ce9009c39b0e0c1
|
||||
DIST simdjson-3.1.5.gh.tar.gz 1641797 BLAKE2B 68da198f026f609909f4534960e70272a4c359f7c9c179e2c038d3acf8bf689d679fde5e93f7f7c3862de0039ea01fb522e82a9eb71c37dd01c5ce9598e585eb SHA512 e2a8c3b21b134c96158f8a6f209ea4c9c7bd63205ad967860a99ad24bc607b857f3a952ab84cdf927322ddcc6a549555d32c163751fe4ff2b5776de918685b40
|
||||
DIST simdjson-data-a5b13babe65c1bba7186b41b43d4cbdc20a5c470.tar.gz 6635706 BLAKE2B 563376147f18d590a176a5a0398365db1a3e677b773c018f335efa7fff05ac22ac5dc37613792082a32e6c9b91a773a590f7dfd15efa5ba660f9142b128b28a7 SHA512 168198404b11b8c76ff4f53645d7b5a88a5c72b4a5b6646b4410859ec3416ae9b37fc59f7d2f014ccc785615ea5c31dc00b145dbb1a7acb701b94029dd4ea1e1
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=SMUELLER
|
||||
DIST_VERSION=1.19
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Generate fast XS accessors without runtime compilation"
|
||||
# License note: perl 5-or-newer
|
||||
# https://bugs.gentoo.org/718946#c6
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-XSLoader
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
!dev-perl/Class-XSAccessor-Array
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
src_compile() {
|
||||
mymake=( "OPTIMIZE=${CFLAGS}" )
|
||||
perl-module_src_compile
|
||||
}
|
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=HAARG
|
||||
DIST_VERSION=2.005004
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Minimalist Object Orientation (with Moose compatiblity)"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/Class-Method-Modifiers-1.100.0
|
||||
>=virtual/perl-Exporter-5.570.0
|
||||
>=dev-perl/Role-Tiny-2.2.3
|
||||
>=virtual/perl-Scalar-List-Utils-1.0.0
|
||||
>=dev-perl/Sub-Quote-2.6.6
|
||||
>=dev-perl/Class-XSAccessor-1.190.0-r2
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.3.0
|
||||
>=virtual/perl-Test-Simple-0.940.0
|
||||
)
|
||||
"
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST freecol-0.11.6-src.zip 45002451 BLAKE2B 1d0e56b43f63557e3a520d6d30b8831db6c0284ac6cfebf68f3a11264d8bcfc80b883c8d4fe82e4fbd992f02a82ffdf36ed102613010d28375b61cfa30874f68 SHA512 fbfec95ad7128477d631be92b750d639d42bde3e052c94265590933e841adf66e670d5e1b2f6e8ef05629afeafded60cbb495ef93272ebc14ce7fd2f2eaa53de
|
||||
DIST freecol-1.0.0-src.zip 159875314 BLAKE2B 6153be9553ded4c2a1f9635d67e48165d07b5d1634f26a44d2f01195e1610d6cb525ffa60368f3225cdf62ffd7751242942fd86b5735455e7396deca68d8350d SHA512 68b313b42fc38e6ea95a4a04ca5af534c4487709fb036018d6d09f6de3455325031ad1fd0ae4c6415cbbeebd3f181e598a2602ad7be6cca9150ad9523b8bb3c2
|
||||
|
@ -1,22 +0,0 @@
|
||||
From: Markus Koschany <apo@debian.org>
|
||||
Date: Sun, 20 Dec 2015 18:49:11 +0100
|
||||
Subject: commons-cli 1.3
|
||||
|
||||
Forwarded: not-needed
|
||||
---
|
||||
src/net/sf/freecol/FreeCol.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/net/sf/freecol/FreeCol.java b/src/net/sf/freecol/FreeCol.java
|
||||
index d05ae3d..99b9cdc 100644
|
||||
--- a/src/net/sf/freecol/FreeCol.java
|
||||
+++ b/src/net/sf/freecol/FreeCol.java
|
||||
@@ -426,7 +426,7 @@ public final class FreeCol {
|
||||
private static void handleArgs(String[] args) {
|
||||
Options options = new Options();
|
||||
final String help = Messages.message("cli.help");
|
||||
- final File dummy = new File("dummy");
|
||||
+ final Class dummy = null;
|
||||
final String argDirectory = Messages.message("cli.arg.directory");
|
||||
|
||||
// Help options.
|
@ -1,18 +0,0 @@
|
||||
diff -Naur a/build.xml b/build.xml
|
||||
--- a/build.xml 2015-10-17 07:54:48.000000000 +0100
|
||||
+++ b/build.xml 2019-04-13 21:51:21.679100596 +0100
|
||||
@@ -162,14 +162,9 @@
|
||||
|
||||
<target name="manifest" depends="git-revision"
|
||||
description="Creates the Manifest file.">
|
||||
- <manifestclasspath property="jar.classpath"
|
||||
- jarfile="Freecol.jar">
|
||||
- <classpath refid="libraries.classpath" />
|
||||
- </manifestclasspath>
|
||||
<manifest file="${basedir}/src/MANIFEST.MF">
|
||||
<attribute name="Created-By" value="FreeCol Team"/>
|
||||
<attribute name="Main-Class" value="net.sf.freecol.FreeCol"/>
|
||||
- <attribute name="Class-Path" value="${jar.classpath}"/>
|
||||
<attribute name="Product-Name" value="FreeCol"/>
|
||||
<attribute name="Package-Title" value="FreeCol"/>
|
||||
<attribute name="Package-Version" value="${FreeCol.Revision}"/>
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An open source clone of the game Colonization"
|
||||
HOMEPAGE="http://www.freecol.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Rightly or wrongly, jogg and jorbis are bundled within Cortado but we
|
||||
# don't have packages for them anyway.
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/commons-cli:1
|
||||
dev-java/cortado:0
|
||||
dev-java/miglayout:0
|
||||
"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8
|
||||
app-arch/unzip
|
||||
${CP_DEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8
|
||||
${CP_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/commons-cli-1.3.patch
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
)
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH=true
|
||||
EANT_BUILD_TARGET=package
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -v jars/* || die
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local datadir=/usr/share/${PN}
|
||||
|
||||
java-pkg_dojar FreeCol.jar
|
||||
java-pkg_dolauncher ${PN} \
|
||||
--pwd ${datadir} \
|
||||
--main net.sf.freecol.FreeCol \
|
||||
--java_args -Xmx512M
|
||||
|
||||
insinto ${datadir}
|
||||
doins -r data schema
|
||||
|
||||
doicon data/${PN}.png
|
||||
make_desktop_entry ${PN} FreeCol
|
||||
|
||||
dodoc README
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Mon, 13 Mar 2023 18:09:29 +0000
|
||||
Mon, 13 Mar 2023 19:09:31 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2023 18:09:30 +0000
|
||||
Mon, 13 Mar 2023 19:09:31 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=test? ( >=dev-lang/go-1.20 ) >=dev-lang/go-1.18 app-arch/unzip
|
||||
DEFINED_PHASES=compile install test unpack
|
||||
DEPEND=app-containers/docker
|
||||
DESCRIPTION=Docker CLI plugin for extended build capabilities with BuildKit
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/docker/buildx
|
||||
INHERIT=go-module
|
||||
IUSE=test
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=app-containers/docker
|
||||
RESTRICT=!test? ( test ) strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/docker/buildx/archive/refs/tags/v0.10.4.tar.gz -> docker-buildx-0.10.4.tar.gz
|
||||
_eclasses_=go-module f2c9bcab49079a176b3ae061c94bb344 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730
|
||||
_md5_=71887383c7236928048b1b39a344b03b
|
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
BDEPEND=app-arch/unzip
|
||||
DEFINED_PHASES=compile install preinst prepare setup
|
||||
DEPEND=swt? ( dev-java/swt:3.7 ) >=virtual/jdk-1.8:* >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||
DESCRIPTION=Easy to use yet very powerful Java Swing layout manager
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.miglayout.com
|
||||
INHERIT=java-pkg-2
|
||||
IUSE=swt doc examples source
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=swt? ( dev-java/swt:3.7 ) >=virtual/jre-1.8:* >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.migcalendar.com/miglayout/versions/4.0/miglayout-4.0-sources.jar
|
||||
_eclasses_=java-pkg-2 a6b42ffd8b6827abbd8cf09329c2c8fb java-utils-2 eefed04ac580a259ecda1fbd966640b7
|
||||
_md5_=0b50595d5a84445994b86959806742d0
|
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=virtual/perl-Time-HiRes virtual/perl-XSLoader virtual/perl-ExtUtils-MakeMaker !dev-perl/Class-XSAccessor-Array test? ( virtual/perl-Test-Simple ) dev-lang/perl
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-lang/perl
|
||||
DESCRIPTION=Generate fast XS accessors without runtime compilation
|
||||
EAPI=7
|
||||
HOMEPAGE=https://metacpan.org/release/Class-XSAccessor
|
||||
INHERIT=perl-module
|
||||
IUSE=test
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ppc-macos ~x86-solaris
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=virtual/perl-Time-HiRes virtual/perl-XSLoader dev-lang/perl:=
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://cpan/authors/id/S/SM/SMUELLER/Class-XSAccessor-1.19.tar.gz
|
||||
_eclasses_=multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 perl-functions c3fca037246e877693badea0df3b0ef8 perl-module 8c55459fea879ccdec282839a3b22f78 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b
|
||||
_md5_=e8ba06fb33116cc0f398b72ce3007b4a
|
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=virtual/perl-Carp >=dev-perl/Class-Method-Modifiers-1.100.0 >=virtual/perl-Exporter-5.570.0 >=dev-perl/Role-Tiny-2.2.3 >=virtual/perl-Scalar-List-Utils-1.0.0 >=dev-perl/Sub-Quote-2.6.6 >=dev-perl/Class-XSAccessor-1.190.0-r2 virtual/perl-ExtUtils-MakeMaker test? ( >=dev-perl/Test-Fatal-0.3.0 >=virtual/perl-Test-Simple-0.940.0 ) dev-lang/perl test? ( virtual/perl-Test-Simple )
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-lang/perl
|
||||
DESCRIPTION=Minimalist Object Orientation (with Moose compatiblity)
|
||||
EAPI=8
|
||||
HOMEPAGE=https://metacpan.org/release/Moo
|
||||
INHERIT=perl-module
|
||||
IUSE=test
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris
|
||||
LICENSE=|| ( Artistic GPL-1+ )
|
||||
RDEPEND=virtual/perl-Carp >=dev-perl/Class-Method-Modifiers-1.100.0 >=virtual/perl-Exporter-5.570.0 >=dev-perl/Role-Tiny-2.2.3 >=virtual/perl-Scalar-List-Utils-1.0.0 >=dev-perl/Sub-Quote-2.6.6 >=dev-perl/Class-XSAccessor-1.190.0-r2 dev-lang/perl:=
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://cpan/authors/id/H/HA/HAARG/Moo-2.005004.tar.gz
|
||||
_eclasses_=multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 perl-functions c3fca037246e877693badea0df3b0ef8 perl-module 8c55459fea879ccdec282839a3b22f78 readme.gentoo-r1 b776ad4b42f564c406a95c41ccb42c55 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b
|
||||
_md5_=c657c45198799130686b5c97f6ce8668
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.8 app-arch/unzip dev-java/commons-cli:1 dev-java/cortado:0 dev-java/miglayout:0 >=dev-java/java-config-2.2.0-r3 >=dev-java/ant-core-1.8.2:0 dev-java/javatoolkit
|
||||
DESCRIPTION=An open source clone of the game Colonization
|
||||
EAPI=7
|
||||
HOMEPAGE=http://www.freecol.org/
|
||||
INHERIT=desktop java-pkg-2 java-ant-2
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=>=virtual/jre-1.8 dev-java/commons-cli:1 dev-java/cortado:0 dev-java/miglayout:0 >=dev-java/java-config-2.2.0-r3
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/freecol/freecol-0.11.6-src.zip
|
||||
_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d java-ant-2 3745cb8c0fe6525dafe8e2422a8fd501 java-pkg-2 a6b42ffd8b6827abbd8cf09329c2c8fb java-utils-2 eefed04ac580a259ecda1fbd966640b7 multilib 5ca4e49abed8e3a2f7b56920eadee157 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b
|
||||
_md5_=3c30e10550a74e31fbb27d1bcc40c282
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,18 @@
|
||||
BDEPEND=debug? ( dev-util/pahole ) test? ( dev-tcltk/expect sys-apps/coreutils sys-kernel/dracut sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) ) || ( >=dev-lang/python-3.11.1-r1:3.11 >=dev-lang/python-3.10.9-r1:3.10 >=dev-lang/python-3.9.16-r1:3.9 ) app-arch/cpio sys-devel/bc sys-devel/flex virtual/libelf app-alternatives/yacc
|
||||
DEFINED_PHASES=compile config configure install postinst postrm preinst prepare prerm pretend setup test
|
||||
DESCRIPTION=Linux kernel built with Gentoo patches
|
||||
EAPI=8
|
||||
HOMEPAGE=https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/
|
||||
IDEPEND=|| ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )
|
||||
INHERIT=kernel-build toolchain-funcs
|
||||
IUSE=debug hardened savedconfig +initramfs test
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=virtual/dist-kernel-6.1.19
|
||||
RDEPEND=!sys-kernel/gentoo-kernel-bin:6.1.19 virtual/libelf
|
||||
REQUIRED_USE=arm? ( savedconfig ) hppa? ( savedconfig ) riscv? ( savedconfig )
|
||||
RESTRICT=!test? ( test ) test? ( userpriv ) arm? ( test )
|
||||
SLOT=6.1.19
|
||||
SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz https://dev.gentoo.org/~alicef/dist/genpatches/genpatches-6.1-23.base.tar.xz https://dev.gentoo.org/~alicef/dist/genpatches/genpatches-6.1-23.extras.tar.xz https://github.com/projg2/gentoo-kernel-config/archive/g7.tar.gz -> gentoo-kernel-config-g7.tar.gz amd64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-x86_64-fedora.config -> kernel-x86_64-fedora.config.6.1.7-gentoo ) arm64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-aarch64-fedora.config -> kernel-aarch64-fedora.config.6.1.7-gentoo ) ppc64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-ppc64le-fedora.config -> kernel-ppc64le-fedora.config.6.1.7-gentoo ) x86? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-i686-fedora.config -> kernel-i686-fedora.config.6.1.7-gentoo )
|
||||
_eclasses_=dist-kernel-utils 557a93bd51735200952a735894f6628e kernel-build e8aabe0ea0c0ca1de81a0b7357fea0b5 kernel-install 8b73c5cb30e5d76184a7f46acb1a7688 mount-boot 02a45c5e022c08dbc05178522b2772f2 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 portability 58227860123d3e8da23290064ce3373e python-any-r1 d2955aaac8daaaa69fcc6dc93ed19f29 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 savedconfig 4011d8d7370446e970e2c92b20a31341 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b
|
||||
_md5_=55ccc35a7d0e850588c08be9c1d8532e
|
@ -0,0 +1,17 @@
|
||||
BDEPEND=sys-devel/bc sys-devel/flex virtual/libelf app-alternatives/yacc test? ( dev-tcltk/expect sys-apps/coreutils sys-kernel/dracut sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) )
|
||||
DEFINED_PHASES=config configure install postinst postrm preinst prepare prerm pretend test unpack
|
||||
DESCRIPTION=Pre-built Linux kernel with Gentoo patches
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.kernel.org/
|
||||
IDEPEND=|| ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )
|
||||
INHERIT=kernel-install toolchain-funcs unpacker
|
||||
IUSE=+initramfs test
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc64 ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=virtual/dist-kernel-6.1.19
|
||||
RDEPEND=!sys-kernel/gentoo-kernel:6.1.19 virtual/libelf
|
||||
RESTRICT=!test? ( test ) test? ( userpriv ) arm? ( test )
|
||||
SLOT=6.1.19
|
||||
SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz https://dev.gentoo.org/~alicef/dist/genpatches/genpatches-6.1-23.base.tar.xz https://dev.gentoo.org/~alicef/dist/genpatches/genpatches-6.1-23.extras.tar.xz amd64? ( https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.19-1.gpkg.tar -> gentoo-kernel-6.1.19-1.amd64.gpkg.tar ) arm64? ( https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.19-1.gpkg.tar -> gentoo-kernel-6.1.19-1.arm64.gpkg.tar ) ppc64? ( https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.19-1.gpkg.tar -> gentoo-kernel-6.1.19-1.ppc64le.gpkg.tar ) x86? ( https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.19-1.gpkg.tar -> gentoo-kernel-6.1.19-1.x86.gpkg.tar )
|
||||
_eclasses_=dist-kernel-utils 557a93bd51735200952a735894f6628e kernel-install 8b73c5cb30e5d76184a7f46acb1a7688 mount-boot 02a45c5e022c08dbc05178522b2772f2 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b unpacker fdd15d854bf5e84f82d35524ab8ca6ba
|
||||
_md5_=744758107c7967ca77c206089a8795f3
|
@ -0,0 +1,18 @@
|
||||
BDEPEND=debug? ( dev-util/pahole ) verify-sig? ( sec-keys/openpgp-keys-kernel ) test? ( dev-tcltk/expect sys-apps/coreutils sys-kernel/dracut sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) ) || ( >=dev-lang/python-3.11.1-r1:3.11 >=dev-lang/python-3.10.9-r1:3.10 >=dev-lang/python-3.9.16-r1:3.9 ) app-arch/cpio sys-devel/bc sys-devel/flex virtual/libelf app-alternatives/yacc verify-sig? ( app-crypt/gnupg >=app-portage/gemato-16 )
|
||||
DEFINED_PHASES=compile config configure install postinst postrm preinst prepare prerm pretend setup test unpack
|
||||
DESCRIPTION=Linux kernel built from vanilla upstream sources
|
||||
EAPI=8
|
||||
HOMEPAGE=https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/
|
||||
IDEPEND=|| ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )
|
||||
INHERIT=kernel-build toolchain-funcs verify-sig
|
||||
IUSE=debug hardened savedconfig +initramfs test verify-sig
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=virtual/dist-kernel-6.1.19
|
||||
RDEPEND=virtual/libelf
|
||||
REQUIRED_USE=arm? ( savedconfig )
|
||||
RESTRICT=!test? ( test ) test? ( userpriv ) arm? ( test )
|
||||
SLOT=6.1.19
|
||||
SRC_URI=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.19.tar.xz https://github.com/projg2/gentoo-kernel-config/archive/g7.tar.gz -> gentoo-kernel-config-g7.tar.gz verify-sig? ( https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.19.tar.sign ) amd64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-x86_64-fedora.config -> kernel-x86_64-fedora.config.6.1.7-gentoo ) arm64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-aarch64-fedora.config -> kernel-aarch64-fedora.config.6.1.7-gentoo ) ppc64? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-ppc64le-fedora.config -> kernel-ppc64le-fedora.config.6.1.7-gentoo ) x86? ( https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/6.1.7-gentoo/kernel-i686-fedora.config -> kernel-i686-fedora.config.6.1.7-gentoo )
|
||||
_eclasses_=dist-kernel-utils 557a93bd51735200952a735894f6628e kernel-build e8aabe0ea0c0ca1de81a0b7357fea0b5 kernel-install 8b73c5cb30e5d76184a7f46acb1a7688 mount-boot 02a45c5e022c08dbc05178522b2772f2 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 portability 58227860123d3e8da23290064ce3373e python-any-r1 d2955aaac8daaaa69fcc6dc93ed19f29 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 savedconfig 4011d8d7370446e970e2c92b20a31341 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b verify-sig 167258b573910fd3f5b71c5c52d66ab3
|
||||
_md5_=6af3201a419530fc1a9351b0f433c39c
|
Binary file not shown.
@ -0,0 +1,7 @@
|
||||
DEFINED_PHASES=-
|
||||
DESCRIPTION=Virtual to depend on any Distribution Kernel
|
||||
EAPI=7
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86
|
||||
RDEPEND=|| ( ~sys-kernel/gentoo-kernel-6.1.19 ~sys-kernel/gentoo-kernel-bin-6.1.19 ~sys-kernel/vanilla-kernel-6.1.19 )
|
||||
SLOT=0/6.1.19
|
||||
_md5_=1b77229b710f7250654decf4c40132e9
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2023 18:09:30 +0000
|
||||
Mon, 13 Mar 2023 19:09:31 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon Mar 13 06:09:29 PM UTC 2023
|
||||
Mon Mar 13 07:09:31 PM UTC 2023
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2023 18:30:01 +0000
|
||||
Mon, 13 Mar 2023 19:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
28871ab8a2c61e69f9fc27569bacded022c091d7 1678730271 2023-03-13T17:57:51+00:00
|
||||
828ea9ee9244ed1801f272433ea8fd847fcfa030 1678733475 2023-03-13T18:51:15+00:00
|
||||
|
@ -1 +1 @@
|
||||
1678731001 Mon 13 Mar 2023 06:10:01 PM UTC
|
||||
1678734601 Mon 13 Mar 2023 07:10:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Mar 2023 18:09:29 +0000
|
||||
Mon, 13 Mar 2023 19:09:31 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,127 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit kernel-install toolchain-funcs unpacker
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
|
||||
BINPKG=${P/-bin}-1
|
||||
|
||||
DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/"
|
||||
SRC_URI+="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
||||
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.amd64.gpkg.tar
|
||||
)
|
||||
arm64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.arm64.gpkg.tar
|
||||
)
|
||||
ppc64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.ppc64le.gpkg.tar
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.x86.gpkg.tar
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/gentoo-kernel:${SLOT}
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bc
|
||||
sys-devel/flex
|
||||
virtual/libelf
|
||||
app-alternatives/yacc
|
||||
"
|
||||
|
||||
QA_PREBUILT='*'
|
||||
|
||||
KV_LOCALVERSION='-gentoo-dist'
|
||||
KPV=${PV}${KV_LOCALVERSION}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
cd "${MY_P}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# force ld.bfd if we can find it easily
|
||||
local LD="$(tc-getLD)"
|
||||
if type -P "${LD}.bfd" &>/dev/null; then
|
||||
LD+=.bfd
|
||||
fi
|
||||
|
||||
tc-export_build_env
|
||||
local makeargs=(
|
||||
V=1
|
||||
|
||||
HOSTCC="$(tc-getBUILD_CC)"
|
||||
HOSTCXX="$(tc-getBUILD_CXX)"
|
||||
HOSTCFLAGS="${BUILD_CFLAGS}"
|
||||
HOSTLDFLAGS="${BUILD_LDFLAGS}"
|
||||
|
||||
CROSS_COMPILE=${CHOST}-
|
||||
AS="$(tc-getAS)"
|
||||
CC="$(tc-getCC)"
|
||||
LD="${LD}"
|
||||
AR="$(tc-getAR)"
|
||||
NM="$(tc-getNM)"
|
||||
STRIP=":"
|
||||
OBJCOPY="$(tc-getOBJCOPY)"
|
||||
OBJDUMP="$(tc-getOBJDUMP)"
|
||||
|
||||
# we need to pass it to override colliding Gentoo envvar
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
|
||||
O="${WORKDIR}"/modprep
|
||||
)
|
||||
|
||||
mkdir modprep || die
|
||||
cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
|
||||
emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
kernel-install_test "${KPV}" \
|
||||
"${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
|
||||
"${BINPKG}/image/lib/modules/${KPV}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
|
||||
|
||||
# FIXME: requires proper mount-boot
|
||||
if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
|
||||
mv "${BINPKG}"/image/boot "${ED}"/ || die
|
||||
fi
|
||||
|
||||
# strip out-of-source build stuffs from modprep
|
||||
# and then copy built files
|
||||
find modprep -type f '(' \
|
||||
-name Makefile -o \
|
||||
-name '*.[ao]' -o \
|
||||
'(' -name '.*' -a -not -name '.config' ')' \
|
||||
')' -delete || die
|
||||
rm modprep/source || die
|
||||
cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit kernel-build toolchain-funcs
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
|
||||
CONFIG_VER=6.1.7-gentoo
|
||||
GENTOO_CONFIG_VER=g7
|
||||
|
||||
DESCRIPTION="Linux kernel built with Gentoo patches"
|
||||
HOMEPAGE="
|
||||
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
|
||||
https://www.kernel.org/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
|
||||
https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
|
||||
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
amd64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
|
||||
-> kernel-x86_64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
arm64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
|
||||
-> kernel-aarch64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
ppc64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
|
||||
-> kernel-ppc64le-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
x86? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
|
||||
-> kernel-i686-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="debug hardened"
|
||||
REQUIRED_USE="arm? ( savedconfig )
|
||||
hppa? ( savedconfig )
|
||||
riscv? ( savedconfig )"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/gentoo-kernel-bin:${SLOT}
|
||||
"
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||
usr/src/linux-.*/vmlinux
|
||||
usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
local biendian=false
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
arm)
|
||||
return
|
||||
;;
|
||||
arm64)
|
||||
cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
hppa)
|
||||
return
|
||||
;;
|
||||
ppc)
|
||||
# assume powermac/powerbook defconfig
|
||||
# we still package.use.force savedconfig
|
||||
cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
|
||||
;;
|
||||
ppc64)
|
||||
cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
riscv)
|
||||
return
|
||||
;;
|
||||
x86)
|
||||
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
local myversion="-gentoo-dist"
|
||||
use hardened && myversion+="-hardened"
|
||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||
|
||||
local merge_configs=(
|
||||
"${T}"/version.config
|
||||
"${dist_conf_path}"/base.config
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
)
|
||||
if use hardened; then
|
||||
merge_configs+=( "${dist_conf_path}"/hardened-base.config )
|
||||
|
||||
tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
|
||||
|
||||
if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
|
||||
fi
|
||||
fi
|
||||
|
||||
# this covers ppc64 and aarch64_be only for now
|
||||
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
@ -0,0 +1,137 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit kernel-build toolchain-funcs verify-sig
|
||||
|
||||
MY_P=linux-${PV}
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
|
||||
CONFIG_VER=6.1.7-gentoo
|
||||
GENTOO_CONFIG_VER=g7
|
||||
|
||||
DESCRIPTION="Linux kernel built from vanilla upstream sources"
|
||||
HOMEPAGE="
|
||||
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
|
||||
https://www.kernel.org/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
verify-sig? (
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
|
||||
)
|
||||
amd64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
|
||||
-> kernel-x86_64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
arm64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
|
||||
-> kernel-aarch64-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
ppc64? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
|
||||
-> kernel-ppc64le-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
x86? (
|
||||
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
|
||||
-> kernel-i686-fedora.config.${CONFIG_VER}
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="debug hardened"
|
||||
REQUIRED_USE="arm? ( savedconfig )"
|
||||
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
verify-sig? ( sec-keys/openpgp-keys-kernel )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
einfo "Unpacking linux-${PV}.tar.xz ..."
|
||||
verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
|
||||
< <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
|
||||
assert "Unpack failed"
|
||||
unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local biendian=false
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
arm)
|
||||
return
|
||||
;;
|
||||
arm64)
|
||||
cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
hppa)
|
||||
return
|
||||
;;
|
||||
ppc)
|
||||
# assume powermac/powerbook defconfig
|
||||
# we still package.use.force savedconfig
|
||||
cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
|
||||
;;
|
||||
ppc64)
|
||||
cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
|
||||
biendian=true
|
||||
;;
|
||||
x86)
|
||||
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
local myversion="-dist"
|
||||
use hardened && myversion+="-hardened"
|
||||
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||
|
||||
local merge_configs=(
|
||||
"${T}"/version.config
|
||||
"${dist_conf_path}"/base.config
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
)
|
||||
if use hardened; then
|
||||
merge_configs+=( "${dist_conf_path}"/hardened-base.config )
|
||||
|
||||
tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
|
||||
|
||||
if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
|
||||
fi
|
||||
fi
|
||||
|
||||
# this covers ppc64 and aarch64_be only for now
|
||||
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
|
||||
merge_configs+=( "${dist_conf_path}/big-endian.config" )
|
||||
fi
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,19 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
~sys-kernel/gentoo-kernel-${PV}
|
||||
~sys-kernel/gentoo-kernel-bin-${PV}
|
||||
~sys-kernel/vanilla-kernel-${PV}
|
||||
)"
|
Loading…
Reference in new issue