diff options
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/genkernel/files/genkernel-3.4.52.4-crc32c.patch | 130 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild | 157 | ||||
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.5.3.3.ebuild | 159 |
4 files changed, 450 insertions, 0 deletions
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest index e13574a65524..5fbd22207d17 100644 --- a/sys-kernel/genkernel/Manifest +++ b/sys-kernel/genkernel/Manifest @@ -1,3 +1,4 @@ +AUX genkernel-3.4.52.4-crc32c.patch 4981 BLAKE2B e376f504c73ce6fc8b858c05dc36bd45cf82b404d063ea970c64520026a6108d6ac1f806fc81e9943f3a8df3f552236538415622580c914ef06dc9f4c5109d62 SHA512 9ce34b979c855ff69e70891ea568b9d0b9eb26bc209e6ee96fb58687f62bf1c3a8398489d1dde98988790f7e0976fb5ce8dad64a77323ab2e1906d0173bc2861 AUX genkernel-3.4.52.4-grub-mkconfig.patch 689 BLAKE2B ea390e063b88b6a63fd647e245dc5da7300794c978ed1242193168b95c83338764ec331b1264cb0b0d328904b5145be1f8536ddfad2f6b2b2934175e7b865395 SHA512 f69191e003ee950d8031dd41dffa7724c22535f2b8f7344452150cc171452c9cba171a989aa00d3183993e56c21aeee62ac1b47517c2f2f04d739a109ffefbb3 AUX genkernel-3.4.52.4-system-map.patch 1498 BLAKE2B 283a0f821e33cadf792428457b22a51c48e07ec5388ce7c3e0fb35e7d4d34b27ab57f2a9ceba85e40d9f74795c19c0721e1d82eb354230c5c310237ee21972a5 SHA512 a2c7fb83e34f75f2ceab182d355616f3ee7e9b524596ea10f69ce1f87f1e21e693f42838650b3a919670182e5f36a6b94475f4d4ebc65e7494cdaa87933f29b9 AUX genkernel.bash 2438 BLAKE2B 31f1eaa826ab12bba07a2dc45b3394e14ceba9bc98b3f0ce609ca48a9306f2aec507787d457abdee18f4a83ea868de787cc6f9bd085298c396ecab6da14df9c3 SHA512 2bfe23606f919577bb2d174ffe18cd00fbb4ce642fb8860b319e059745d46ff8459b99374159f78af9f3aebb0a352a74ccd74c3be581980f5e298293b96e983d @@ -19,6 +20,7 @@ DIST genkernel-3.5.2.3.tar.xz 317280 BLAKE2B 0dcc85dc67fde24bff7d6e86fef5967ae81 DIST genkernel-3.5.2.4.tar.xz 318152 BLAKE2B 101bd8011b73699a3d8410fcb93adca2417254f05dc4657e583b17a449ba68aa08a3969c93cf558faab751efdcffc1dc8181003a0be0a2c3c8edcd03f09fe943 SHA512 2490ad2c6bacda87c848f8e216318e41f76cc25459c1960d0a10c5ad5768736a527cb954ed2c41ad1f52f53a37ca8c049a56793e97a3cb598b3cc4e436156a74 DIST genkernel-3.5.2.5.tar.xz 318652 BLAKE2B 9b0e1b07f61b54edc1d263cc679b36d7e9062fd1e7cf11fc9442cf60b217274bc73425150ca963b6a91cd504d7817a852fa5bf4ad7634ff8d1ec3b43748ded41 SHA512 096aa77f4a52afefcef81ff6c7eb281e539af304854572389e38bbdd735ca723c7a5f2f7163fa9f387e3a2a78a2ba117260f1c8396ed4e51e12a91ad0fb0ff90 DIST genkernel-3.5.3.2.tar.xz 320644 BLAKE2B 14eaf05aab02287c3dbb98f1a596e73bcbea39ceb2c8e44c5bdbb77b656958cee666f4353a2401bad531c2a7a98ee11b2531b251c19edc86db517cf3cc2869ec SHA512 1bee8ebdb8c2c30e90e0a1c573ad09b0eb79da54f0829859305eb50ffab95e69aa219ce82d4969140dea3d8788d66d3490fc03d38e190b533666e9278c7f96a6 +DIST genkernel-3.5.3.3.tar.xz 331180 BLAKE2B 0f83b973505ccb0a92ae24e92509710bf96991f36ca55975ffefdf1bd3e835bd72bb413688468a05e6a5fff2ec16e64816f8ccfe2530c9f1e9169d19a86a2231 SHA512 9170731f59a1476aa597549ac55feb3583bed249e50d1697292571caf25c5ca746a1db9e811f2009d55aea21d739ef0ab3e385acd81504bbbccc8f7346205d71 DIST gnupg-1.4.11.tar.bz2 3407075 BLAKE2B 85d35d2e4da65d54add1010ea0486b943b328785e28c4efcaa2b65daafd53410a355d1df79ae45c5f7767d2eb7ff1f0b9637f417e65b084d2c760a281abd317a SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae DIST gnupg-1.4.22.tar.bz2 3746546 BLAKE2B 9a2d37eeab10f2a7353804098e865ad45db846696a00a47f5bebf47145f79e0d2bf9c01c0195e2fe79af07946a3feac0d4589656c3e698a3a548ff1dd74ce759 SHA512 c03acac0fa55761470bb085d78a44e2b99ebb187e8396cbb031a184b1e40bef2a40c91da07755d1a20610a3daa6aa1eefea2d12a0dbd5a79a45466166419c708 DIST mdadm-3.1.5.tar.bz2 292709 BLAKE2B a21fb41c6fd9f332e358339537cffd520788140976bf37fece072ee15eb512b1455e3a927abca0a4315e59659d3d114e407bb98a0ca8e6e559e1d1b83be4abbf SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d @@ -28,6 +30,7 @@ DIST unionfs-fuse-0.24.tar.bz2 30381 BLAKE2B c3886d7b0cbd4ac62712d7d94bf95444812 EBUILD genkernel-3.4.52.3.ebuild 4500 BLAKE2B c835503b39cc56b8528a74b9990eab3141c8be0c90d447404a23685732718a03c50906a7d3feb2dedbc235e7ef1edd528dc17a78d8183199ac2917db1ad3648a SHA512 dd9bc1a592d196554085b549a85ccae1b91c73aacdffc1bfa3c63e0fcdfc3bd3cf60572d1a18d192c2b999e81393a41cc0348411943a82170116da1c4261cdd4 EBUILD genkernel-3.4.52.4-r1.ebuild 4562 BLAKE2B 6bdf0d60e2097aae5aa63e72471d9b82bcf1fe0c7964f845ff786146ebf44dda6db9987809bf45b4019cdb66bec82ca9132b33f0ec2846bab8d8b7b821c4a896 SHA512 766a0f6d09233c816415c4d61f83d780e927e69b154acae497c7ed87e9690996344f99a3b2eb25e5ec1eb422a9615af10f777a29f8d0ae2758735593c7b8458c EBUILD genkernel-3.4.52.4-r2.ebuild 4609 BLAKE2B e078d0664caab5988c4a718d8160d0b438d3a2638713d87062d37dfb8a6fd47a7087f8beaf88ece1a955b1bdd40cf99beba3d999ddf1a71d7f46179f61cce060 SHA512 33b4377b0623e6d6e2fe7cb829e08b31218a158444b4db4c0761a1b943e8880e533c7e312a9acaa3d1ac16dd06f9eb467626e9f176d536e4766294170a6a5036 +EBUILD genkernel-3.4.52.4-r3.ebuild 4657 BLAKE2B 844d4ab6dbd01f444300e815b4994e3b12f52e43108c5e8083ca22fc246a18007253bf5720fc5e862abcf6db67b8522f008df122fca1f5f95e926310f55e3cd5 SHA512 ec6b039f9ec2001ad240b183bdb695a61ef35636b14a673f6452febf755ea9b178d0a05dcf24da37510b15fad4aab59d0ae4a4cecf5965db41660a07668ddd94 EBUILD genkernel-3.5.1.1.ebuild 4670 BLAKE2B 333bfc8d1aca9d61b9ec4f5f36ba6cc2bf1225a2a1d9d4613d5447ab99c94f2a149cad7f1adf81e1b5f3c01f327eece4674e828567dec7b5923dd060617a346d SHA512 c10528be86d137e49ee1484c4c38812e224c0d14d8e32bc9ed788be568c88f5a804cccb441cbc59c62e97e685e90d11ba7283b1a2a70ef9530b646d46f0a7b67 EBUILD genkernel-3.5.2.0-r1.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d04493a8fd6af536c034f121a108faf1d5fd1e377dee7af0295c61008900557dcc9f6f66aa4f414fdc1fa4e92e046ee SHA512 821608e2009d319efb9a994747e690d9b8dfa21b3257895a18b3c312ae096429b09ff9a4097a3ceeae891e7dcc70ef5f5206cd0eebf1a2d32139a40c6e651cfe EBUILD genkernel-3.5.2.1.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d04493a8fd6af536c034f121a108faf1d5fd1e377dee7af0295c61008900557dcc9f6f66aa4f414fdc1fa4e92e046ee SHA512 821608e2009d319efb9a994747e690d9b8dfa21b3257895a18b3c312ae096429b09ff9a4097a3ceeae891e7dcc70ef5f5206cd0eebf1a2d32139a40c6e651cfe @@ -36,5 +39,6 @@ EBUILD genkernel-3.5.2.3.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d0 EBUILD genkernel-3.5.2.4.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d04493a8fd6af536c034f121a108faf1d5fd1e377dee7af0295c61008900557dcc9f6f66aa4f414fdc1fa4e92e046ee SHA512 821608e2009d319efb9a994747e690d9b8dfa21b3257895a18b3c312ae096429b09ff9a4097a3ceeae891e7dcc70ef5f5206cd0eebf1a2d32139a40c6e651cfe EBUILD genkernel-3.5.2.5.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d04493a8fd6af536c034f121a108faf1d5fd1e377dee7af0295c61008900557dcc9f6f66aa4f414fdc1fa4e92e046ee SHA512 821608e2009d319efb9a994747e690d9b8dfa21b3257895a18b3c312ae096429b09ff9a4097a3ceeae891e7dcc70ef5f5206cd0eebf1a2d32139a40c6e651cfe EBUILD genkernel-3.5.3.2.ebuild 4916 BLAKE2B 794d4063345f5f6de37b3c21a56489627d8dee4d98ad103f435c30a563972de4e6d9e07f9306a9d01ab849fcadc4ffb1dad1b646dd44cf7bb338a90d225e0849 SHA512 f4b5612182fe7163fdcdc9271d2f33ff27ebbe1a032073a89ff0ac83391d582280b3b89de1d88ce38209abfcd1de848e39572807a384c26591f6b257739f8a26 +EBUILD genkernel-3.5.3.3.ebuild 4916 BLAKE2B 794d4063345f5f6de37b3c21a56489627d8dee4d98ad103f435c30a563972de4e6d9e07f9306a9d01ab849fcadc4ffb1dad1b646dd44cf7bb338a90d225e0849 SHA512 f4b5612182fe7163fdcdc9271d2f33ff27ebbe1a032073a89ff0ac83391d582280b3b89de1d88ce38209abfcd1de848e39572807a384c26591f6b257739f8a26 EBUILD genkernel-9999.ebuild 4915 BLAKE2B e4b9dabf9b92751fa4b9c3ea54f95e186d04493a8fd6af536c034f121a108faf1d5fd1e377dee7af0295c61008900557dcc9f6f66aa4f414fdc1fa4e92e046ee SHA512 821608e2009d319efb9a994747e690d9b8dfa21b3257895a18b3c312ae096429b09ff9a4097a3ceeae891e7dcc70ef5f5206cd0eebf1a2d32139a40c6e651cfe MISC metadata.xml 637 BLAKE2B 8498132ea1773f537d7f463fb420e9b7c80f24e6a8e3eefbb88bc942707d37d3c7a0e8a80cbbace2c8068411d06f8a1923efbc23e80e6fa87fa06766af1a6627 SHA512 10753c6db20c7e5d2c805d309aa69945f66d27287bbb240626baa2179263b5cf0e703c589f1951aecc2ed1e7e8259097434cc4e7f36d9dff8e1c6d8f50b684db diff --git a/sys-kernel/genkernel/files/genkernel-3.4.52.4-crc32c.patch b/sys-kernel/genkernel/files/genkernel-3.4.52.4-crc32c.patch new file mode 100644 index 000000000000..48dada2f980d --- /dev/null +++ b/sys-kernel/genkernel/files/genkernel-3.4.52.4-crc32c.patch @@ -0,0 +1,130 @@ +modules_load: add crc32c + +commit 7308d72c3280da22cd94337b0eb248cdc53cb842 upstream. + +Bug: https://bugs.gentoo.org/655110 + +--- a/arch/alpha/modules_load ++++ b/arch/alpha/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/arm/modules_load ++++ b/arch/arm/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/ia64/modules_load ++++ b/arch/ia64/modules_load +@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" ++ ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/mips/modules_load ++++ b/arch/mips/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/parisc/modules_load ++++ b/arch/parisc/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/parisc64/modules_load ++++ b/arch/parisc64/modules_load +@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" ++ ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/ppc/modules_load ++++ b/arch/ppc/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/ppc64/modules_load ++++ b/arch/ppc64/modules_load +@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" ++ ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/s390/modules_load ++++ b/arch/s390/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/sparc/modules_load ++++ b/arch/sparc/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/sparc64/modules_load ++++ b/arch/sparc64/modules_load +@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" ++ ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/um/modules_load ++++ b/arch/um/modules_load +@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + # Filesystems + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + ++# Crypto ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" +--- a/arch/x86/modules_load ++++ b/arch/x86/modules_load +@@ -29,4 +29,4 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + + # Crypto +-MODULES_CRYPTO="sha256_generic cbc aes_generic aes_586 aesni-intel xts" ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic aes_586 aesni-intel xts" +--- a/arch/x86_64/modules_load ++++ b/arch/x86_64/modules_load +@@ -28,4 +28,4 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + + # Crypto +-MODULES_CRYPTO="sha256_generic cbc aes_generic aes-x86_64 aesni-intel xts" ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic aes-x86_64 aesni-intel xts" +--- a/defaults/modules_load ++++ b/defaults/modules_load +@@ -28,4 +28,4 @@ MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd xhci-hcd x + MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse" + + # Crypto +-MODULES_CRYPTO="sha256_generic cbc aes_generic xts" ++MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts" diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild new file mode 100644 index 000000000000..92286851f5aa --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12 + +inherit bash-completion-r1 epatch + +VERSION_BUSYBOX='1.20.2' +VERSION_DMRAID='1.0.0.rc16-3' +VERSION_MDADM='3.1.5' +VERSION_FUSE='2.8.6' +VERSION_ISCSI='2.0-872' +VERSION_LVM='2.02.88' +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.11' + +RH_HOME="ftp://sourceware.org/pub" +DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="https://busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2 + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-r3 + S="${WORKDIR}/${P}" + SRC_URI="${COMMON_URI}" +else + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz + ${COMMON_URI}" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="https://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup ibm selinux" + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-0.2.1 + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +pkg_pretend() { + if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + if use selinux ; then + sed -i 's/###//g' "${S}"/gen_compile.sh || die + fi + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch "${FILESDIR}"/${P}-system-map.patch #570822 + epatch "${FILESDIR}"/${P}-grub-mkconfig.patch #591200 + epatch "${FILESDIR}"/${P}-crc32c.patch #655110 + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf + + doman genkernel.8 + dodoc AUTHORS ChangeLog README TODO + dobin genkernel + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + if use ibm ; then + cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die + else + cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die + fi + insinto /usr/share/genkernel + doins -r "${S}"/* + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts + + cd "${DISTDIR}" + insinto /usr/share/genkernel/distfiles + doins ${A/${P}.tar.xz/} +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'https://wiki.gentoo.org/wiki/Genkernel' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext4." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo +} diff --git a/sys-kernel/genkernel/genkernel-3.5.3.3.ebuild b/sys-kernel/genkernel/genkernel-3.5.3.3.ebuild new file mode 100644 index 000000000000..8f31925c7a06 --- /dev/null +++ b/sys-kernel/genkernel/genkernel-3.5.3.3.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# genkernel-9999 -> latest Git branch "master" +# genkernel-VERSION -> normal genkernel release + +EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12 + +inherit bash-completion-r1 epatch + +VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches +VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches +VERSION_MDADM='4.0' # warning, be sure to bump patches +VERSION_FUSE='2.8.6' # warning, be sure to bump patches +VERSION_ISCSI='2.0-872' # warning, be sure to bump patches +VERSION_LVM='2.02.173' # warning, be sure to bump patches +VERSION_UNIONFS_FUSE='0.24' +VERSION_GPG='1.4.22' + +RH_HOME="ftp://sourceware.org/pub" +DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src" +BB_HOME="https://busybox.net/downloads" + +COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2 + ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2 + mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz + ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz + ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz + ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2 + http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz + mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz + http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 + mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2" + +if [[ ${PV} == 9999* ]] +then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-r3 + S="${WORKDIR}/${PN}" + SRC_URI="${COMMON_URI}" +else + SRC_URI="mirror://gentoo/${P}.tar.xz + ${COMMON_URI}" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Gentoo automatic kernel building scripts" +HOMEPAGE="https://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="" +IUSE="cryptsetup ibm +firmware selinux" + +DEPEND="sys-fs/e2fsprogs + selinux? ( sys-libs/libselinux )" +RDEPEND="${DEPEND} + cryptsetup? ( sys-fs/cryptsetup ) + app-arch/cpio + >=app-misc/pax-utils-1.2.2 + sys-apps/util-linux[static-libs(+)] + firmware? ( sys-kernel/linux-firmware ) + !<sys-apps/openrc-0.9.9" +# pax-utils is used for lddtree + +if [[ ${PV} == 9999* ]]; then + DEPEND="${DEPEND} app-text/asciidoc" +fi + +pkg_pretend() { + if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then + ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)." + ewarn "Please set flag 'cryptsetup' for this very package if you would like" + ewarn "to have genkernel create an initramfs with LUKS support." + ewarn "Sorry for the inconvenience." + echo + fi +} + +src_prepare() { + if [[ ${PV} == 9999* ]] ; then + einfo "Updating version tag" + GK_V="$(git describe --tags | sed 's:^v::')-git" + sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel + einfo "Producing ChangeLog from Git history..." + pushd "${S}/.git" >/dev/null || die + git log > "${S}"/ChangeLog || die + popd >/dev/null || die + fi + if use selinux ; then + sed -i 's/###//g' "${S}"/gen_compile.sh || die + fi + + # Update software.sh + sed -i \ + -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ + -e "s:VERSION_MDADM:$VERSION_MDADM:" \ + -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \ + -e "s:VERSION_FUSE:$VERSION_FUSE:" \ + -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \ + -e "s:VERSION_LVM:$VERSION_LVM:" \ + -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \ + -e "s:VERSION_GPG:$VERSION_GPG:" \ + "${S}"/defaults/software.sh \ + || die "Could not adjust versions" + + epatch_user +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake + fi +} + +src_install() { + insinto /etc + doins "${S}"/genkernel.conf + + doman genkernel.8 + dodoc AUTHORS ChangeLog README TODO + dobin genkernel + rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf + + if use ibm ; then + cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die + else + cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die + fi + insinto /usr/share/genkernel + doins -r "${S}"/* + + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" + insinto /etc + doins "${FILESDIR}"/initramfs.mounts + + cd "${DISTDIR}" + insinto /usr/share/genkernel/distfiles + doins ${A/${P}.tar.xz/} +} + +pkg_postinst() { + echo + elog 'Documentation is available in the genkernel manual page' + elog 'as well as the following URL:' + echo + elog 'https://wiki.gentoo.org/wiki/Genkernel' + echo + ewarn "This package is known to not work with reiser4. If you are running" + ewarn "reiser4 and have a problem, do not file a bug. We know it does not" + ewarn "work and we don't plan on fixing it since reiser4 is the one that is" + ewarn "broken in this regard. Try using a sane filesystem like ext4." + echo + ewarn "The LUKS support has changed from versions prior to 3.4.4. Now," + ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah." + echo +} |