Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/genkernel/, sys-kernel/genkernel/files/
Date: Thu, 26 Mar 2020 23:03:57
Message-Id: 1585263799.46b5e16e66c2cc6eebabeacf7819b739c74ec7d3.whissi@gentoo
1 commit: 46b5e16e66c2cc6eebabeacf7819b739c74ec7d3
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 26 23:03:19 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 26 23:03:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b5e16e
7
8 sys-kernel/genkernel: drop old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-kernel/genkernel/Manifest | 15 --
14 .../files/genkernel-3.4.52.4-crc32c.patch | 130 -----------------
15 .../files/genkernel-3.4.52.4-grub-mkconfig.patch | 17 ---
16 .../files/genkernel-3.4.52.4-system-map.patch | 38 -----
17 sys-kernel/genkernel/genkernel-3.4.52.3.ebuild | 154 --------------------
18 sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild | 155 --------------------
19 sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild | 156 --------------------
20 sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild | 157 --------------------
21 sys-kernel/genkernel/genkernel-3.5.1.1.ebuild | 158 --------------------
22 sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild | 159 ---------------------
23 sys-kernel/genkernel/genkernel-3.5.2.1.ebuild | 159 ---------------------
24 sys-kernel/genkernel/genkernel-3.5.2.2.ebuild | 159 ---------------------
25 sys-kernel/genkernel/genkernel-3.5.2.3.ebuild | 159 ---------------------
26 sys-kernel/genkernel/genkernel-3.5.2.4.ebuild | 159 ---------------------
27 sys-kernel/genkernel/genkernel-3.5.2.5.ebuild | 159 ---------------------
28 sys-kernel/genkernel/genkernel-3.5.3.2.ebuild | 159 ---------------------
29 16 files changed, 2093 deletions(-)
30
31 diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
32 index c9bb390f9c2..c079bc430a0 100644
33 --- a/sys-kernel/genkernel/Manifest
34 +++ b/sys-kernel/genkernel/Manifest
35 @@ -1,10 +1,7 @@
36 DIST LVM2.2.02.173.tgz 2363504 BLAKE2B a516bc9b68b7b7529f4436d8849ca741eb3ca1b5ac2eb2fb2915507935bdd28b5e234e74c1bce827e5761f57b5936510d08107e0dc1c320190f952c706f128d3 SHA512 c2ea8beafe006abf9282f51ec98600fd0ebff816d53c10ecbb19bbf336ada4825135cf9c92ccd364afb18f8b1d7e163eff5bdec8dfdd70dfb9ba45db2f6bdd5e
37 DIST LVM2.2.02.186.tgz 2389759 BLAKE2B e094c0135d455386ea5789208899d4dbdd5e78bebf52e49ab5587f881fbc2b94c6accecacf1b4ed182b0c87046402c00a47a1b724795a94fe3ec998b580a77ae SHA512 06a1c00142ee41d8a576a5e06a5beae70baced3020e753ce3b612355cc4d9e33be4acf58569d49436c4ee1118d288d884c7301b7d886074eaf9f2fa6b0248c03
38 -DIST LVM2.2.02.88.tgz 1029151 BLAKE2B e3ce91b6c43155a66b79cf25da3973abb19decde3acc37d28daf80d14b1bd574f7d31fbcee4b397f0a146b2e221599079e521d0ac21932ff58b7c9d4fdf93501 SHA512 5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b
39 DIST boost_1_72_0.tar.bz2 106907358 BLAKE2B ab270a0e3cb24da687d86785e2d2e6d7731b4dbc07bd839eadb642dfa5a428ad584acb1f3529661a8de9a986008ff3427491041059ea2b742348d02e00761cd8 SHA512 63bbd1743e7c904b2e69fdc2eafd1c2a8a30fd70d960dcd366059d0100f000cb605d56cbd9397bb18421631f1c9552a772c434d0f0caddbe56302273f51fd1f6
40 DIST btrfs-progs-v5.4.1.tar.xz 2107476 BLAKE2B 1ea58f49b0f8185e944010804e544643a2eafeea58fecb480b13095c362350c218f0602fbb43a96705a81befe88ec3e3abe35cc90d4732006479b059aa7fed32 SHA512 56381b37036aecea61b758fb4971abfeda24a387bb3a828f7d54eb068982a37763a8ebe2bcc6be61d6a8bc2057dddcd4754325b236e14d8ec02e58cf711f192f
41 -DIST busybox-1.20.2.tar.bz2 2186738 BLAKE2B 3efa01ee81a9f3af0ccbcf28b1a24e817a28012d27a27c714b3f13fe4a73200af66fb93dcd9adc65de3e3abb26757939ff3d3ba620af08101c27c5f3550e7501 SHA512 089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd
42 -DIST busybox-1.26.0.tar.bz2 2143958 BLAKE2B 3a4a227a4308d9d5e00c00fc5e90ee9a1d6345574bdb571cd8b4adab63dcdad3ff7edf30154bb8f8f31a3a658c85641af0f7875d4d533d56bb7c79f28980ebe6 SHA512 9e38c2f4c5ddb6c3a184170b5526c1a78cf53a575ed359fb18c407976cab9788fa95a26ca2d4e5c32e1d639890944d98e118149ee1402b18fe085b0baf0186d3
43 DIST busybox-1.27.2.tar.bz2 2216527 BLAKE2B 77b8fa325b9ba691c0ac944537efdf5d87011b1a87c1c244588136f78055be9f2a71c77eea5edf1d20cfe50e59b15527511b14160930c946ed4e82c9608cb991 SHA512 d99e86b652562ebe1a5d50e1ba3877a1d1612997c17cb8d8e4212da181211a9b741a881cb051f14cb3ee8aea40226cf2cde80a076baed265d3bc0a4e96a5031c
44 DIST busybox-1.31.1.tar.bz2 2430221 BLAKE2B 95c2345bc715eb7a1f08816a40add9b7a6176ef509a84069343ec2caddec58d8d57a07676ca2b03c209734169321433e27ba963b4c8b98dbfda4e409dcc347b4 SHA512 0d1197c25d963d7f95ef21e08c06c0d6124ac7b59c99989e891f744ffee4878a3b1fe44a247241a9da39fa5de0ba87f1b6d862401b591f277e66e89c02764bbf
45 DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515 SHA512 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
46 @@ -15,19 +12,8 @@ DIST e2fsprogs-1.45.5.tar.xz 5569796 BLAKE2B cf9633caa6c00afa51408364d0c0a1515a9
47 DIST expat-2.2.9.tar.xz 422460 BLAKE2B ea0e0bd005bbfd355e819e2b157859878a20ad9a6807cc5a10a6656f062e2443adb483adb0452d751b3d460834e3f613b8ecf7cdaf743be1b15815d005d01fa6 SHA512 e082874efcc4b00709e2c0192c88fb15dfc4f33fc3a2b09e619b010ea93baaf7e7572683f738463db0ce2350cab3de48a0c38af6b74d1c4f5a9e311f499edab0
48 DIST fuse-2.8.6.tar.gz 505334 BLAKE2B c44533625ead8acc5a16f61064635492c54aa91780018e3895baf18abe3ca00c9ec7f6606183a4f986037201db79697c07d03adf57c5a87e7888b8823d83aa8a SHA512 03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd
49 DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2
50 -DIST genkernel-3.4.52.3.tar.xz 282976 BLAKE2B 69eb6a964c5c20ee32ea6143b576a85090dfb50c011c641ae8415fba1cb99e7f239f4ba7fdc450b7c0eb93a248610c47e751f3993b8fff6e51b9602c37145af9 SHA512 a68b0149b9a69f59ab3e8d772f35f12643b9500c0c684d4824ca1f3c669b0ea01989a55643cd5b413f35d6fff284cd5ede7183971e202b3788caeb399259191f
51 -DIST genkernel-3.4.52.4.tar.xz 284064 BLAKE2B bc9c37f4bc7ab6c5eb8b4a0fe964843cf2554806d2dedd22feb2c9eae4935d9c432c8608916dece5b48cdd5dbf30aaa04fac6e279392f63c6854c2fbef956b1a SHA512 2dcdf2acb19c868ea7bfd5a0f9c7c3b179ac0f9f31b74306641dd8a1e8b076f5122e60a96c006e20f634e9e540d51723ef94bf91d8e28217dbb2159ff4d896dc
52 -DIST genkernel-3.5.1.1.tar.xz 292864 BLAKE2B 43bc7838e53ac3bbd3b36fb999e36c3a62da6aa5e4d62606aca9988aff135cc3ab0777fb7e60e2da9de807d059b3393cb686aad06f0bec22d6710f5978d05f27 SHA512 ff564e00bed2c7c211a0c7e73425169a6d354366737b8a561751557980f866dcd071baee5de3b089221cf6cb3ffd61d26ddd7d2f6f7e18d0c0df19ad94da1678
53 -DIST genkernel-3.5.2.0.tar.xz 291956 BLAKE2B 4719cca00084a513984c9e569650c58948a8aef58f69ab1bf0cb3c7c80b6b9095e82421fbc3fc9e726c8e449f2cca701b383386aff451fdbfa1752b6b4b81cc8 SHA512 3ac1c06dcde4008b5bad4441347e278717b7bc8560c300567f4d2ecf0603249845dacc19aa29483a0801eac073c8150d6d11b4b4edb80fc7cd5cf44745f75045
54 -DIST genkernel-3.5.2.1.tar.xz 293680 BLAKE2B 22531495514c1ff0e3354ba4d04687aa672dda1889ac04f5924c7c843c4db24a73a113b138300f40d47cdfc4b3b45654fdc284e8b88f55071b1395d0293aab55 SHA512 94dd1e4b09578b1563db5152af1f651022196b05492ef69cd7330fb05eb3c950d71b6b5c5e228c8316ced5130cb7cd9d4a24ce31c5ada093e173c9f67f309789
55 -DIST genkernel-3.5.2.2.tar.xz 316632 BLAKE2B 31c0b8cb50049c227ddc2c631d70b8a90df7ec79aee1e397c1a96594e5730145d093ff9dd5bc2e9e433e09f1bdccf76d01f6d637c5b071f10183670aee6773c7 SHA512 c98f836d92b2a940fc76e9c9b8799c19a55f6ac818fe74280321a954361e5d0886095d0b95ef429791161fb67afd3d7fdff518cc99c58bdc120456f7321c8edf
56 -DIST genkernel-3.5.2.3.tar.xz 317280 BLAKE2B 0dcc85dc67fde24bff7d6e86fef5967ae81a45b301e6306fb6d147b7dd5bb72127f364165daefc22e6a340ca31caeaacd94f3618d0d8230ca44e8106e87f3cfd SHA512 78e4464b19d825221527a2c60eecd4a1a625dc66c2d0cc33d69883ad0687e37f974c755301710f582bd4264dc328871d1327314eb098e09c7e6e393b1978f100
57 -DIST genkernel-3.5.2.4.tar.xz 318152 BLAKE2B 101bd8011b73699a3d8410fcb93adca2417254f05dc4657e583b17a449ba68aa08a3969c93cf558faab751efdcffc1dc8181003a0be0a2c3c8edcd03f09fe943 SHA512 2490ad2c6bacda87c848f8e216318e41f76cc25459c1960d0a10c5ad5768736a527cb954ed2c41ad1f52f53a37ca8c049a56793e97a3cb598b3cc4e436156a74
58 -DIST genkernel-3.5.2.5.tar.xz 318652 BLAKE2B 9b0e1b07f61b54edc1d263cc679b36d7e9062fd1e7cf11fc9442cf60b217274bc73425150ca963b6a91cd504d7817a852fa5bf4ad7634ff8d1ec3b43748ded41 SHA512 096aa77f4a52afefcef81ff6c7eb281e539af304854572389e38bbdd735ca723c7a5f2f7163fa9f387e3a2a78a2ba117260f1c8396ed4e51e12a91ad0fb0ff90
59 -DIST genkernel-3.5.3.2.tar.xz 320644 BLAKE2B 14eaf05aab02287c3dbb98f1a596e73bcbea39ceb2c8e44c5bdbb77b656958cee666f4353a2401bad531c2a7a98ee11b2531b251c19edc86db517cf3cc2869ec SHA512 1bee8ebdb8c2c30e90e0a1c573ad09b0eb79da54f0829859305eb50ffab95e69aa219ce82d4969140dea3d8788d66d3490fc03d38e190b533666e9278c7f96a6
60 DIST genkernel-3.5.3.3.tar.xz 331180 BLAKE2B 0f83b973505ccb0a92ae24e92509710bf96991f36ca55975ffefdf1bd3e835bd72bb413688468a05e6a5fff2ec16e64816f8ccfe2530c9f1e9169d19a86a2231 SHA512 9170731f59a1476aa597549ac55feb3583bed249e50d1697292571caf25c5ca746a1db9e811f2009d55aea21d739ef0ab3e385acd81504bbbccc8f7346205d71
61 DIST genkernel-4.0.5.tar.xz 446876 BLAKE2B b3091e849d6c1a98736f0932446c36a0b52454d4fcc965e3a8fd9a591191d1cd276fd2d5f482cdb39a72915192e6364436dd7e2cca92e9b4e0a1d820a045de99 SHA512 4a78b77b8990b34d4e91ea2fbefde18b148e66a9569041339dc325bb5432a657da5b305713ff3cb1e858495dff8e0ddfe034e6743a204aa50f022d42af77777c
62 -DIST gnupg-1.4.11.tar.bz2 3407075 BLAKE2B 85d35d2e4da65d54add1010ea0486b943b328785e28c4efcaa2b65daafd53410a355d1df79ae45c5f7767d2eb7ff1f0b9637f417e65b084d2c760a281abd317a SHA512 97e7b8b0f972cc2f7cabdb0e013cbee1c33e7d48407d040cca5c2037e32abe1c2100194be7d3b569d4f05eb16b24c205a5b83f06718f0241f8d4ee174f1c37ae
63 DIST gnupg-1.4.22.tar.bz2 3746546 BLAKE2B 9a2d37eeab10f2a7353804098e865ad45db846696a00a47f5bebf47145f79e0d2bf9c01c0195e2fe79af07946a3feac0d4589656c3e698a3a548ff1dd74ce759 SHA512 c03acac0fa55761470bb085d78a44e2b99ebb187e8396cbb031a184b1e40bef2a40c91da07755d1a20610a3daa6aa1eefea2d12a0dbd5a79a45466166419c708
64 DIST gnupg-1.4.23.tar.bz2 3749353 BLAKE2B ec5e6bef0c7bb2a65813d7852cebeaa24c4855f9d9d9e802070da50b89fff56b747682933aa766dd130f849efcfe28f7aa74f3153405429bcf3845ef29c6dd6e SHA512 78dc52a2010202a4afc8814b29fda657a6c9fe230d5e7db11ae040edd2b0ca819e1baa4dbd6c0d04d36cd353df484e83f52d17759d2891c2cf7025c0b5d36612
65 DIST json-c-0.13.1.tar.gz 639425 BLAKE2B 1da310309f9ce03306a9fd4a161670e460cf0b2222348df7c006902390f74a4cf100aab1ce6ac8a361a278dd917c114a278de5b3445817f3a40ae287478add46 SHA512 e984db2a42b9c95b52c798b2e8dd1b79951a8dcba27370af30c43b9549fbb00008dbcf052a535c528209aaee38e6d1f760168b706905ae72f3e704ed20f8a1a1
66 @@ -36,7 +22,6 @@ DIST libaio-0.3.112.tar.gz 46977 BLAKE2B 088f3b195a65bdc97ae2318e47af17c65259ed3
67 DIST libgcrypt-1.8.5.tar.bz2 2991291 BLAKE2B 93276b4536f71c07bb103e10607592e02add413f633d96cc95513daa6e6b0e098fe803bb6a0e405a241fddc5ce0cfad61658d57c27bd724eecd32fd862af4c99 SHA512 b55e16e838d1b1208e7673366971ae7c0f9c1c79e042f41c03d14ed74c5e387fa69ea81d5414ffda3d2b4f82ea5467fe13b00115727e257db22808cf351bde89
68 DIST libgpg-error-1.36.tar.bz2 920542 BLAKE2B 81684f6e47192c50cfa408977d53dc3812befca28733b531d51dffa0a6799a47366a50f64755557a7b3111a179ac4aba9e6a527418461cdbcccea80ae6bed4fa SHA512 6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346
69 DIST lzo-2.10.tar.gz 600622 BLAKE2B 124b6645a2cb7f01f153c9fa6e1976378bdfb224841a7b45ab19c584c6ef704c20719ae87640b8d83f3f9269a57d9cc2e870a914124dac03a2ef1336e9feb9c9 SHA512 a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4
70 -DIST mdadm-3.1.5.tar.bz2 292709 BLAKE2B a21fb41c6fd9f332e358339537cffd520788140976bf37fece072ee15eb512b1455e3a927abca0a4315e59659d3d114e407bb98a0ca8e6e559e1d1b83be4abbf SHA512 6fcf426d63ede01f99ebeee9be686857a04f9b601b37f76722c091ae2999b3ff66fdba52d47323f27900553125a897fc1815fe7be850aa9cc991dd5fa91a5d5d
71 DIST mdadm-4.0.tar.xz 430780 BLAKE2B f08a67452398c864d73c78e2a7258d89c5c81b83dd136d4cd7e31e46b22d75ff67ecf553dc22f55dca418409daded51a399728dfdbd36039e828cad3233774e6 SHA512 12fb26e6b9c1912698defa406e5e47a7ca8d68d4a9aa7acdc9b463ee2d4a37fc6ecef6beb5395ff619018c3f6bdb6d8c573060d027707540f645ad2265170e8b
72 DIST mdadm-4.1.tar.xz 440756 BLAKE2B df0506d937c2aa309d7c68804f66f7dcd51783288594bf746832311c64b8cf82004af4af5f246c5f9753f1de324ff7d49b5ee752d6a00ec03864f7885389706e SHA512 0859c5d3e786345d93ff2c3b291ca8866ba60f1375479e5b4d343124f6824140a8268d42b8ae603b069edba761aa30aaf20d49e9ec54dfcbad34bad3bea0e433
73 DIST open-iscsi-2.0-872.tar.gz 900081 BLAKE2B 6a4911347c55c1c4906350247ae7d92c2aee9627e1ab01cb5d705b02614b6c585ea042fef85a425b8f177645741f8d36e3efb40a57536bb79dbc5cdb6fe7998c SHA512 d26c87772b0b1d13a8bd2eea9db86b3c61af83efbb788116c01ab6a914ff3de634a7b1bff56c1161b28965315543edbfc2735b6c7fbd3f7797471fde63b69cc0
74
75 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
76 deleted file mode 100644
77 index 48dada2f980..00000000000
78 --- a/sys-kernel/genkernel/files/genkernel-3.4.52.4-crc32c.patch
79 +++ /dev/null
80 @@ -1,130 +0,0 @@
81 -modules_load: add crc32c
82 -
83 -commit 7308d72c3280da22cd94337b0eb248cdc53cb842 upstream.
84 -
85 -Bug: https://bugs.gentoo.org/655110
86 -
87 ---- a/arch/alpha/modules_load
88 -+++ b/arch/alpha/modules_load
89 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
90 - # Filesystems
91 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
92 -
93 -+# Crypto
94 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
95 ---- a/arch/arm/modules_load
96 -+++ b/arch/arm/modules_load
97 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
98 - # Filesystems
99 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
100 -
101 -+# Crypto
102 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
103 ---- a/arch/ia64/modules_load
104 -+++ b/arch/ia64/modules_load
105 -@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
106 -
107 - # Filesystems
108 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
109 -+
110 -+# Crypto
111 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
112 ---- a/arch/mips/modules_load
113 -+++ b/arch/mips/modules_load
114 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
115 - # Filesystems
116 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
117 -
118 -+# Crypto
119 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
120 ---- a/arch/parisc/modules_load
121 -+++ b/arch/parisc/modules_load
122 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
123 - # Filesystems
124 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
125 -
126 -+# Crypto
127 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
128 ---- a/arch/parisc64/modules_load
129 -+++ b/arch/parisc64/modules_load
130 -@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
131 -
132 - # Filesystems
133 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
134 -+
135 -+# Crypto
136 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
137 ---- a/arch/ppc/modules_load
138 -+++ b/arch/ppc/modules_load
139 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
140 - # Filesystems
141 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
142 -
143 -+# Crypto
144 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
145 ---- a/arch/ppc64/modules_load
146 -+++ b/arch/ppc64/modules_load
147 -@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
148 -
149 - # Filesystems
150 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
151 -+
152 -+# Crypto
153 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
154 ---- a/arch/s390/modules_load
155 -+++ b/arch/s390/modules_load
156 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
157 - # Filesystems
158 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
159 -
160 -+# Crypto
161 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
162 ---- a/arch/sparc/modules_load
163 -+++ b/arch/sparc/modules_load
164 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
165 - # Filesystems
166 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
167 -
168 -+# Crypto
169 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
170 ---- a/arch/sparc64/modules_load
171 -+++ b/arch/sparc64/modules_load
172 -@@ -26,3 +26,6 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
173 -
174 - # Filesystems
175 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
176 -+
177 -+# Crypto
178 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
179 ---- a/arch/um/modules_load
180 -+++ b/arch/um/modules_load
181 -@@ -27,3 +27,5 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
182 - # Filesystems
183 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
184 -
185 -+# Crypto
186 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
187 ---- a/arch/x86/modules_load
188 -+++ b/arch/x86/modules_load
189 -@@ -29,4 +29,4 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
190 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
191 -
192 - # Crypto
193 --MODULES_CRYPTO="sha256_generic cbc aes_generic aes_586 aesni-intel xts"
194 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic aes_586 aesni-intel xts"
195 ---- a/arch/x86_64/modules_load
196 -+++ b/arch/x86_64/modules_load
197 -@@ -28,4 +28,4 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd x
198 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
199 -
200 - # Crypto
201 --MODULES_CRYPTO="sha256_generic cbc aes_generic aes-x86_64 aesni-intel xts"
202 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic aes-x86_64 aesni-intel xts"
203 ---- a/defaults/modules_load
204 -+++ b/defaults/modules_load
205 -@@ -28,4 +28,4 @@ MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-hcd xhci-hcd x
206 - MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs fuse"
207 -
208 - # Crypto
209 --MODULES_CRYPTO="sha256_generic cbc aes_generic xts"
210 -+MODULES_CRYPTO="sha256_generic cbc crc32c aes_generic xts"
211
212 diff --git a/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch b/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch
213 deleted file mode 100644
214 index 9e55301228a..00000000000
215 --- a/sys-kernel/genkernel/files/genkernel-3.4.52.4-grub-mkconfig.patch
216 +++ /dev/null
217 @@ -1,17 +0,0 @@
218 -diff --git a/gen_bootloader.sh b/gen_bootloader.sh
219 -index 4bbd303..fdca749 100755
220 ---- a/gen_bootloader.sh
221 -+++ b/gen_bootloader.sh
222 -@@ -49,8 +49,10 @@ set_bootloader_grub2() {
223 - fi
224 -
225 - print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
226 -- print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
227 -- grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null || gen_die "grub2-mkconfig failed"
228 -+ print_info 1 "Running grub-mkconfig to create ${GRUB_CONF}..."
229 -+ grub-mkconfig -o "${GRUB_CONF}" 2> /dev/null ||
230 -+ grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null ||
231 -+ gen_die "grub-mkconfig failed"
232 - [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}"
233 - }
234 -
235
236 diff --git a/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch b/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch
237 deleted file mode 100644
238 index 1a85c498599..00000000000
239 --- a/sys-kernel/genkernel/files/genkernel-3.4.52.4-system-map.patch
240 +++ /dev/null
241 @@ -1,38 +0,0 @@
242 -From 4fb8318037a8ea12f54b7c711d702b432113f233 Mon Sep 17 00:00:00 2001
243 -From: Mike Frysinger <vapier@g.o>
244 -Date: Sun, 27 Mar 2016 02:04:41 -0400
245 -Subject: [PATCH] adjust System.map die check for #570822
246 -
247 -Builds with newer genkernel have been failing in catalyst like so:
248 -* ERROR: Could not copy System.map from kerncache for the kernel package!
249 -
250 -The code that added it seems to have been meant to check the minkernpackage/
251 -subdir where the file was renamed instead of the current subdir. Change the
252 -check to simplify verify the mv didn't fail instead of duplicating the file
253 -name entirely.
254 -
255 -Signed-off-by: Mike Frysinger <vapier@g.o>
256 ----
257 - gen_package.sh | 5 +----
258 - 1 file changed, 1 insertion(+), 4 deletions(-)
259 -
260 -diff --git a/gen_package.sh b/gen_package.sh
261 -index 9dd166b..b08ff03 100755
262 ---- a/gen_package.sh
263 -+++ b/gen_package.sh
264 -@@ -45,11 +45,8 @@ gen_minkernpackage() {
265 - if [ "${KERNCACHE}" != "" ]
266 - then
267 - /bin/tar -xj -C ${TEMP}/minkernpackage -f ${KERNCACHE} System.map-${ARCH}-${KV}
268 -- mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}}
269 -- if [ ! -f System.map-${KNAME}-${ARCH}-${KV} ]
270 -- then
271 -+ mv minkernpackage/{System.map-${ARCH}-${KV},System.map-${KNAME}-${ARCH}-${KV}} ||
272 - gen_die 'Could not copy System.map from kerncache for the kernel package!'
273 -- fi
274 - else
275 - cp "${KERNEL_OUTPUTDIR}/System.map" "${TEMP}/minkernpackage/System.map-${KNAME}-${ARCH}-${KV}" || gen_die 'Could not copy System.map for the kernel package!';
276 - fi
277 ---
278 -2.7.4
279 -
280
281 diff --git a/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild
282 deleted file mode 100644
283 index fb17bd379f7..00000000000
284 --- a/sys-kernel/genkernel/genkernel-3.4.52.3.ebuild
285 +++ /dev/null
286 @@ -1,154 +0,0 @@
287 -# Copyright 1999-2020 Gentoo Authors
288 -# Distributed under the terms of the GNU General Public License v2
289 -
290 -# genkernel-9999 -> latest Git branch "master"
291 -# genkernel-VERSION -> normal genkernel release
292 -
293 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
294 -
295 -inherit bash-completion-r1 epatch
296 -
297 -VERSION_BUSYBOX='1.20.2'
298 -VERSION_DMRAID='1.0.0.rc16-3'
299 -VERSION_MDADM='3.1.5'
300 -VERSION_FUSE='2.8.6'
301 -VERSION_ISCSI='2.0-872'
302 -VERSION_LVM='2.02.88'
303 -VERSION_UNIONFS_FUSE='0.24'
304 -VERSION_GPG='1.4.11'
305 -
306 -RH_HOME="ftp://sourceware.org/pub"
307 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
308 -BB_HOME="https://busybox.net/downloads"
309 -
310 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
311 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
312 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
313 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
314 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
315 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
316 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
317 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
318 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
319 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
320 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
321 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
322 -
323 -if [[ ${PV} == 9999* ]]
324 -then
325 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
326 - inherit git-r3
327 - S="${WORKDIR}/${P}"
328 - SRC_URI="${COMMON_URI}"
329 -else
330 - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
331 - ${COMMON_URI}"
332 - KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
333 -fi
334 -
335 -DESCRIPTION="Gentoo automatic kernel building scripts"
336 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
337 -
338 -LICENSE="GPL-2"
339 -SLOT="0"
340 -RESTRICT=""
341 -IUSE="cryptsetup ibm selinux"
342 -
343 -DEPEND="sys-fs/e2fsprogs
344 - selinux? ( sys-libs/libselinux )"
345 -RDEPEND="${DEPEND}
346 - cryptsetup? ( sys-fs/cryptsetup )
347 - app-arch/cpio
348 - >=app-misc/pax-utils-0.2.1
349 - !<sys-apps/openrc-0.9.9"
350 -# pax-utils is used for lddtree
351 -
352 -if [[ ${PV} == 9999* ]]; then
353 - DEPEND="${DEPEND} app-text/asciidoc"
354 -fi
355 -
356 -pkg_pretend() {
357 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
358 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
359 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
360 - ewarn "to have genkernel create an initramfs with LUKS support."
361 - ewarn "Sorry for the inconvenience."
362 - echo
363 - fi
364 -}
365 -
366 -src_prepare() {
367 - if [[ ${PV} == 9999* ]] ; then
368 - einfo "Producing ChangeLog from Git history..."
369 - pushd "${S}/.git" >/dev/null || die
370 - git log > "${S}"/ChangeLog || die
371 - popd >/dev/null || die
372 - fi
373 - if use selinux ; then
374 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
375 - fi
376 -
377 - # Update software.sh
378 - sed -i \
379 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
380 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
381 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
382 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
383 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
384 - -e "s:VERSION_LVM:$VERSION_LVM:" \
385 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
386 - -e "s:VERSION_GPG:$VERSION_GPG:" \
387 - "${S}"/defaults/software.sh \
388 - || die "Could not adjust versions"
389 -
390 - epatch_user
391 -}
392 -
393 -src_compile() {
394 - if [[ ${PV} == 9999* ]]; then
395 - emake
396 - fi
397 -}
398 -
399 -src_install() {
400 - insinto /etc
401 - doins "${S}"/genkernel.conf
402 -
403 - doman genkernel.8
404 - dodoc AUTHORS ChangeLog README TODO
405 - dobin genkernel
406 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
407 -
408 - if use ibm ; then
409 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
410 - else
411 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
412 - fi
413 - insinto /usr/share/genkernel
414 - doins -r "${S}"/*
415 -
416 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
417 - insinto /etc
418 - doins "${FILESDIR}"/initramfs.mounts
419 -
420 - cd "${DISTDIR}"
421 - insinto /usr/share/genkernel/distfiles
422 - doins ${A/${P}.tar.xz/}
423 -}
424 -
425 -pkg_postinst() {
426 - echo
427 - elog 'Documentation is available in the genkernel manual page'
428 - elog 'as well as the following URL:'
429 - echo
430 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
431 - echo
432 - ewarn "This package is known to not work with reiser4. If you are running"
433 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
434 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
435 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
436 - echo
437 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
438 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
439 - echo
440 -}
441
442 diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild
443 deleted file mode 100644
444 index d8c5716d5af..00000000000
445 --- a/sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild
446 +++ /dev/null
447 @@ -1,155 +0,0 @@
448 -# Copyright 1999-2020 Gentoo Authors
449 -# Distributed under the terms of the GNU General Public License v2
450 -
451 -# genkernel-9999 -> latest Git branch "master"
452 -# genkernel-VERSION -> normal genkernel release
453 -
454 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
455 -
456 -inherit bash-completion-r1 epatch
457 -
458 -VERSION_BUSYBOX='1.20.2'
459 -VERSION_DMRAID='1.0.0.rc16-3'
460 -VERSION_MDADM='3.1.5'
461 -VERSION_FUSE='2.8.6'
462 -VERSION_ISCSI='2.0-872'
463 -VERSION_LVM='2.02.88'
464 -VERSION_UNIONFS_FUSE='0.24'
465 -VERSION_GPG='1.4.11'
466 -
467 -RH_HOME="ftp://sourceware.org/pub"
468 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
469 -BB_HOME="https://busybox.net/downloads"
470 -
471 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
472 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
473 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
474 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
475 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
476 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
477 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
478 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
479 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
480 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
481 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
482 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
483 -
484 -if [[ ${PV} == 9999* ]]
485 -then
486 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
487 - inherit git-r3
488 - S="${WORKDIR}/${P}"
489 - SRC_URI="${COMMON_URI}"
490 -else
491 - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
492 - ${COMMON_URI}"
493 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sparc ~x86"
494 -fi
495 -
496 -DESCRIPTION="Gentoo automatic kernel building scripts"
497 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
498 -
499 -LICENSE="GPL-2"
500 -SLOT="0"
501 -RESTRICT=""
502 -IUSE="cryptsetup ibm selinux"
503 -
504 -DEPEND="sys-fs/e2fsprogs
505 - selinux? ( sys-libs/libselinux )"
506 -RDEPEND="${DEPEND}
507 - cryptsetup? ( sys-fs/cryptsetup )
508 - app-arch/cpio
509 - >=app-misc/pax-utils-0.2.1
510 - !<sys-apps/openrc-0.9.9"
511 -# pax-utils is used for lddtree
512 -
513 -if [[ ${PV} == 9999* ]]; then
514 - DEPEND="${DEPEND} app-text/asciidoc"
515 -fi
516 -
517 -pkg_pretend() {
518 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
519 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
520 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
521 - ewarn "to have genkernel create an initramfs with LUKS support."
522 - ewarn "Sorry for the inconvenience."
523 - echo
524 - fi
525 -}
526 -
527 -src_prepare() {
528 - if [[ ${PV} == 9999* ]] ; then
529 - einfo "Producing ChangeLog from Git history..."
530 - pushd "${S}/.git" >/dev/null || die
531 - git log > "${S}"/ChangeLog || die
532 - popd >/dev/null || die
533 - fi
534 - if use selinux ; then
535 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
536 - fi
537 -
538 - # Update software.sh
539 - sed -i \
540 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
541 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
542 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
543 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
544 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
545 - -e "s:VERSION_LVM:$VERSION_LVM:" \
546 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
547 - -e "s:VERSION_GPG:$VERSION_GPG:" \
548 - "${S}"/defaults/software.sh \
549 - || die "Could not adjust versions"
550 -
551 - epatch "${FILESDIR}"/${P}-system-map.patch #570822
552 - epatch_user
553 -}
554 -
555 -src_compile() {
556 - if [[ ${PV} == 9999* ]]; then
557 - emake
558 - fi
559 -}
560 -
561 -src_install() {
562 - insinto /etc
563 - doins "${S}"/genkernel.conf
564 -
565 - doman genkernel.8
566 - dodoc AUTHORS ChangeLog README TODO
567 - dobin genkernel
568 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
569 -
570 - if use ibm ; then
571 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
572 - else
573 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
574 - fi
575 - insinto /usr/share/genkernel
576 - doins -r "${S}"/*
577 -
578 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
579 - insinto /etc
580 - doins "${FILESDIR}"/initramfs.mounts
581 -
582 - cd "${DISTDIR}"
583 - insinto /usr/share/genkernel/distfiles
584 - doins ${A/${P}.tar.xz/}
585 -}
586 -
587 -pkg_postinst() {
588 - echo
589 - elog 'Documentation is available in the genkernel manual page'
590 - elog 'as well as the following URL:'
591 - echo
592 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
593 - echo
594 - ewarn "This package is known to not work with reiser4. If you are running"
595 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
596 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
597 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
598 - echo
599 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
600 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
601 - echo
602 -}
603
604 diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild
605 deleted file mode 100644
606 index 562eb0ee605..00000000000
607 --- a/sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild
608 +++ /dev/null
609 @@ -1,156 +0,0 @@
610 -# Copyright 1999-2020 Gentoo Authors
611 -# Distributed under the terms of the GNU General Public License v2
612 -
613 -# genkernel-9999 -> latest Git branch "master"
614 -# genkernel-VERSION -> normal genkernel release
615 -
616 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
617 -
618 -inherit bash-completion-r1 epatch
619 -
620 -VERSION_BUSYBOX='1.20.2'
621 -VERSION_DMRAID='1.0.0.rc16-3'
622 -VERSION_MDADM='3.1.5'
623 -VERSION_FUSE='2.8.6'
624 -VERSION_ISCSI='2.0-872'
625 -VERSION_LVM='2.02.88'
626 -VERSION_UNIONFS_FUSE='0.24'
627 -VERSION_GPG='1.4.11'
628 -
629 -RH_HOME="ftp://sourceware.org/pub"
630 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
631 -BB_HOME="https://busybox.net/downloads"
632 -
633 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
634 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
635 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
636 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
637 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
638 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
639 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
640 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
641 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
642 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
643 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
644 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
645 -
646 -if [[ ${PV} == 9999* ]]
647 -then
648 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
649 - inherit git-r3
650 - S="${WORKDIR}/${P}"
651 - SRC_URI="${COMMON_URI}"
652 -else
653 - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
654 - ${COMMON_URI}"
655 - KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
656 -fi
657 -
658 -DESCRIPTION="Gentoo automatic kernel building scripts"
659 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
660 -
661 -LICENSE="GPL-2"
662 -SLOT="0"
663 -RESTRICT=""
664 -IUSE="cryptsetup ibm selinux"
665 -
666 -DEPEND="sys-fs/e2fsprogs
667 - selinux? ( sys-libs/libselinux )"
668 -RDEPEND="${DEPEND}
669 - cryptsetup? ( sys-fs/cryptsetup )
670 - app-arch/cpio
671 - >=app-misc/pax-utils-0.2.1
672 - !<sys-apps/openrc-0.9.9"
673 -# pax-utils is used for lddtree
674 -
675 -if [[ ${PV} == 9999* ]]; then
676 - DEPEND="${DEPEND} app-text/asciidoc"
677 -fi
678 -
679 -pkg_pretend() {
680 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
681 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
682 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
683 - ewarn "to have genkernel create an initramfs with LUKS support."
684 - ewarn "Sorry for the inconvenience."
685 - echo
686 - fi
687 -}
688 -
689 -src_prepare() {
690 - if [[ ${PV} == 9999* ]] ; then
691 - einfo "Producing ChangeLog from Git history..."
692 - pushd "${S}/.git" >/dev/null || die
693 - git log > "${S}"/ChangeLog || die
694 - popd >/dev/null || die
695 - fi
696 - if use selinux ; then
697 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
698 - fi
699 -
700 - # Update software.sh
701 - sed -i \
702 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
703 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
704 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
705 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
706 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
707 - -e "s:VERSION_LVM:$VERSION_LVM:" \
708 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
709 - -e "s:VERSION_GPG:$VERSION_GPG:" \
710 - "${S}"/defaults/software.sh \
711 - || die "Could not adjust versions"
712 -
713 - epatch "${FILESDIR}"/${P}-system-map.patch #570822
714 - epatch "${FILESDIR}"/${P}-grub-mkconfig.patch #591200
715 - epatch_user
716 -}
717 -
718 -src_compile() {
719 - if [[ ${PV} == 9999* ]]; then
720 - emake
721 - fi
722 -}
723 -
724 -src_install() {
725 - insinto /etc
726 - doins "${S}"/genkernel.conf
727 -
728 - doman genkernel.8
729 - dodoc AUTHORS ChangeLog README TODO
730 - dobin genkernel
731 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
732 -
733 - if use ibm ; then
734 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
735 - else
736 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
737 - fi
738 - insinto /usr/share/genkernel
739 - doins -r "${S}"/*
740 -
741 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
742 - insinto /etc
743 - doins "${FILESDIR}"/initramfs.mounts
744 -
745 - cd "${DISTDIR}"
746 - insinto /usr/share/genkernel/distfiles
747 - doins ${A/${P}.tar.xz/}
748 -}
749 -
750 -pkg_postinst() {
751 - echo
752 - elog 'Documentation is available in the genkernel manual page'
753 - elog 'as well as the following URL:'
754 - echo
755 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
756 - echo
757 - ewarn "This package is known to not work with reiser4. If you are running"
758 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
759 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
760 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
761 - echo
762 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
763 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
764 - echo
765 -}
766
767 diff --git a/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild
768 deleted file mode 100644
769 index 64945f43989..00000000000
770 --- a/sys-kernel/genkernel/genkernel-3.4.52.4-r3.ebuild
771 +++ /dev/null
772 @@ -1,157 +0,0 @@
773 -# Copyright 1999-2020 Gentoo Authors
774 -# Distributed under the terms of the GNU General Public License v2
775 -
776 -# genkernel-9999 -> latest Git branch "master"
777 -# genkernel-VERSION -> normal genkernel release
778 -
779 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
780 -
781 -inherit bash-completion-r1 epatch
782 -
783 -VERSION_BUSYBOX='1.20.2'
784 -VERSION_DMRAID='1.0.0.rc16-3'
785 -VERSION_MDADM='3.1.5'
786 -VERSION_FUSE='2.8.6'
787 -VERSION_ISCSI='2.0-872'
788 -VERSION_LVM='2.02.88'
789 -VERSION_UNIONFS_FUSE='0.24'
790 -VERSION_GPG='1.4.11'
791 -
792 -RH_HOME="ftp://sourceware.org/pub"
793 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
794 -BB_HOME="https://busybox.net/downloads"
795 -
796 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
797 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
798 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
799 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
800 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
801 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
802 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
803 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
804 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
805 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
806 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
807 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
808 -
809 -if [[ ${PV} == 9999* ]]
810 -then
811 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
812 - inherit git-r3
813 - S="${WORKDIR}/${P}"
814 - SRC_URI="${COMMON_URI}"
815 -else
816 - SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
817 - ${COMMON_URI}"
818 - KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
819 -fi
820 -
821 -DESCRIPTION="Gentoo automatic kernel building scripts"
822 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
823 -
824 -LICENSE="GPL-2"
825 -SLOT="0"
826 -RESTRICT=""
827 -IUSE="cryptsetup ibm selinux"
828 -
829 -DEPEND="sys-fs/e2fsprogs
830 - selinux? ( sys-libs/libselinux )"
831 -RDEPEND="${DEPEND}
832 - cryptsetup? ( sys-fs/cryptsetup )
833 - app-arch/cpio
834 - >=app-misc/pax-utils-0.2.1
835 - !<sys-apps/openrc-0.9.9"
836 -# pax-utils is used for lddtree
837 -
838 -if [[ ${PV} == 9999* ]]; then
839 - DEPEND="${DEPEND} app-text/asciidoc"
840 -fi
841 -
842 -pkg_pretend() {
843 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
844 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
845 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
846 - ewarn "to have genkernel create an initramfs with LUKS support."
847 - ewarn "Sorry for the inconvenience."
848 - echo
849 - fi
850 -}
851 -
852 -src_prepare() {
853 - if [[ ${PV} == 9999* ]] ; then
854 - einfo "Producing ChangeLog from Git history..."
855 - pushd "${S}/.git" >/dev/null || die
856 - git log > "${S}"/ChangeLog || die
857 - popd >/dev/null || die
858 - fi
859 - if use selinux ; then
860 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
861 - fi
862 -
863 - # Update software.sh
864 - sed -i \
865 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
866 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
867 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
868 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
869 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
870 - -e "s:VERSION_LVM:$VERSION_LVM:" \
871 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
872 - -e "s:VERSION_GPG:$VERSION_GPG:" \
873 - "${S}"/defaults/software.sh \
874 - || die "Could not adjust versions"
875 -
876 - epatch "${FILESDIR}"/${P}-system-map.patch #570822
877 - epatch "${FILESDIR}"/${P}-grub-mkconfig.patch #591200
878 - epatch "${FILESDIR}"/${P}-crc32c.patch #655110
879 - epatch_user
880 -}
881 -
882 -src_compile() {
883 - if [[ ${PV} == 9999* ]]; then
884 - emake
885 - fi
886 -}
887 -
888 -src_install() {
889 - insinto /etc
890 - doins "${S}"/genkernel.conf
891 -
892 - doman genkernel.8
893 - dodoc AUTHORS ChangeLog README TODO
894 - dobin genkernel
895 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
896 -
897 - if use ibm ; then
898 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
899 - else
900 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
901 - fi
902 - insinto /usr/share/genkernel
903 - doins -r "${S}"/*
904 -
905 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
906 - insinto /etc
907 - doins "${FILESDIR}"/initramfs.mounts
908 -
909 - cd "${DISTDIR}"
910 - insinto /usr/share/genkernel/distfiles
911 - doins ${A/${P}.tar.xz/}
912 -}
913 -
914 -pkg_postinst() {
915 - echo
916 - elog 'Documentation is available in the genkernel manual page'
917 - elog 'as well as the following URL:'
918 - echo
919 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
920 - echo
921 - ewarn "This package is known to not work with reiser4. If you are running"
922 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
923 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
924 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
925 - echo
926 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
927 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
928 - echo
929 -}
930
931 diff --git a/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild b/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild
932 deleted file mode 100644
933 index a9ef7d8fc11..00000000000
934 --- a/sys-kernel/genkernel/genkernel-3.5.1.1.ebuild
935 +++ /dev/null
936 @@ -1,158 +0,0 @@
937 -# Copyright 1999-2020 Gentoo Authors
938 -# Distributed under the terms of the GNU General Public License v2
939 -
940 -# genkernel-9999 -> latest Git branch "master"
941 -# genkernel-VERSION -> normal genkernel release
942 -
943 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
944 -
945 -inherit bash-completion-r1 epatch
946 -
947 -VERSION_BUSYBOX='1.26.0'
948 -VERSION_DMRAID='1.0.0.rc16-3'
949 -VERSION_MDADM='3.1.5'
950 -VERSION_FUSE='2.8.6'
951 -VERSION_ISCSI='2.0-872'
952 -VERSION_LVM='2.02.88'
953 -VERSION_UNIONFS_FUSE='0.24'
954 -VERSION_GPG='1.4.11'
955 -
956 -RH_HOME="ftp://sourceware.org/pub"
957 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
958 -BB_HOME="https://busybox.net/downloads"
959 -
960 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
961 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
962 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
963 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
964 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
965 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
966 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
967 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
968 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
969 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
970 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
971 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
972 -
973 -if [[ ${PV} == 9999* ]]
974 -then
975 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
976 - inherit git-r3
977 - S="${WORKDIR}/${P}"
978 - SRC_URI="${COMMON_URI}"
979 -else
980 - SRC_URI="mirror://gentoo/${P}.tar.xz
981 - ${COMMON_URI}"
982 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
983 -fi
984 -
985 -DESCRIPTION="Gentoo automatic kernel building scripts"
986 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
987 -
988 -LICENSE="GPL-2"
989 -SLOT="0"
990 -RESTRICT=""
991 -IUSE="cryptsetup ibm +firmware selinux"
992 -
993 -DEPEND="sys-fs/e2fsprogs
994 - selinux? ( sys-libs/libselinux )"
995 -RDEPEND="${DEPEND}
996 - cryptsetup? ( sys-fs/cryptsetup )
997 - app-arch/cpio
998 - >=app-misc/pax-utils-1.2.2
999 - firmware? ( sys-kernel/linux-firmware )
1000 - !<sys-apps/openrc-0.9.9"
1001 -# pax-utils is used for lddtree
1002 -
1003 -if [[ ${PV} == 9999* ]]; then
1004 - DEPEND="${DEPEND} app-text/asciidoc"
1005 -fi
1006 -
1007 -pkg_pretend() {
1008 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1009 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1010 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1011 - ewarn "to have genkernel create an initramfs with LUKS support."
1012 - ewarn "Sorry for the inconvenience."
1013 - echo
1014 - fi
1015 -}
1016 -
1017 -src_prepare() {
1018 - if [[ ${PV} == 9999* ]] ; then
1019 - einfo "Updating version tag"
1020 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1021 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1022 - einfo "Producing ChangeLog from Git history..."
1023 - pushd "${S}/.git" >/dev/null || die
1024 - git log > "${S}"/ChangeLog || die
1025 - popd >/dev/null || die
1026 - fi
1027 - if use selinux ; then
1028 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1029 - fi
1030 -
1031 - # Update software.sh
1032 - sed -i \
1033 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1034 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1035 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1036 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1037 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1038 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1039 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1040 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1041 - "${S}"/defaults/software.sh \
1042 - || die "Could not adjust versions"
1043 -
1044 - epatch_user
1045 -}
1046 -
1047 -src_compile() {
1048 - if [[ ${PV} == 9999* ]]; then
1049 - emake
1050 - fi
1051 -}
1052 -
1053 -src_install() {
1054 - insinto /etc
1055 - doins "${S}"/genkernel.conf
1056 -
1057 - doman genkernel.8
1058 - dodoc AUTHORS ChangeLog README TODO
1059 - dobin genkernel
1060 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1061 -
1062 - if use ibm ; then
1063 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1064 - else
1065 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1066 - fi
1067 - insinto /usr/share/genkernel
1068 - doins -r "${S}"/*
1069 -
1070 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1071 - insinto /etc
1072 - doins "${FILESDIR}"/initramfs.mounts
1073 -
1074 - cd "${DISTDIR}"
1075 - insinto /usr/share/genkernel/distfiles
1076 - doins ${A/${P}.tar.xz/}
1077 -}
1078 -
1079 -pkg_postinst() {
1080 - echo
1081 - elog 'Documentation is available in the genkernel manual page'
1082 - elog 'as well as the following URL:'
1083 - echo
1084 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1085 - echo
1086 - ewarn "This package is known to not work with reiser4. If you are running"
1087 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1088 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1089 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1090 - echo
1091 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1092 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1093 - echo
1094 -}
1095
1096 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild
1097 deleted file mode 100644
1098 index 8badb9dc013..00000000000
1099 --- a/sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild
1100 +++ /dev/null
1101 @@ -1,159 +0,0 @@
1102 -# Copyright 1999-2020 Gentoo Authors
1103 -# Distributed under the terms of the GNU General Public License v2
1104 -
1105 -# genkernel-9999 -> latest Git branch "master"
1106 -# genkernel-VERSION -> normal genkernel release
1107 -
1108 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1109 -
1110 -inherit bash-completion-r1 epatch
1111 -
1112 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1113 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1114 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1115 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1116 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1117 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1118 -VERSION_UNIONFS_FUSE='0.24'
1119 -VERSION_GPG='1.4.22'
1120 -
1121 -RH_HOME="ftp://sourceware.org/pub"
1122 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1123 -BB_HOME="https://busybox.net/downloads"
1124 -
1125 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1126 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1127 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1128 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1129 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1130 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1131 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1132 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1133 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1134 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1135 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1136 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1137 -
1138 -if [[ ${PV} == 9999* ]]
1139 -then
1140 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1141 - inherit git-r3
1142 - S="${WORKDIR}/${P}"
1143 - SRC_URI="${COMMON_URI}"
1144 -else
1145 - SRC_URI="mirror://gentoo/${P}.tar.xz
1146 - ${COMMON_URI}"
1147 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1148 -fi
1149 -
1150 -DESCRIPTION="Gentoo automatic kernel building scripts"
1151 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1152 -
1153 -LICENSE="GPL-2"
1154 -SLOT="0"
1155 -RESTRICT=""
1156 -IUSE="cryptsetup ibm +firmware selinux"
1157 -
1158 -DEPEND="sys-fs/e2fsprogs
1159 - selinux? ( sys-libs/libselinux )"
1160 -RDEPEND="${DEPEND}
1161 - cryptsetup? ( sys-fs/cryptsetup )
1162 - app-arch/cpio
1163 - >=app-misc/pax-utils-1.2.2
1164 - sys-apps/util-linux[static-libs(+)]
1165 - firmware? ( sys-kernel/linux-firmware )
1166 - !<sys-apps/openrc-0.9.9"
1167 -# pax-utils is used for lddtree
1168 -
1169 -if [[ ${PV} == 9999* ]]; then
1170 - DEPEND="${DEPEND} app-text/asciidoc"
1171 -fi
1172 -
1173 -pkg_pretend() {
1174 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1175 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1176 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1177 - ewarn "to have genkernel create an initramfs with LUKS support."
1178 - ewarn "Sorry for the inconvenience."
1179 - echo
1180 - fi
1181 -}
1182 -
1183 -src_prepare() {
1184 - if [[ ${PV} == 9999* ]] ; then
1185 - einfo "Updating version tag"
1186 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1187 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1188 - einfo "Producing ChangeLog from Git history..."
1189 - pushd "${S}/.git" >/dev/null || die
1190 - git log > "${S}"/ChangeLog || die
1191 - popd >/dev/null || die
1192 - fi
1193 - if use selinux ; then
1194 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1195 - fi
1196 -
1197 - # Update software.sh
1198 - sed -i \
1199 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1200 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1201 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1202 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1203 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1204 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1205 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1206 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1207 - "${S}"/defaults/software.sh \
1208 - || die "Could not adjust versions"
1209 -
1210 - epatch_user
1211 -}
1212 -
1213 -src_compile() {
1214 - if [[ ${PV} == 9999* ]]; then
1215 - emake
1216 - fi
1217 -}
1218 -
1219 -src_install() {
1220 - insinto /etc
1221 - doins "${S}"/genkernel.conf
1222 -
1223 - doman genkernel.8
1224 - dodoc AUTHORS ChangeLog README TODO
1225 - dobin genkernel
1226 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1227 -
1228 - if use ibm ; then
1229 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1230 - else
1231 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1232 - fi
1233 - insinto /usr/share/genkernel
1234 - doins -r "${S}"/*
1235 -
1236 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1237 - insinto /etc
1238 - doins "${FILESDIR}"/initramfs.mounts
1239 -
1240 - cd "${DISTDIR}"
1241 - insinto /usr/share/genkernel/distfiles
1242 - doins ${A/${P}.tar.xz/}
1243 -}
1244 -
1245 -pkg_postinst() {
1246 - echo
1247 - elog 'Documentation is available in the genkernel manual page'
1248 - elog 'as well as the following URL:'
1249 - echo
1250 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1251 - echo
1252 - ewarn "This package is known to not work with reiser4. If you are running"
1253 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1254 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1255 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1256 - echo
1257 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1258 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1259 - echo
1260 -}
1261
1262 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild
1263 deleted file mode 100644
1264 index 8badb9dc013..00000000000
1265 --- a/sys-kernel/genkernel/genkernel-3.5.2.1.ebuild
1266 +++ /dev/null
1267 @@ -1,159 +0,0 @@
1268 -# Copyright 1999-2020 Gentoo Authors
1269 -# Distributed under the terms of the GNU General Public License v2
1270 -
1271 -# genkernel-9999 -> latest Git branch "master"
1272 -# genkernel-VERSION -> normal genkernel release
1273 -
1274 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1275 -
1276 -inherit bash-completion-r1 epatch
1277 -
1278 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1279 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1280 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1281 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1282 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1283 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1284 -VERSION_UNIONFS_FUSE='0.24'
1285 -VERSION_GPG='1.4.22'
1286 -
1287 -RH_HOME="ftp://sourceware.org/pub"
1288 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1289 -BB_HOME="https://busybox.net/downloads"
1290 -
1291 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1292 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1293 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1294 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1295 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1296 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1297 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1298 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1299 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1300 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1301 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1302 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1303 -
1304 -if [[ ${PV} == 9999* ]]
1305 -then
1306 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1307 - inherit git-r3
1308 - S="${WORKDIR}/${P}"
1309 - SRC_URI="${COMMON_URI}"
1310 -else
1311 - SRC_URI="mirror://gentoo/${P}.tar.xz
1312 - ${COMMON_URI}"
1313 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1314 -fi
1315 -
1316 -DESCRIPTION="Gentoo automatic kernel building scripts"
1317 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1318 -
1319 -LICENSE="GPL-2"
1320 -SLOT="0"
1321 -RESTRICT=""
1322 -IUSE="cryptsetup ibm +firmware selinux"
1323 -
1324 -DEPEND="sys-fs/e2fsprogs
1325 - selinux? ( sys-libs/libselinux )"
1326 -RDEPEND="${DEPEND}
1327 - cryptsetup? ( sys-fs/cryptsetup )
1328 - app-arch/cpio
1329 - >=app-misc/pax-utils-1.2.2
1330 - sys-apps/util-linux[static-libs(+)]
1331 - firmware? ( sys-kernel/linux-firmware )
1332 - !<sys-apps/openrc-0.9.9"
1333 -# pax-utils is used for lddtree
1334 -
1335 -if [[ ${PV} == 9999* ]]; then
1336 - DEPEND="${DEPEND} app-text/asciidoc"
1337 -fi
1338 -
1339 -pkg_pretend() {
1340 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1341 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1342 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1343 - ewarn "to have genkernel create an initramfs with LUKS support."
1344 - ewarn "Sorry for the inconvenience."
1345 - echo
1346 - fi
1347 -}
1348 -
1349 -src_prepare() {
1350 - if [[ ${PV} == 9999* ]] ; then
1351 - einfo "Updating version tag"
1352 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1353 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1354 - einfo "Producing ChangeLog from Git history..."
1355 - pushd "${S}/.git" >/dev/null || die
1356 - git log > "${S}"/ChangeLog || die
1357 - popd >/dev/null || die
1358 - fi
1359 - if use selinux ; then
1360 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1361 - fi
1362 -
1363 - # Update software.sh
1364 - sed -i \
1365 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1366 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1367 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1368 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1369 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1370 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1371 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1372 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1373 - "${S}"/defaults/software.sh \
1374 - || die "Could not adjust versions"
1375 -
1376 - epatch_user
1377 -}
1378 -
1379 -src_compile() {
1380 - if [[ ${PV} == 9999* ]]; then
1381 - emake
1382 - fi
1383 -}
1384 -
1385 -src_install() {
1386 - insinto /etc
1387 - doins "${S}"/genkernel.conf
1388 -
1389 - doman genkernel.8
1390 - dodoc AUTHORS ChangeLog README TODO
1391 - dobin genkernel
1392 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1393 -
1394 - if use ibm ; then
1395 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1396 - else
1397 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1398 - fi
1399 - insinto /usr/share/genkernel
1400 - doins -r "${S}"/*
1401 -
1402 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1403 - insinto /etc
1404 - doins "${FILESDIR}"/initramfs.mounts
1405 -
1406 - cd "${DISTDIR}"
1407 - insinto /usr/share/genkernel/distfiles
1408 - doins ${A/${P}.tar.xz/}
1409 -}
1410 -
1411 -pkg_postinst() {
1412 - echo
1413 - elog 'Documentation is available in the genkernel manual page'
1414 - elog 'as well as the following URL:'
1415 - echo
1416 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1417 - echo
1418 - ewarn "This package is known to not work with reiser4. If you are running"
1419 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1420 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1421 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1422 - echo
1423 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1424 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1425 - echo
1426 -}
1427
1428 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.2.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.2.ebuild
1429 deleted file mode 100644
1430 index 8badb9dc013..00000000000
1431 --- a/sys-kernel/genkernel/genkernel-3.5.2.2.ebuild
1432 +++ /dev/null
1433 @@ -1,159 +0,0 @@
1434 -# Copyright 1999-2020 Gentoo Authors
1435 -# Distributed under the terms of the GNU General Public License v2
1436 -
1437 -# genkernel-9999 -> latest Git branch "master"
1438 -# genkernel-VERSION -> normal genkernel release
1439 -
1440 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1441 -
1442 -inherit bash-completion-r1 epatch
1443 -
1444 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1445 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1446 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1447 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1448 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1449 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1450 -VERSION_UNIONFS_FUSE='0.24'
1451 -VERSION_GPG='1.4.22'
1452 -
1453 -RH_HOME="ftp://sourceware.org/pub"
1454 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1455 -BB_HOME="https://busybox.net/downloads"
1456 -
1457 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1458 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1459 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1460 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1461 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1462 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1463 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1464 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1465 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1466 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1467 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1468 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1469 -
1470 -if [[ ${PV} == 9999* ]]
1471 -then
1472 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1473 - inherit git-r3
1474 - S="${WORKDIR}/${P}"
1475 - SRC_URI="${COMMON_URI}"
1476 -else
1477 - SRC_URI="mirror://gentoo/${P}.tar.xz
1478 - ${COMMON_URI}"
1479 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1480 -fi
1481 -
1482 -DESCRIPTION="Gentoo automatic kernel building scripts"
1483 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1484 -
1485 -LICENSE="GPL-2"
1486 -SLOT="0"
1487 -RESTRICT=""
1488 -IUSE="cryptsetup ibm +firmware selinux"
1489 -
1490 -DEPEND="sys-fs/e2fsprogs
1491 - selinux? ( sys-libs/libselinux )"
1492 -RDEPEND="${DEPEND}
1493 - cryptsetup? ( sys-fs/cryptsetup )
1494 - app-arch/cpio
1495 - >=app-misc/pax-utils-1.2.2
1496 - sys-apps/util-linux[static-libs(+)]
1497 - firmware? ( sys-kernel/linux-firmware )
1498 - !<sys-apps/openrc-0.9.9"
1499 -# pax-utils is used for lddtree
1500 -
1501 -if [[ ${PV} == 9999* ]]; then
1502 - DEPEND="${DEPEND} app-text/asciidoc"
1503 -fi
1504 -
1505 -pkg_pretend() {
1506 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1507 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1508 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1509 - ewarn "to have genkernel create an initramfs with LUKS support."
1510 - ewarn "Sorry for the inconvenience."
1511 - echo
1512 - fi
1513 -}
1514 -
1515 -src_prepare() {
1516 - if [[ ${PV} == 9999* ]] ; then
1517 - einfo "Updating version tag"
1518 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1519 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1520 - einfo "Producing ChangeLog from Git history..."
1521 - pushd "${S}/.git" >/dev/null || die
1522 - git log > "${S}"/ChangeLog || die
1523 - popd >/dev/null || die
1524 - fi
1525 - if use selinux ; then
1526 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1527 - fi
1528 -
1529 - # Update software.sh
1530 - sed -i \
1531 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1532 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1533 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1534 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1535 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1536 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1537 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1538 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1539 - "${S}"/defaults/software.sh \
1540 - || die "Could not adjust versions"
1541 -
1542 - epatch_user
1543 -}
1544 -
1545 -src_compile() {
1546 - if [[ ${PV} == 9999* ]]; then
1547 - emake
1548 - fi
1549 -}
1550 -
1551 -src_install() {
1552 - insinto /etc
1553 - doins "${S}"/genkernel.conf
1554 -
1555 - doman genkernel.8
1556 - dodoc AUTHORS ChangeLog README TODO
1557 - dobin genkernel
1558 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1559 -
1560 - if use ibm ; then
1561 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1562 - else
1563 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1564 - fi
1565 - insinto /usr/share/genkernel
1566 - doins -r "${S}"/*
1567 -
1568 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1569 - insinto /etc
1570 - doins "${FILESDIR}"/initramfs.mounts
1571 -
1572 - cd "${DISTDIR}"
1573 - insinto /usr/share/genkernel/distfiles
1574 - doins ${A/${P}.tar.xz/}
1575 -}
1576 -
1577 -pkg_postinst() {
1578 - echo
1579 - elog 'Documentation is available in the genkernel manual page'
1580 - elog 'as well as the following URL:'
1581 - echo
1582 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1583 - echo
1584 - ewarn "This package is known to not work with reiser4. If you are running"
1585 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1586 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1587 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1588 - echo
1589 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1590 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1591 - echo
1592 -}
1593
1594 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.3.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.3.ebuild
1595 deleted file mode 100644
1596 index 8badb9dc013..00000000000
1597 --- a/sys-kernel/genkernel/genkernel-3.5.2.3.ebuild
1598 +++ /dev/null
1599 @@ -1,159 +0,0 @@
1600 -# Copyright 1999-2020 Gentoo Authors
1601 -# Distributed under the terms of the GNU General Public License v2
1602 -
1603 -# genkernel-9999 -> latest Git branch "master"
1604 -# genkernel-VERSION -> normal genkernel release
1605 -
1606 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1607 -
1608 -inherit bash-completion-r1 epatch
1609 -
1610 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1611 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1612 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1613 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1614 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1615 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1616 -VERSION_UNIONFS_FUSE='0.24'
1617 -VERSION_GPG='1.4.22'
1618 -
1619 -RH_HOME="ftp://sourceware.org/pub"
1620 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1621 -BB_HOME="https://busybox.net/downloads"
1622 -
1623 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1624 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1625 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1626 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1627 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1628 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1629 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1630 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1631 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1632 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1633 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1634 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1635 -
1636 -if [[ ${PV} == 9999* ]]
1637 -then
1638 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1639 - inherit git-r3
1640 - S="${WORKDIR}/${P}"
1641 - SRC_URI="${COMMON_URI}"
1642 -else
1643 - SRC_URI="mirror://gentoo/${P}.tar.xz
1644 - ${COMMON_URI}"
1645 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1646 -fi
1647 -
1648 -DESCRIPTION="Gentoo automatic kernel building scripts"
1649 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1650 -
1651 -LICENSE="GPL-2"
1652 -SLOT="0"
1653 -RESTRICT=""
1654 -IUSE="cryptsetup ibm +firmware selinux"
1655 -
1656 -DEPEND="sys-fs/e2fsprogs
1657 - selinux? ( sys-libs/libselinux )"
1658 -RDEPEND="${DEPEND}
1659 - cryptsetup? ( sys-fs/cryptsetup )
1660 - app-arch/cpio
1661 - >=app-misc/pax-utils-1.2.2
1662 - sys-apps/util-linux[static-libs(+)]
1663 - firmware? ( sys-kernel/linux-firmware )
1664 - !<sys-apps/openrc-0.9.9"
1665 -# pax-utils is used for lddtree
1666 -
1667 -if [[ ${PV} == 9999* ]]; then
1668 - DEPEND="${DEPEND} app-text/asciidoc"
1669 -fi
1670 -
1671 -pkg_pretend() {
1672 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1673 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1674 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1675 - ewarn "to have genkernel create an initramfs with LUKS support."
1676 - ewarn "Sorry for the inconvenience."
1677 - echo
1678 - fi
1679 -}
1680 -
1681 -src_prepare() {
1682 - if [[ ${PV} == 9999* ]] ; then
1683 - einfo "Updating version tag"
1684 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1685 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1686 - einfo "Producing ChangeLog from Git history..."
1687 - pushd "${S}/.git" >/dev/null || die
1688 - git log > "${S}"/ChangeLog || die
1689 - popd >/dev/null || die
1690 - fi
1691 - if use selinux ; then
1692 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1693 - fi
1694 -
1695 - # Update software.sh
1696 - sed -i \
1697 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1698 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1699 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1700 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1701 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1702 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1703 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1704 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1705 - "${S}"/defaults/software.sh \
1706 - || die "Could not adjust versions"
1707 -
1708 - epatch_user
1709 -}
1710 -
1711 -src_compile() {
1712 - if [[ ${PV} == 9999* ]]; then
1713 - emake
1714 - fi
1715 -}
1716 -
1717 -src_install() {
1718 - insinto /etc
1719 - doins "${S}"/genkernel.conf
1720 -
1721 - doman genkernel.8
1722 - dodoc AUTHORS ChangeLog README TODO
1723 - dobin genkernel
1724 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1725 -
1726 - if use ibm ; then
1727 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1728 - else
1729 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1730 - fi
1731 - insinto /usr/share/genkernel
1732 - doins -r "${S}"/*
1733 -
1734 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1735 - insinto /etc
1736 - doins "${FILESDIR}"/initramfs.mounts
1737 -
1738 - cd "${DISTDIR}"
1739 - insinto /usr/share/genkernel/distfiles
1740 - doins ${A/${P}.tar.xz/}
1741 -}
1742 -
1743 -pkg_postinst() {
1744 - echo
1745 - elog 'Documentation is available in the genkernel manual page'
1746 - elog 'as well as the following URL:'
1747 - echo
1748 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1749 - echo
1750 - ewarn "This package is known to not work with reiser4. If you are running"
1751 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1752 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1753 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1754 - echo
1755 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1756 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1757 - echo
1758 -}
1759
1760 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.4.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.4.ebuild
1761 deleted file mode 100644
1762 index 8badb9dc013..00000000000
1763 --- a/sys-kernel/genkernel/genkernel-3.5.2.4.ebuild
1764 +++ /dev/null
1765 @@ -1,159 +0,0 @@
1766 -# Copyright 1999-2020 Gentoo Authors
1767 -# Distributed under the terms of the GNU General Public License v2
1768 -
1769 -# genkernel-9999 -> latest Git branch "master"
1770 -# genkernel-VERSION -> normal genkernel release
1771 -
1772 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1773 -
1774 -inherit bash-completion-r1 epatch
1775 -
1776 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1777 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1778 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1779 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1780 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1781 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1782 -VERSION_UNIONFS_FUSE='0.24'
1783 -VERSION_GPG='1.4.22'
1784 -
1785 -RH_HOME="ftp://sourceware.org/pub"
1786 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1787 -BB_HOME="https://busybox.net/downloads"
1788 -
1789 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1790 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1791 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1792 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1793 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1794 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1795 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1796 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1797 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1798 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1799 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1800 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1801 -
1802 -if [[ ${PV} == 9999* ]]
1803 -then
1804 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1805 - inherit git-r3
1806 - S="${WORKDIR}/${P}"
1807 - SRC_URI="${COMMON_URI}"
1808 -else
1809 - SRC_URI="mirror://gentoo/${P}.tar.xz
1810 - ${COMMON_URI}"
1811 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1812 -fi
1813 -
1814 -DESCRIPTION="Gentoo automatic kernel building scripts"
1815 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1816 -
1817 -LICENSE="GPL-2"
1818 -SLOT="0"
1819 -RESTRICT=""
1820 -IUSE="cryptsetup ibm +firmware selinux"
1821 -
1822 -DEPEND="sys-fs/e2fsprogs
1823 - selinux? ( sys-libs/libselinux )"
1824 -RDEPEND="${DEPEND}
1825 - cryptsetup? ( sys-fs/cryptsetup )
1826 - app-arch/cpio
1827 - >=app-misc/pax-utils-1.2.2
1828 - sys-apps/util-linux[static-libs(+)]
1829 - firmware? ( sys-kernel/linux-firmware )
1830 - !<sys-apps/openrc-0.9.9"
1831 -# pax-utils is used for lddtree
1832 -
1833 -if [[ ${PV} == 9999* ]]; then
1834 - DEPEND="${DEPEND} app-text/asciidoc"
1835 -fi
1836 -
1837 -pkg_pretend() {
1838 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
1839 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
1840 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
1841 - ewarn "to have genkernel create an initramfs with LUKS support."
1842 - ewarn "Sorry for the inconvenience."
1843 - echo
1844 - fi
1845 -}
1846 -
1847 -src_prepare() {
1848 - if [[ ${PV} == 9999* ]] ; then
1849 - einfo "Updating version tag"
1850 - GK_V="$(git describe --tags | sed 's:^v::')-git"
1851 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
1852 - einfo "Producing ChangeLog from Git history..."
1853 - pushd "${S}/.git" >/dev/null || die
1854 - git log > "${S}"/ChangeLog || die
1855 - popd >/dev/null || die
1856 - fi
1857 - if use selinux ; then
1858 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
1859 - fi
1860 -
1861 - # Update software.sh
1862 - sed -i \
1863 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
1864 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
1865 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
1866 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
1867 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
1868 - -e "s:VERSION_LVM:$VERSION_LVM:" \
1869 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
1870 - -e "s:VERSION_GPG:$VERSION_GPG:" \
1871 - "${S}"/defaults/software.sh \
1872 - || die "Could not adjust versions"
1873 -
1874 - epatch_user
1875 -}
1876 -
1877 -src_compile() {
1878 - if [[ ${PV} == 9999* ]]; then
1879 - emake
1880 - fi
1881 -}
1882 -
1883 -src_install() {
1884 - insinto /etc
1885 - doins "${S}"/genkernel.conf
1886 -
1887 - doman genkernel.8
1888 - dodoc AUTHORS ChangeLog README TODO
1889 - dobin genkernel
1890 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
1891 -
1892 - if use ibm ; then
1893 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
1894 - else
1895 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
1896 - fi
1897 - insinto /usr/share/genkernel
1898 - doins -r "${S}"/*
1899 -
1900 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
1901 - insinto /etc
1902 - doins "${FILESDIR}"/initramfs.mounts
1903 -
1904 - cd "${DISTDIR}"
1905 - insinto /usr/share/genkernel/distfiles
1906 - doins ${A/${P}.tar.xz/}
1907 -}
1908 -
1909 -pkg_postinst() {
1910 - echo
1911 - elog 'Documentation is available in the genkernel manual page'
1912 - elog 'as well as the following URL:'
1913 - echo
1914 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
1915 - echo
1916 - ewarn "This package is known to not work with reiser4. If you are running"
1917 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
1918 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
1919 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
1920 - echo
1921 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
1922 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
1923 - echo
1924 -}
1925
1926 diff --git a/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild b/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild
1927 deleted file mode 100644
1928 index 8badb9dc013..00000000000
1929 --- a/sys-kernel/genkernel/genkernel-3.5.2.5.ebuild
1930 +++ /dev/null
1931 @@ -1,159 +0,0 @@
1932 -# Copyright 1999-2020 Gentoo Authors
1933 -# Distributed under the terms of the GNU General Public License v2
1934 -
1935 -# genkernel-9999 -> latest Git branch "master"
1936 -# genkernel-VERSION -> normal genkernel release
1937 -
1938 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
1939 -
1940 -inherit bash-completion-r1 epatch
1941 -
1942 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
1943 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
1944 -VERSION_MDADM='4.0' # warning, be sure to bump patches
1945 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
1946 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
1947 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
1948 -VERSION_UNIONFS_FUSE='0.24'
1949 -VERSION_GPG='1.4.22'
1950 -
1951 -RH_HOME="ftp://sourceware.org/pub"
1952 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
1953 -BB_HOME="https://busybox.net/downloads"
1954 -
1955 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
1956 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
1957 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
1958 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
1959 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
1960 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
1961 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
1962 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
1963 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
1964 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1965 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
1966 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
1967 -
1968 -if [[ ${PV} == 9999* ]]
1969 -then
1970 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
1971 - inherit git-r3
1972 - S="${WORKDIR}/${P}"
1973 - SRC_URI="${COMMON_URI}"
1974 -else
1975 - SRC_URI="mirror://gentoo/${P}.tar.xz
1976 - ${COMMON_URI}"
1977 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1978 -fi
1979 -
1980 -DESCRIPTION="Gentoo automatic kernel building scripts"
1981 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
1982 -
1983 -LICENSE="GPL-2"
1984 -SLOT="0"
1985 -RESTRICT=""
1986 -IUSE="cryptsetup ibm +firmware selinux"
1987 -
1988 -DEPEND="sys-fs/e2fsprogs
1989 - selinux? ( sys-libs/libselinux )"
1990 -RDEPEND="${DEPEND}
1991 - cryptsetup? ( sys-fs/cryptsetup )
1992 - app-arch/cpio
1993 - >=app-misc/pax-utils-1.2.2
1994 - sys-apps/util-linux[static-libs(+)]
1995 - firmware? ( sys-kernel/linux-firmware )
1996 - !<sys-apps/openrc-0.9.9"
1997 -# pax-utils is used for lddtree
1998 -
1999 -if [[ ${PV} == 9999* ]]; then
2000 - DEPEND="${DEPEND} app-text/asciidoc"
2001 -fi
2002 -
2003 -pkg_pretend() {
2004 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
2005 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
2006 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
2007 - ewarn "to have genkernel create an initramfs with LUKS support."
2008 - ewarn "Sorry for the inconvenience."
2009 - echo
2010 - fi
2011 -}
2012 -
2013 -src_prepare() {
2014 - if [[ ${PV} == 9999* ]] ; then
2015 - einfo "Updating version tag"
2016 - GK_V="$(git describe --tags | sed 's:^v::')-git"
2017 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
2018 - einfo "Producing ChangeLog from Git history..."
2019 - pushd "${S}/.git" >/dev/null || die
2020 - git log > "${S}"/ChangeLog || die
2021 - popd >/dev/null || die
2022 - fi
2023 - if use selinux ; then
2024 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
2025 - fi
2026 -
2027 - # Update software.sh
2028 - sed -i \
2029 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
2030 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
2031 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
2032 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
2033 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
2034 - -e "s:VERSION_LVM:$VERSION_LVM:" \
2035 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
2036 - -e "s:VERSION_GPG:$VERSION_GPG:" \
2037 - "${S}"/defaults/software.sh \
2038 - || die "Could not adjust versions"
2039 -
2040 - epatch_user
2041 -}
2042 -
2043 -src_compile() {
2044 - if [[ ${PV} == 9999* ]]; then
2045 - emake
2046 - fi
2047 -}
2048 -
2049 -src_install() {
2050 - insinto /etc
2051 - doins "${S}"/genkernel.conf
2052 -
2053 - doman genkernel.8
2054 - dodoc AUTHORS ChangeLog README TODO
2055 - dobin genkernel
2056 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
2057 -
2058 - if use ibm ; then
2059 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
2060 - else
2061 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
2062 - fi
2063 - insinto /usr/share/genkernel
2064 - doins -r "${S}"/*
2065 -
2066 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
2067 - insinto /etc
2068 - doins "${FILESDIR}"/initramfs.mounts
2069 -
2070 - cd "${DISTDIR}"
2071 - insinto /usr/share/genkernel/distfiles
2072 - doins ${A/${P}.tar.xz/}
2073 -}
2074 -
2075 -pkg_postinst() {
2076 - echo
2077 - elog 'Documentation is available in the genkernel manual page'
2078 - elog 'as well as the following URL:'
2079 - echo
2080 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
2081 - echo
2082 - ewarn "This package is known to not work with reiser4. If you are running"
2083 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
2084 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
2085 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
2086 - echo
2087 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
2088 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
2089 - echo
2090 -}
2091
2092 diff --git a/sys-kernel/genkernel/genkernel-3.5.3.2.ebuild b/sys-kernel/genkernel/genkernel-3.5.3.2.ebuild
2093 deleted file mode 100644
2094 index 2d560709b60..00000000000
2095 --- a/sys-kernel/genkernel/genkernel-3.5.3.2.ebuild
2096 +++ /dev/null
2097 @@ -1,159 +0,0 @@
2098 -# Copyright 1999-2020 Gentoo Authors
2099 -# Distributed under the terms of the GNU General Public License v2
2100 -
2101 -# genkernel-9999 -> latest Git branch "master"
2102 -# genkernel-VERSION -> normal genkernel release
2103 -
2104 -EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
2105 -
2106 -inherit bash-completion-r1 epatch
2107 -
2108 -VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
2109 -VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
2110 -VERSION_MDADM='4.0' # warning, be sure to bump patches
2111 -VERSION_FUSE='2.8.6' # warning, be sure to bump patches
2112 -VERSION_ISCSI='2.0-872' # warning, be sure to bump patches
2113 -VERSION_LVM='2.02.173' # warning, be sure to bump patches
2114 -VERSION_UNIONFS_FUSE='0.24'
2115 -VERSION_GPG='1.4.22'
2116 -
2117 -RH_HOME="ftp://sourceware.org/pub"
2118 -DM_HOME="https://people.redhat.com/~heinzm/sw/dmraid/src"
2119 -BB_HOME="https://busybox.net/downloads"
2120 -
2121 -COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
2122 - ${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
2123 - https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
2124 - ${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
2125 - ${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
2126 - ${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
2127 - http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
2128 - mirror://gentoo/open-iscsi-${VERSION_ISCSI}.tar.gz
2129 - mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
2130 - http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
2131 - mirror://gentoo/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
2132 - mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
2133 -
2134 -if [[ ${PV} == 9999* ]]
2135 -then
2136 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
2137 - inherit git-r3
2138 - S="${WORKDIR}/${PN}"
2139 - SRC_URI="${COMMON_URI}"
2140 -else
2141 - SRC_URI="mirror://gentoo/${P}.tar.xz
2142 - ${COMMON_URI}"
2143 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
2144 -fi
2145 -
2146 -DESCRIPTION="Gentoo automatic kernel building scripts"
2147 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
2148 -
2149 -LICENSE="GPL-2"
2150 -SLOT="0"
2151 -RESTRICT=""
2152 -IUSE="cryptsetup ibm +firmware selinux"
2153 -
2154 -DEPEND="sys-fs/e2fsprogs
2155 - selinux? ( sys-libs/libselinux )"
2156 -RDEPEND="${DEPEND}
2157 - cryptsetup? ( sys-fs/cryptsetup )
2158 - app-arch/cpio
2159 - >=app-misc/pax-utils-1.2.2
2160 - sys-apps/util-linux[static-libs(+)]
2161 - firmware? ( sys-kernel/linux-firmware )
2162 - !<sys-apps/openrc-0.9.9"
2163 -# pax-utils is used for lddtree
2164 -
2165 -if [[ ${PV} == 9999* ]]; then
2166 - DEPEND="${DEPEND} app-text/asciidoc"
2167 -fi
2168 -
2169 -pkg_pretend() {
2170 - if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
2171 - ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
2172 - ewarn "Please set flag 'cryptsetup' for this very package if you would like"
2173 - ewarn "to have genkernel create an initramfs with LUKS support."
2174 - ewarn "Sorry for the inconvenience."
2175 - echo
2176 - fi
2177 -}
2178 -
2179 -src_prepare() {
2180 - if [[ ${PV} == 9999* ]] ; then
2181 - einfo "Updating version tag"
2182 - GK_V="$(git describe --tags | sed 's:^v::')-git"
2183 - sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
2184 - einfo "Producing ChangeLog from Git history..."
2185 - pushd "${S}/.git" >/dev/null || die
2186 - git log > "${S}"/ChangeLog || die
2187 - popd >/dev/null || die
2188 - fi
2189 - if use selinux ; then
2190 - sed -i 's/###//g' "${S}"/gen_compile.sh || die
2191 - fi
2192 -
2193 - # Update software.sh
2194 - sed -i \
2195 - -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
2196 - -e "s:VERSION_MDADM:$VERSION_MDADM:" \
2197 - -e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
2198 - -e "s:VERSION_FUSE:$VERSION_FUSE:" \
2199 - -e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
2200 - -e "s:VERSION_LVM:$VERSION_LVM:" \
2201 - -e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
2202 - -e "s:VERSION_GPG:$VERSION_GPG:" \
2203 - "${S}"/defaults/software.sh \
2204 - || die "Could not adjust versions"
2205 -
2206 - epatch_user
2207 -}
2208 -
2209 -src_compile() {
2210 - if [[ ${PV} == 9999* ]]; then
2211 - emake
2212 - fi
2213 -}
2214 -
2215 -src_install() {
2216 - insinto /etc
2217 - doins "${S}"/genkernel.conf
2218 -
2219 - doman genkernel.8
2220 - dodoc AUTHORS ChangeLog README TODO
2221 - dobin genkernel
2222 - rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
2223 -
2224 - if use ibm ; then
2225 - cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
2226 - else
2227 - cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
2228 - fi
2229 - insinto /usr/share/genkernel
2230 - doins -r "${S}"/*
2231 -
2232 - newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
2233 - insinto /etc
2234 - doins "${FILESDIR}"/initramfs.mounts
2235 -
2236 - cd "${DISTDIR}"
2237 - insinto /usr/share/genkernel/distfiles
2238 - doins ${A/${P}.tar.xz/}
2239 -}
2240 -
2241 -pkg_postinst() {
2242 - echo
2243 - elog 'Documentation is available in the genkernel manual page'
2244 - elog 'as well as the following URL:'
2245 - echo
2246 - elog 'https://wiki.gentoo.org/wiki/Genkernel'
2247 - echo
2248 - ewarn "This package is known to not work with reiser4. If you are running"
2249 - ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
2250 - ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
2251 - ewarn "broken in this regard. Try using a sane filesystem like ext4."
2252 - echo
2253 - ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
2254 - ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
2255 - echo
2256 -}