summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/genkernel/Manifest23
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.2-no-color-on-qlist.patch38
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.3.5-no-asciidoc-on-cryptsetup.patch24
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.2-r1.ebuild321
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.3.ebuild320
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.5-r1.ebuild321
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.5.ebuild320
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.6.ebuild322
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.7.ebuild322
-rw-r--r--sys-kernel/genkernel/genkernel-4.3.8.ebuild322
10 files changed, 0 insertions, 2333 deletions
diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index 2c369d851035..8cc05f51983a 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -3,74 +3,51 @@ DIST LVM2.2.03.22.tgz 2755031 BLAKE2B 79bbea84bd82f111c1bb5de336e6a9f1368b2c9e43
DIST bcache-tools-1.0.8_p20141204.tar.gz 22158 BLAKE2B dd36102c5668cab3072ea635a5a30128df6cd75b75e7f8bba17ad0a830746ff2f75a46b56d4211aeb4657453d3bbeb98b8b794c53ff724b3fbf0874068d70dc9 SHA512 53d6e764d6d42c4367b0bd98199cae3c18054d5707a7880af3a422f9db332b44941015eaed7e1cd170b3546307ed54a2f99558a68d98c76b7bb6234d29206b54
DIST bcache-tools-1.1_p20230217.tar.gz 44025 BLAKE2B c6e1c3e64d1f53f581cd6ea80b919bd7db93e0ec048de70e65cfa1b28ae59e921c7cdcf4c3d0f25823ab323f76ef29671bc2e3db616bad34e8c193aaa3a38c89 SHA512 aac047cb773ebc9e9c139f0a3da5721511a24265a497ce26fd607a26195d402ef78fa5f3c76d609195ee48267395527bd7083abe996e9fa3009b43ac85f94652
DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a SHA512 70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312
-DIST btrfs-progs-v5.15.tar.xz 2275480 BLAKE2B 45fa1e20d14bdd92b1a7761771c7b6c2795d885f91fb44c9c5cf9c735c0c6c0f319e701ca2f6bf19191c50552459287042b56d4308fcc2da5bd566e63c755941 SHA512 5fc182c490733cbe7f2cdb8e131e0c79e5cc374ae32427d5f9ee2251e00e6e1d8ba0fdbbe31d50230f2bded08a9b9c652a4288998a427643a2d738f57ce72f90
DIST btrfs-progs-v6.3.2.tar.xz 3160148 BLAKE2B e6815eeb90c1dbf9a6c4a5aa72262c18b2031a9305efc9024b1fe7b770a256e1d4cb3b01646a0a523f0e26af2d499382bf42420385c56593ace515a6c225f54d SHA512 d8580250994b3e399babec4478515686f1e3cc2e4fc01ccbc7b00a51b6131452d209cb7f43dbbac5375286546d182fcdf7884bbc1a8ad6889c3f15d85ba8f8d5
DIST btrfs-progs-v6.7.1.tar.xz 2565576 BLAKE2B 4e05e9dd80e5531425490970318389aef280f61cc636a80aa2bbc630399afd4f1f3ce649d194822ff93ff4b1774d65a504e3bed6f1426ff60830e4c0d0ac87b0 SHA512 8a2e735f036a0778a2482d42c813012269903174232bc2924af41b72bbcfb49783d5f3b7d0af085285a68754748bd76b6534a498a47cdcea94020f4262281ffc
-DIST busybox-1.34.1.tar.bz2 2476932 BLAKE2B 1f45f58db26ae0bae2eb728db3a7d49680d611f489c4633d1fdf2827d3c33285721e232f722ac1f80f2ad7616352df9fd6b8880bcb5fa0dc6787b70c897dd033 SHA512 fb7e53a56c07b1098a12ee7232ad5401b147816648a0619b3b5358fdcf0915cfbb054500c0e0dd4acb3bc0a93a584b62bc5448e1f16b28004f58b39518a13b9d
DIST busybox-1.36.1.tar.bz2 2525473 BLAKE2B e515825cb3ab1c520e16b9c2512e9fc72947366a72a0466bff59b507fdffbc78fc9d16b44a26116175fc7a429d849ad944b1bc379d36c6d3a0eb20969997336e SHA512 8c0c754c9ae04b5e6b23596283a7d3a4ef96225fe179f92d6f6a99c69c0caa95b1aa56c267f52d7c807f6cc69e1f0b7dd29a8ac624098f601738f8c0c57980d4
-DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515 SHA512 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd SHA512 242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
DIST coreutils-9.4.tar.xz 5979200 BLAKE2B 83d41c48804c1d470c0e5eed38e692bb6875436dda3f6e2c29784ad6ef563d86e8e066a050e222621b400f78ea4630b1e127d20fc9b76f12096528c42677e35d SHA512 7c55ee23b685a0462bbbd118b04d25278c902604a0dcf3bf4f8bf81faa0500dee5a7813cba6f586d676c98e520cafd420f16479619305e94ea6798d8437561f5
-DIST cryptsetup-2.4.1.tar.xz 11171180 BLAKE2B 6b999a19df54276d295eb2f1729be2eefb5fb09cd29aae5f7c0b93c539b4b552f92327f2474e0f4793a3c7f8a264a4ef927178dabfc9ba56012bdf9949ef9ada SHA512 17fc73c180e41acbd4ebeddebaf54f8baeef09fce7f154aa9c55936a58bda7adcc7b1bb257336c22295d7b5af426fc8dfd0e4e644e4a52098bcb8a2adb562ca7
DIST cryptsetup-2.6.1.tar.xz 11402380 BLAKE2B efd7a64d89d863876de68ff3e89d8c94ad5eca6a8d2236c52c234fbe51e9d9ee303a0c7fe7dac7df10e0062003b9c0aeddc8dc342582106c157ab2d1e742155e SHA512 0cbddbf33cbac2b834ed7e2dd47a9fc787131031a1c729f373f5c974600a838097e9cc0555f13719fc79c384a2a34b404f94ba4cc2f35f0bb1d70aef2233fd18
DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 BLAKE2B 290c5bb7f1b12ac48627d8afcc346327b2fcce31b1015d5974c956d94f607b297e383158cd8741f03a770cdeb3f42c3e6341ebfcbc2220e122d89c2603eee512 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e
-DIST dropbear-2020.81.tar.bz2 2289644 BLAKE2B eb80ff88d75ae97365570f8793aee855cc615f6a46c49c4efa026d14ba8507c41b87093ca5b86dd1fcd3602f5e24b7b9c4f83c7cf4f6dc7945ff628b09c98794 SHA512 2fa9d4d7dcb1c81281f5e47c8a99b7300eb46b3bb605daaec956404eae9124879a8bbbef521dea6da8b3643f3dc6f7f5005e265bfcaba97e89812f5642c294da
DIST dropbear-2022.83.tar.bz2 2322904 BLAKE2B 4e26667458fb068a8c997b44dfd3c4f15146f051713a3ea90980db04c6345174d34214269665d74c863c1c1947d6837034aa4c264101b11971c8a3e97f491393 SHA512 c63afa615d64b0c8c5e739c758eb8ae277ecc36a4223b766bf562702de69910904cbc3ea98d22989df478ae419e1f81057fe1ee09616c80cb859f58f44175422
DIST e2fsprogs-1.46.4.tar.xz 7035200 BLAKE2B 473f7fd3f521b94cdaa68e37784a518fc1919387dd114f31b5338f1b4c472f86b150229ec3dcae8b73eac95330c0dea729befc8cea08bcf1e455c0b6652d6d2b SHA512 7d9cfdf00ed58e66049585e8382fe4977088956421a0fb8155900c69afd8857309ad2b9301b3f74c9c0afa7287a0ddba2fd1538fcf57858b37a9ab712390016d
DIST e2fsprogs-1.47.0.tar.xz 7059372 BLAKE2B 84f58b05a9f0e14e1a66c6e5171ff23b022f51c4e9a02d4d6d1d26c91909f3c7ec9c9f0462663a4457b4479043774502b8891f691e58a61f4ef6bf9ba33f33aa SHA512 0e6d64c565b455becb84166b6a5c7090724bac5cfe69098657a31bf0481b4e2cace3de1363121b7d84820fbae85b7c83ac5f2a2b02bb36280f0e3ae83a934cec
DIST eudev-3.2.10.tar.gz 1961960 BLAKE2B 3708c78fad3abad6aa4b2beaaa325e25e118621aa2e6cb351732f6d8349dc17da9be852cab79045c7a513e927c2d1266c6443814fd264943765d98fb5b404e75 SHA512 d0a076d8a54e9d4ca9ca48cf885d082965144b322950d351b7ead4a5035c2dad6fd66b7f137d7281982876c3c50330cdd5e599788f23e1369388181dd178941d
-DIST expat-2.4.1.tar.xz 445024 BLAKE2B 2ae66d284a03176ef7290093f59bb7ad98011dfbf3c7c3515ba4e4b99f849474def6ce6d9844c944fed22d86ac4ea1a38863646be914d9432eda7b69d890be65 SHA512 9dc760dbf701f75e55c4479d81417622f8c750d8473498458a382a4c2932a2976a059cb3589f88855188e5173ec7868d285c4601428e0ca625df7a59cf975191
DIST expat-2.5.0.tar.xz 460560 BLAKE2B 670298d076ff3b512a0212170d40cb04c601a11d6b152f215a5302ad3238c69c2386393d7a6c70bc284be35ce97bf27d87115c3391f4bc17406e509d739d3e31 SHA512 2da73b991b7c0c54440485c787e5edeb3567230204e31b3cac1c3a6713ec6f9f1554d3afffc0f8336168dfd5df02db4a69bcf21b4d959723d14162d13ab87516
DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2
DIST genkernel-4.3.10.tar.xz 484664 BLAKE2B ec1c44e633927c2c2fa12e22f428f6667ff5a768071aeecafb370f0e5ba0953c694661048a25f904a602f5acfc3a07a2be7042f4c247ab483d7241452c8df77a SHA512 443bc5c1980271d958255089a7981738979672a540e803789ee4a08d16e69e2a866266ae566da78dc02a3f31a4a9d049d302cab14392e931028040936ea7a512
DIST genkernel-4.3.11.tar.xz 462644 BLAKE2B beb36fc021ecbc44ae206fdcbac2f10c3ecbd1531a327656f62a944b1519da760527408c4f49ae9eb798444c9bb38da50c93d55198e3d8b573fe3d4c6770b388 SHA512 1ca3ed6414ae92e993c06a0a97ecb372e129c9aed691a1b13240c7a0d05e6ea81637fbb6ac248b8d7cf6ff9bde84213f2eef0f3d50ff0648d5e31b5a41327a87
DIST genkernel-4.3.12.tar.xz 463308 BLAKE2B 81bcc841110db63940f6bdbaf15016a877ee3099398dd983a8562e602eb0adbb03eebc8d6da7dd25da3549ff28d9cbbed00d569a00c63452ceaa9cdaf914ec5e SHA512 6b77aeede76c2e51f34d2ec0407215b27b32e268d8dac26ab4889be1891d1787d48cf804c1fe8c3cef5407442754078fec0af18ef7850c02d9306656715fca82
-DIST genkernel-4.3.2.tar.xz 480168 BLAKE2B bde9abb37c0da8b4638618d17ea79eeffe1b8c1192ed11ace6e93541106ecb54d34644016488a1825077a966fa9a48ea655299dd6cd7b037db1292232fd66f5c SHA512 61e48badb5822833e570b800336b41d0ff36275961d956755b65971d98ca4c2feb0fbd88d27bc7caeb6e60ac8748036e7ffcdad8e37d09fee08cfc6174f43b15
-DIST genkernel-4.3.3.tar.xz 478772 BLAKE2B 60061335cf965df4add578cc59f0b548eddb4efab3ae96ddfcfaa116f85ffdf97ae5d667456f7da9257664945ce6748f987b8ae687c077b71ad1023ade23374d SHA512 2f543fda8451bf283ab835fdfbf3649fe561af9aa1356fe92e74b0ac248223f8f09c83ffa4d9f54bf74428b0c194f9decd21715a97e7a906e6e56576a4eab163
-DIST genkernel-4.3.5.tar.xz 479312 BLAKE2B ba38b33832138492e56316bf5bd985ea831be51006ccd2aaf1503b69d706ef39fbd94e007edd3014376796319f887107e9ecbed81ce6259afa05a0d788a3aa1f SHA512 22e7d45492add9f5d8cf3523f1cf8d5364a164db9cd4858c020086514fc3312e1739845ae716eddc6f6306748ed95a770b2a75b818bc8542003169257853ec89
-DIST genkernel-4.3.6.tar.xz 480376 BLAKE2B fe2b9ed982123eeff2249c44aaca7e8801d8df3149122bf30b6d85ab9ebc7967c36694d1b418fa92f73db2164face805c5ec7a8f5511049e9b7950a52ce088a0 SHA512 f8537aefd7614057a7c787bdb41eecfc0ebe499fa41dce9181fa1bb90472c6b6b92fea255776b0f61823c7289bfdcf7e03f23e3d8718b96d1e3588e1663752d5
-DIST genkernel-4.3.7.tar.xz 483044 BLAKE2B 1d2dfdc3a5e0d34d369ebe21faa2e61c7d94b9807cfd2c9289210ec7a0b7f4a6c317402480c22ca633ce8be8308c64126110e0b39b9c755c2506c34721d06388 SHA512 48d1d014c18a6f1d97530b8f88df5c0331eba29c1cf5b48ae047bd36211149e391fa6af92277404aeb54794e1e904b7140ebca0df3e5cb4ac8e0455cdc699859
-DIST genkernel-4.3.8.tar.xz 483436 BLAKE2B d0f26decc5df9fa4b9de523ff597921bf82a134c8446837365ad8e9041b0f3f9459a686592f4953522063d17c489e960af3762e328c3efe9f22e9e5854abb198 SHA512 8f61953245e12fe3738381dcb714ce1198114577612cde8baab19990daac7f170232b3d535f16e68cafd1985d3c42977bb6b5b7cd3d5d99886006a09ac58ab2c
DIST gnupg-1.4.23.tar.bz2 3749353 BLAKE2B ec5e6bef0c7bb2a65813d7852cebeaa24c4855f9d9d9e802070da50b89fff56b747682933aa766dd130f849efcfe28f7aa74f3153405429bcf3845ef29c6dd6e SHA512 78dc52a2010202a4afc8814b29fda657a6c9fe230d5e7db11ae040edd2b0ca819e1baa4dbd6c0d04d36cd353df484e83f52d17759d2891c2cf7025c0b5d36612
DIST hwids-20210613.tar.gz 3867741 BLAKE2B 64c4b0a83058a2052f7b132241008a3cc75452e93a9a57a9159c357c23fd09ee256abc2b94e700b5d8e8bd4e231ae12932d2c2f32fb03853207739cb3387047d SHA512 4568f6b8c0ca80ec772bd2785d4dc169d1d13a721472a15399158d9a7f31abbe414c5c8cfdf1a3b81cce4e33742a4b6e005e97e3e907643d0afdc8e953624fea
DIST json-c-0.13.1.tar.gz 639425 BLAKE2B 1da310309f9ce03306a9fd4a161670e460cf0b2222348df7c006902390f74a4cf100aab1ce6ac8a361a278dd917c114a278de5b3445817f3a40ae287478add46 SHA512 e984db2a42b9c95b52c798b2e8dd1b79951a8dcba27370af30c43b9549fbb00008dbcf052a535c528209aaee38e6d1f760168b706905ae72f3e704ed20f8a1a1
DIST keyutils-1.6.3.tar.gz 137022 BLAKE2B b5620b1b6109415fec1268963c2c65d774f3ef7a69eb1ce8d5d8e78b4b807e4fdfda861662a1b5556975ef867add8f985362a31b6608ac2dc198c8d0395d516b SHA512 f65965b8566037078b8eeffa66c6fdbe121c8c2bea7fa5bce04cf7ba5ccc50d5b48e51f4a67ca91e4d5d9a12469e7e3eb3036c920ab25e3feba6e93b4c149cf9
-DIST kmod-29.tar.xz 560160 BLAKE2B 1362b6e7c07f66594074f07239d0f7a64e6efeb928483ed027b22a4ac77b916c631d1c03780b0515714a87847a716c35341edb1ced04a1795b4c7f8942d3207a SHA512 557cdcaec75e5a1ceea2d10862c944e9a65ef54f6ee9da6dc98ce4582418fdc9958aab2e14a84807db61daf36ec4fcdc23a36376c39d5dc31d1823ca7cd47998
DIST kmod-30.tar.xz 567484 BLAKE2B c5cb690dbb8fad66ac603648ff330794b417ff2fa2f8f61b6e9cb76dab93f984128b3d83a826203f39f3fb94f174f0db7395db6a47e52e8b7c561486f9d00778 SHA512 e2cd34e600a72e44710760dfda9364b790b8352a99eafbd43e683e4a06f37e6b5c0b5d14e7c28070e30fc5fc6ceddedf7b97f3b6c2c5c2d91204fefd630b9a3e
DIST kmod-31.tar.xz 570936 BLAKE2B 0dc8572da570315cf0aadd87fa7e83d0f88dea91c8566749e6f3004f9a6df916dce337ca99ea5929d41f45b408c1e3effa50f9d24615d7fa28688150a5ce91cf SHA512 05ca70381808bec5f262b94db625662c385408988178a35e4aaf4960ee0716dc0cbfc327160ea4b61098d0c2130ab1b5142ea8156bea8e06ded7f4d288b6d085
-DIST libaio-0.3.112.tar.gz 46977 BLAKE2B 088f3b195a65bdc97ae2318e47af17c65259ed3208dca7bfef93c81a800602085e5b2078dbd436c740be316d0ebd923a1b3b7c0808257e2e7c7fb0f7ae1e0dba SHA512 5f984529c9f747a6c82f1e4457fc0832bb1fc299ae6e700f2ac5a8ea7b9bfc6ea1e75809728cc115a020cff6685ed1f4e38c6aeacc1ea98dfccce04dd19dafaa
DIST libaio-0.3.113.tar.gz 49980 BLAKE2B 2379c88670310b36942563d10f29dfcba0f49391952ffe7fe18b0c917f33ef610405fe13297d1dbb34b7ad1d3066d4a32587a7fb20babba2f264cfc2ab289e57 SHA512 65c30a102433bf8386581b03fc706d84bd341be249fbdee11a032b237a7b239e8c27413504fef15e2797b1acd67f752526637005889590ecb380e2e120ab0b71
DIST libgcrypt-1.10.3.tar.bz2 3783827 BLAKE2B 1a228e02820e886016eb55dee75936c4422a15fb4f95a2f9bcd1e4faac4015d4321c7c8d23f164eb08ece5d62935ab3b3d3104eabfdd22db997ab3e5689dfa6f SHA512 8a8d4c61a6622d8481ceb9edc88ec43f58da32e316f79f8d4775325a48f8936aaa9eb355923b39e2c267b784e9c390600daeb62e0c94f00e30bbadb0d8c0865d
DIST libgcrypt-1.9.4.tar.bz2 3239704 BLAKE2B b8244bc12a68955797b0c2b474ac5c95df1014231f7180a2ffa113e3aacedc98eed60ee1e4b30b032a5fcd6a04855ae07142c223906d5db9c28328a71e014f33 SHA512 d0e117ac73c94d70e9521ee1e6328691498cc8328f8c4e21338096908f5c04c7b838966eb63d59494565f4e19f506c07dab4f4d922150d75610d9f7b57abbf60
DIST libgpg-error-1.43.tar.bz2 999006 BLAKE2B 22c5491ebd43b8010cdd4e82a58443fb8d19d51de9a033d0bb44634a82f033916d5d9fcfe47eb47e64a513521b01ff088838a8979f488cde74e5944c28dec0aa SHA512 36769a62d0b4b219a6d58195bed692e34d3b0313f628b1036055ca34b69332edbe6bcdace9855a60d06e7be5998dc13bf1305d0b2bb211a4d8f701e85040961c
DIST libgpg-error-1.47.tar.bz2 1020862 BLAKE2B bc04efa0686b1b7d7cdce045fc080c090c1abec60349b673c2e1ce27900483aea090eb6ebcb3fb49a4eed36f18156a12413d5446f739475632f4ed2a2481ff27 SHA512 bbb4b15dae75856ee5b1253568674b56ad155524ae29a075cb5b0a7e74c4af685131775c3ea2226fff2f84ef80855e77aa661645d002b490a795c7ae57b66a30
-DIST libxcrypt-4.4.26.tar.gz 525004 BLAKE2B 8198dc4f9e15f0ea51753eefa65332625a5a7e79bc59bdad4b3f3da3cd676b70562565bb8069c578d579c58c0df834a659227f1fe969c5dfa6247c7c1a67609a SHA512 fd58e397c59fd8f227a0006ed1039ef1d89e033f792f186a8c352fddc0741616fabe9784eb081aecac4db945741dd730f6cef36e6354f252fd934ce0866fdb2a
-DIST libxcrypt-4.4.36.tar.gz 528595 BLAKE2B 6c226ef0fbb5d39369b1b121ab908ef4c7ed0cb3ecb7ea1fa6e7605a1e882d786c1b22c89a04609717d671d19a6f549fee41caab1f48d5fd7b0dca401970cb86 SHA512 61e5e393654f37775457474d4170098314879ee79963d423c1c461e80dc5dc74f0c161dd8754f016ce96109167be6c580ad23994fa1d2c38c54b96e602f3aece
DIST libxcrypt-4.4.36.tar.xz 624112 BLAKE2B 9f028e0fe2cb7bb4273f3f6d1e579e0fe93cd71eba21286aa7dc078c904ea3cdce38b2955bdcd618853f7657b01aea7e28c4d898680e69fdf75f812b5a304c1d SHA512 468560e6f90877540d22e32c867cbcf3786983a6fdae6ef86454f4b7f2bbaae1b6589d1af75cda73078fa8f6e91b1a32f8353f26d433246eef7be3e96d4ae1c7
DIST lzo-2.10.tar.gz 600622 BLAKE2B 124b6645a2cb7f01f153c9fa6e1976378bdfb224841a7b45ab19c584c6ef704c20719ae87640b8d83f3f9269a57d9cc2e870a914124dac03a2ef1336e9feb9c9 SHA512 a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4
DIST mdadm-4.1.tar.xz 440756 BLAKE2B df0506d937c2aa309d7c68804f66f7dcd51783288594bf746832311c64b8cf82004af4af5f246c5f9753f1de324ff7d49b5ee752d6a00ec03864f7885389706e SHA512 0859c5d3e786345d93ff2c3b291ca8866ba60f1375479e5b4d343124f6824140a8268d42b8ae603b069edba761aa30aaf20d49e9ec54dfcbad34bad3bea0e433
DIST mdadm-4.2.tar.xz 453624 BLAKE2B de7c4318dc5479de41378233869ab84ca2cd0e8a42310157b1acb969e7152af61556fbbe6f17bf6af4dfaf5543e49b1c982d2baeedf1c39b000032f4db7f5502 SHA512 57897a2b7fb8b0b88bece50501099872bb45ddb076cfc323d563588096d2b66b1ecba3724534943f651ace2bfe591482570700616500dc3398552e4f9ff0c37d
-DIST open-iscsi-2.0.878.tar.gz 607489 BLAKE2B f08f7a49dee6a377aed1d5efba100c4c357e95683e841e3c7960a49a40601cf8047dd28403866d963ef6850eb23c03ac39e0861575e21c452190a20534cbec48 SHA512 2eb26e5e69b88614d9b6262fffce94b93f9afc0742415ad6c2505daacd3014cd9d73bd89c36f452d004e2c4f312f372aab1ddc55e1bdec73c58de60181d73b33
DIST open-iscsi-2.1.8.tar.gz 638346 BLAKE2B 1e85b6bd75ac31e5aaa65ea8869c2e6e13190786e28e473ab8bd1ea3edb0ef835624194e2ba53718fb2a49c25af53bff9035f5109e1a569155244f03a7dccdc0 SHA512 168ce68dc495cc8b2f217ad0373851d681f9274036b8ec562ece513de493adfdbba55f2038518f246f5244f6405102b2e096a9cce15e73fce9654f06790002c1
DIST popt-1.18.tar.gz 580569 BLAKE2B c9c42eb12aa21764cde5e9b4a8b30125b547ae690b4d9d0d40b45bd3c1f7ae0b09d5086a588cf37e7bed71fe770ff840c0fd40ecf4ce5b7c1e874b938b6e0324 SHA512 86422e8762adda3d02d46c20ac74ffe389d4f991d552b6fea729f007345b6426cbeb71160284e2deaa2ce44ce754a9e6cf6ccbd64bff9bc2253df40cdc2f79a5
DIST popt-1.19.tar.gz 596676 BLAKE2B 8f8965e2d339f0413e8d1da421ea7556526f39f089a822063d6fdc35b781a7c7ea84a91d6af3e25902c1f045f564ef956fc69cd4625e6cc008c9e3ca34923a9d SHA512 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466
-DIST strace-5.14.tar.xz 2067020 BLAKE2B 479ecf5e66e26e722d108c905130f482c411857db234ac013bf3568905c0f7b896f001ba6da2cabccd0a987c7802aebec9c6298decb691de125e8154c28e1c6f SHA512 3e147521773d900167809db9feeb148e8ba116f90dd634311941ea335eb7bd8b73ab9e641bd2dcfe899ab41c19a841e203dc771ec3000ae01452d22ecdc43c5a
DIST strace-6.4.tar.xz 2391828 BLAKE2B a9d359679bc5cc61061eb9f19a6156637f12509cb1045462b1547cba8a1218a9b2a4d3b87cf4a33856500515cc0bd457c1374b0ed349293821d80e3cc0de0452 SHA512 29f47195b2766dc0d2907aba2d561e87ec87939251d07fd82d22ffdd3c864944ab0c47eabd7b13272345dfc5dfae7ca435c94fd5ccc297dd46e0747c6d463e01
DIST strace-6.7.tar.xz 2434880 BLAKE2B 249c149a9140fc79be1365e4e8697b46f6558334eefac11b51c96d2d2e67bb82cb2eac3c38c2fa31f40fc5e0ad3c52967e15a034c01c12ed041d51f006a194ae SHA512 da28fd9fb987044782e6fd6f5e90e2cea2ab8e536cbd3893ef4c9b11c9b3185f073ca3d8ca0eade49e9a2af8efbda8c2b66b8988be7ebc463dc45e8f48ca1256
DIST thin-provisioning-tools-0.9.0.tar.gz 500998 BLAKE2B ac269fb6dfd1baf1572da27582ac2cd763b07aaac130a9467d05581e7a0ba1309d7dbf4c6095407111667e57af2e8183318d558ed23853f9c84b9c151c0878d9 SHA512 e1796fb3948847d72ca8247cae58017507c0a847a00201b93668eeb8fbfea4107c4c2affa5c211c149798a89b10474e83d2bd61a5545a668299be97aed591e0f
DIST unionfs-fuse-2.0.tar.gz 46537 BLAKE2B 2f5a0da5adb15c408e7b9d0c3658e389a1aea4a9a5f2f3809fc724af43cf2a4b309e4220e46647e3f3fc9b19d48c8d62692e190cf8536182abfe551bfacfcc24 SHA512 5b60204632f498931fff7671cc9f40b1800d34cb8c0d0de0773626e2653eb0a36647566c92c1d0cf79543e01b934602ef5603a06508407f352e48ef27a7ee758
DIST userspace-rcu-0.14.0.tar.bz2 661322 BLAKE2B ba9fa4c6dec693d2616234187db531f00fc0ade65f7e2a57182d9441728ddfa6f3e9d4544b824ca5edf7c027a43c9231d998a309c01f4bbab1eeefe856344f77 SHA512 7297e51012f4c44ee27c0e18ed9d87bf24be34db68a5398394c1e683a045bb561cf74aa913398404c0ed5cb8011af728ea12947717fa5f27627e5ca78e63a40f
-DIST util-linux-2.37.2.tar.xz 5621624 BLAKE2B 40ab80485781dfc58e6d0e98dae115b96f11ee0cc370524e1e13d3c4a4dfed3a5a4a248311f8ca645f6f84bbaf4785412ca8282b840af4e37a01312764885abe SHA512 38f0fe820445e3bfa79550e6581c230f98c7661566ccc4daa51c7208a5f972c61b4e57dfc86bed074fdbc7c40bc79f856be8f6a05a8860c1c0cecc4208e8b81d
DIST util-linux-2.38.1.tar.xz 7495904 BLAKE2B a0e86ca62f82adaccc01ad6ec5a058dac429b81c310989cbad136f96c2770c60bbd4287067817520e8e0653146a10f13128e0af32122402bab416e1c2d6680b8 SHA512 07f11147f67dfc6c8bc766dfc83266054e6ede776feada0566b447d13276b6882ee85c6fe53e8d94a17c03332106fc0549deca3cf5f2e92dda554e9bc0551957
DIST util-linux-2.39.3.tar.xz 8526168 BLAKE2B cd7b2b3c820e920d4a6ecd46fd807e018fc8e54439292f5e62c5f6863dd0f2505df3ec02c470d9be255a437c6ee8e4077908ac78d19a0d1273854d99eb571df0 SHA512 a2de1672f06ca5d2d431db1265a8499808770c3781019ec4a3a40170df4685826d8e3ca120841dcc5df4681ca8c935a993317bd0dc70465b21bf8e0efef65afa
-DIST xfsprogs-5.13.0.tar.xz 1301112 BLAKE2B 49e2b8535ef778362e68d45b1fb6f01be354dbee48d346c018e75ca1a5bc8761f47e65199bb62ffc4962faf8e185f3579e34e0562fab346d9839810727110665 SHA512 8e21bc43fb5cd49dccd6415b86f9e146d29c265a5d908f6898673290d6a2ac4a00bd25440fd7fab5ba080237d4bd54f56855ae64cdb32e59edae100b96155ca8
DIST xfsprogs-6.3.0.tar.xz 1328452 BLAKE2B 47a4ec45c88f26b32debd52283602d8244f996c071853b6bf7cf905f917436b1324bc9b58338346c8255201629d69e771d6c3bfd81f33f4f3c3907251d0a6c8c SHA512 dbb3e77d0d9cf184a0e647b8231350401a7549a23a0bfd9121cf2a1b48e85f71d98329dff440fc6e984bcecfdcc2a72f0f27c4989560f3c55359f21f3fb434bb
DIST xfsprogs-6.4.0.tar.xz 1344720 BLAKE2B 566a80a1fa90520c6cc2b20c8e8cde41eb83a48f0b6d4a978f9e5d43960e99b54cab3e0c2cd4147a3d8f4944e50876063fc571441c8239d6deaaa01604843a6b SHA512 831e7747640bc2964b182226d8bb6f637610b123aeec9b3cb97a5de5d5b65bde30c6b40ad2e78de6a5214e823dd75de3a2bdfddd8ab1638f5c7340a760c91b3f
-DIST xz-5.2.5.tar.gz 1791345 BLAKE2B aded57324e129572c41646b3cc3b0b59a459452d9338d9245663b63dac2a463fb1f1b2b1d2d4ad3c09cb71fb8439df52cd94f24db99e782fc899b94a288a3043 SHA512 7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce
DIST xz-5.4.2.tar.gz 2799022 BLAKE2B 3c622b0823f0cbb5fbc5eaa0372fc2f0fefe0950d131417f831bce47b6d9747d145429f0649de106819331f9ae6a289c497182c7b6d1e211513308dd083a9b72 SHA512 149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737
DIST xz-5.4.3.tar.gz 2869347 BLAKE2B c4192a59ca751567ebab17e08e72aa1bf0f5ca14af0b59fded1c4dff02c1b76ab30119a4138932f78f69bd4b7827071c81d6ca1c56be65491466ea061786ed78 SHA512 aff0fe166af6df4491a6f5df2372cab100b081452461a0e8c6fd65b72af3f250f16c64d9fb8fd309141e9b9ae4e41649f48687cc29e63dd82f27f2eab19b4023
-DIST zlib-1.2.11.tar.gz 607698 BLAKE2B 6bfc4bca5dcadba8a0d4121a2b3ed0bfe440c261003521862c8e6381f1a6f0a72d3fc037351d30afd7ef321e8e8d2ec817c046ac749f2ca0c97fbdc2f7e840b7 SHA512 73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae
DIST zlib-1.2.13.tar.gz 1497445 BLAKE2B 73cd65f287d662a988287205b74e93d516d6a74e18555d0f1a2777557e73e81249b45341c687fe97e65406a7210f77b8914ed146bac517d3fcc4c9fcb16546d3 SHA512 99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad
DIST zlib-1.3.1.tar.gz 1512791 BLAKE2B 872ef9cc41ba57e9809ab5714ffa15cc9d3ef6c4a948c57107f800fc373bcfe2475136407203cb9aa33b189994336f36f2757b7a582e065ad477bfd49260184b SHA512 580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f
-DIST zstd-1.5.0.tar.gz 1867111 BLAKE2B e503d17478b94128eb3ec578178f9d7023e941434dcc07790e12fd6c9933518f34fba5d7795ab7b145e4e499597644a6edd2830106649c5a749c962d5afe2f31 SHA512 25b657529a698eec891f92ff4a085d1fd95d2ff938ce52c8a4ff6163eb0b668ec642dd09e0db190652638cd92371006afa01d8e437437762c4097ad301675c33
DIST zstd-1.5.5.tar.gz 2368543 BLAKE2B 7680e27a0adacfb809d9fc81e06d3f99bf74df30374d3b5cb2d58f667dd1b7d5c41697e608592709e17c0e32277f20a6d615edee409b5d7cdcb15da2799a2350 SHA512 99109ec0e07fa65c2101c9cb36be56b672bbd0ee69d265f924718e61f9192ae8385c8d9e4d0c318be9edfa6d849fd3d60e5f164fa120961449429ea3c5dab6b6
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.2-no-color-on-qlist.patch b/sys-kernel/genkernel/files/genkernel-4.3.2-no-color-on-qlist.patch
deleted file mode 100644
index d87574a87c08..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.2-no-color-on-qlist.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 75d666895ff428ca18863674bcf7e5ebf176505b Mon Sep 17 00:00:00 2001
-From: Ben Kohler <bkohler@gentoo.org>
-Date: Wed, 24 May 2023 11:24:32 -0500
-Subject: [PATCH] gen_initramfs.sh: force no-color on qlist calls
-
-In some cases, qlist's pipe detection may not work, and this is fatal to
-our build. Let's just force -C on all qlist calls.
-
-Signed-off-by: Ben Kohler <bkohler@gentoo.org>
----
- gen_initramfs.sh | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gen_initramfs.sh b/gen_initramfs.sh
-index 227badd..986b3b4 100755
---- a/gen_initramfs.sh
-+++ b/gen_initramfs.sh
-@@ -801,7 +801,7 @@ append_multipath() {
-
- local udevdir=$(get_udevdir)
- local udevdir_initramfs="/usr/lib/udev"
-- local udev_files=( $(qlist -e sys-fs/multipath-tools:0 \
-+ local udev_files=( $(qlist -eC sys-fs/multipath-tools:0 \
- | grep -E -- "^${udevdir}")
- )
-
-@@ -1131,7 +1131,7 @@ append_zfs() {
-
- local udevdir=$(get_udevdir)
- local udevdir_initramfs="/usr/lib/udev"
-- local udev_files=( $(qlist -e sys-fs/zfs:0 \
-+ local udev_files=( $(qlist -eC sys-fs/zfs:0 \
- | grep -E -- "^${udevdir}")
- )
-
---
-2.40.1
-
diff --git a/sys-kernel/genkernel/files/genkernel-4.3.5-no-asciidoc-on-cryptsetup.patch b/sys-kernel/genkernel/files/genkernel-4.3.5-no-asciidoc-on-cryptsetup.patch
deleted file mode 100644
index 26caca5de43a..000000000000
--- a/sys-kernel/genkernel/files/genkernel-4.3.5-no-asciidoc-on-cryptsetup.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/gentoo/genkernel/commit/231fdfd9f1c1819d19440627ebe0ea58576a9965
-
-From 231fdfd9f1c1819d19440627ebe0ea58576a9965 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Wed, 5 Jul 2023 21:41:39 +0100
-Subject: [PATCH] gkbuilds: cryptsetup: disable asciidoc
-
-Signed-off-by: Sam James <sam@gentoo.org>
----
- gkbuilds/cryptsetup.gkbuild | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gkbuilds/cryptsetup.gkbuild b/gkbuilds/cryptsetup.gkbuild
-index 816df609..c084286c 100644
---- a/gkbuilds/cryptsetup.gkbuild
-+++ b/gkbuilds/cryptsetup.gkbuild
-@@ -11,6 +11,7 @@ src_configure() {
- local myconf=(
- --enable-internal-argon2
- --sbindir=/sbin
-+ --disable-asciidoc
- --disable-nls
- --disable-selinux
- --disable-ssh-token
diff --git a/sys-kernel/genkernel/genkernel-4.3.2-r1.ebuild b/sys-kernel/genkernel/genkernel-4.3.2-r1.ebuild
deleted file mode 100644
index e1b47412c7c8..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.2-r1.ebuild
+++ /dev/null
@@ -1,321 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="5.15"
-VERSION_BUSYBOX="1.34.1"
-VERSION_COREUTILS="8.32"
-VERSION_CRYPTSETUP="2.4.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2020.81"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.4.1"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.0.878"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="29"
-VERSION_LIBAIO="0.3.112"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.26"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="5.14"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_UTIL_LINUX="2.37.2"
-VERSION_XFSPROGS="5.13.0"
-VERSION_XZ="5.2.5"
-VERSION_ZLIB="1.2.11"
-VERSION_ZSTD="1.5.0"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/archive/v${VERSION_LIBXCRYPT}.tar.gz -> libxcrypt-${VERSION_LIBXCRYPT}.tar.gz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~mattst88/distfiles/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
- "${FILESDIR}"/${P}-no-color-on-qlist.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.3.ebuild b/sys-kernel/genkernel/genkernel-4.3.3.ebuild
deleted file mode 100644
index 7b750e86b11a..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.3.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="5.15"
-VERSION_BUSYBOX="1.34.1"
-VERSION_COREUTILS="8.32"
-VERSION_CRYPTSETUP="2.4.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2020.81"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.4.1"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.0.878"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="29"
-VERSION_LIBAIO="0.3.112"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.26"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="5.14"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_UTIL_LINUX="2.37.2"
-VERSION_XFSPROGS="5.13.0"
-VERSION_XZ="5.2.5"
-VERSION_ZLIB="1.2.11"
-VERSION_ZSTD="1.5.0"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/archive/v${VERSION_LIBXCRYPT}.tar.gz -> libxcrypt-${VERSION_LIBXCRYPT}.tar.gz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~mattst88/distfiles/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.5-r1.ebuild b/sys-kernel/genkernel/genkernel-4.3.5-r1.ebuild
deleted file mode 100644
index 2801dccffcc4..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.5-r1.ebuild
+++ /dev/null
@@ -1,321 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="5.15"
-VERSION_BUSYBOX="1.34.1"
-VERSION_COREUTILS="8.32"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2020.81"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.4.1"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.0.878"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="29"
-VERSION_LIBAIO="0.3.112"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.36"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="5.14"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_UTIL_LINUX="2.37.2"
-VERSION_XFSPROGS="5.13.0"
-VERSION_XZ="5.2.5"
-VERSION_ZLIB="1.2.11"
-VERSION_ZSTD="1.5.0"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/archive/v${VERSION_LIBXCRYPT}.tar.gz -> libxcrypt-${VERSION_LIBXCRYPT}.tar.gz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
- "${FILESDIR}"/${P}-no-asciidoc-on-cryptsetup.patch
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.5.ebuild b/sys-kernel/genkernel/genkernel-4.3.5.ebuild
deleted file mode 100644
index d37e61489cda..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.5.ebuild
+++ /dev/null
@@ -1,320 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="5.15"
-VERSION_BUSYBOX="1.34.1"
-VERSION_COREUTILS="8.32"
-VERSION_CRYPTSETUP="2.4.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2020.81"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.4.1"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.0.878"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="29"
-VERSION_LIBAIO="0.3.112"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.36"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="5.14"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_UTIL_LINUX="2.37.2"
-VERSION_XFSPROGS="5.13.0"
-VERSION_XZ="5.2.5"
-VERSION_ZLIB="1.2.11"
-VERSION_ZSTD="1.5.0"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/archive/v${VERSION_LIBXCRYPT}.tar.gz -> libxcrypt-${VERSION_LIBXCRYPT}.tar.gz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.6.ebuild b/sys-kernel/genkernel/genkernel-4.3.6.ebuild
deleted file mode 100644
index 07190a27fbea..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.6.ebuild
+++ /dev/null
@@ -1,322 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="6.3.2"
-VERSION_BUSYBOX="1.36.1"
-VERSION_COREUTILS="9.3"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="30"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.36"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="6.4"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.38.1"
-VERSION_XFSPROGS="6.3.0"
-VERSION_XZ="5.4.3"
-VERSION_ZLIB="1.2.13"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.7.ebuild b/sys-kernel/genkernel/genkernel-4.3.7.ebuild
deleted file mode 100644
index 03810b3f08bc..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.7.ebuild
+++ /dev/null
@@ -1,322 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="6.3.2"
-VERSION_BUSYBOX="1.36.1"
-VERSION_COREUTILS="9.3"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="30"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.36"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="6.4"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.38.1"
-VERSION_XFSPROGS="6.3.0"
-VERSION_XZ="5.4.3"
-VERSION_ZLIB="1.2.13"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}
diff --git a/sys-kernel/genkernel/genkernel-4.3.8.ebuild b/sys-kernel/genkernel/genkernel-4.3.8.ebuild
deleted file mode 100644
index 03810b3f08bc..000000000000
--- a/sys-kernel/genkernel/genkernel-4.3.8.ebuild
+++ /dev/null
@@ -1,322 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# genkernel-9999 -> latest Git branch "master"
-# genkernel-VERSION -> normal genkernel release
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit bash-completion-r1 python-single-r1
-
-# Whenever you bump a GKPKG, check if you have to move
-# or add new patches!
-VERSION_BCACHE_TOOLS="1.0.8_p20141204"
-VERSION_BOOST="1.79.0"
-VERSION_BTRFS_PROGS="6.3.2"
-VERSION_BUSYBOX="1.36.1"
-VERSION_COREUTILS="9.3"
-VERSION_CRYPTSETUP="2.6.1"
-VERSION_DMRAID="1.0.0.rc16-3"
-VERSION_DROPBEAR="2022.83"
-VERSION_EUDEV="3.2.10"
-VERSION_EXPAT="2.5.0"
-VERSION_E2FSPROGS="1.46.4"
-VERSION_FUSE="2.9.9"
-VERSION_GPG="1.4.23"
-VERSION_HWIDS="20210613"
-VERSION_ISCSI="2.1.8"
-VERSION_JSON_C="0.13.1"
-VERSION_KMOD="30"
-VERSION_LIBAIO="0.3.113"
-VERSION_LIBGCRYPT="1.9.4"
-VERSION_LIBGPGERROR="1.43"
-VERSION_LIBXCRYPT="4.4.36"
-VERSION_LVM="2.02.188"
-VERSION_LZO="2.10"
-VERSION_MDADM="4.1"
-VERSION_POPT="1.18"
-VERSION_STRACE="6.4"
-VERSION_THIN_PROVISIONING_TOOLS="0.9.0"
-VERSION_UNIONFS_FUSE="2.0"
-VERSION_USERSPACE_RCU="0.14.0"
-VERSION_UTIL_LINUX="2.38.1"
-VERSION_XFSPROGS="6.3.0"
-VERSION_XZ="5.4.3"
-VERSION_ZLIB="1.2.13"
-VERSION_ZSTD="1.5.5"
-VERSION_KEYUTILS="1.6.3"
-
-COMMON_URI="
- https://github.com/g2p/bcache-tools/archive/399021549984ad27bf4a13ae85e458833fe003d7.tar.gz -> bcache-tools-${VERSION_BCACHE_TOOLS}.tar.gz
- https://boostorg.jfrog.io/artifactory/main/release/${VERSION_BOOST}/source/boost_${VERSION_BOOST//./_}.tar.bz2
- https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${VERSION_BTRFS_PROGS}.tar.xz
- https://www.busybox.net/downloads/busybox-${VERSION_BUSYBOX}.tar.bz2
- mirror://gnu/coreutils/coreutils-${VERSION_COREUTILS}.tar.xz
- https://www.kernel.org/pub/linux/utils/cryptsetup/v$(ver_cut 1-2 ${VERSION_CRYPTSETUP})/cryptsetup-${VERSION_CRYPTSETUP}.tar.xz
- https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-${VERSION_DMRAID}.tar.bz2
- https://matt.ucc.asn.au/dropbear/releases/dropbear-${VERSION_DROPBEAR}.tar.bz2
- https://dev.gentoo.org/~blueness/eudev/eudev-${VERSION_EUDEV}.tar.gz
- https://github.com/libexpat/libexpat/releases/download/R_${VERSION_EXPAT//\./_}/expat-${VERSION_EXPAT}.tar.xz
- https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${VERSION_E2FSPROGS}/e2fsprogs-${VERSION_E2FSPROGS}.tar.xz
- https://github.com/libfuse/libfuse/releases/download/fuse-${VERSION_FUSE}/fuse-${VERSION_FUSE}.tar.gz
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
- https://github.com/gentoo/hwids/archive/hwids-${VERSION_HWIDS}.tar.gz
- https://github.com/open-iscsi/open-iscsi/archive/${VERSION_ISCSI}.tar.gz -> open-iscsi-${VERSION_ISCSI}.tar.gz
- https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION_JSON_C}.tar.gz
- https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION_KMOD}.tar.xz
- https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz
- mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2
- mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2
- https://github.com/besser82/libxcrypt/releases/download/v${VERSION_LIBXCRYPT}/libxcrypt-${VERSION_LIBXCRYPT}.tar.xz
- https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz
- https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz
- https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz
- http://ftp.rpm.org/popt/releases/popt-1.x/popt-${VERSION_POPT}.tar.gz
- https://github.com/strace/strace/releases/download/v${VERSION_STRACE}/strace-${VERSION_STRACE}.tar.xz
- https://github.com/jthornber/thin-provisioning-tools/archive/v${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz -> thin-provisioning-tools-${VERSION_THIN_PROVISIONING_TOOLS}.tar.gz
- https://github.com/rpodgorny/unionfs-fuse/archive/v${VERSION_UNIONFS_FUSE}.tar.gz -> unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.gz
- https://lttng.org/files/urcu/userspace-rcu-${VERSION_USERSPACE_RCU}.tar.bz2
- https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION_UTIL_LINUX:0:4}/util-linux-${VERSION_UTIL_LINUX}.tar.xz
- https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-${VERSION_XFSPROGS}.tar.xz
- https://tukaani.org/xz/xz-${VERSION_XZ}.tar.gz
- https://zlib.net/zlib-${VERSION_ZLIB}.tar.gz
- https://github.com/facebook/zstd/archive/v${VERSION_ZSTD}.tar.gz -> zstd-${VERSION_ZSTD}.tar.gz
- https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${VERSION_KEYUTILS}.tar.gz
-"
-
-if [[ ${PV} == 9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
- inherit git-r3
- S="${WORKDIR}/${P}"
- SRC_URI="${COMMON_URI}"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
- ${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-DESCRIPTION="Gentoo automatic kernel building scripts"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Genkernel https://gitweb.gentoo.org/proj/genkernel.git/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="ibm +firmware"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Note:
-# We need sys-devel/* deps like autoconf or automake at _runtime_
-# because genkernel will usually build things like LVM2, cryptsetup,
-# mdadm... during initramfs generation which will require these
-# things.
-RDEPEND="${PYTHON_DEPS}
- app-alternatives/cpio
- >=app-misc/pax-utils-1.2.2
- app-portage/elt-patches
- app-portage/portage-utils
- dev-util/gperf
- sys-apps/sandbox
- dev-build/autoconf
- dev-build/autoconf-archive
- dev-build/automake
- app-alternatives/bc
- app-alternatives/yacc
- app-alternatives/lex
- dev-build/libtool
- virtual/pkgconfig
- elibc_glibc? ( sys-libs/glibc[static-libs(+)] )
- firmware? ( sys-kernel/linux-firmware )"
-
-if [[ ${PV} == 9999* ]]; then
- DEPEND="${DEPEND} app-text/asciidoc"
-fi
-
-PATCHES=(
-)
-
-src_unpack() {
- if [[ ${PV} == 9999* ]]; then
- git-r3_src_unpack
- else
- local gk_src_file
- for gk_src_file in ${A} ; do
- if [[ ${gk_src_file} == genkernel-* ]] ; then
- unpack "${gk_src_file}"
- fi
- done
- fi
-}
-
-src_prepare() {
- default
-
- if [[ ${PV} == 9999* ]] ; then
- einfo "Updating version tag"
- GK_V="$(git describe --tags | sed 's:^v::')-git"
- sed "/^GK_V/s,=.*,='${GK_V}',g" -i "${S}"/genkernel
- einfo "Producing ChangeLog from Git history..."
- pushd "${S}/.git" >/dev/null || die
- git log > "${S}"/ChangeLog || die
- popd >/dev/null || die
- fi
-
- # Update software.sh
- sed -i \
- -e "s:VERSION_BCACHE_TOOLS:${VERSION_BCACHE_TOOLS}:"\
- -e "s:VERSION_BOOST:${VERSION_BOOST}:"\
- -e "s:VERSION_BTRFS_PROGS:${VERSION_BTRFS_PROGS}:"\
- -e "s:VERSION_BUSYBOX:${VERSION_BUSYBOX}:"\
- -e "s:VERSION_COREUTILS:${VERSION_COREUTILS}:"\
- -e "s:VERSION_CRYPTSETUP:${VERSION_CRYPTSETUP}:"\
- -e "s:VERSION_DMRAID:${VERSION_DMRAID}:"\
- -e "s:VERSION_DROPBEAR:${VERSION_DROPBEAR}:"\
- -e "s:VERSION_EUDEV:${VERSION_EUDEV}:"\
- -e "s:VERSION_EXPAT:${VERSION_EXPAT}:"\
- -e "s:VERSION_E2FSPROGS:${VERSION_E2FSPROGS}:"\
- -e "s:VERSION_FUSE:${VERSION_FUSE}:"\
- -e "s:VERSION_GPG:${VERSION_GPG}:"\
- -e "s:VERSION_HWIDS:${VERSION_HWIDS}:"\
- -e "s:VERSION_ISCSI:${VERSION_ISCSI}:"\
- -e "s:VERSION_JSON_C:${VERSION_JSON_C}:"\
- -e "s:VERSION_KMOD:${VERSION_KMOD}:"\
- -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\
- -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\
- -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\
- -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\
- -e "s:VERSION_LVM:${VERSION_LVM}:"\
- -e "s:VERSION_LZO:${VERSION_LZO}:"\
- -e "s:VERSION_MDADM:${VERSION_MDADM}:"\
- -e "s:VERSION_MULTIPATH_TOOLS:${VERSION_MULTIPATH_TOOLS}:"\
- -e "s:VERSION_POPT:${VERSION_POPT}:"\
- -e "s:VERSION_STRACE:${VERSION_STRACE}:"\
- -e "s:VERSION_THIN_PROVISIONING_TOOLS:${VERSION_THIN_PROVISIONING_TOOLS}:"\
- -e "s:VERSION_UNIONFS_FUSE:${VERSION_UNIONFS_FUSE}:"\
- -e "s:VERSION_USERSPACE_RCU:${VERSION_USERSPACE_RCU}:"\
- -e "s:VERSION_UTIL_LINUX:${VERSION_UTIL_LINUX}:"\
- -e "s:VERSION_XFSPROGS:${VERSION_XFSPROGS}:"\
- -e "s:VERSION_XZ:${VERSION_XZ}:"\
- -e "s:VERSION_ZLIB:${VERSION_ZLIB}:"\
- -e "s:VERSION_ZSTD:${VERSION_ZSTD}:"\
- "${S}"/defaults/software.sh \
- || die "Could not adjust versions"
-}
-
-src_compile() {
- if [[ ${PV} == 9999* ]] ; then
- emake
- fi
-}
-
-src_install() {
- insinto /etc
- doins "${S}"/genkernel.conf
-
- doman genkernel.8
- dodoc AUTHORS ChangeLog README TODO
- dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
-
- if use ibm ; then
- cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
- else
- cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
- fi
-
- insinto /usr/share/genkernel
- doins -r "${S}"/*
-
- fperms +x /usr/share/genkernel/gen_worker.sh
- fperms +x /usr/share/genkernel/path_expander.py
-
- python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py
-
- newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}"
- insinto /etc
- doins "${FILESDIR}"/initramfs.mounts
-
- pushd "${DISTDIR}" &>/dev/null || die
- insinto /usr/share/genkernel/distfiles
- doins ${A/${P}.tar.xz/}
- popd &>/dev/null || die
-}
-
-pkg_postinst() {
- # Wiki is out of date
- #echo
- #elog 'Documentation is available in the genkernel manual page'
- #elog 'as well as the following URL:'
- #echo
- #elog 'https://wiki.gentoo.org/wiki/Genkernel'
- #echo
-
- local replacing_version
- for replacing_version in ${REPLACING_VERSIONS} ; do
- if ver_test "${replacing_version}" -lt 4 ; then
- # This is an upgrade which requires user review
-
- ewarn ""
- ewarn "Genkernel v4.x is a new major release which touches"
- ewarn "nearly everything. Be careful, read updated manpage"
- ewarn "and pay special attention to program output regarding"
- ewarn "changed kernel command-line parameters!"
-
- # Show this elog only once
- break
- fi
- done
-
- if [[ $(find /boot -name 'kernel-genkernel-*' 2>/dev/null | wc -l) -gt 0 ]] ; then
- ewarn ''
- ewarn 'Default kernel filename was changed from "kernel-genkernel-<ARCH>-<KV>"'
- ewarn 'to "vmlinuz-<KV>". Please be aware that due to lexical ordering the'
- ewarn '*default* boot entry in your boot manager could still point to last kernel'
- ewarn 'built with genkernel before that name change, resulting in booting old'
- ewarn 'kernel when not paying attention on boot.'
- fi
-
- # Show special warning for users depending on remote unlock capabilities
- local gk_config="${EROOT}/etc/genkernel.conf"
- if [[ -f "${gk_config}" ]] ; then
- if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then
- if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then
- ewarn ""
- ewarn "IMPORTANT: SSH is currently enabled in your genkernel config"
- ewarn "file (${gk_config}). However, 'dosshd' is missing from current"
- ewarn "kernel command-line. You MUST add 'dosshd' to keep sshd enabled"
- ewarn "in genkernel v4+ initramfs!"
- fi
- fi
-
- if grep -q -E "^CMD_CALLBACK=.*emerge.*@module-rebuild" "${gk_config}" 2>/dev/null ; then
- elog ""
- elog "Please remove 'emerge @module-rebuild' from genkernel config"
- elog "file (${gk_config}) and make use of new MODULEREBUILD option"
- elog "instead."
- fi
- fi
-
- local n_root_args=$(grep -o -- '\<root=' /proc/cmdline 2>/dev/null | wc -l)
- if [[ ${n_root_args} -gt 1 ]] ; then
- ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!"
- ewarn "If you are appending non-persistent device names to kernel command-line,"
- ewarn "next reboot could fail in case running system and initramfs do not agree"
- ewarn "on detected root device name!"
- fi
-
- if [[ -d /run ]] ; then
- local permission_run_expected="drwxr-xr-x"
- local permission_run=$(stat -c "%A" /run)
- if [[ "${permission_run}" != "${permission_run_expected}" ]] ; then
- ewarn "Found the following problematic permissions:"
- ewarn ""
- ewarn " ${permission_run} /run"
- ewarn ""
- ewarn "Expected:"
- ewarn ""
- ewarn " ${permission_run_expected} /run"
- ewarn ""
- ewarn "This is known to be causing problems for any UDEV-enabled service."
- fi
- fi
-}