diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-30 03:04:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-30 03:04:35 +0000 |
commit | fb57e01054259b1160d01c3c7ed9efab7902ed7d (patch) | |
tree | 42985349c49b2294954c1923df85be8bfa0c0957 /sys-apps | |
parent | bd35a61d88b111f25f4b10126e0d4755545fc7a5 (diff) |
gentoo auto-resync : 30:10:2024 - 03:04:35
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 51306 -> 51312 bytes | |||
-rw-r--r-- | sys-apps/bfs/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bfs/bfs-4.0.3.ebuild | 59 | ||||
-rw-r--r-- | sys-apps/coreutils/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/coreutils/coreutils-8.32-r1.ebuild | 222 | ||||
-rw-r--r-- | sys-apps/coreutils/files/coreutils-8.32-ls-restore-8.31-behavior.patch | 94 | ||||
-rw-r--r-- | sys-apps/coreutils/files/coreutils-8.32-sandbox-env-test.patch | 64 | ||||
-rw-r--r-- | sys-apps/gawk/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/gawk/gawk-5.3.1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/gscanbus/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/gscanbus/gscanbus-0.8.ebuild | 20 | ||||
-rw-r--r-- | sys-apps/portage/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/portage/portage-3.0.66.1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/sysvinit/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/sysvinit/sysvinit-3.11.ebuild | 201 |
15 files changed, 269 insertions, 410 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex b7ba51a70010..cd9848ae2ab5 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index 90523df51ba1..e72e896a06d5 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,7 +1,9 @@ DIST bfs-3.3.1.tar.gz 262841 BLAKE2B bc848f4daa98172531e6c13100dcd1f3b722f4282acc5fd3677b2c4a83effa49e681d0cac3fa2c104fd1db03543c4f0a6ca9bc494ee3737d0c927f0170171eac SHA512 e31153ef244483e4337bd2bb64fc4ddf55d56048b5af54003a917287868114c81befb771b6cfc7473e384d3157b24cbec7ca27336362a438c7803eb7fc85d8d3 DIST bfs-4.0.1.tar.gz 272678 BLAKE2B c25165b469ea52ef2e0b73ae0cbcef485a739d25cd3c49d25cd0543ab97009b256637d0dab5cb1ce01c3da7ab77519ac6a5b9cff36634c81415ec309d46c7d1d SHA512 0697aab71e2101638fbb5923ec57b9439d6fdd212dccd2f1b90cd4a1bc9c72acca5dca92e9aa6efef06696b324cb6754784602064f35b529ff97d1933672d73c DIST bfs-4.0.2.tar.gz 274986 BLAKE2B d87dd646a0c6bced3881426f8a82501e9a8ab19b0d4a249fd44d774cac9fd37a7a0cb01551a2af343b4f0c64f7b9e926cee8db67f5217bd39dd469a85b0b434e SHA512 a3ce3ccee27576a4a0ffb2bd46635aaabc5718cbe53eef5da52bc510dcf629a613802d0b2f95da47d009873e6ab1b87eb84087b30c227b27676bb14cac9f6e97 +DIST bfs-4.0.3.tar.gz 277809 BLAKE2B c275e65ed6265dab81a10c70fd4012c0140aca0083a903535bb5a1ec7d9bcfb0637addf051430b7e370109d4ac843d7f6d3d4976cd469033d903ade3b5713c30 SHA512 444fa5a012f3b3222794f295f818358897f38c081714b593daeccddf2bb821884df8f9a6eaf3b0426ed7fe83483e31417abc9d97c34019b2e28e948654a5c304 EBUILD bfs-3.3.1.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 EBUILD bfs-4.0.1.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 EBUILD bfs-4.0.2.ebuild 1380 BLAKE2B 00945b6243cb7aeed1fda3992dd9026981da0a3e9e9edf48e7154ca8823811d823114705c95d387603bda39964ee89d54db81608f2e3bd6375068d96d587f8de SHA512 98be087a63ef2f7c2aa7e72ef6c731128bffa0fb59e24e7d706a8c0f8a622ad72df6c55fdc256fa5092187a451c1b4fde19656f1e53330036f2fb90a224edb83 +EBUILD bfs-4.0.3.ebuild 1380 BLAKE2B 00945b6243cb7aeed1fda3992dd9026981da0a3e9e9edf48e7154ca8823811d823114705c95d387603bda39964ee89d54db81608f2e3bd6375068d96d587f8de SHA512 98be087a63ef2f7c2aa7e72ef6c731128bffa0fb59e24e7d706a8c0f8a622ad72df6c55fdc256fa5092187a451c1b4fde19656f1e53330036f2fb90a224edb83 MISC metadata.xml 419 BLAKE2B eadf85369714b56ec89d384a8603c78c282e197db94c324fa9e627d70fa8c0c7c557c21c9c25ff292c93312d9752f36b4dd06a9a9c758c5375621694fb55e50d SHA512 192ae0599d4f36d43d8d2d94fa1e16fc5798b75abf0befecfa4a768a2b57e17387cb98a0663678b0c672c65c50d74cc3d1668cf222e0a9a4084be9078eb09445 diff --git a/sys-apps/bfs/bfs-4.0.3.ebuild b/sys-apps/bfs/bfs-4.0.3.ebuild new file mode 100644 index 000000000000..f98d49a5b7c4 --- /dev/null +++ b/sys-apps/bfs/bfs-4.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo flag-o-matic toolchain-funcs + +DESCRIPTION="Breadth-first version of the UNIX find command" +HOMEPAGE="https://tavianator.com/projects/bfs.html" +SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="0BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc" +IUSE="acl caps debug io-uring selinux unicode" + +DEPEND=" + acl? ( virtual/acl ) + caps? ( sys-libs/libcap ) + io-uring? ( sys-libs/liburing:= ) + selinux? ( sys-libs/libselinux ) + unicode? ( dev-libs/oniguruma:= ) +" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + # Not available on Linux + acl_is_trivial_np acl_trivial fdclosedir getdents getprogname + posix_spawn_file_actions_addfchdir getmntinfo posix_getdents strtofflags + # Seems to be in POSIX 2024 but not yet in ncurses? + tcgetwinsize +) + +src_configure() { + tc-export CC PKG_CONFIG + use debug || append-cppflags -DNDEBUG + + edo ./configure \ + $(use_with acl libacl) \ + $(use_with caps libcap) \ + $(use_with selinux libselinux) \ + $(use_with io-uring liburing) \ + $(use_with unicode oniguruma) \ + V=1 +} + +src_compile() { + emake V=1 +} + +src_test() { + # -n check gets confused so need manual src_test definition? + emake V=1 check +} + +src_install() { + emake V=1 DESTDIR="${D}" install + einstalldocs +} diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index e65fd62999b4..9da1fc403b7d 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -1,18 +1,13 @@ -AUX coreutils-8.32-ls-restore-8.31-behavior.patch 2824 BLAKE2B 7df44f4e330225a429678b3d5f20736d7c5c4f7d09f51f71d7e1111c3181d494aa12796c823244473063f7905aef35b74703860343c5e30f38520ee340690ede SHA512 6d55806aa16e0f654b15bfefb20f2c16193c7e9fcf7c087309b3254272d20467dea69ac53fff345b510751e165c33197c3053b7308578f79492afba0a1eeb6e5 -AUX coreutils-8.32-sandbox-env-test.patch 1958 BLAKE2B 570f62115f0853abb35290174ad6dd3157be16a28c527b37d1c58b421538a6238e93317689e6cd35b7dc5a0f480a4322c432986697a9e0af60019650eae92c0a SHA512 fd3573cf5a4b4fbba132d0fac5ad6eb4af5aa548a8c0c747653e47acfb97c01e31d7430db543df47d9a2680792d2583de70e1f1d49b2feb75887e9f8638527b7 AUX coreutils-9.4-CVE-2024-0684.patch 1168 BLAKE2B 0ac00f2b0b9c69680fbd0583d7534549971c384eae1d9da3b77ce46b31a58cb37126f9175b3273d2244e596cd511d7af60e89f95c485e3a8c0a7ca5d2e86fe81 SHA512 cc341446c31f5f46750034ab7a996830409d33813e5375264370d00811518ab964570573a92d8cd5495afac415d34fcb9c365cdc64804ea5e905a99e7f6011f0 AUX coreutils-9.4-gnulib-clang-18-c23-stdckdint.patch 1097 BLAKE2B 2a15dfc18500c4480d5ddf87db2063b97cfdb064a3328e8dbc0f1b59a6372d1af09b6ee701563bd8f81e258925302b19f7093a71ef73b342d34a79a984851751 SHA512 a936b9eae5d2714bce6ee908ab15a4e46bd9e8fe137932759698cc88f94bfafd09b1ce39a868af7b34a6174b10021286bd52fb970f552aa6ef72ae70127c31b9 AUX coreutils-9.4-gnulib-openssl-1.1.patch 6061 BLAKE2B af816c12ba6867d25d7ffb1d6213ac01e3107f0ae894c0f6452d348bf6d56cf57059fd967ab0ead7c290f7a2cb45494c5add7edace7d75ad9b89eb438b9f1d41 SHA512 9ef9ee4a987fa169dddc358fd51f37011173c9f82d81021d36faaf1dbd425d3e7f718724ad76ac61febdae76d5442a8b9e14a5638bdb52c2d256b104924ea2d0 AUX coreutils-9.5-skip-readutmp-test.patch 409 BLAKE2B e2ab556b6d9838aebd60b2aadfac7270b181cabe3a14afab7a53e668546ae7cf020c9710be9e642f1df49e424a9af8296652bb818954af72ae9b979d5949f15f SHA512 4c663c683f3001edb29c3095fd44ce7a97e8f9348b949864db11cbafc613271f2b2578faf7df80cd8cc5d3b9cbd91072b7858aedea638c305a0f0fecb191b3eb -DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B a41511ce39ac570cb14b7f12d125eebef92217469a9490808719fa0665f5e5c0adb96fbd02c4bac4d280d1502295669575790a81dbc01afe2ca3a9d384cbefb0 SHA512 b1e1933637de4581d5f8c6ede4e80a012435d13f0cf5550a76ab5bbe9441e3c15ce19ef3f78a7ea3b8368d5e9a3bb17c1207c471d26171b59786f38adeba0454 -DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515 SHA512 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145 DIST coreutils-9.4-patches.tar.xz 6756 BLAKE2B 677454409ccb629fd0efde1e15d8f9c13f208391e63a17816011e84d4ca3fb2a42c2a60853f213ade2a53c821d76fd8924c59388d160c6e7c7fa5755e1db4c68 SHA512 2025c80b5ada92bafb479c678917862be208534becd8b347d335032c6b4cc23c7b7630f15ca7dd3b5d691567cb70f3491753e29441cc54d8700cc3d966a5e743 DIST coreutils-9.4.tar.xz 5979200 BLAKE2B 83d41c48804c1d470c0e5eed38e692bb6875436dda3f6e2c29784ad6ef563d86e8e066a050e222621b400f78ea4630b1e127d20fc9b76f12096528c42677e35d SHA512 7c55ee23b685a0462bbbd118b04d25278c902604a0dcf3bf4f8bf81faa0500dee5a7813cba6f586d676c98e520cafd420f16479619305e94ea6798d8437561f5 DIST coreutils-9.4.tar.xz.sig 833 BLAKE2B 870f7eb28e8851f41954820c7f4f4b43a965e6650b303b79541dfdf98ca0cd52fe964d7eec72bea68066452d7ad21a01df5e4db9e5bc4c20bf26d8b416856446 SHA512 9674f783f592c4f3e5c708ff31426ac009bf132fd0005019571bf39c8a1627efb5351c6cecc7faecb1eff8fa2970318666593bffc0eda9c750159e174ef42524 DIST coreutils-9.5-patches.tar.xz 5912 BLAKE2B 873fbe1a60f8f8034b3d35796146765ce388952d649c32dc81ca0e4c2823c9f2f00b69bc5cb3af686434867459b6dc378fb9a6d59563d28b87c3ee1eceeedbb3 SHA512 4b4ad356615d046b8d67ea35b789f887a787ab01ece3234f6344518aef33cd30ca364fef5d85e11acfdb24003114c16ffdab82922fb135d5425fbcd541064a76 DIST coreutils-9.5.tar.xz 6007136 BLAKE2B 6fd3a77697c9e85f31415c6ad66559faf18acc7d346677a89d4a999c2027886551e78842a7283e7b3b44fe8ef2fde04ba2f88df32a7844d5f69d45bcb7a04b6f SHA512 2ca0deac4dc10a80fd0c6fd131252e99d457fd03b7bd626a6bc74fe5a0529c0a3d48ce1f5da1d3b3a7a150a1ce44f0fbb6b68a6ac543dfd5baa3e71f5d65401c DIST coreutils-9.5.tar.xz.sig 833 BLAKE2B 37c29984bceee0ff3bffde76712f71dbb118c228e328dc230d5c53c37da12f5ec2130e0123b97fda4a561f556c3be307fdbe1f0c21279db2c84030818386f626 SHA512 029997e0f4ee64e561853cff7c8a124f58cc891598595b44c4a46f9813b4b71c9d677464bc8a26d294e9971832f4b87c23777fea4fac6e8e30f06ad93b9957d5 -EBUILD coreutils-8.32-r1.ebuild 5941 BLAKE2B a2ceee802aca45f9a911f28a23b545e5da88418b51ed3816d962022ad194eef5399e3455e91e7c62773e391233940fdbb2d02bccec2ff3a0ac24a3c58d127088 SHA512 be7982367f4a05110d59cc8bfc58fa92cd6a7e8dda1bce9414a694cc19cd760399e62ca0a58c9a8231ad82d577fef60ec4bcbc6815f093c7a5ae8388ecb39787 EBUILD coreutils-9.4-r1.ebuild 8488 BLAKE2B 39c45419769c3eb3b27f6e11cac3196874e323562e3ea0520d277a3739beae6bda3b967ecbdad92ce9e069f17b2798e8baaf23b39b497ad83204308e0c7dab9a SHA512 e510b0a4f080bbdc2411617eb95523c4504d300a4142f1e02a662683e0d8d864dd55fcf533563053990a247d803b566f94df71879030233335ee432d877be67f EBUILD coreutils-9.4.ebuild 8390 BLAKE2B a3ad5d870e7e03e49acc837bfec6d51bde3604aeaf57db373b4f0780e43ee9cabe94f28b620a11566a5ebf8e1756c6e137dc744deb12a5603c5eddb7c42b8f5a SHA512 8f491086f1bb1c7f9a1b2c206377cef994d206215427b723df211af55bb00e0b9e7121b05c49b1e809b232ca27d27592199cb87ffeab973fe72d089c5c7279e9 EBUILD coreutils-9.5.ebuild 8576 BLAKE2B c4eebfd17509ea396bb6963a50e784f06289d17d9087c808bb6132cee33e33d0d9536abf2c8977034e74ba588d23bf39f88c39c7a69d4d5ab11cbe49d0b0b8a4 SHA512 8e1025571e796a0ad27efe27c5b6dd7072e1318754d04397fb6f679193d549b00e90b53a3c7e8f76542817ad651213641c91a07a91ff41e20e479253091c644f diff --git a/sys-apps/coreutils/coreutils-8.32-r1.ebuild b/sys-apps/coreutils/coreutils-8.32-r1.ebuild deleted file mode 100644 index 4bae5897bc0e..000000000000 --- a/sys-apps/coreutils/coreutils-8.32-r1.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_10 ) - -inherit flag-o-matic python-any-r1 toolchain-funcs - -PATCH="${PN}-8.30-patches-01" -DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)" -HOMEPAGE="https://www.gnu.org/software/coreutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz - !vanilla? ( - mirror://gentoo/${PATCH}.tar.xz - https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz - ) -" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test vanilla xattr" -RESTRICT="!test? ( test )" - -LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) - caps? ( sys-libs/libcap ) - gmp? ( dev-libs/gmp:=[static-libs] ) - xattr? ( sys-apps/attr[static-libs] )" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} ) - selinux? ( sys-libs/libselinux ) - nls? ( virtual/libintl )" -DEPEND=" - ${RDEPEND} - static? ( ${LIB_DEPEND} ) -" -BDEPEND=" - app-arch/xz-utils - dev-lang/perl - test? ( - dev-debug/strace - dev-lang/perl - dev-perl/Expect - ${PYTHON_DEPS} - ) -" -RDEPEND+=" - hostname? ( !sys-apps/net-tools[hostname] ) - kill? ( - !sys-apps/util-linux[kill] - !sys-process/procps[kill] - ) - !<sys-apps/util-linux-2.13 - !<sys-apps/sandbox-2.10-r4 - !sys-apps/stat - !net-mail/base64 - !sys-apps/mktemp - !<app-forensics/tct-1.18-r1 - !<net-fs/netatalk-2.0.3-r4" - -pkg_setup() { - if use test ; then - python-any-r1_pkg_setup - fi -} - -src_prepare() { - local PATCHES=( - "${FILESDIR}"/coreutils-8.32-ls-restore-8.31-behavior.patch - ) - - if ! use vanilla ; then - PATCHES+=( "${WORKDIR}"/patch ) - PATCHES+=( "${FILESDIR}"/${PN}-8.32-sandbox-env-test.patch ) - fi - - default - - # Since we've patched many .c files, the make process will try to - # re-build the manpages by running `./bin --help`. When doing a - # cross-compile, we can't do that since 'bin' isn't a native bin. - # - # Also, it's not like we changed the usage on any of these things, - # so let's just update the timestamps and skip the help2man step. - set -- man/*.x - touch ${@/%x/1} || die - - # Avoid perl dep for compiled in dircolors default (bug #348642) - if ! has_version dev-lang/perl ; then - touch src/dircolors.h || die - touch ${@/%x/1} || die - fi -} - -src_configure() { - local myconf=( - --with-packager="Gentoo" - --with-packager-version="${PVR} (p${PATCH_VER:-0})" - --with-packager-bug-reports="https://bugs.gentoo.org/" - # kill/uptime - procps - # groups/su - shadow - # hostname - net-tools - --enable-install-program="arch,$(usev hostname),$(usev kill)" - --enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime" - --enable-largefile - $(usex caps '' --disable-libcap) - $(use_enable nls) - $(use_enable acl) - $(use_enable multicall single-binary) - $(use_enable xattr) - $(use_with gmp) - ) - - if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then - # bug #311569 - export fu_cv_sys_stat_statfs2_bsize=yes - # bug #416629 - export gl_cv_func_realpath_works=yes - fi - - # bug #409919 - export gl_cv_func_mknod_works=yes - - if use static ; then - append-ldflags -static - # bug #321821 - sed -i '/elf_sys=yes/s:yes:no:' configure || die - fi - - if ! use selinux ; then - # bug #301782 - export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no - fi - - econf "${myconf[@]}" -} - -src_test() { - # Known to fail with FEATURES=usersandbox (bug #439574): - # - tests/du/long-from-unreadable.sh} (bug #413621) - # - tests/rm/deep-2.sh (bug #413621) - # - tests/dd/no-allocate.sh (bug #629660) - if has usersandbox ${FEATURES} ; then - ewarn "You are emerging ${P} with 'usersandbox' enabled." \ - "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" - fi - - # Non-root tests will fail if the full path isn't - # accessible to non-root users - chmod -R go-w "${WORKDIR}" || die - chmod a+rx "${WORKDIR}" || die - - # coreutils tests like to do `mount` and such with temp dirs, - # so make sure: - # - /etc/mtab is writable (bug #265725) - # - /dev/loop* can be mounted (bug #269758) - mkdir -p "${T}"/mount-wrappers || die - mkwrap() { - local w ww - for w in "${@}" ; do - ww="${T}/mount-wrappers/${w}" - cat <<-EOF > "${ww}" - #!${EPREFIX}/bin/sh - exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P ${w}) "\$@" - EOF - chmod a+rx "${ww}" || die - done - } - mkwrap mount umount - - addwrite /dev/full - #export RUN_EXPENSIVE_TESTS="yes" - #export COREUTILS_GROUPS="portage wheel" - env PATH="${T}/mount-wrappers:${PATH}" \ - emake -j1 -k check -} - -src_install() { - default - - insinto /etc - newins src/dircolors.hin DIR_COLORS - - if use split-usr ; then - cd "${ED}"/usr/bin || die - dodir /bin - - # Move critical binaries into /bin (required by FHS) - local fhs="cat chgrp chmod chown cp date dd df echo false ln ls - mkdir mknod mv pwd rm rmdir stty sync true uname" - mv ${fhs} ../../bin/ || die "Could not move FHS bins!" - - if use hostname ; then - mv hostname ../../bin/ || die - fi - - if use kill ; then - mv kill ../../bin/ || die - fi - - # Move critical binaries into /bin (common scripts) - # (Why are these required for booting?) - local com="basename chroot cut dir dirname du env expr head mkfifo - mktemp readlink seq sleep sort tail touch tr tty vdir wc yes" - mv ${com} ../../bin/ || die "Could not move common bins!" - - # Create a symlink for uname in /usr/bin/ since autotools require it. - # (Other than uname, we need to figure out why we are - # creating symlinks for these in /usr/bin instead of leaving - # the files there in the first place...) - local x - for x in ${com} uname ; do - dosym ../../bin/${x} /usr/bin/${x} - done - fi -} - -pkg_postinst() { - ewarn "Make sure you run 'hash -r' in your active shells." - ewarn "You should also re-source your shell settings for LS_COLORS" - ewarn " changes, such as: source /etc/profile" -} diff --git a/sys-apps/coreutils/files/coreutils-8.32-ls-restore-8.31-behavior.patch b/sys-apps/coreutils/files/coreutils-8.32-ls-restore-8.31-behavior.patch deleted file mode 100644 index 62a35cd85ad1..000000000000 --- a/sys-apps/coreutils/files/coreutils-8.32-ls-restore-8.31-behavior.patch +++ /dev/null @@ -1,94 +0,0 @@ -From 10fcb97bd728f09d4a027eddf8ad2900f0819b0a Mon Sep 17 00:00:00 2001 -From: Paul Eggert <eggert@cs.ucla.edu> -Date: Thu, 5 Mar 2020 17:25:29 -0800 -Subject: ls: restore 8.31 behavior on removed directories - -* src/ls.c: Do not include <sys/sycall.h> -(print_dir): Don't worry about whether the directory is removed. -* tests/ls/removed-directory.sh: Adjust to match new (i.e., old) -behavior. - -diff --git a/src/ls.c b/src/ls.c -index 24b983287..4acf5f44d 100644 ---- a/src/ls.c -+++ b/src/ls.c -@@ -49,10 +49,6 @@ - # include <sys/ptem.h> - #endif - --#ifdef __linux__ --# include <sys/syscall.h> --#endif -- - #include <stdio.h> - #include <assert.h> - #include <setjmp.h> -@@ -2896,7 +2892,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - struct dirent *next; - uintmax_t total_blocks = 0; - static bool first = true; -- bool found_any_entries = false; - - errno = 0; - dirp = opendir (name); -@@ -2972,7 +2967,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - next = readdir (dirp); - if (next) - { -- found_any_entries = true; - if (! file_ignored (next->d_name)) - { - enum filetype type = unknown; -@@ -3018,22 +3012,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - if (errno != EOVERFLOW) - break; - } --#ifdef __linux__ -- else if (! found_any_entries) -- { -- /* If readdir finds no directory entries at all, not even "." or -- "..", then double check that the directory exists. */ -- if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1 -- && errno != EINVAL) -- { -- /* We exclude EINVAL as that pertains to buffer handling, -- and we've passed NULL as the buffer for simplicity. -- ENOENT is returned if appropriate before buffer handling. */ -- file_failure (command_line_arg, _("reading directory %s"), name); -- } -- break; -- } --#endif - else - break; - -diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh -index e8c835dab..fe8f929a1 100755 ---- a/tests/ls/removed-directory.sh -+++ b/tests/ls/removed-directory.sh -@@ -26,20 +26,14 @@ case $host_triplet in - *) skip_ 'non linux kernel' ;; - esac - --LS_FAILURE=2 -- --cat <<\EOF >exp-err || framework_failure_ --ls: reading directory '.': No such file or directory --EOF -- - cwd=$(pwd) - mkdir d || framework_failure_ - cd d || framework_failure_ - rmdir ../d || framework_failure_ - --returns_ $LS_FAILURE ls >../out 2>../err || fail=1 -+ls >../out 2>../err || fail=1 - cd "$cwd" || framework_failure_ - compare /dev/null out || fail=1 --compare exp-err err || fail=1 -+compare /dev/null err || fail=1 - - Exit $fail --- -cgit v1.2.1 - diff --git a/sys-apps/coreutils/files/coreutils-8.32-sandbox-env-test.patch b/sys-apps/coreutils/files/coreutils-8.32-sandbox-env-test.patch deleted file mode 100644 index 40b1554d948a..000000000000 --- a/sys-apps/coreutils/files/coreutils-8.32-sandbox-env-test.patch +++ /dev/null @@ -1,64 +0,0 @@ -Skip tests known to fail when running under Gentoo sandbox. - ---- a/tests/du/long-from-unreadable.sh -+++ b/tests/du/long-from-unreadable.sh -@@ -29,6 +29,9 @@ - # unnecessarily to using FTS_NOCHDIR mode in this corner case. - - . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src -+# Avoid #413621 until #548250 is resolved -+test -n "$SANDBOX_ACTIVE" && skip_ "Gentoo: Test known bad under sandbox (#413621)" -+ - print_ver_ du - - require_perl_ ---- a/tests/ls/removed-directory.sh -+++ b/tests/ls/removed-directory.sh -@@ -19,6 +19,9 @@ - # along with this program. If not, see <https://www.gnu.org/licenses/>. - - . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src -+# Avoid #413621 until #548250 is resolved -+test -n "$SANDBOX_ACTIVE" && skip_ "Gentoo: Test known bad under sandbox (#413621)" -+ - print_ver_ ls - - case $host_triplet in ---- a/tests/ls/stat-free-symlinks.sh -+++ b/tests/ls/stat-free-symlinks.sh -@@ -17,6 +17,9 @@ - # along with this program. If not, see <https://www.gnu.org/licenses/>. - - . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src -+# Avoid #413621 until #548250 is resolved -+test -n "$SANDBOX_ACTIVE" && skip_ "Gentoo: Test known bad under sandbox (#413621)" -+ - print_ver_ ls - require_strace_ stat - ---- a/tests/misc/env-S.pl -+++ b/tests/misc/env-S.pl -@@ -30,6 +30,11 @@ $env = $1; - # Turn off localization of executable's output. - @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; - -+# Skip if sandbox is enabled -+if ($ENV{SANDBOX_ACTIVE}) { -+ CuSkip::skip "Gentoo: Test known bad under sandbox (#675802)\n"; -+} -+ - my @Tests = - ( - # Test combination of -S and regular arguments ---- a/tests/rm/deep-2.sh -+++ b/tests/rm/deep-2.sh -@@ -17,6 +17,9 @@ - # along with this program. If not, see <https://www.gnu.org/licenses/>. - - . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src -+# Avoid #413621 until #548250 is resolved -+test -n "$SANDBOX_ACTIVE" && skip_ "Gentoo: Test known bad under sandbox (#413621)" -+ - print_ver_ rm - require_perl_ - diff --git a/sys-apps/gawk/Manifest b/sys-apps/gawk/Manifest index d2858430c53a..72093cf6d33f 100644 --- a/sys-apps/gawk/Manifest +++ b/sys-apps/gawk/Manifest @@ -7,5 +7,5 @@ DIST gawk-5.3.1.tar.xz 3510032 BLAKE2B be9132324344c0b052e954e004a942ff7c6b14b86 DIST gawk-5.3.1.tar.xz.sig 488 BLAKE2B 2abafbb965912a194d047bed3ac1ef33a2b44dce0bc4b1a83a6ca3e2ecf676da0ad8333bb3817f0f32c7d67ab8662dc6086c9e1d6f2185a93d786390197fc643 SHA512 3e13b1bd598b7d4c715c802dcc9db298aeab12721620692f9dd76d3941fdfd87381f660c93be5cc04b6cd7378a6464b9033c93419dfcb514dcc33da8d0d9f502 EBUILD gawk-5.2.2.ebuild 3492 BLAKE2B 9cbd082647f2d13f93aaa14cd25a6aeea52ab58c41cfb89a3c2f8be432df79116d042b061b25859f6c3a7598cce036cfe04a62654b023f6404c61de2bfd1d5ca SHA512 c53fa9696a835f61d3b9fd36d0dc183ab3b1e1bd78ae8ed81c89ff339930bb1a8dc7013f96a2b7a527f4ec782834a6648f943d536cad79f10992f3f3bf41a7e2 EBUILD gawk-5.3.0-r1.ebuild 3467 BLAKE2B 2ee1c6cae8a7857182aac8e046e285e9cac56dcccb404bf20dfd59940dba077e072dcb30a3943707ad6867e7688e9e170a72f3513a23c0bd358da295232f29bb SHA512 291fa2c2896afc58beb34dba838f9113ad16842f57e23bf4187bcfd7385a8d5783ebe5d05db35d46a144079c4ccf1db66811f68f9c0e8eb15b7c724c0ad8a931 -EBUILD gawk-5.3.1.ebuild 3427 BLAKE2B 0244f348178939caf23f92613ab7b48b5d27f7301880988bb479163b5fb52cdc492cc18ace7f724246b322d8b319774742e8cce028eedd902f584e62a6a80a6d SHA512 98a9e01150badb851cedac870e68804ca39bd3af356333dfbfaa78d28a2a4d005d208979ca66a8fa113ff325fb4b32b9ac689d7745d683972091e52804cb4880 +EBUILD gawk-5.3.1.ebuild 3422 BLAKE2B 7c007c6e45202cbc9761ee67d6354cd4f500ea13c887beefa42276bb47368eaf004f8ccc5875e36a70f242fa0714e21c23292228d16a883a71a047f39c223bde SHA512 bc22d4fbcb72dccc05b45ce90c4c4989bd4af1ccd1e649a170799d9f882c999a1691b0fe63e6eeac1d24d46432e4098c17fe8f2650f6c39f09229f024ecf00fa MISC metadata.xml 654 BLAKE2B e04183a376da2006e727296257a18431f2e4f29fdabcee48edebb1c9dbf099c846af6bfe90d9e551ec4536c2dd034a80b47e6a1b8e442a89c1228929bef7d956 SHA512 9bb5a19c4b9a8ff7669c7ae7320a88d64eb68b4897f06d2046f71efe562a4846cb8c611bcc03b0111dfde19b40275f3357a5cd6285d4d5f0b4464a9c8b3eacb2 diff --git a/sys-apps/gawk/gawk-5.3.1.ebuild b/sys-apps/gawk/gawk-5.3.1.ebuild index e4c14b19931a..66ab5ec66aad 100644 --- a/sys-apps/gawk/gawk-5.3.1.ebuild +++ b/sys-apps/gawk/gawk-5.3.1.ebuild @@ -29,7 +29,7 @@ else SRC_URI="mirror://gnu/gawk/${P}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnu/gawk/${P}.tar.xz.sig )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="GPL-3+" diff --git a/sys-apps/gscanbus/Manifest b/sys-apps/gscanbus/Manifest index 9b42b139e82e..f2e9d604ae23 100644 --- a/sys-apps/gscanbus/Manifest +++ b/sys-apps/gscanbus/Manifest @@ -2,5 +2,4 @@ AUX gscanbus-0.8-Wimplicit-function-declaration.patch 386 BLAKE2B 0408be6cfaad0a AUX gscanbus-0.8-incompatible-function-pointer-types.patch 1130 BLAKE2B 3022fbd0df217d857bd5631e848b2ca5651b40267d4e2b717096be17b2368d5680e8a678c53342fa623c52b6f01fe2ab646bd6df419f1bf04c84e19695b0cffe SHA512 0e15bf6df646df1cf49b236805c37ad9189fe2030ed7653ccb33172842c68befccd7015b1080fb4bbcfaea19afb59d9e0cca39dbc5bb1cf16f56ead43f54d27d DIST gscanbus-0.8.tar.gz 215739 BLAKE2B a07b5f067a064715522ecf3665c84390cf720c4ebd3ea276259107b1a17c0c26e6a439b6c3e6e1a76644572967d8aa38f18f7bf96ba3a77ba0f70937f6e7f903 SHA512 a5f97acb57869b151fbdee5747510f554b8d67b1889ce199ba803bc75a91d1a8b98239799ce61d775923dfff0767db518a46cf9222eb370150ea158eecde95be EBUILD gscanbus-0.8-r1.ebuild 622 BLAKE2B 9001af0a5c248de5477040f9e644e0896a230631abceee111944c476c7b9a26625859ca39da93a8f61ee351b65d275e2bd1ad76dc5aa68cade93e35f78773738 SHA512 dbc8e8b4f63c5da8ee17bc26099c1b2c166e042e1547570b5815fc39f36d8e86de1a436adc1ff44dbd0e2bb147608169d097861f2eeeb73966c3fa4a5a8a58c1 -EBUILD gscanbus-0.8.ebuild 558 BLAKE2B e3bb91633a6a53e1b97167e8df5e7f1b79bdf65e3b1f34a9bea1cf326ae3ccf766629123e04dbe6548d17d35c702fc318be622a080383c1db6aecd51cd8171fd SHA512 15eb82e814ac9167a6f8aa803910da163cb54ba64ea44e240c66b80c7832da724d2329dc8cbfb8d543df5e3233ed2fef6398d41c4356a035a4d47c4fb706cf9b MISC metadata.xml 337 BLAKE2B 08327a3cea827bcb0635c1c2414127b5c2a22b89fc9348c7e761103da21a3859cc21e66307f6639bdbc5869282ca9e0804e1e790f63e70c93ae71aa2557c79f9 SHA512 6569a7d21c5674fa138d772911c352ed93feeea8e1951a9d848c591f84e00bfb4022ad6776cdfd36bfc57b5f010830b24037dd16bbd985a042a847fc3c2cd40a diff --git a/sys-apps/gscanbus/gscanbus-0.8.ebuild b/sys-apps/gscanbus/gscanbus-0.8.ebuild deleted file mode 100644 index 51f1b94b6774..000000000000 --- a/sys-apps/gscanbus/gscanbus-0.8.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Bus scanning, testing and topology visualizing tool for Linux IEEE1394 subsystem" -HOMEPAGE="https://sourceforge.net/projects/gscanbus.berlios/" -SRC_URI="https://downloads.sourceforge.net/${PN}.berlios/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -RDEPEND=" - sys-libs/libraw1394 - x11-libs/gtk+:2" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch ) diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest index 8c34b33d3d47..aebcd5568d00 100644 --- a/sys-apps/portage/Manifest +++ b/sys-apps/portage/Manifest @@ -14,7 +14,7 @@ EBUILD portage-3.0.61-r2.ebuild 6913 BLAKE2B 599679650a95d2c8587a0b617ff135103df EBUILD portage-3.0.63-r2.ebuild 7005 BLAKE2B 54d7507f8d762b4af3a2bd0b78955b938f34347b59248b57939e5dfa417f49c472e58d81d053c2b0a91ede0ad0419f8fbd8d7c65d85ed4299aea487393d0fa71 SHA512 9613dbbdecfd0e14e6cf214742bf15cea7c7355c82fb78b5e96897b1a39c769f95f8e199e065e6409ebf693f64df55c824c2df1a65c0ef061683771d82d4d852 EBUILD portage-3.0.64-r4.ebuild 6919 BLAKE2B 562ea0c8a6cd0f6be74e186489c3a8b1c4cd7ac8589c3cee1da0f86ada41fba0a987efa4493d5fd875adb3bcaa3880952c8da3c8e071137fa0f7cf1314f77ed7 SHA512 ddec04ec82bef64a1fcec1c7cc2ac1fa6a37201bc321da98a0f5a4aa443121d2e2bcfa64cb0c9ba6c7daf47ea5b794cf6b7abcadccbd625900d4bc2e782e6447 EBUILD portage-3.0.65-r1.ebuild 6776 BLAKE2B 06f1d5e62b178276acf0a4c908697fe337f004fcd8bc8b0855f604ceacd60d37331024115a99dc6b1711c2a67d91f94d29f7a5e278519d8be0fc8a3a93c38367 SHA512 c55d309d9bf3706d3e272f3634dc6c33222074d8dc2f289109631b4f6db24df62fbb355a70c8bdf74f3d76c0a799b262726c92efaea9e7e52fa49e4b175abb20 -EBUILD portage-3.0.66.1-r1.ebuild 6409 BLAKE2B c85f4e974c7237569a6bb91c7d4043f85c1a2e7965aea4c94f603f9ebe31f11e12f4604bfb45e6c4b4408de095d311911e347b8952682524c23d43dd35944429 SHA512 b7adfed426dc2b580978eed8852bcb837c7bd12cdb505520cca5ba00c59110b8c42c90cb0f3cf9b6bc76b0d5ac831658a0bff5ef099fbf8a7a69848f956531c2 +EBUILD portage-3.0.66.1-r1.ebuild 6404 BLAKE2B a0492bb4396b750463d5ce21beb9a8adc1dc3e745f393f63a3e0ed1eeb7b27619e0da43b630945b3bb64271321a113a73c5ac085ab3b3051c7fd3dd922c22cd5 SHA512 e0baf84674e9b351fae4a962c411e5d018658982470f40acc5ebb5f9e3d74f0b46fb1d5b586af23afc7a5d91cf675fdf1b4b5a5aedc83d063b1f07bd9fca426e EBUILD portage-3.0.66.1.ebuild 6361 BLAKE2B dbb0bc671fe61839d0594ba8d730c7abb5bafdcd35b7a106a1f2661d7c63d3fde8559dfe4f08039f4905724318d19b32ce287edf5a3a48c16e17fbab0cf15513 SHA512 a9f0927b000d4954bd557773b8c4aa616c69640f5c8bf0865486f543c70ccd2fe54a093577333a117819cfd8de21e66cc3e52ef81e6614dbdd6b298e59055593 EBUILD portage-3.0.66.ebuild 6361 BLAKE2B dbb0bc671fe61839d0594ba8d730c7abb5bafdcd35b7a106a1f2661d7c63d3fde8559dfe4f08039f4905724318d19b32ce287edf5a3a48c16e17fbab0cf15513 SHA512 a9f0927b000d4954bd557773b8c4aa616c69640f5c8bf0865486f543c70ccd2fe54a093577333a117819cfd8de21e66cc3e52ef81e6614dbdd6b298e59055593 EBUILD portage-9999.ebuild 6361 BLAKE2B dbb0bc671fe61839d0594ba8d730c7abb5bafdcd35b7a106a1f2661d7c63d3fde8559dfe4f08039f4905724318d19b32ce287edf5a3a48c16e17fbab0cf15513 SHA512 a9f0927b000d4954bd557773b8c4aa616c69640f5c8bf0865486f543c70ccd2fe54a093577333a117819cfd8de21e66cc3e52ef81e6614dbdd6b298e59055593 diff --git a/sys-apps/portage/portage-3.0.66.1-r1.ebuild b/sys-apps/portage/portage-3.0.66.1-r1.ebuild index 9cedc14fc954..d07b8fcf38f8 100644 --- a/sys-apps/portage/portage-3.0.66.1-r1.ebuild +++ b/sys-apps/portage/portage-3.0.66.1-r1.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi LICENSE="GPL-2" diff --git a/sys-apps/sysvinit/Manifest b/sys-apps/sysvinit/Manifest index 6ca598011e67..b9ece3d85eed 100644 --- a/sys-apps/sysvinit/Manifest +++ b/sys-apps/sysvinit/Manifest @@ -9,7 +9,10 @@ DIST sysvinit-3.09.tar.xz 239600 BLAKE2B 81c3e80dd66896110b1a2488415dd20fae03b4b DIST sysvinit-3.09.tar.xz.sig 833 BLAKE2B f00020388eb330d753c4280d96b1363c1b539bf8b8cc21a79f055970f44acebf14e690b132dc09ed43e6db8907624083e7b5cc5849808fd804188d97c5eafd2d SHA512 c509bb8dc4fee98ac8e4502bc10e1058dc91126eeb0767a56167267bc14d4b09353b98d8d3a8a5c5dc2b5a0e2e315e0c8c9d3d662ac14510466ae5092504e672 DIST sysvinit-3.10.tar.xz 240060 BLAKE2B 894f1ad140f1e92f4d4a2220a9abff6ba106d9f84ee0e001ee8d5a0f41a2877e08110d442a2bcd52efc5662838fae36835b067091d37b9f4d295b47c01c26153 SHA512 769fb7995bd01074202d06f0cd2bd5661bd170fc9e83a631c3400d7db8d705520250f47165bdf3dd73d78f9730749f97f7ca8d84e2f30e5fb1949ac3fbaeb053 DIST sysvinit-3.10.tar.xz.sig 833 BLAKE2B 98e931a055f18c757f84ba555fcb9b5771c51690918d31ac0eb078218b3aa53065caeb5647abcc3e606b245bdd450b4649cb2274560a9fc27844dc7a1eac7a9c SHA512 7759fc58a6298c645a2868bfeea750656bf424c49235e860a4ee5c92a766437dcd566ddcd01b37cfa4dff53ab3b1c96f4dcd41f7234f8c64c01f8edb0932a681 +DIST sysvinit-3.11.tar.xz 240212 BLAKE2B a7233509ec31ef6834e145d5912b2c1d3832bf63ffab6eb75c864cd2a9c4fe053b0e3a5abc20891c7d29596f95dd3aa518e69ad111d5586011fee37b4e23d7cb SHA512 12e2d11b76702b493e8f083e5409b98a1daf41a8d9fb7ef8a36416bb0310d5a26b92eaee0c9396c03cf08842258b953f79541ae147ef730f3bc54530da4d1029 +DIST sysvinit-3.11.tar.xz.sig 833 BLAKE2B 34938ad711aca2a58decad1fb5345fcfddbffbc8e062802aa2e8c8f1603ffeb9a19f9305aabb7b7b80bbc7e9087acac4e5173f51f4a90c70594b45a2b4e78704 SHA512 fa5719970d8ac7c0d172fccb0de9a2f69c9e0530914d1968902c1ba23e2600a9c748240e98e8c1014d939fb2f23579733b6a7a96551f7151420a8bbc1d897eec EBUILD sysvinit-3.08.ebuild 5740 BLAKE2B a57883b5b5c7f335d4ba63b0d1686261782e3c8fdb248837998c9cb7c429b3e3cf00e5523e6a05c46e3e864077226462d6795698d657e9cad8c8dc67900d8b4a SHA512 e86e57c863841d0771ccf86653367c38e9a2bacda1a438895f48ce9268660bf4114eeb38db2dd18b22ef3724c16435dc7c9d9f8733c2412b337781f8f3cf685b EBUILD sysvinit-3.09.ebuild 5740 BLAKE2B a57883b5b5c7f335d4ba63b0d1686261782e3c8fdb248837998c9cb7c429b3e3cf00e5523e6a05c46e3e864077226462d6795698d657e9cad8c8dc67900d8b4a SHA512 e86e57c863841d0771ccf86653367c38e9a2bacda1a438895f48ce9268660bf4114eeb38db2dd18b22ef3724c16435dc7c9d9f8733c2412b337781f8f3cf685b EBUILD sysvinit-3.10.ebuild 5748 BLAKE2B a8f201de64b27a7fe5de6b53bd0ca6f2d2ea2ddb166a22b37aca08c9b60607ab0c8630d699ce6a562d582ac147b44d60b28596538702bb38ed8c2cf0bfff1378 SHA512 523b1feb41694d8745e82a154f0db7b3d16e563eea5084fae423160245c94224a842515a2d9b1aaca3373fe16a933b3b4c2b143c613ea988d9e7dc5c97c3f8fa +EBUILD sysvinit-3.11.ebuild 5748 BLAKE2B a8f201de64b27a7fe5de6b53bd0ca6f2d2ea2ddb166a22b37aca08c9b60607ab0c8630d699ce6a562d582ac147b44d60b28596538702bb38ed8c2cf0bfff1378 SHA512 523b1feb41694d8745e82a154f0db7b3d16e563eea5084fae423160245c94224a842515a2d9b1aaca3373fe16a933b3b4c2b143c613ea988d9e7dc5c97c3f8fa MISC metadata.xml 506 BLAKE2B ea180981d7eafbe8356b6d187c7c1c12afc7ef91d94f7992489ad54f459c924b009bfe7c7888bf1934b356091489285dbda9eee39ab14f318528e0738da6474c SHA512 b5451236ce138c372e32c1f5e4bc25fca9acb05063720d6b452e81b19a7661058b791f6fc95a9f585244ba44ff307d07f6be49aadf1dbb461492575e2af80a89 diff --git a/sys-apps/sysvinit/sysvinit-3.11.ebuild b/sys-apps/sysvinit/sysvinit-3.11.ebuild new file mode 100644 index 000000000000..a7beec09b9b9 --- /dev/null +++ b/sys-apps/sysvinit/sysvinit-3.11.ebuild @@ -0,0 +1,201 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Dropped these because blank as of 3.02 +#PLOCALES="de es fi fr hu id pl" +PLOCALES="de es fr pl" +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sysvinit.asc +inherit toolchain-funcs flag-o-matic plocale verify-sig + +DESCRIPTION="/sbin/init - parent of all processes" +HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit" +# https://github.com/slicer69/sysvinit/issues/12 +#SRC_URI="mirror://nongnu/${PN}/${P/_/-}.tar.xz" +#SRC_URI+=" verify-sig? ( mirror://nongnu/${PN}/${P/_/-}.tar.xz.sig )" +SRC_URI="https://github.com/slicer69/sysvinit/releases/download/${PV}/${P}.tar.xz" +SRC_URI+=" verify-sig? ( https://github.com/slicer69/sysvinit/releases/download/${PV}/${P}.tar.xz.sig )" +S="${WORKDIR}/${P/_*}" + +LICENSE="GPL-2" +SLOT="0" +if [[ ${PV} != *beta* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +IUSE="selinux ibm nls static" + +COMMON_DEPEND=" + acct-group/root + selinux? ( + >=sys-libs/libselinux-1.28 + ) +" +DEPEND=" + ${COMMON_DEPEND} + virtual/os-headers +" +# Old OpenRC blocker is for bug #587424 +# Keep for longer than usual given it's cheap and avoid user inconvenience +RDEPEND=" + ${COMMON_DEPEND} + !<app-i18n/man-pages-l10n-4.18.1-r1 + !<sys-apps/openrc-0.13 + selinux? ( sec-policy/selinux-shutdown ) +" +# po4a is for man page translations +BDEPEND=" + nls? ( app-text/po4a ) + verify-sig? ( >=sec-keys/openpgp-keys-sysvinit-20220413 ) +" + +PATCHES=( + # bug #158615 + "${FILESDIR}/${PN}-3.08-shutdown-single.patch" +) + +src_prepare() { + default + + # We already enforce F_S=2 as a minimum in our toolchain, and + # allow 3. Also, SSP doesn't always make sense for some platforms + # e.g. HPPA. It's default-on in our toolchain where it works. + sed -i \ + -e '/^CPPFLAGS =$/d' \ + -e '/^override CFLAGS +=/s/ -fstack-protector-strong//' \ + -e '/^override CFLAGS +=/s/ -D_FORTIFY_SOURCE=2//' \ + src/Makefile || die + + # last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux + sed -i -r \ + -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ + -e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ + src/Makefile || die + + # pidof has moved to >=procps-3.3.9 + sed -i -r \ + -e '/\/bin\/pidof/d' \ + -e '/^MAN8/s:\<pidof.8\>::g' \ + src/Makefile || die + + # logsave is already in e2fsprogs + sed -i -r \ + -e '/^(USR)?S?BIN/s:\<logsave\>::g' \ + -e '/^MAN8/s:\<logsave.8\>::g' \ + src/Makefile || die + + # Munge inittab for specific architectures + cd "${WORKDIR}" || die + cp "${FILESDIR}"/inittab-2.98-r1 inittab || die "cp inittab" + local insert=() + use ppc && insert=( '#psc0:12345:respawn:/sbin/agetty 115200 ttyPSC0 linux' ) + use arm && insert=( '#f0:12345:respawn:/sbin/agetty 9600 ttyFB0 vt100' ) + use arm64 && insert=( 'f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100' ) + use hppa && insert=( 'b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100' ) + use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console dumb' ) + if use ibm ; then + insert+=( + '#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0' + '#hvsi:2345:respawn:/sbin/agetty -L 19200 hvsi0' + ) + fi + (use arm || use mips || use sparc) && sed -i '/ttyS0/s:#::' inittab + if use x86 || use amd64 ; then + sed -i \ + -e '/ttyS[01]/s:9600:115200:' \ + inittab + fi + + if [[ ${#insert[@]} -gt 0 ]] ; then + printf '%s\n' '' '# Architecture specific features' "${insert[@]}" >> inittab + fi + + delete_unused_locale() { + local locale=${1} + + einfo "Deleting non-requested man page translations for locale=${locale}" + rm "${S}"/man/po/${locale}.po || die + + sed -i -e "/^\[po4a_langs\]/ s:${locale}::" "${S}"/man/po/po4a.cfg || die + } + + plocale_for_each_disabled_locale delete_unused_locale +} + +src_compile() { + tc-export CC + + append-lfs-flags + + # bug #381311 + export DISTRO= + export VERSION="${PV}" + + use static && append-ldflags -static + emake -C src $(usex selinux 'WITH_SELINUX=yes' '') + + if use nls && [[ -n "$(plocale_get_locales)" ]] ; then + cd man/po || die + po4a po4a.cfg || die + fi +} + +src_install() { + emake -C src install ROOT="${ED}" + dodoc README doc/* + + insinto /etc + doins "${WORKDIR}"/inittab + + newinitd "${FILESDIR}"/bootlogd.initd bootlogd + newconfd "${FILESDIR}"/bootlogd.confd bootlogd + + into / + dosbin "${FILESDIR}"/halt.sh + + keepdir /etc/inittab.d + + if use nls && [[ -n "$(plocale_get_locales)" ]] ; then + install_locale_man_pages() { + doman -i18n=${1} man/po/${1}/* + } + + plocale_for_each_locale install_locale_man_pages + fi + + # Dead symlink + find "${ED}" -xtype l -delete || die + + find "${ED}" -type d -empty -delete || die +} + +pkg_postinst() { + # Reload init to fix unmounting problems of / on next reboot. + # This is really needed, as without the new version of init cause init + # not to quit properly on reboot, and causes a fsck of / on next reboot. + if [[ -z ${EROOT} ]] ; then + if [[ -e /dev/initctl ]] && [[ ! -e /run/initctl ]] ; then + ln -s /dev/initctl /run/initctl \ + || ewarn "Failed to set /run/initctl symlink!" + fi + # Do not return an error if this fails + /sbin/telinit U &>/dev/null + fi + + elog "The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to" + elog "sys-apps/util-linux. The pidof tool has been moved to sys-process/procps." + + # Required for new bootlogd service + if [[ ! -e "${EROOT}/var/log/boot" ]] ; then + touch "${EROOT}/var/log/boot" + fi + + local ver + for ver in ${REPLACING_VERSIONS}; do + ver_test ${ver} -ge 3.07-r2 && continue + ewarn "Previously, the 'halt' command caused the system to power off" + ewarn "even if option -p was not given. This long-standing bug has" + ewarn "been fixed, and the command now behaves as documented." + break + done +} |