[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-05-29 Thread Jakov Smolić
commit: 75cbf64e95ae26905c4135f76f9bc18fa3907a5d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed May 29 06:26:09 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed May 29 06:26:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cbf64e

sys-apps/coreutils: Stabilize 9.5 x86, #933045

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-apps/coreutils/coreutils-9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.5.ebuild 
b/sys-apps/coreutils/coreutils-9.5.ebuild
index 7f39a5b81c1d..7e7f411f12cc 100644
--- a/sys-apps/coreutils/coreutils-9.5.ebuild
+++ b/sys-apps/coreutils/coreutils-9.5.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-05-18 Thread Sam James
commit: b0714d6ab24329fb6c392764342a76e649b2152a
Author: Sam James  gentoo  org>
AuthorDate: Sat May 18 10:11:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 18 10:18:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0714d6a

sys-apps/coreutils: Stabilize 9.4-r1 hppa, #926980

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index cd9bf44d0689..deea9ad182e5 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-05-09 Thread Sam James
commit: 4d3ce92339c07dc6eb5800ad0cd1e3d5b66e085c
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 22:35:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 22:35:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3ce923

sys-apps/coreutils: extend implicit func. decl QA exemptions for musl

Closes: https://bugs.gentoo.org/928108
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.5.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.5.ebuild 
b/sys-apps/coreutils/coreutils-9.5.ebuild
index 187e8ba621a9..7f39a5b81c1d 100644
--- a/sys-apps/coreutils/coreutils-9.5.ebuild
+++ b/sys-apps/coreutils/coreutils-9.5.ebuild
@@ -88,6 +88,8 @@ RDEPEND+="
 QA_CONFIG_IMPL_DECL_SKIP=(
# gnulib FPs (bug #898370)
unreachable MIN alignof static_assert
+   # ... and on musl
+   _exit fpurge statvfs64 re_set_syntax re_compile_pattern re_search 
re_match
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-04-06 Thread Arthur Zamarin
commit: be458b80d3ff251e5ce7301b99e80b17b20f56d6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 06:50:22 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 06:50:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be458b80

sys-apps/coreutils: Stabilize 9.4-r1 sparc, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index bb3b8847f239..cd9bf44d0689 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-28 Thread Sam James
commit: 0c6b401ac90deb03374def0d840e944e4f9eaad9
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 28 16:36:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 28 16:36:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c6b401a

sys-apps/coreutils: add 9.5, drop 9.4_p20240326

Bug: https://bugs.gentoo.org/928062
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 .../{coreutils-9.4_p20240326.ebuild => coreutils-9.5.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index ecd60d05455f..2823060d3567 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,6 +3,6 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 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.4_p20240326.tar.xz 5995388 BLAKE2B 
2aed1aae692182a657cd2c2a405c2e9939d8ca9cd0e15c7dbd4d6505a6e10704c8d958fa2f89736e27d4fe99be87bd50238610c6dd104aedc64532ac4828
 SHA512 
77d9f747adb1f2d40c9348f5fa14bb93e29807dfa8970d617d4ea543c95bce1c85e937229bd450373f74c511de8debd8645e7f86a508bc866b580bd1712ed300
-DIST coreutils-9.4_p20240326.tar.xz.sig 833 BLAKE2B 
158521535c2f1410c324e957bd199c0519d68f1927c16453dfb521af20a64fd277c3dfa3e83b46822b9dfeb0583471b100c04b92167949f622a6770b4bb60c73
 SHA512 
7f4578c4665bb3d4504eba4a2bb12bb23b71da0f511f06e32495a6d6ad5c893aab19f5f65793caf399b9c68089d837894987154d1d3b2f4e600603f5a787b288
 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

diff --git a/sys-apps/coreutils/coreutils-9.4_p20240326.ebuild 
b/sys-apps/coreutils/coreutils-9.5.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.4_p20240326.ebuild
rename to sys-apps/coreutils/coreutils-9.5.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-26 Thread Sam James
commit: dcf85e211136ff294dd5394910c8418155746d1c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 27 05:12:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 05:16:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf85e21

sys-apps/coreutils: add 9.4_p20240326, drop 9.4_p20240323 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 ...{coreutils-9.4_p20240323.ebuild => coreutils-9.4_p20240326.ebuild} | 4 ++--
 sys-apps/coreutils/coreutils-.ebuild  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 81083f6fe9e0..ecd60d05455f 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,6 +3,6 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 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.4_p20240323.tar.xz 5975332 BLAKE2B 
c319b3f639f49f2074082722096464304ba48e01f5d118a8b955a77086ec7f508c3dd80cd5732c2983f776af4cd3936e79da4f748682a3d5a67aceb0a862709a
 SHA512 
915eb9428a98412542eab937a168ef5ccbd65246ac9e9e3dfba90210ecba53eb512a6b7c9c11de4bedd28c99a22a5ce445a94ff1cde79452f9eeb407725ce6f7
-DIST coreutils-9.4_p20240323.tar.xz.sig 833 BLAKE2B 
24575deb0e58e3dceb7e719f03923539de8d0d1b2a4543bb54c886c1086d5d80bbc7a7164e58b4cc504a9749a8642f33bc4a11de5ce29503fa1ac20dec4b33f5
 SHA512 
16948e6f0698f17e65463a62a36bf5deea350547d1452d8e790ab051ea04b8e7467cda4d2c69e210d46b7b2fc6252e0a87fffb474636156677a2eb1aece6d67f
+DIST coreutils-9.4_p20240326.tar.xz 5995388 BLAKE2B 
2aed1aae692182a657cd2c2a405c2e9939d8ca9cd0e15c7dbd4d6505a6e10704c8d958fa2f89736e27d4fe99be87bd50238610c6dd104aedc64532ac4828
 SHA512 
77d9f747adb1f2d40c9348f5fa14bb93e29807dfa8970d617d4ea543c95bce1c85e937229bd450373f74c511de8debd8645e7f86a508bc866b580bd1712ed300
+DIST coreutils-9.4_p20240326.tar.xz.sig 833 BLAKE2B 
158521535c2f1410c324e957bd199c0519d68f1927c16453dfb521af20a64fd277c3dfa3e83b46822b9dfeb0583471b100c04b92167949f622a6770b4bb60c73
 SHA512 
7f4578c4665bb3d4504eba4a2bb12bb23b71da0f511f06e32495a6d6ad5c893aab19f5f65793caf399b9c68089d837894987154d1d3b2f4e600603f5a787b288
 DIST coreutils-9.5-patches.tar.xz 5912 BLAKE2B 
873fbe1a60f8f8034b3d35796146765ce388952d649c32dc81ca0e4c2823c9f2f00b69bc5cb3af686434867459b6dc378fb9a6d59563d28b87c3ee1eceeedbb3
 SHA512 
4b4ad356615d046b8d67ea35b789f887a787ab01ece3234f6344518aef33cd30ca364fef5d85e11acfdb24003114c16ffdab82922fb135d5425fbcd541064a76

diff --git a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild 
b/sys-apps/coreutils/coreutils-9.4_p20240326.ebuild
similarity index 99%
rename from sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
rename to sys-apps/coreutils/coreutils-9.4_p20240326.ebuild
index 66cc53b9133f..187e8ba621a9 100644
--- a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4_p20240326.ebuild
@@ -9,7 +9,7 @@ EAPI=8
 #
 # Also recommend subscribing to the coreutils and bug-coreutils MLs.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc
 inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).170-7b206"
+   MY_SNAPSHOT="$(ver_cut 1-2).185-541b02"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 66cc53b9133f..187e8ba621a9 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-26 Thread Sam James
commit: f2059605a643678ff4c26bd8104140281360c47a
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 26 23:40:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 26 23:40:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2059605

sys-apps/coreutils: fully skip tty-eof.pl

It's an unreliable/flaky test, not just a known failure, so XFAIL isn't 
appropriate
as it may pass sometimes -> unexpected XPASS.

tdr reported this passed for him which is how I noticed my silly error.

Bug: https://bugs.gentoo.org/910640
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild| 9 ++---
 sys-apps/coreutils/coreutils-9.4.ebuild   | 9 ++---
 sys-apps/coreutils/coreutils-9.4_p20240323.ebuild | 9 ++---
 sys-apps/coreutils/coreutils-.ebuild  | 9 ++---
 4 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index adf51c2bed02..bb3b8847f239 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -244,11 +244,14 @@ src_test() {
# We have a patch which fixes this (bug #259876)
#tests/touch/not-owner
#tests/touch/not-owner.sh
-
-   # bug #910640
-   tests/tty/tty-eof.pl
)
 
+   # This test is flaky (bug #910640).
+   cat > tests/tty/tty-eof.pl <<-EOF || die
+   #!/usr/bin/perl
+   exit 77;
+   EOF
+
# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is 
needed
# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 4c826357e157..7f7d258299b7 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -242,11 +242,14 @@ src_test() {
# We have a patch which fixes this (bug #259876)
#tests/touch/not-owner
#tests/touch/not-owner.sh
-
-   # bug #910640
-   tests/tty/tty-eof.pl
)
 
+   # This test is flaky (bug #910640).
+   cat > tests/tty/tty-eof.pl <<-EOF || die
+   #!/usr/bin/perl
+   exit 77;
+   EOF
+
# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is 
needed
# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild 
b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
index 95bb5424c9b2..66cc53b9133f 100644
--- a/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
@@ -241,11 +241,14 @@ src_test() {
# We have a patch which fixes this (bug #259876)
#tests/touch/not-owner
#tests/touch/not-owner.sh
-
-   # bug #910640
-   tests/tty/tty-eof.pl
)
 
+   # This test is flaky (bug #910640).
+   cat > tests/tty/tty-eof.pl <<-EOF || die
+   #!/usr/bin/perl
+   exit 77;
+   EOF
+
# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is 
needed
# to downgrade them to FAIL.

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 95bb5424c9b2..66cc53b9133f 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -241,11 +241,14 @@ src_test() {
# We have a patch which fixes this (bug #259876)
#tests/touch/not-owner
#tests/touch/not-owner.sh
-
-   # bug #910640
-   tests/tty/tty-eof.pl
)
 
+   # This test is flaky (bug #910640).
+   cat > tests/tty/tty-eof.pl <<-EOF || die
+   #!/usr/bin/perl
+   exit 77;
+   EOF
+
# We set DISABLE_HARD_ERRORS because some of the tests hard error-out
# because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is 
needed
# to downgrade them to FAIL.



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2024-03-23 Thread Sam James
commit: 941cbe454bc58735a04ac0bbcc83167cd9fd8aa8
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 05:57:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 05:57:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941cbe45

sys-apps/coreutils: backport Clang 18 patch

Closes: https://bugs.gentoo.org/926349
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild |  1 +
 ...reutils-9.4-gnulib-clang-18-c23-stdckdint.patch | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index 9ed86c076690..adf51c2bed02 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -118,6 +118,7 @@ src_prepare() {
# Upstream patches
"${FILESDIR}"/${P}-gnulib-openssl-1.1.patch
"${FILESDIR}"/${P}-CVE-2024-0684.patch
+   "${FILESDIR}"/${P}-gnulib-clang-18-c23-stdckdint.patch
)
 
if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then

diff --git 
a/sys-apps/coreutils/files/coreutils-9.4-gnulib-clang-18-c23-stdckdint.patch 
b/sys-apps/coreutils/files/coreutils-9.4-gnulib-clang-18-c23-stdckdint.patch
new file mode 100644
index ..44982a17a78c
--- /dev/null
+++ b/sys-apps/coreutils/files/coreutils-9.4-gnulib-clang-18-c23-stdckdint.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/926349
+https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=67c298c36f6
+
+From 67c298c36f69b6906840b7584be06b7b5f33f829 Mon Sep 17 00:00:00 2001
+From: Paul Eggert 
+Date: Tue, 16 Jan 2024 17:21:08 -0800
+Subject: [PATCH] posixtm: pacify clang 18
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+Problem reported by Khem Raj in:
+https://lists.gnu.org/r/bug-gnulib/2024-01/msg00045.html
+* lib/posixtm.c (posixtime): Pacify clang 18 by converting bool to int.
+Arguably this is a bug in draft C2x, since the non-pointer args to
+ckd_add should promote just like any other expressions do;
+but that’s not clang’s fault.
+--- a/lib/posixtm.c
 b/lib/posixtm.c
+@@ -191,7 +191,7 @@ posixtime (time_t *p, const char *s, unsigned int 
syntax_bits)
+  | (tm0.tm_min ^ tm1.tm_min)
+  | (tm0.tm_sec ^ tm1.tm_sec)))
+ {
+-  if (ckd_add (, t, leapsec))
++  if (ckd_add (, t, +leapsec))
+ return false;
+   *p = t;
+   return true;
+-- 
+2.17.1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-23 Thread Sam James
commit: d74379a8d555c506395cebddd03b9aca1e83f4f2
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 20:26:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 20:26:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74379a8

sys-apps/coreutils: backport test fixes to 9.4-r1 too

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 59 +++---
 1 file changed, 45 insertions(+), 14 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index 405c65ddf912..9ed86c076690 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -82,7 +82,13 @@ RDEPEND+="
!net-mail/base64
!sys-apps/mktemp
!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-23 Thread Sam James
commit: b6c182cea4b7c5516ddaa3d69dad06fd1c088ae7
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 20:08:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 20:08:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c182ce

sys-apps/coreutils: backport test fixes to 9.4

Bug: https://bugs.gentoo.org/413621
Bug: https://bugs.gentoo.org/629660
Bug: https://bugs.gentoo.org/803377
Bug: https://bugs.gentoo.org/898370
Bug: https://bugs.gentoo.org/910640
Bug: https://bugs.gentoo.org/926349
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 59 +
 1 file changed, 45 insertions(+), 14 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 40a2c20ada63..4c826357e157 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -82,7 +82,13 @@ RDEPEND+="
!net-mail/base64
!sys-apps/mktemp
!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-23 Thread Sam James
commit: 502e78b6185f3351434b7345dd9b36ce4131a76e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 20:01:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 20:02:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502e78b6

sys-apps/coreutils: add 9.4_p20240323 (unkeyworded)

Reworked tests as well.

Closes: https://bugs.gentoo.org/413621
Closes: https://bugs.gentoo.org/629660
Closes: https://bugs.gentoo.org/803377
Closes: https://bugs.gentoo.org/898370
Closes: https://bugs.gentoo.org/910640
Closes: https://bugs.gentoo.org/926349
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest|  3 ++
 ...-.ebuild => coreutils-9.4_p20240323.ebuild} | 63 --
 sys-apps/coreutils/coreutils-.ebuild   | 63 --
 3 files changed, 97 insertions(+), 32 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 71b00732697f..81083f6fe9e0 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,3 +3,6 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 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.4_p20240323.tar.xz 5975332 BLAKE2B 
c319b3f639f49f2074082722096464304ba48e01f5d118a8b955a77086ec7f508c3dd80cd5732c2983f776af4cd3936e79da4f748682a3d5a67aceb0a862709a
 SHA512 
915eb9428a98412542eab937a168ef5ccbd65246ac9e9e3dfba90210ecba53eb512a6b7c9c11de4bedd28c99a22a5ce445a94ff1cde79452f9eeb407725ce6f7
+DIST coreutils-9.4_p20240323.tar.xz.sig 833 BLAKE2B 
24575deb0e58e3dceb7e719f03923539de8d0d1b2a4543bb54c886c1086d5d80bbc7a7164e58b4cc504a9749a8642f33bc4a11de5ce29503fa1ac20dec4b33f5
 SHA512 
16948e6f0698f17e65463a62a36bf5deea350547d1452d8e790ab051ea04b8e7467cda4d2c69e210d46b7b2fc6252e0a87fffb474636156677a2eb1aece6d67f
+DIST coreutils-9.5-patches.tar.xz 5912 BLAKE2B 
873fbe1a60f8f8034b3d35796146765ce388952d649c32dc81ca0e4c2823c9f2f00b69bc5cb3af686434867459b6dc378fb9a6d59563d28b87c3ee1eceeedbb3
 SHA512 
4b4ad356615d046b8d67ea35b789f887a787ab01ece3234f6344518aef33cd30ca364fef5d85e11acfdb24003114c16ffdab82922fb135d5425fbcd541064a76

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
similarity index 86%
copy from sys-apps/coreutils/coreutils-.ebuild
copy to sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
index 14e289049915..95bb5424c9b2 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4_p20240323.ebuild
@@ -13,7 +13,7 @@ PYTHON_COMPAT=( python3_{10..11} )
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc
 inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 
-MY_PATCH="${PN}-9.4-patches"
+MY_PATCH="${PN}-9.5-patches"
 DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
 HOMEPAGE="https://www.gnu.org/software/coreutils/;
 
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb"
+   MY_SNAPSHOT="$(ver_cut 1-2).170-7b206"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
@@ -82,7 +82,13 @@ RDEPEND+="
!net-mail/base64
!sys-apps/mktemp
!https://www.gnu.org/software/coreutils/;
 
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb"
+   MY_SNAPSHOT="$(ver_cut 1-2).170-7b206"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2024-03-23 Thread Sam James
commit: 68fa11160c7cc25a0232c490336e2eae913e1e8e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 23 17:43:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 23 17:43:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68fa1116

sys-apps/coreutils: drop 9.1-r2, 9.3-r2, 9.3-r3

Note that deliberately keeping 8.32-r1 for now given it continues to be useful
for ZFS users suffering from misc bugs...

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest|   5 -
 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 250 ---
 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 272 
 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 276 -
 .../coreutils-9.1-fix-rename-simple-backups.patch  |  38 ---
 ...utils-9.3-cp-parents-preserve-permissions.patch |  86 ---
 .../coreutils-9.3-old-kernel-copy_file_range.patch |  89 ---
 7 files changed, 1016 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 8f7b83030d5d..71b00732697f 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,10 +1,5 @@
 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.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
-DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
-DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
-DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
-DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5
 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

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
deleted file mode 100644
index 61d1ba7df222..
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ /dev/null
@@ -1,250 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintainers also maintain the package in Fedora and 
may
-# backport fixes which we want to pick up.
-
-PYTHON_COMPAT=( python3_{10..11} )

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-22 Thread Arthur Zamarin
commit: e28e05fa1f1157361c77a0f15891bb6ff8ec8ad2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 22 13:14:50 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 22 13:14:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28e05fa

sys-apps/coreutils: Stabilize 9.4-r1 amd64, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index df6e5ddfed69..405c65ddf912 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-22 Thread Arthur Zamarin
commit: b6caf4ee1ab3d13d55c51b265d721afb33b41934
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 22 13:14:47 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 22 13:14:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6caf4ee

sys-apps/coreutils: Stabilize 9.4-r1 x86, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index 886fab7d41eb..df6e5ddfed69 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-14 Thread Arthur Zamarin
commit: b95a302c3cec5f6fb75fb561e1578a993907ab00
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 14 06:52:56 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 14 06:53:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b95a302c

sys-apps/coreutils: Stabilize 9.4-r1 ppc, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index 35ebf58c3f8e..96f9646f2c50 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-14 Thread Arthur Zamarin
commit: cc23d239d370cb67c68b52ae9b7d911131a92c38
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 14 06:53:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 14 06:53:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc23d239

sys-apps/coreutils: Stabilize 9.4-r1 arm, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index b34e069e0106..e1c238ec0b8c 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-14 Thread Arthur Zamarin
commit: da89600cb98dddcc4bb133d345753becfcf16b07
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 14 06:52:59 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 14 06:53:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da89600c

sys-apps/coreutils: Stabilize 9.4-r1 ppc64, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index 96f9646f2c50..b34e069e0106 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-03-14 Thread Arthur Zamarin
commit: c1437b40c8e16d78dcdde20e04f1cc4917bfed8a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 14 06:53:04 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 14 06:53:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1437b40

sys-apps/coreutils: Stabilize 9.4-r1 arm64, #926980

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
index e1c238ec0b8c..886fab7d41eb 100644
--- a/sys-apps/coreutils/coreutils-9.4-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2024-01-30 Thread Sam James
commit: f00b339a42285e269063b7cdecb9d5e726ee2bf7
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 30 20:22:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 30 20:49:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00b339a

sys-apps/coreutils: patch CVE-2024-0684

Bug: https://bugs.gentoo.org/922474
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild | 273 +
 .../files/coreutils-9.4-CVE-2024-0684.patch|  31 +++
 2 files changed, 304 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.4-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
new file mode 100644
index ..35ebf58c3f8e
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.4-r1.ebuild
@@ -0,0 +1,273 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+#
+# Also recommend subscribing to the coreutils and bug-coreutils MLs.
+
+PYTHON_COMPAT=( python3_{10..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.4-patches"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !9.4?), we may want to wire up USE=systemd:
+   # still experimental at the moment, but:
+   # 
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=85edb4afbd119fb69a0d53e1beb71f46c9525dd0
+   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"
+   $(usev !caps --disable-libcap)
+   $(use_enable nls)
+   $(use_enable acl)
+   $(use_enable multicall single-binary)
+   $(use_enable xattr)
+   $(use_with gmp libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, dev-lisp/sbcl/, dev-util/strace/files/, profiles/updates/, ...

2024-01-19 Thread Michał Górny
commit: 717506d584ca9e89a09f72751a624300ebf9d28e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 18 14:40:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 19 14:44:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717506d5

Move {dev-util → dev-debug}/strace

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/jail/jail-2.0-r4.ebuild| 4 ++--
 {dev-util => dev-debug}/strace/Manifest | 0
 {dev-util => dev-debug}/strace/files/strace-5.11-static.patch   | 0
 .../strace/files/strace-6.4-linux-headers-6.5.patch | 0
 {dev-util => dev-debug}/strace/files/strace-6.5-static.patch| 0
 {dev-util => dev-debug}/strace/metadata.xml | 0
 {dev-util => dev-debug}/strace/strace-6.2.ebuild| 2 +-
 {dev-util => dev-debug}/strace/strace-6.3.ebuild| 2 +-
 {dev-util => dev-debug}/strace/strace-6.4-r1.ebuild | 2 +-
 {dev-util => dev-debug}/strace/strace-6.6.ebuild| 2 +-
 {dev-util => dev-debug}/strace/strace-.ebuild   | 2 +-
 dev-lisp/sbcl/sbcl-2.3.11.ebuild| 4 ++--
 dev-lisp/sbcl/sbcl-2.3.5.ebuild | 4 ++--
 dev-lisp/sbcl/sbcl-2.4.0.ebuild | 4 ++--
 profiles/arch/hppa/package.mask | 4 ++--
 profiles/updates/1Q-2024| 1 +
 sys-apps/coreutils/coreutils-8.32-r1.ebuild | 6 +++---
 sys-apps/coreutils/coreutils-9.1-r2.ebuild  | 6 +++---
 sys-apps/coreutils/coreutils-9.3-r2.ebuild  | 6 +++---
 sys-apps/coreutils/coreutils-9.3-r3.ebuild  | 6 +++---
 sys-apps/coreutils/coreutils-9.4.ebuild | 2 +-
 sys-apps/coreutils/coreutils-.ebuild| 4 ++--
 sys-fs/libeatmydata/libeatmydata-131.ebuild | 4 ++--
 23 files changed, 33 insertions(+), 32 deletions(-)

diff --git a/app-misc/jail/jail-2.0-r4.ebuild b/app-misc/jail/jail-2.0-r4.ebuild
index 884a5fc7c489..767945e9dad9 100644
--- a/app-misc/jail/jail-2.0-r4.ebuild
+++ b/app-misc/jail/jail-2.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,8 +14,8 @@ SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 x86"
 
 RDEPEND="
+   dev-debug/strace
dev-lang/perl
-   dev-util/strace
 "
 
 PATCHES=(

diff --git a/dev-util/strace/Manifest b/dev-debug/strace/Manifest
similarity index 100%
rename from dev-util/strace/Manifest
rename to dev-debug/strace/Manifest

diff --git a/dev-util/strace/files/strace-5.11-static.patch 
b/dev-debug/strace/files/strace-5.11-static.patch
similarity index 100%
rename from dev-util/strace/files/strace-5.11-static.patch
rename to dev-debug/strace/files/strace-5.11-static.patch

diff --git a/dev-util/strace/files/strace-6.4-linux-headers-6.5.patch 
b/dev-debug/strace/files/strace-6.4-linux-headers-6.5.patch
similarity index 100%
rename from dev-util/strace/files/strace-6.4-linux-headers-6.5.patch
rename to dev-debug/strace/files/strace-6.4-linux-headers-6.5.patch

diff --git a/dev-util/strace/files/strace-6.5-static.patch 
b/dev-debug/strace/files/strace-6.5-static.patch
similarity index 100%
rename from dev-util/strace/files/strace-6.5-static.patch
rename to dev-debug/strace/files/strace-6.5-static.patch

diff --git a/dev-util/strace/metadata.xml b/dev-debug/strace/metadata.xml
similarity index 100%
rename from dev-util/strace/metadata.xml
rename to dev-debug/strace/metadata.xml

diff --git a/dev-util/strace/strace-6.2.ebuild 
b/dev-debug/strace/strace-6.2.ebuild
similarity index 98%
rename from dev-util/strace/strace-6.2.ebuild
rename to dev-debug/strace/strace-6.2.ebuild
index 386b07093734..5335711e7f1a 100644
--- a/dev-util/strace/strace-6.2.ebuild
+++ b/dev-debug/strace/strace-6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/dev-util/strace/strace-6.3.ebuild 
b/dev-debug/strace/strace-6.3.ebuild
similarity index 98%
rename from dev-util/strace/strace-6.3.ebuild
rename to dev-debug/strace/strace-6.3.ebuild
index 24320451eac7..463bac04d6cb 100644
--- a/dev-util/strace/strace-6.3.ebuild
+++ b/dev-debug/strace/strace-6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/dev-util/strace/strace-6.4-r1.ebuild 
b/dev-debug/strace/strace-6.4-r1.ebuild
similarity index 98%
rename from dev-util/strace/strace-6.4-r1.ebuild
rename to 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-01-15 Thread Viorel Munteanu
commit: 2c42fbb91de7ba69d83ad4f8b8ba9d20a98cf9c0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Jan 15 22:51:02 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Jan 16 05:41:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c42fbb9

sys-apps/coreutils: Stabilize 9.4 x86, #916089

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Viorel Munteanu  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 5e6734d78ae7..f28b7d85381c 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2024-01-15 Thread Viorel Munteanu
commit: 283b44579ddbb779d6c96fb053a99da98861819e
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Jan 15 22:32:38 2024 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Tue Jan 16 05:41:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=283b4457

sys-apps/coreutils: Stabilize 9.4 amd64, #916089

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Viorel Munteanu  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 69d10c2f1533..5e6734d78ae7 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-12-22 Thread Arthur Zamarin
commit: c88bc0a07cf50d0b7a702e6bf88bd43fb86b78f1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 22 17:47:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 22 17:47:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88bc0a0

sys-apps/coreutils: remove mention of app-misc/realpath

Bug: https://bugs.gentoo.org/908406
Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-8.32-r1.ebuild | 1 -
 sys-apps/coreutils/coreutils-9.1-r2.ebuild  | 1 -
 sys-apps/coreutils/coreutils-9.3-r2.ebuild  | 1 -
 sys-apps/coreutils/coreutils-9.3-r3.ebuild  | 1 -
 sys-apps/coreutils/coreutils-9.4.ebuild | 1 -
 sys-apps/coreutils/coreutils-.ebuild| 1 -
 6 files changed, 6 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.32-r1.ebuild 
b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
index 40db74840339..3dc5686f020d 100644
--- a/sys-apps/coreutils/coreutils-8.32-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
@@ -50,7 +50,6 @@ RDEPEND+="
!sys-apps/util-linux[kill]
!sys-process/procps[kill]
)
-   !app-misc/realpath

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-10-26 Thread Sam James
commit: e136ecbd67520ed08a9d073b2d96c139368a6b66
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 22:38:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 22:38:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e136ecbd

sys-apps/coreutils: Stabilize 9.4 ppc64, #916089

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index ebf5840efe7b..13a238427247 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-10-23 Thread Arthur Zamarin
commit: 5625f5df643bd125783b68bb0e47a6753eec3f0d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Oct 23 14:04:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Oct 23 14:04:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5625f5df

sys-apps/coreutils: Stabilize 9.4 ppc, #916089

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 13cd9c708011..ebf5840efe7b 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-10-22 Thread Sam James
commit: 577e344d50dfa44f54f7ce77a7247486a97a54e1
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 22 12:22:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 22 12:22:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577e344d

sys-apps/coreutils: Stabilize 9.4 arm, #916089

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 65deec47eb27..13cd9c708011 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2023-09-01 Thread Sam James
commit: a3a11cfe962d506e6e6e5c96cdab2376c8167110
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  1 14:00:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  1 14:04:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a11cfe

sys-apps/coreutils: fix build w/ https://bugs.gentoo.org/913368
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.4.ebuild|   1 +
 .../files/coreutils-9.4-gnulib-openssl-1.1.patch   | 165 +
 2 files changed, 166 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.4.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
index 1eeb24a0282e..65deec47eb27 100644
--- a/sys-apps/coreutils/coreutils-9.4.ebuild
+++ b/sys-apps/coreutils/coreutils-9.4.ebuild
@@ -111,6 +111,7 @@ src_prepare() {
# TODO: past 2025, we may need to add our own hack for bug #907474.
local PATCHES=(
# Upstream patches
+   "${FILESDIR}"/${P}-gnulib-openssl-1.1.patch
)
 
if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then

diff --git a/sys-apps/coreutils/files/coreutils-9.4-gnulib-openssl-1.1.patch 
b/sys-apps/coreutils/files/coreutils-9.4-gnulib-openssl-1.1.patch
new file mode 100644
index ..3576c7d0d1eb
--- /dev/null
+++ b/sys-apps/coreutils/files/coreutils-9.4-gnulib-openssl-1.1.patch
@@ -0,0 +1,165 @@
+https://bugs.gentoo.org/913368
+https://debbugs.gnu.org/65674
+https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=ce20e238f0b4448a098bd7c076c131edbc759764
+
+From ce20e238f0b4448a098bd7c076c131edbc759764 Mon Sep 17 00:00:00 2001
+From: Bruno Haible 
+Date: Fri, 1 Sep 2023 12:55:30 +0200
+Subject: crypto/{sha*,md5,sm3}-buffer: Fix --with-openssl (regr. 2023-08-26).
+
+Reported by Agostino Sarubbo via Sam James  in
+.
+
+* lib/sha1.h: Test the OpenSSL major version before attempting to
+include .
+* lib/sha256.h: Likewise.
+* lib/sha512.h: Likewise.
+* lib/md5.h: Likewise.
+* lib/sm3.h: Likewise.
+--- a/lib/md5.h
 b/lib/md5.h
+@@ -33,14 +33,18 @@
+ #   define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API.  */
+ #  endif
+ /* If  would give a compile-time error, don't use OpenSSL.  
*/
+-#  include 
+-#  if (OPENSSL_CONFIGURED_API \
+-   < (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
+-  ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
+-  + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
+-  + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
+-#   undef HAVE_OPENSSL_MD5
+-#  else
++#  include 
++#  if OPENSSL_VERSION_MAJOR >= 3
++#   include 
++#   if (OPENSSL_CONFIGURED_API \
++< (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
++   ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
++   + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
++   + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
++#undef HAVE_OPENSSL_MD5
++#   endif
++#  endif
++#  if HAVE_OPENSSL_MD5
+ #   include 
+ #  endif
+ # endif
+--- a/lib/sha1.h
 b/lib/sha1.h
+@@ -32,14 +32,18 @@
+ #   define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API.  */
+ #  endif
+ /* If  would give a compile-time error, don't use OpenSSL.  
*/
+-#  include 
+-#  if (OPENSSL_CONFIGURED_API \
+-   < (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
+-  ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
+-  + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
+-  + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
+-#   undef HAVE_OPENSSL_SHA1
+-#  else
++#  include 
++#  if OPENSSL_VERSION_MAJOR >= 3
++#   include 
++#   if (OPENSSL_CONFIGURED_API \
++< (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
++   ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
++   + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
++   + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
++#undef HAVE_OPENSSL_SHA1
++#   endif
++#  endif
++#  if HAVE_OPENSSL_SHA1
+ #   include 
+ #  endif
+ # endif
+--- a/lib/sha256.h
 b/lib/sha256.h
+@@ -31,14 +31,18 @@
+ #   define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API.  */
+ #  endif
+ /* If  would give a compile-time error, don't use OpenSSL.  
*/
+-#  include 
+-#  if (OPENSSL_CONFIGURED_API \
+-   < (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
+-  ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
+-  + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
+-  + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
+-#   undef HAVE_OPENSSL_SHA256
+-#  else
++#  include 
++#  if OPENSSL_VERSION_MAJOR >= 3
++#   include 
++#   if (OPENSSL_CONFIGURED_API \
++< (OPENSSL_API_COMPAT < 0x90L ? OPENSSL_API_COMPAT : \
++   ((OPENSSL_API_COMPAT >> 28) & 0xF) * 1 \
++   + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
++   + ((OPENSSL_API_COMPAT >> 12) & 0xFF)))
++#undef HAVE_OPENSSL_SHA256
++#   endif
++#  endif

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-08-29 Thread Sam James
commit: 8b35c396c7912df002cce35b36164741f4d39305
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 29 19:07:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 29 19:08:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b35c396

sys-apps/coreutils: add 9.4, drop 9.3_p20230827

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 .../{coreutils-9.3_p20230827.ebuild => coreutils-9.4.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 8bef2349e5cf..8f7b83030d5d 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -5,6 +5,6 @@ DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
 DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
 DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5
-DIST coreutils-9.3_p20230827.tar.xz 5992008 BLAKE2B 
e831f3fa4792c44e7f2021bedc6f3c8f8a63c6c6eec3db01a6bef90a530901e32e98ba418359d6b4169822e285b8416b6d20c9d30e0674665f9f3d5fda36cb93
 SHA512 
c190a06b52c7214b86bc96af412a2ae63407e18d112897ba5670e68d32102145c04355805127788016dd5b3d94ba109e1151f44598d837ce566b8da9426ba9f6
-DIST coreutils-9.3_p20230827.tar.xz.sig 833 BLAKE2B 
00a50ec68024006e7db58be80a9cc478ae79fc305ded82c047dc13c186b559411fafe2c208c0f1a7df6143a11918c16ef3ab3479d06f259b38d0f63c9bc784ce
 SHA512 
19248076f448620ede778f2f70ede818233824aaa31acb83756bc3ecd279e2a0f58e74fc454424615f3042faaf7275d7eead89bb35fa65c56740433602d23f12
 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

diff --git a/sys-apps/coreutils/coreutils-9.3_p20230827.ebuild 
b/sys-apps/coreutils/coreutils-9.4.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.3_p20230827.ebuild
rename to sys-apps/coreutils/coreutils-9.4.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-08-27 Thread Sam James
commit: 507bf929481ed9ebcfb9e3f92787df7ee92e680e
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 27 23:16:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 27 23:31:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507bf929

sys-apps/coreutils: add 9.3_p20230827 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 ...{coreutils-9.3_p20230826.ebuild => coreutils-9.3_p20230827.ebuild} | 2 +-
 sys-apps/coreutils/coreutils-.ebuild  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index d1720a420e18..8bef2349e5cf 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -5,6 +5,6 @@ DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
 DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
 DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5
-DIST coreutils-9.3_p20230826.tar.xz 5974860 BLAKE2B 
fddfd36c6c3bbe0041369a7e009851056fc62da8e45b1a0a9bbb33b7d0037f251826c5b8ba10f16bf92ba79dca35d6ac475cae3899c45e2b1cfb0cfa3a3ce297
 SHA512 
70de2816a8fca0fb4450edec3309685263c46d46214765c4ed1f0fac600384d759d4fc191fac12e48ab9a21d72c26443398909d1f753b9f3eb4026ea2c912a21
-DIST coreutils-9.3_p20230826.tar.xz.sig 833 BLAKE2B 
6b77be2c81cb0622dd3012ac314a9c00505f8220b446162d1b41257ae0652789c6caef5ecaa3f2d08da68141a12f0806d93608233eae1a7d5568e9a424de77a1
 SHA512 
2ac6896705abc0a7b008864316889c20ba2c4ddb650af9c80815f3a387a2e134356414526a5913bc3c5f0062ca257850fa3eb4fa20b2cc2b86c373f878986982
+DIST coreutils-9.3_p20230827.tar.xz 5992008 BLAKE2B 
e831f3fa4792c44e7f2021bedc6f3c8f8a63c6c6eec3db01a6bef90a530901e32e98ba418359d6b4169822e285b8416b6d20c9d30e0674665f9f3d5fda36cb93
 SHA512 
c190a06b52c7214b86bc96af412a2ae63407e18d112897ba5670e68d32102145c04355805127788016dd5b3d94ba109e1151f44598d837ce566b8da9426ba9f6
+DIST coreutils-9.3_p20230827.tar.xz.sig 833 BLAKE2B 
00a50ec68024006e7db58be80a9cc478ae79fc305ded82c047dc13c186b559411fafe2c208c0f1a7df6143a11918c16ef3ab3479d06f259b38d0f63c9bc784ce
 SHA512 
19248076f448620ede778f2f70ede818233824aaa31acb83756bc3ecd279e2a0f58e74fc454424615f3042faaf7275d7eead89bb35fa65c56740433602d23f12
 DIST coreutils-9.4-patches.tar.xz 6756 BLAKE2B 
677454409ccb629fd0efde1e15d8f9c13f208391e63a17816011e84d4ca3fb2a42c2a60853f213ade2a53c821d76fd8924c59388d160c6e7c7fa5755e1db4c68
 SHA512 
2025c80b5ada92bafb479c678917862be208534becd8b347d335032c6b4cc23c7b7630f15ca7dd3b5d691567cb70f3491753e29441cc54d8700cc3d966a5e743

diff --git a/sys-apps/coreutils/coreutils-9.3_p20230826.ebuild 
b/sys-apps/coreutils/coreutils-9.3_p20230827.ebuild
similarity index 99%
rename from sys-apps/coreutils/coreutils-9.3_p20230826.ebuild
rename to sys-apps/coreutils/coreutils-9.3_p20230827.ebuild
index 4b4df6b130d5..1eeb24a0282e 100644
--- a/sys-apps/coreutils/coreutils-9.3_p20230826.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3_p20230827.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).147-d553ab"
+   MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 4b4df6b130d5..1eeb24a0282e 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).147-d553ab"
+   MY_SNAPSHOT="$(ver_cut 1-2).156-b3afb"

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-08-26 Thread Sam James
commit: 109e59edd8f65a9d60778c30c8e3674fa4348d27
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 26 20:31:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 26 20:32:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109e59ed

sys-apps/coreutils: add 9.3_p20230826 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest  |  3 +++
 ...ls-.ebuild => coreutils-9.3_p20230826.ebuild} | 20 ++--
 sys-apps/coreutils/coreutils-.ebuild | 20 ++--
 3 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index ad56e3b431fc..d1720a420e18 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -5,3 +5,6 @@ DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
 DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
 DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5
+DIST coreutils-9.3_p20230826.tar.xz 5974860 BLAKE2B 
fddfd36c6c3bbe0041369a7e009851056fc62da8e45b1a0a9bbb33b7d0037f251826c5b8ba10f16bf92ba79dca35d6ac475cae3899c45e2b1cfb0cfa3a3ce297
 SHA512 
70de2816a8fca0fb4450edec3309685263c46d46214765c4ed1f0fac600384d759d4fc191fac12e48ab9a21d72c26443398909d1f753b9f3eb4026ea2c912a21
+DIST coreutils-9.3_p20230826.tar.xz.sig 833 BLAKE2B 
6b77be2c81cb0622dd3012ac314a9c00505f8220b446162d1b41257ae0652789c6caef5ecaa3f2d08da68141a12f0806d93608233eae1a7d5568e9a424de77a1
 SHA512 
2ac6896705abc0a7b008864316889c20ba2c4ddb650af9c80815f3a387a2e134356414526a5913bc3c5f0062ca257850fa3eb4fa20b2cc2b86c373f878986982
+DIST coreutils-9.4-patches.tar.xz 6756 BLAKE2B 
677454409ccb629fd0efde1e15d8f9c13f208391e63a17816011e84d4ca3fb2a42c2a60853f213ade2a53c821d76fd8924c59388d160c6e7c7fa5755e1db4c68
 SHA512 
2025c80b5ada92bafb479c678917862be208534becd8b347d335032c6b4cc23c7b7630f15ca7dd3b5d691567cb70f3491753e29441cc54d8700cc3d966a5e743

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-9.3_p20230826.ebuild
similarity index 93%
copy from sys-apps/coreutils/coreutils-.ebuild
copy to sys-apps/coreutils/coreutils-9.3_p20230826.ebuild
index 1edd337eadd7..4b4df6b130d5 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3_p20230826.ebuild
@@ -9,11 +9,11 @@ EAPI=8
 #
 # Also recommend subscribing to the coreutils and bug-coreutils MLs.
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
 inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 
-MY_PATCH="${PN}-9.0_p20220409-patches-01"
+MY_PATCH="${PN}-9.4-patches"
 DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
 HOMEPAGE="https://www.gnu.org/software/coreutils/;
 
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
+   MY_SNAPSHOT="$(ver_cut 1-2).147-d553ab"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
@@ -108,12 +108,13 @@ src_unpack() {
 }
 
 src_prepare() {
+   # TODO: past 2025, we may need to add our own hack for bug #907474.
local PATCHES=(
# Upstream patches
)
 
-   if ! use vanilla && [[ -d "${WORKDIR}"/patch ]] ; then
-   PATCHES+=( "${WORKDIR}"/patch )
+   if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then
+   PATCHES+=( "${WORKDIR}"/${MY_PATCH} )
fi
 
default
@@ -135,10 +136,9 @@ src_prepare() {
 }
 
 src_configure() {
-   # On alpha at least, gnulib (as of 9.3) can't seem to figure out we need
-   # _F_O_B=64: https://debbugs.gnu.org/64123
-   append-lfs-flags
-
+   # 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: 7f94351d9a44b5752d7b8a5ef649a4575bffd2ae
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:48:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:48:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f94351d

sys-apps/coreutils: Stabilize 9.3-r3 arm64, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 8315e9e75bac..2d2fc1711cde 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: 5e08a932f8575a3d5b77e7d5bcaaf54cbb985897
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:48:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:48:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e08a932

sys-apps/coreutils: Stabilize 9.3-r3 ppc64, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 50638b03dbed..29236e76ef5d 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: a93147a9a8629fb15ed39369fefe09126864657f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:47:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:47:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93147a9

sys-apps/coreutils: Stabilize 9.3-r2 x86, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
index 84f4879368e4..fa74d232d350 100644
--- a/sys-apps/coreutils/coreutils-9.3-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: b0b8d3a258dffe64c1a9ad83464caa71dd8cb029
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:48:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:48:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b8d3a2

sys-apps/coreutils: Stabilize 9.3-r3 arm, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 4d89250ff4de..8315e9e75bac 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: b69edae43bd6d5a27fd539caa96fc91c08f6a69e
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:47:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:47:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69edae4

sys-apps/coreutils: Stabilize 9.3-r2 arm64, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
index fa74d232d350..7c4e42d82f63 100644
--- a/sys-apps/coreutils/coreutils-9.3-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: fa0c6e45b4f420a52387f084f86f3e57af37c4a5
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:47:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:47:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0c6e45

sys-apps/coreutils: Stabilize 9.3-r2 arm, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
index 7c4e42d82f63..10a3a8b7f58b 100644
--- a/sys-apps/coreutils/coreutils-9.3-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: 49eea4d1d4bf5a6bfe6f2e42432791312250162c
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:47:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:47:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49eea4d1

sys-apps/coreutils: Stabilize 9.3-r3 amd64, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 17c695066880..b67ffad3c265 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: 8ea0ceece3a22ee4cd78fadb8af33fc08152c055
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:48:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:48:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea0ceec

sys-apps/coreutils: Stabilize 9.3-r3 ppc, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 2d2fc1711cde..50638b03dbed 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-18 Thread Sam James
commit: 1557dfc402ced4a08a545d6e1973bd725cd0279d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 18 17:47:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 18 17:47:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1557dfc4

sys-apps/coreutils: Stabilize 9.3-r3 x86, #908991

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index b67ffad3c265..4d89250ff4de 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-17 Thread Sam James
commit: dc4e9a30d893cf24dddaaed8846d920ff5c11bab
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 17 06:11:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 17 06:11:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4e9a30

sys-apps/coreutils: Stabilize 9.3-r2 ppc64, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
index 8eb0b257c20d..84f4879368e4 100644
--- a/sys-apps/coreutils/coreutils-9.3-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-07-07 Thread Sam James
commit: d07f08e9eca716cc9c8ab88edbf5624c3834e923
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  7 22:48:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  7 22:51:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07f08e9

sys-apps/coreutils: update COREUTILS_GROUP name in src_test

This is only in a comment anyway, but I'll keep it for now with the fixed
name (since 2005!) as it may be useful.

This was changed upstream in:
```
commit a57516e20fe715b115b281d46d2370a952973342
Author: Paul Eggert  cs.ucla.edu>
Date:   Mon Apr 18 23:33:10 2005 +

(COREUTILS_GROUPS): Renamed from FETISH_GROUPS.
```

I've been wondering about this for a while, so thanks to vimproved for making
me actually check it.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-8.32-r1.ebuild | 2 +-
 sys-apps/coreutils/coreutils-9.1-r2.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-9.3-r2.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-9.3-r3.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-.ebuild| 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.32-r1.ebuild 
b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
index 9115d134aba6..40db74840339 100644
--- a/sys-apps/coreutils/coreutils-8.32-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
@@ -171,7 +171,7 @@ src_test() {
 
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
-   #export FETISH_GROUPS="portage wheel"
+   #export COREUTILS_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" \
emake -j1 -k check
 }

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 4cdfdc3f3bed..fc47f7eaacd1 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -200,7 +200,7 @@ src_test() {
 
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
-   #export FETISH_GROUPS="portage wheel"
+   #export COREUTILS_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" emake -k check VERBOSE=yes
 }
 

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
index a85afed513e4..8eb0b257c20d 100644
--- a/sys-apps/coreutils/coreutils-9.3-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -221,7 +221,7 @@ src_test() {
 
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
-   #export FETISH_GROUPS="portage wheel"
+   #export COREUTILS_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" gl_public_submodule_commit= \
emake -k check VERBOSE=yes
 }

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 0bc3d900f5f5..17c695066880 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -225,7 +225,7 @@ src_test() {
 
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
-   #export FETISH_GROUPS="portage wheel"
+   #export COREUTILS_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" gl_public_submodule_commit= \
emake -k check VERBOSE=yes
 }

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 3e4dc9a20eb0..1edd337eadd7 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -220,7 +220,7 @@ src_test() {
 
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
-   #export FETISH_GROUPS="portage wheel"
+   #export COREUTILS_GROUPS="portage wheel"
env PATH="${T}/mount-wrappers:${PATH}" gl_public_submodule_commit= \
emake -k check VERBOSE=yes
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-06-27 Thread Sam James
commit: d0560cacf244bf8622d071fd88c20e20527f29f7
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jun 27 15:37:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 16:11:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0560cac

sys-apps/coreutils: stable 9.3-r3 for hppa/sparc, bug #908991

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r3.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
index ab1c0e9a1cbd..0bc3d900f5f5 100644
--- a/sys-apps/coreutils/coreutils-9.3-r3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2023-06-22 Thread Sam James
commit: 58a2679b128083139ce5baddb22dacfd12102a0f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 22 07:21:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 22 07:22:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a2679b

sys-apps/coreutils: drop 9.2-r2, 9.3, 9.3-r1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest|   2 -
 sys-apps/coreutils/coreutils-9.2-r2.ebuild | 269 -
 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 269 -
 sys-apps/coreutils/coreutils-9.3.ebuild| 266 
 .../coreutils-9.2-cksum-result-reporting.patch |  59 -
 .../coreutils-9.2-cp-reflink-auto-fallback.patch   | 130 --
 6 files changed, 995 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index fb0594f511e3..ad56e3b431fc 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,7 +3,5 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
 DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
-DIST coreutils-9.2.tar.xz 5773008 BLAKE2B 
026e01718d79dd95bf645088d395584cbd422bb318f414a6ad325aea5deeec7aecb63217c1ce8231e81dd3b6fee1c85c60616c57ef8e2e1d0b9d764fa5a68908
 SHA512 
7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c
-DIST coreutils-9.2.tar.xz.sig 833 BLAKE2B 
225f6ea9d6c2a2b0e47093b6c10d648b8d847daf0733eeb779eb01cffde47f67b3328bdfb214298d669689f5de76f3c64384a6471dfc4ccc3a238bfc1943e654
 SHA512 
4219f3103d829841a11bf1fe42ae277a44347e555fbbaf48e5e87cce48deb96753cb6d25f2571b88685a164acb9f016ff7ea02346b799ce954599fa0124ef070
 DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
 DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5

diff --git a/sys-apps/coreutils/coreutils-9.2-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.2-r2.ebuild
deleted file mode 100644
index 1ca5c4dd88c7..
--- a/sys-apps/coreutils/coreutils-9.2-r2.ebuild
+++ /dev/null
@@ -1,269 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintainers also maintain the package in Fedora and 
may
-# backport fixes which we want to pick up.
-
-PYTHON_COMPAT=( python3_{9..11} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
-inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
-
-MY_PATCH="${PN}-9.0_p20220409-patches-01"
-DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
-HOMEPAGE="https://www.gnu.org/software/coreutils/;
-
-if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
-   inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
-   # Note: could put this in devspace, but if it's gone, we don't want
-   # it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
-   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
-   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
-   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
-else
-   SRC_URI="
-   mirror://gnu/${PN}/${P}.tar.xz
-   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
-   "
-
- 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-06-17 Thread Sam James
commit: 91caf8a690ae6df19f7287f2ee7c0790ca3a8150
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 17 22:43:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 22:46:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91caf8a6

sys-apps/coreutils: append-lfs-flags for alpha & friends

Thanks to matoro for investigating & reporting upstream.

The gnulib autoconf machinery doesn't seem to realise right now that we need
_F_O_B=64 on alpha at least for 64-bit ino_t.

Bug: https://debbugs.gnu.org/64123
Signed-off-by: Sam James  gentoo.org>

 .../{coreutils-.ebuild => coreutils-9.3-r3.ebuild}| 11 ++-
 sys-apps/coreutils/coreutils-.ebuild  |  6 +-
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
similarity index 94%
copy from sys-apps/coreutils/coreutils-.ebuild
copy to sys-apps/coreutils/coreutils-9.3-r3.ebuild
index 6e3d435cba1d..ab1c0e9a1cbd 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r3.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
+   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
@@ -110,6 +110,8 @@ src_unpack() {
 src_prepare() {
local PATCHES=(
# Upstream patches
+   "${FILESDIR}"/${P}-cp-parents-preserve-permissions.patch
+   "${FILESDIR}"/${P}-old-kernel-copy_file_range.patch
)
 
if ! use vanilla && [[ -d "${WORKDIR}"/patch ]] ; then
@@ -118,6 +120,9 @@ src_prepare() {
 
default
 
+   # Just for ${P}-old-kernel-copy_file_range.patch
+   touch aclocal.m4 configure.ac Makefile.in gnulib-tests/Makefile.in 
configure || die
+
# 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.
@@ -135,6 +140,10 @@ src_prepare() {
 }
 
 src_configure() {
+   # On alpha at least, gnulib (as of 9.3) can't seem to figure out we need
+   # _F_O_B=64: https://debbugs.gnu.org/64123
+   append-lfs-flags
+
local myconf=(
--with-packager="Gentoo"
--with-packager-version="${PVR} (p${PATCH_VER:-0})"

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 6e3d435cba1d..3e4dc9a20eb0 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -23,7 +23,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
+   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
@@ -135,6 +135,10 @@ src_prepare() {
 }
 
 src_configure() {
+   # On alpha at least, gnulib (as of 9.3) can't seem to figure out we need
+   # _F_O_B=64: https://debbugs.gnu.org/64123
+   append-lfs-flags
+
local myconf=(
--with-packager="Gentoo"
--with-packager-version="${PVR} (p${PATCH_VER:-0})"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2023-06-09 Thread Sam James
commit: a3d0fcb6d239631f19e03e704ff80c8bbfb6a70b
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 08:29:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 08:29:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d0fcb6

sys-apps/coreutils: backport fix for old kernels + copy_file_range

Closes: https://bugs.gentoo.org/907474
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r2.ebuild | 273 +
 .../coreutils-9.3-old-kernel-copy_file_range.patch |  89 +++
 2 files changed, 362 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.3-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
new file mode 100644
index ..a85afed513e4
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.3-r2.ebuild
@@ -0,0 +1,273 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+#
+# Also recommend subscribing to the coreutils and bug-coreutils MLs.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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"
+   $(usex caps '' --disable-libcap)
+   $(use_enable nls)
+   $(use_enable acl)
+   $(use_enable multicall single-binary)
+   $(use_enable xattr)
+   $(use_with gmp libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-28 Thread Sam James
commit: b2ba6da297a117ec93034844788ebe4259e9c372
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat May 27 10:30:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 29 00:41:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ba6da2

sys-apps/coreutils: stable 9.3-r1 for hppa/sparc, bug #906599

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
index 68cd2ff84ffb..d4020bc704bc 100644
--- a/sys-apps/coreutils/coreutils-9.3-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-27 Thread Sam James
commit: 4373a728ef484ba9b50d06484f2f7aef3b9e165a
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 09:42:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 09:42:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4373a728

sys-apps/coreutils: Stabilize 9.3-r1 ppc, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
index b6681ee5541c..68cd2ff84ffb 100644
--- a/sys-apps/coreutils/coreutils-9.3-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-25 Thread Sam James
commit: 3719110625cd07c13da6ec5b28eabae41aca1d84
Author: Sam James  gentoo  org>
AuthorDate: Thu May 25 06:35:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 25 06:36:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37191106

sys-apps/coreutils: add savannah upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml
index ddaba5484b5c..1e1f3acef011 100644
--- a/sys-apps/coreutils/metadata.xml
+++ b/sys-apps/coreutils/metadata.xml
@@ -17,5 +17,6 @@
 
 
cpe:/a:gnu:coreutils
+   coreutils
 
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-24 Thread Sam James
commit: e11ecf310b6609e2f80265ff7b57961c3b15b43c
Author: Sam James  gentoo  org>
AuthorDate: Thu May 25 04:36:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 25 04:36:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11ecf31

sys-apps/coreutils: Stabilize 9.3-r1 amd64, #906599

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
index aa87f2f22ff2..b6681ee5541c 100644
--- a/sys-apps/coreutils/coreutils-9.3-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -33,7 +33,7 @@ else
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-04 Thread Sam James
commit: e0d31bb32fdcda4f1e5d2a3aebb1f3620b608daf
Author: Sam James  gentoo  org>
AuthorDate: Fri May  5 03:04:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May  5 03:08:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d31bb3

sys-apps/coreutils: fix 'maintainers' typo

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 sys-apps/coreutils/coreutils-9.2-r2.ebuild | 2 +-
 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 2 +-
 sys-apps/coreutils/coreutils-9.3.ebuild| 2 +-
 sys-apps/coreutils/coreutils-.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 08dc284676e9..4cdfdc3f3bed 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
 PYTHON_COMPAT=( python3_{9..11} )

diff --git a/sys-apps/coreutils/coreutils-9.2-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.2-r2.ebuild
index 44a34c3cc7b3..1ca5c4dd88c7 100644
--- a/sys-apps/coreutils/coreutils-9.2-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.2-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
 PYTHON_COMPAT=( python3_{9..11} )

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
index 564a8a362e13..e34ba721ed3e 100644
--- a/sys-apps/coreutils/coreutils-9.3-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
 PYTHON_COMPAT=( python3_{9..11} )

diff --git a/sys-apps/coreutils/coreutils-9.3.ebuild 
b/sys-apps/coreutils/coreutils-9.3.ebuild
index b12ae88e4781..3f6b8940caed 100644
--- a/sys-apps/coreutils/coreutils-9.3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
 PYTHON_COMPAT=( python3_{9..11} )

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index d19fa5ca04cb..3e290e4656fb 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
 PYTHON_COMPAT=( python3_{9..11} )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-05-04 Thread Sam James
commit: b13b9d12827c4b76b2b1968a55c7b9966fa15990
Author: Sam James  gentoo  org>
AuthorDate: Fri May  5 03:05:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May  5 03:08:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13b9d12

sys-apps/coreutils: mention MLs in maintenance note

See e.g. https://lists.gnu.org/archive/html/bug-coreutils/2023-05/msg00011.html.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 2 ++
 sys-apps/coreutils/coreutils-.ebuild   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
index e34ba721ed3e..aa87f2f22ff2 100644
--- a/sys-apps/coreutils/coreutils-9.3-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -6,6 +6,8 @@ EAPI=8
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
 # The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
+#
+# Also recommend subscribing to the coreutils and bug-coreutils MLs.
 
 PYTHON_COMPAT=( python3_{9..11} )
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 3e290e4656fb..6e3d435cba1d 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -6,6 +6,8 @@ EAPI=8
 # Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
 # The upstream coreutils maintainers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
+#
+# Also recommend subscribing to the coreutils and bug-coreutils MLs.
 
 PYTHON_COMPAT=( python3_{9..11} )
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2023-05-04 Thread Sam James
commit: 0c8f637a677201d037500abd8611f8f0c415518e
Author: Sam James  gentoo  org>
AuthorDate: Fri May  5 01:43:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May  5 01:44:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8f637a

sys-apps/coreutils: backport cp permissions fix

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3-r1.ebuild | 267 +
 ...utils-9.3-cp-parents-preserve-permissions.patch |  86 +++
 2 files changed, 353 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.3-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
new file mode 100644
index ..564a8a362e13
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.3-r1.ebuild
@@ -0,0 +1,267 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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"
+   $(usex caps '' --disable-libcap)
+   $(use_enable nls)
+   $(use_enable acl)
+   $(use_enable multicall single-binary)
+   $(use_enable xattr)
+   $(use_with gmp libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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() {
+   # 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-04-19 Thread Sam James
commit: b063f9bed6bbd24cd63494cbad0533bd30d0e6ba
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 06:28:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 06:28:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b063f9be

sys-apps/coreutils: drop 9.2, 9.2-r1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.2-r1.ebuild | 268 -
 sys-apps/coreutils/coreutils-9.2.ebuild| 267 
 2 files changed, 535 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.2-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.2-r1.ebuild
deleted file mode 100644
index a6e841cff48b..
--- a/sys-apps/coreutils/coreutils-9.2-r1.ebuild
+++ /dev/null
@@ -1,268 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
-# backport fixes which we want to pick up.
-
-PYTHON_COMPAT=( python3_{9..11} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
-inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
-
-MY_PATCH="${PN}-9.0_p20220409-patches-01"
-DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
-HOMEPAGE="https://www.gnu.org/software/coreutils/;
-
-if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
-   inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
-   # Note: could put this in devspace, but if it's gone, we don't want
-   # it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
-   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
-   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
-   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
-else
-   SRC_URI="
-   mirror://gnu/${PN}/${P}.tar.xz
-   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
-   "
-
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
-fi
-
-SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
-
-LICENSE="GPL-3+"
-SLOT="0"
-IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
-   openssl? ( dev-libs/openssl:=[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-lang/perl
-   dev-perl/Expect
-   dev-util/strace
-   ${PYTHON_DEPS}
-   )
-   verify-sig? ( sec-keys/openpgp-keys-coreutils )
-"
-RDEPEND+="
-   hostname? ( !sys-apps/net-tools[hostname] )
-   kill? (
-   !sys-apps/util-linux[kill]
-   !sys-process/procps[kill]
-   )
-   !app-misc/realpath
-   !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 libgmp)
-   $(use_with openssl)
-   )
-
-   if use gmp ; then
-   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
-   fi
-
-   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-04-18 Thread Sam James
commit: e2e303b68b815a26e443a639a002c480fb116cc3
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 18 16:39:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 18 16:40:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e303b6

sys-apps/coreutils: drop obsolete --enable-largefile

coreutils now always tries to use LFS if it can and requires a special
opt-out variable to disable it.

Closes: https://bugs.gentoo.org/904519
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.3.ebuild  | 1 -
 sys-apps/coreutils/coreutils-.ebuild | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.3.ebuild 
b/sys-apps/coreutils/coreutils-9.3.ebuild
index dd42f736d4d9..b12ae88e4781 100644
--- a/sys-apps/coreutils/coreutils-9.3.ebuild
+++ b/sys-apps/coreutils/coreutils-9.3.ebuild
@@ -142,7 +142,6 @@ src_configure() {
# 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)

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 1acd3418a030..d19fa5ca04cb 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -142,7 +142,6 @@ src_configure() {
# 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)



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-04-18 Thread Sam James
commit: d06bec784e083a2ca59f96cb9ee725bc10be71ae
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 18 15:40:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 18 15:41:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06bec78

sys-apps/coreutils: add 9.3, drop 9.2_p20230410

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 .../{coreutils-9.2_p20230410.ebuild => coreutils-9.3.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index a37754a78938..fb0594f511e3 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -5,5 +5,5 @@ DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
 DIST coreutils-9.2.tar.xz 5773008 BLAKE2B 
026e01718d79dd95bf645088d395584cbd422bb318f414a6ad325aea5deeec7aecb63217c1ce8231e81dd3b6fee1c85c60616c57ef8e2e1d0b9d764fa5a68908
 SHA512 
7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c
 DIST coreutils-9.2.tar.xz.sig 833 BLAKE2B 
225f6ea9d6c2a2b0e47093b6c10d648b8d847daf0733eeb779eb01cffde47f67b3328bdfb214298d669689f5de76f3c64384a6471dfc4ccc3a238bfc1943e654
 SHA512 
4219f3103d829841a11bf1fe42ae277a44347e555fbbaf48e5e87cce48deb96753cb6d25f2571b88685a164acb9f016ff7ea02346b799ce954599fa0124ef070
-DIST coreutils-9.2_p20230410.tar.xz 5792328 BLAKE2B 
d7243e763d2771e132cbc584ffd74e27937227bcfdf316ab83f62e7a0a2bc8ff340c5a6570e688fb134453fc27c166588455e5b0c30ed27b6fa2d554ee7b8fcb
 SHA512 
91d079f8f6abdae21969be1d8ca05ec1649aa2bee03243fc0e5834e82044a60d89573440231829b8de3c38e798ab6ddd298dd167f37b76a8ec538b66d89cccae
-DIST coreutils-9.2_p20230410.tar.xz.sig 833 BLAKE2B 
8eba201e29e517f9881e8528f86bc89a6b9866a0c24d47abf326a5f053e8a396e7aae799102ac48d2e65eb5751d2baf75f98cc315b98bd04ca2c6bb69ae7565f
 SHA512 
c918006b4211686a819cbf1e71e58ff0077be4a5a6e82e8a69acc47e877aafc7ef97fa626f307c6102e01b1adaaa6b2290287de7cad14da475feb250a82ade48
+DIST coreutils-9.3.tar.xz 5808696 BLAKE2B 
11502cd2dbeef150d0d4cece2546bf6b835941b94456c258f6058338f0477f22e68e88934d075b08fe51ee4d1c0c50cb23d8084ac06a457d6e8975f01643b1cd
 SHA512 
242271f212a6860bdc6c8d7e5c4f85ce66c1b48ef781aca9daa56e0fe7c2b7809ef72b4392120219fe5b687637c83ce89ceef8bb35f6274f43f8f968a6901694
+DIST coreutils-9.3.tar.xz.sig 833 BLAKE2B 
c45ae10ff706907ae65d31228e432f7d6f34acbdb733bf521437d9e2fc75828a59da9d432d894a1ed8b7341f7e15d0e8d4e816e209c799b75c14d0ec055bfdf2
 SHA512 
522a2072f8ef940228ccdd856a4041c3c16b98e309168ccf2066fe7c1013685ba6cdea8a7317dfa1f4507b37ca016ecedaf54438d4a5007927b0e1a8fd223eb5

diff --git a/sys-apps/coreutils/coreutils-9.2_p20230410.ebuild 
b/sys-apps/coreutils/coreutils-9.3.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.2_p20230410.ebuild
rename to sys-apps/coreutils/coreutils-9.3.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-04-10 Thread Sam James
commit: 6be6fed055d5e5c8af91ff2a86da83fc11d920af
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 10 21:53:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 10 21:53:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be6fed0

sys-apps/coreutils: add 9.2_p20230410 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   |   2 +
 sys-apps/coreutils/coreutils-9.2_p20230410.ebuild | 267 ++
 2 files changed, 269 insertions(+)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 2e7cdc716049..a37754a78938 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -5,3 +5,5 @@ DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
 DIST coreutils-9.2.tar.xz 5773008 BLAKE2B 
026e01718d79dd95bf645088d395584cbd422bb318f414a6ad325aea5deeec7aecb63217c1ce8231e81dd3b6fee1c85c60616c57ef8e2e1d0b9d764fa5a68908
 SHA512 
7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c
 DIST coreutils-9.2.tar.xz.sig 833 BLAKE2B 
225f6ea9d6c2a2b0e47093b6c10d648b8d847daf0733eeb779eb01cffde47f67b3328bdfb214298d669689f5de76f3c64384a6471dfc4ccc3a238bfc1943e654
 SHA512 
4219f3103d829841a11bf1fe42ae277a44347e555fbbaf48e5e87cce48deb96753cb6d25f2571b88685a164acb9f016ff7ea02346b799ce954599fa0124ef070
+DIST coreutils-9.2_p20230410.tar.xz 5792328 BLAKE2B 
d7243e763d2771e132cbc584ffd74e27937227bcfdf316ab83f62e7a0a2bc8ff340c5a6570e688fb134453fc27c166588455e5b0c30ed27b6fa2d554ee7b8fcb
 SHA512 
91d079f8f6abdae21969be1d8ca05ec1649aa2bee03243fc0e5834e82044a60d89573440231829b8de3c38e798ab6ddd298dd167f37b76a8ec538b66d89cccae
+DIST coreutils-9.2_p20230410.tar.xz.sig 833 BLAKE2B 
8eba201e29e517f9881e8528f86bc89a6b9866a0c24d47abf326a5f053e8a396e7aae799102ac48d2e65eb5751d2baf75f98cc315b98bd04ca2c6bb69ae7565f
 SHA512 
c918006b4211686a819cbf1e71e58ff0077be4a5a6e82e8a69acc47e877aafc7ef97fa626f307c6102e01b1adaaa6b2290287de7cad14da475feb250a82ade48

diff --git a/sys-apps/coreutils/coreutils-9.2_p20230410.ebuild 
b/sys-apps/coreutils/coreutils-9.2_p20230410.ebuild
new file mode 100644
index ..dd42f736d4d9
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.2_p20230410.ebuild
@@ -0,0 +1,267 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).18-ffd62"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2023-04-02 Thread Sam James
commit: f3d3a77b2e64ded2409c79a42e8dba452eec5c0e
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  2 18:59:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  2 19:38:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d3a77b

sys-apps/coreutils: backport cp --reflink=auto fallback fix

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.2-r2.ebuild | 269 +
 .../coreutils-9.2-cp-reflink-auto-fallback.patch   | 130 ++
 2 files changed, 399 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.2-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.2-r2.ebuild
new file mode 100644
index ..44a34c3cc7b3
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.2-r2.ebuild
@@ -0,0 +1,269 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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
+
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2023-03-23 Thread Sam James
commit: c4723d3a023c1396f52b54861a66a57b2f658531
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 23 22:30:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 23 22:30:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4723d3a

sys-apps/coreutils: backport cksum result fix

Note that this only affected the message it prints, not its exit status,
but this is still pretty serious if something greps the output.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.2-r1.ebuild | 268 +
 .../coreutils-9.2-cksum-result-reporting.patch |  59 +
 2 files changed, 327 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.2-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.2-r1.ebuild
new file mode 100644
index ..a6e841cff48b
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.2-r1.ebuild
@@ -0,0 +1,268 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-03-20 Thread Sam James
commit: fb7a86fe3f400a3ba003ab603c755d3a967d3ee1
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 20 21:38:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 20 21:38:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb7a86fe

sys-apps/coreutils: add 9.2, drop 9.1_p20230313

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 .../{coreutils-9.1_p20230313.ebuild => coreutils-9.2.ebuild}  | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 03a6a957fb99..2e7cdc716049 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,5 +3,5 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
 DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
-DIST coreutils-9.1_p20230313.tar.xz 5741248 BLAKE2B 
b86a67c266fad13fc1d9a4c4775c60e480ab2925e1d2c8313d9da2e4eb45bb609641fa28336c54f05d7e22627906196ac52451a5fc18f538b6b133d7fdef56a7
 SHA512 
3046a4e02143105c4c7936ce67a59f99a3193fbb28b5bb491fcbb86a8698bf9f9bb83ea94aad225afaf3e2dd8a704fb77298e41fc3aebd1a42e3897e105bed0e
-DIST coreutils-9.1_p20230313.tar.xz.sig 833 BLAKE2B 
44db6c8295b6edfa435853c9391f43f47cfe4ffbc7b58b5fc031c5f05fd4f850ec76bff79d9b53ae0aae84278b51cf3acf00a0a062b5928b407042a5072f65e8
 SHA512 
078b5158a6ad14ba51fb4e5bc4b4effda8011e6e12ebdc0cd864227c8405f8092502bca9b6bde49a802f77dea2b9c3441af0fd3bafc08354e1e8cc038fd42f6d
+DIST coreutils-9.2.tar.xz 5773008 BLAKE2B 
026e01718d79dd95bf645088d395584cbd422bb318f414a6ad325aea5deeec7aecb63217c1ce8231e81dd3b6fee1c85c60616c57ef8e2e1d0b9d764fa5a68908
 SHA512 
7e3108fefba4ef995cc73c64ac5f4e09827a44649a97ddd624eb61d67ce82da5ed6dc8c0f79d3e269f5cdb7d43877a61ef5b93194dd905bec432a7e31f9f479c
+DIST coreutils-9.2.tar.xz.sig 833 BLAKE2B 
225f6ea9d6c2a2b0e47093b6c10d648b8d847daf0733eeb779eb01cffde47f67b3328bdfb214298d669689f5de76f3c64384a6471dfc4ccc3a238bfc1943e654
 SHA512 
4219f3103d829841a11bf1fe42ae277a44347e555fbbaf48e5e87cce48deb96753cb6d25f2571b88685a164acb9f016ff7ea02346b799ce954599fa0124ef070

diff --git a/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild 
b/sys-apps/coreutils/coreutils-9.2.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
rename to sys-apps/coreutils/coreutils-9.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-03-14 Thread Sam James
commit: 0f03dcb7313744b9a7e7173c3bb19edba320459c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 01:50:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 15 01:51:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f03dcb7

sys-apps/coreutils: sync w/ live

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1_p20230313.ebuild |  2 +-
 sys-apps/coreutils/coreutils-.ebuild  | 22 +-
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild 
b/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
index 2c0011780d87..1acd3418a030 100644
--- a/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
@@ -66,7 +66,7 @@ BDEPEND="
dev-util/strace
${PYTHON_DEPS}
)
-   verify-sig? ( >=sec-keys/openpgp-keys-coreutils-20230313 )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
 "
 RDEPEND+="
hostname? ( !sys-apps/net-tools[hostname] )

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
index 02afc582c965..1acd3418a030 100644
--- a/sys-apps/coreutils/coreutils-.ebuild
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} ==  ]] ; then
 elif [[ ${PV} == *_p* ]] ; then
# Note: could put this in devspace, but if it's gone, we don't want
# it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
+   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
@@ -41,14 +41,18 @@ SLOT="0"
 IUSE="acl caps gmp hostname kill multicall nls +openssl selinux +split-usr 
static test vanilla xattr"
 RESTRICT="!test? ( test )"
 
-LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+LIB_DEPEND="
+   acl? ( sys-apps/acl[static-libs] )
caps? ( sys-libs/libcap )
gmp? ( dev-libs/gmp:=[static-libs] )
openssl? ( dev-libs/openssl:=[static-libs] )
-   xattr? ( sys-apps/attr[static-libs] )"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+   xattr? ( sys-apps/attr[static-libs] )
+"
+RDEPEND="
+   !static? ( ${LIB_DEPEND//\[static-libs]} )
selinux? ( sys-libs/libselinux )
-   nls? ( virtual/libintl )"
+   nls? ( virtual/libintl )
+"
 DEPEND="
${RDEPEND}
static? ( ${LIB_DEPEND} )
@@ -96,8 +100,9 @@ src_unpack() {
elif use verify-sig ; then
# Needed for downloaded patch (which is unsigned, which is fine)
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
-   default
fi
+
+   default
 }
 
 src_prepare() {
@@ -211,9 +216,8 @@ src_test() {
addwrite /dev/full
#export RUN_EXPENSIVE_TESTS="yes"
#export FETISH_GROUPS="portage wheel"
-   env PATH="${T}/mount-wrappers:${PATH}" emake -k check \
-   gl_public_submodule_commit= \
-   VERBOSE=yes
+   env PATH="${T}/mount-wrappers:${PATH}" gl_public_submodule_commit= \
+   emake -k check VERBOSE=yes
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-03-14 Thread Sam James
commit: cd0377a8949670625747ec22daf86f5bed7025d6
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 14 19:43:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 14 19:48:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0377a8

sys-apps/coreutils: add 9.1_p20230313 (unkeyworded, pre-release)

Bug: https://bugs.gentoo.org/885793
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   |   2 +
 sys-apps/coreutils/coreutils-9.1_p20230313.ebuild | 267 ++
 2 files changed, 269 insertions(+)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 7ea8df983e96..03a6a957fb99 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,3 +3,5 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
 DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91
+DIST coreutils-9.1_p20230313.tar.xz 5741248 BLAKE2B 
b86a67c266fad13fc1d9a4c4775c60e480ab2925e1d2c8313d9da2e4eb45bb609641fa28336c54f05d7e22627906196ac52451a5fc18f538b6b133d7fdef56a7
 SHA512 
3046a4e02143105c4c7936ce67a59f99a3193fbb28b5bb491fcbb86a8698bf9f9bb83ea94aad225afaf3e2dd8a704fb77298e41fc3aebd1a42e3897e105bed0e
+DIST coreutils-9.1_p20230313.tar.xz.sig 833 BLAKE2B 
44db6c8295b6edfa435853c9391f43f47cfe4ffbc7b58b5fc031c5f05fd4f850ec76bff79d9b53ae0aae84278b51cf3acf00a0a062b5928b407042a5072f65e8
 SHA512 
078b5158a6ad14ba51fb4e5bc4b4effda8011e6e12ebdc0cd864227c8405f8092502bca9b6bde49a802f77dea2b9c3441af0fd3bafc08354e1e8cc038fd42f6d

diff --git a/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild 
b/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
new file mode 100644
index ..2c0011780d87
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.1_p20230313.ebuild
@@ -0,0 +1,267 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).198-e68b1"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[static-libs] )
+   xattr? ( sys-apps/attr[static-libs] )
+"
+RDEPEND="
+   !static? ( ${LIB_DEPEND//\[static-libs]} )
+   selinux? ( sys-libs/libselinux )
+   nls? ( virtual/libintl )
+"
+DEPEND="
+   ${RDEPEND}
+   static? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-02-04 Thread Sam James
commit: fcfe29154845075ec851314a940cff9571e2b181
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  4 20:05:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  4 20:06:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfe2915

sys-apps/coreutils: add 

Needed to test some patches recently.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-.ebuild | 263 +++
 1 file changed, 263 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-.ebuild 
b/sys-apps/coreutils/coreutils-.ebuild
new file mode 100644
index ..02afc582c965
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-.ebuild
@@ -0,0 +1,263 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{9..11} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git;
+   inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="
+   mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
+   "
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   $(use_with openssl)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-02-03 Thread Sam James
commit: 5f56d243b9a0fbc9acb130fae38651c202ef4981
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 13:32:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 13:33:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f56d243

sys-apps/coreutils: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index d5eb937ea948..08dc284676e9 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -7,7 +7,7 @@ EAPI=7
 # The upstream coreutils maintianers also maintain the package in Fedora and 
may
 # backport fixes which we want to pick up.
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
 inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-02-03 Thread Sam James
commit: fcb3615232063391de82bfe564b977417884c64c
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 13:24:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 13:33:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb36152

sys-apps/coreutils: drop 9.1-r1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 249 -
 1 file changed, 249 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
deleted file mode 100644
index ca8f614de9a4..
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
-# The upstream coreutils maintianers also maintain the package in Fedora and 
may
-# backport fixes which we want to pick up.
-
-PYTHON_COMPAT=( python3_{9..10} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
-inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
-
-MY_PATCH="${PN}-9.0_p20220409-patches-01"
-DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
-HOMEPAGE="https://www.gnu.org/software/coreutils/;
-
-if [[ ${PV} == *_p* ]] ; then
-   # Note: could put this in devspace, but if it's gone, we don't want
-   # it in tree anyway. It's just for testing.
-   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
-   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
-   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
-   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
-else
-   SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
-   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
-
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
-fi
-
-SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
-
-LICENSE="GPL-3+"
-SLOT="0"
-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-lang/perl
-   dev-perl/Expect
-   dev-util/strace
-   ${PYTHON_DEPS}
-   )
-   verify-sig? ( sec-keys/openpgp-keys-coreutils )
-"
-RDEPEND+="
-   hostname? ( !sys-apps/net-tools[hostname] )
-   kill? (
-   !sys-apps/util-linux[kill]
-   !sys-process/procps[kill]
-   )
-   !app-misc/realpath
-   !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 libgmp)
-   )
-
-   if use gmp ; then
-   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
-   fi
-
-   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: 77b39de2a963eb408e369a10ba9fa4b003eff99d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b39de2

sys-apps/coreutils: Stabilize 9.1-r2 ppc, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index ad719d6475d8..61ad5d59cf0a 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: da9e5db9c915b305841220270f1fdc7a8852c75e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da9e5db9

sys-apps/coreutils: Stabilize 9.1-r2 hppa, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 525dda6e12d5..ad479e347bbb 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: 6c6218aed1e577091a95ae8b1bff0728985a4227
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:39 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6218ae

sys-apps/coreutils: Stabilize 9.1-r2 sparc, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 2a3c8d607d31..525dda6e12d5 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: 382b829a544c50634df430116a61bc70645c1473
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382b829a

sys-apps/coreutils: Stabilize 9.1-r2 x86, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index ad479e347bbb..d5eb937ea948 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: 584f4775f797832556d60202de4c5cc627acb162
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=584f4775

sys-apps/coreutils: Stabilize 9.1-r2 ppc64, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 61ad5d59cf0a..2a3c8d607d31 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: 202e3a24b34254ed53c6d67c402eab42a850b06f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202e3a24

sys-apps/coreutils: Stabilize 9.1-r2 arm, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 94b5cc72076f..4d3955f9990d 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: ab149df032a3eb0dbd2e67f6355fd24230386cf2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab149df0

sys-apps/coreutils: Stabilize 9.1-r2 amd64, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index dcc8d5c49ff6..94b5cc72076f 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2023-01-20 Thread Arthur Zamarin
commit: a2ccd7006c65bf843a86d4c53ab723e2cf9a6797
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:56:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:56:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ccd700

sys-apps/coreutils: Stabilize 9.1-r2 arm64, #891521

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 4d3955f9990d..ad719d6475d8 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-12-02 Thread Arthur Zamarin
commit: 65b230ef3a51d09764c00f13ecfd28d056b30e7e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 19:02:31 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 19:02:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65b230ef

sys-apps/coreutils: Stabilize 9.1-r1 x86, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index ccda6e144e75..21f24d5cf4e8 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-12-01 Thread Arthur Zamarin
commit: f7ec42ab22d6b55019a26a7d4d199eaf65421716
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec  1 19:05:07 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec  1 19:05:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ec42ab

sys-apps/coreutils: Stabilize 9.1-r1 amd64, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 8c53dea0990e..ccda6e144e75 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-28 Thread Andreas K. Hüttel
commit: 834de30734793d8180007e734867e327720c7187
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Nov 28 11:32:35 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Nov 28 11:33:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834de307

sys-apps/coreutils: keyword 9.1-r2

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index 96a05ceb2241..88256476cc2f 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-27 Thread Mike Gilbert
commit: e12555e5e81966a3e8113735c4c6927b7b3eb81f
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Nov 28 02:48:06 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Nov 28 02:49:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12555e5

sys-apps/coreutils: utilize use_with function for openssl

--with-openssl is equivalent to --with-openssl=yes.
--without-openssl is equivalent to --with-openssl=no.

Bug: https://bugs.gentoo.org/883361
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
index b3dde9db2968..96a05ceb2241 100644
--- a/sys-apps/coreutils/coreutils-9.1-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -134,7 +134,7 @@ src_configure() {
$(use_enable multicall single-binary)
$(use_enable xattr)
$(use_with gmp libgmp)
-   --with-openssl=$(usex openssl yes no)
+   $(use_with openssl)
)
 
if use gmp ; then



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-27 Thread Andreas K. Hüttel
commit: e314cba7526798250763ecde0769b16a4b58495d
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Nov 27 23:17:05 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Nov 27 23:17:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e314cba7

sys-apps/coreutils: Revbump with openssl useflag, unkeyworded

Bug: https://bugs.gentoo.org/883361
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r2.ebuild | 251 +
 sys-apps/coreutils/metadata.xml|   1 +
 2 files changed, 252 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.1-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
new file mode 100644
index ..b3dde9db2968
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.1-r2.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{8..10} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
+
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="acl caps gmp hostname kill multicall nls +openssl 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] )
+   openssl? ( dev-libs/openssl:=[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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   --with-openssl=$(usex openssl yes no)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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):
+  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-26 Thread Arthur Zamarin
commit: 39473a6058ef476df126c79817f313064ed7bfe9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 26 19:03:47 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 26 19:03:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39473a60

sys-apps/coreutils: Stabilize 9.1-r1 arm, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 4911ae389e66..125225a81d3e 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-26 Thread Arthur Zamarin
commit: 4aed6965a301705c24858d6b86dd0084b9c14730
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 26 19:03:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 26 19:03:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aed6965

sys-apps/coreutils: Stabilize 9.1-r1 hppa, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 125225a81d3e..43fc0d7e8770 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-26 Thread Arthur Zamarin
commit: 1785d95c70922f6c6fda6dba07b54a392bd7aa9a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 26 19:03:56 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 26 19:03:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1785d95c

sys-apps/coreutils: Stabilize 9.1-r1 ppc, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 43fc0d7e8770..8c53dea0990e 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-25 Thread Arthur Zamarin
commit: 18589fd43a9267a0e027e35168cf542cca258a6f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 09:23:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 09:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18589fd4

sys-apps/coreutils: Stabilize 9.1-r1 sparc, #882761

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 1fcdad053cc7..4911ae389e66 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-24 Thread Sam James
commit: 33651db9f8382377aac355e84de60d3c4162a080
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 25 02:51:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 25 02:51:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33651db9

sys-apps/coreutils: Stabilize 9.1-r1 arm64, #882761

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index b77c08c82bad..1fcdad053cc7 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-11-24 Thread Sam James
commit: 0deefed7b99eb3cbbe61e30a28749ba23671f804
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 24 20:42:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 24 20:42:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0deefed7

sys-apps/coreutils: Stabilize 9.1-r1 ppc64, #882761

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 09f9e649bfa8..b77c08c82bad 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -26,7 +26,7 @@ else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2022-10-28 Thread Sam James
commit: 24d4d2dd323e325558c80024d65d7e19a02397ed
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:46:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d4d2dd

sys-apps/coreutils: drop 9.0-r2, 9.1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest|   2 -
 sys-apps/coreutils/coreutils-9.0-r2.ebuild | 239 
 sys-apps/coreutils/coreutils-9.1.ebuild| 244 -
 .../coreutils-9.0-fix-chmod-symlink-exit.patch |  35 ---
 ...s-consider-COLORTERM-sufficient-for-color.patch | 130 ---
 5 files changed, 650 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index d48998b486f0..7ea8df983e96 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,7 +1,5 @@
 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.0.tar.xz 5612752 BLAKE2B 
59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac
 SHA512 
9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
-DIST coreutils-9.0.tar.xz.sig 833 BLAKE2B 
1393f60361524e0a6eab5631aada50ee4124bd0e9ff3020b7593914a888f0edaec78339caee28847e85e1a1af6ea519ab9fad208db605f0c6b8a4e7ab19853a8
 SHA512 
1a368c92ddb57f386c188ef72f1edad7e217c983c296f9be0d27ffbaa673bf2f004c321fbaff8ae6cdebf6ffef402e3e8c69e6c8e30aca988e0ea38f2296cf30
 DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
 DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
 DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91

diff --git a/sys-apps/coreutils/coreutils-9.0-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
deleted file mode 100644
index f759f70394f0..
--- a/sys-apps/coreutils/coreutils-9.0-r2.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
-inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
-
-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
-   )
-   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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-lang/perl
-   dev-perl/Expect
-   dev-util/strace
-   ${PYTHON_DEPS}
-   )
-   verify-sig? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-09-18 Thread Sam James
commit: 854bcd389f036ffc4c6081842c3d8136fada8da0
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 19 03:21:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 19 03:28:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854bcd38

sys-apps/coreutils: fix LICENSE

Closes: https://bugs.gentoo.org/871327
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-8.32-r1.ebuild | 4 ++--
 sys-apps/coreutils/coreutils-9.0-r2.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-9.1-r1.ebuild  | 2 +-
 sys-apps/coreutils/coreutils-9.1.ebuild | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.32-r1.ebuild 
b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
index 1a139279ad85..16c4445f3ae3 100644
--- a/sys-apps/coreutils/coreutils-8.32-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
)
 "
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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"

diff --git a/sys-apps/coreutils/coreutils-9.0-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
index e55e9bf82f73..f759f70394f0 100644
--- a/sys-apps/coreutils/coreutils-9.0-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
)
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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"

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
index 4594d9dae0bb..09f9e649bfa8 100644
--- a/sys-apps/coreutils/coreutils-9.1-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -31,7 +31,7 @@ fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test 
vanilla xattr"
 RESTRICT="!test? ( test )"

diff --git a/sys-apps/coreutils/coreutils-9.1.ebuild 
b/sys-apps/coreutils/coreutils-9.1.ebuild
index 7b78b8fa9d13..f91b65f9f59f 100644
--- a/sys-apps/coreutils/coreutils-9.1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.1.ebuild
@@ -27,7 +27,7 @@ fi
 
 SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test 
vanilla xattr"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2022-05-03 Thread Sam James
commit: 8546ce7c0971927952047d8a21c4e73ec0bc9d2d
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 05:31:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 05:31:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8546ce7c

sys-apps/coreutils: backport rename backups fix

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.1-r1.ebuild | 249 +
 .../coreutils-9.1-fix-rename-simple-backups.patch  |  38 
 2 files changed, 287 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.1-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
new file mode 100644
index ..4594d9dae0bb
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.1-r1.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Try to keep an eye on Fedora's packaging: 
https://src.fedoraproject.org/rpms/coreutils
+# The upstream coreutils maintianers also maintain the package in Fedora and 
may
+# backport fixes which we want to pick up.
+
+PYTHON_COMPAT=( python3_{8..10} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/;
+
+if [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-04-17 Thread Sam James
commit: 55a27fb0902ac1b81f0cc78dea8be746f9b7014b
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 17 17:01:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 17 17:05:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a27fb0

sys-apps/coreutils: drop 9.0, 9.0-r1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 227 -
 sys-apps/coreutils/coreutils-9.0.ebuild| 221 
 2 files changed, 448 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
deleted file mode 100644
index 6f7eccb90d52..
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..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 ~ia64 ~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-lang/perl
-   dev-perl/Expect
-   dev-util/strace
-   ${PYTHON_DEPS}
-   )
-"
-RDEPEND+="
-   hostname? ( !sys-apps/net-tools[hostname] )
-   kill? (
-   !sys-apps/util-linux[kill]
-   !sys-process/procps[kill]
-   )
-   !app-misc/realpath
-   !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 libgmp)
-   )
-
-   if use gmp ; then
-   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
-   fi
-
-   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
- 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-04-15 Thread Sam James
commit: b3d58675d59c55094b91a2dac3dbf01dab220317
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 16 01:34:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 16 02:08:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d58675

sys-apps/coreutils: add 9.1, drop 9.0_p20220409-r1

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   | 4 ++--
 .../{coreutils-9.0_p20220409-r1.ebuild => coreutils-9.1.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 90c9d7047758..d48998b486f0 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,5 +3,5 @@ DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f015
 DIST coreutils-9.0.tar.xz 5612752 BLAKE2B 
59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac
 SHA512 
9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
 DIST coreutils-9.0.tar.xz.sig 833 BLAKE2B 
1393f60361524e0a6eab5631aada50ee4124bd0e9ff3020b7593914a888f0edaec78339caee28847e85e1a1af6ea519ab9fad208db605f0c6b8a4e7ab19853a8
 SHA512 
1a368c92ddb57f386c188ef72f1edad7e217c983c296f9be0d27ffbaa673bf2f004c321fbaff8ae6cdebf6ffef402e3e8c69e6c8e30aca988e0ea38f2296cf30
 DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
-DIST coreutils-9.0_p20220409.tar.xz 5689096 BLAKE2B 
d9b037947362f6823339fc234051886370eb9d2cbb19b15006e6a5e44db80d259159ffe6255c42565f02a2dcb79499af9f57c3ed5c21fd1ece1589da8109cd74
 SHA512 
7f8fda5d3e65768f9b0aa5da7bbc84ac1e24a8e87a840bb9a013dd8875346b5e9ccc3613de95478c87b859dd2a454651768852cbd67e1466ec3f6d7fef4fe938
-DIST coreutils-9.0_p20220409.tar.xz.sig 833 BLAKE2B 
8de0a283394dfc80b5cde5a051190af3c9fe5344881db3d2eacb2b3ae7a0cd037513a610dc564d37a055af8a2d823cdc7d6a0999bcc3a0c688d53570d792fe46
 SHA512 
72c491ec43d3deed3d291bdae13fb54a6b1ec2d37233f4a115075a60a19ec5b522a414b2e1768e3f21e66152a031777c8bd435624fd0171eb9257de20b3d11dc
+DIST coreutils-9.1.tar.xz 5712104 BLAKE2B 
f5654e4935535275615d44a56c071d1c0746af36cf4615fcc0a5a0d387af9c9023adac31f31a52e16b3d1105b9d4c0fb7ebff9b2862498849f867a866049dd6e
 SHA512 
a6ee2c549140b189e8c1b35e119d4289ec27244ec0ed9da0ac55202f365a7e33778b1dc7c4e64d1669599ff81a8297fe4f5adbcc8a3a2f75c919a43cd4b9bdfa
+DIST coreutils-9.1.tar.xz.sig 833 BLAKE2B 
e9627a066f3c67596feaa8d43d5785076230f440bacea84d8b5736e51a22787c2d5df1f3e2cd8523d01fb7b468933d3c17fce3cb1fbefef322a0e0d820b81842
 SHA512 
9f0766531afd4faa3e2c337730f61db55605cf06729e9c61f644594883732c2e0b1ddb0005b492be309c53e6f45b8ff875398163a48699d52517ea49e9bdbc91

diff --git a/sys-apps/coreutils/coreutils-9.0_p20220409-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.1.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.0_p20220409-r1.ebuild
rename to sys-apps/coreutils/coreutils-9.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-04-12 Thread Sam James
commit: eb4e0914066925d32a5311ac09a1965f637da9c1
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 12 06:42:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 12 06:55:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4e0914

sys-apps/coreutils: test fixes & rebase patchset

- Skip known-failing-under-sandbox tests/dd/no-allocate.sh test
- Rebase patches (... and apply them in the snapshot as a result)
- Run test suite in parallel

Bug: https://bugs.gentoo.org/629660
Closes: https://bugs.gentoo.org/833838
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   |  1 +
 ...p20220409.ebuild => coreutils-9.0_p20220409-r1.ebuild} | 15 +--
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index fd48060a5f87..90c9d7047758 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -2,5 +2,6 @@ DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B 
a41511ce39ac570cb14b7f12d125e
 DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515
 SHA512 
1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
 DIST coreutils-9.0.tar.xz 5612752 BLAKE2B 
59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac
 SHA512 
9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
 DIST coreutils-9.0.tar.xz.sig 833 BLAKE2B 
1393f60361524e0a6eab5631aada50ee4124bd0e9ff3020b7593914a888f0edaec78339caee28847e85e1a1af6ea519ab9fad208db605f0c6b8a4e7ab19853a8
 SHA512 
1a368c92ddb57f386c188ef72f1edad7e217c983c296f9be0d27ffbaa673bf2f004c321fbaff8ae6cdebf6ffef402e3e8c69e6c8e30aca988e0ea38f2296cf30
+DIST coreutils-9.0_p20220409-patches-01.tar.xz 6244 BLAKE2B 
8ca9855680719660782931467ec70095c826e66b9850890b8cf456963f8114f63940707386b97c766172d01e55e17b7db2aa1c329208a873a76e2293b29f565f
 SHA512 
4b43c25832122d241f33e6b4eff24bc1fa045b9ca5af45a49d22ecb1fa282986c4e4a045ef24c34b3d94fd9a2247247c42c344261e3f464d881969e6f3351d3f
 DIST coreutils-9.0_p20220409.tar.xz 5689096 BLAKE2B 
d9b037947362f6823339fc234051886370eb9d2cbb19b15006e6a5e44db80d259159ffe6255c42565f02a2dcb79499af9f57c3ed5c21fd1ece1589da8109cd74
 SHA512 
7f8fda5d3e65768f9b0aa5da7bbc84ac1e24a8e87a840bb9a013dd8875346b5e9ccc3613de95478c87b859dd2a454651768852cbd67e1466ec3f6d7fef4fe938
 DIST coreutils-9.0_p20220409.tar.xz.sig 833 BLAKE2B 
8de0a283394dfc80b5cde5a051190af3c9fe5344881db3d2eacb2b3ae7a0cd037513a610dc564d37a055af8a2d823cdc7d6a0999bcc3a0c688d53570d792fe46
 SHA512 
72c491ec43d3deed3d291bdae13fb54a6b1ec2d37233f4a115075a60a19ec5b522a414b2e1768e3f21e66152a031777c8bd435624fd0171eb9257de20b3d11dc

diff --git a/sys-apps/coreutils/coreutils-9.0_p20220409.ebuild 
b/sys-apps/coreutils/coreutils-9.0_p20220409-r1.ebuild
similarity index 93%
rename from sys-apps/coreutils/coreutils-9.0_p20220409.ebuild
rename to sys-apps/coreutils/coreutils-9.0_p20220409-r1.ebuild
index 8460bd016468..776a67104587 100644
--- a/sys-apps/coreutils/coreutils-9.0_p20220409.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0_p20220409-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} )
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
 inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 
-PATCH="${PN}-8.30-patches-01"
+MY_PATCH="${PN}-9.0_p20220409-patches-01"
 DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
 HOMEPAGE="https://www.gnu.org/software/coreutils/;
 
@@ -20,15 +20,13 @@ if [[ ${PV} == *_p* ]] ; then
S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
 else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
-   !vanilla? (
-   mirror://gentoo/${PATCH}.tar.xz
-   
https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz
-   )
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 fi
 
+SRC_URI+=" !vanilla? ( 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )"
+
 LICENSE="GPL-3"
 SLOT="0"
 IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test 
vanilla xattr"
@@ -91,10 +89,8 @@ src_prepare() {
# Upstream patches
)
 
-   if [[ ${PV} != *_p* ]] && ! use vanilla ; then
+   if ! use vanilla ; then
PATCHES+=( "${WORKDIR}"/patch )
-   PATCHES+=( "${FILESDIR}"/${PN}-8.32-sandbox-env-test.patch )
-   PATCHES+=( 
"${FILESDIR}"/${PN}-9.0-r1-0001-dircolors-consider-COLORTERM-sufficient-for-color.patch
 )
fi
 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-04-11 Thread Sam James
commit: dcf05bbf8740d5d5dbbdb2a07bdfd0ac93caa73f
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 12 05:58:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 12 05:58:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf05bbf

sys-apps/coreutils: add 9.0_p20220409 (unkeyworded)

Add testing release from upstream to find any problems
pre-release, given that upstream releases are rather
infrequent usually.

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest   |   2 +
 sys-apps/coreutils/coreutils-9.0_p20220409.ebuild | 249 ++
 2 files changed, 251 insertions(+)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index e13c336609db..fd48060a5f87 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -2,3 +2,5 @@ DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B 
a41511ce39ac570cb14b7f12d125e
 DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 
0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515
 SHA512 
1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
 DIST coreutils-9.0.tar.xz 5612752 BLAKE2B 
59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac
 SHA512 
9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
 DIST coreutils-9.0.tar.xz.sig 833 BLAKE2B 
1393f60361524e0a6eab5631aada50ee4124bd0e9ff3020b7593914a888f0edaec78339caee28847e85e1a1af6ea519ab9fad208db605f0c6b8a4e7ab19853a8
 SHA512 
1a368c92ddb57f386c188ef72f1edad7e217c983c296f9be0d27ffbaa673bf2f004c321fbaff8ae6cdebf6ffef402e3e8c69e6c8e30aca988e0ea38f2296cf30
+DIST coreutils-9.0_p20220409.tar.xz 5689096 BLAKE2B 
d9b037947362f6823339fc234051886370eb9d2cbb19b15006e6a5e44db80d259159ffe6255c42565f02a2dcb79499af9f57c3ed5c21fd1ece1589da8109cd74
 SHA512 
7f8fda5d3e65768f9b0aa5da7bbc84ac1e24a8e87a840bb9a013dd8875346b5e9ccc3613de95478c87b859dd2a454651768852cbd67e1466ec3f6d7fef4fe938
+DIST coreutils-9.0_p20220409.tar.xz.sig 833 BLAKE2B 
8de0a283394dfc80b5cde5a051190af3c9fe5344881db3d2eacb2b3ae7a0cd037513a610dc564d37a055af8a2d823cdc7d6a0999bcc3a0c688d53570d792fe46
 SHA512 
72c491ec43d3deed3d291bdae13fb54a6b1ec2d37233f4a115075a60a19ec5b522a414b2e1768e3f21e66152a031777c8bd435624fd0171eb9257de20b3d11dc

diff --git a/sys-apps/coreutils/coreutils-9.0_p20220409.ebuild 
b/sys-apps/coreutils/coreutils-9.0_p20220409.ebuild
new file mode 100644
index ..8460bd016468
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.0_p20220409.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
+
+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/;
+
+if [[ ${PV} == *_p* ]] ; then
+   # Note: could put this in devspace, but if it's gone, we don't want
+   # it in tree anyway. It's just for testing.
+   MY_SNAPSHOT="$(ver_cut 1-2).193-54bec"
+   SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz 
-> ${P}.tar.xz"
+   SRC_URI+=" verify-sig? ( 
https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> 
${P}.tar.xz.sig )"
+   S="${WORKDIR}"/${PN}-${MY_SNAPSHOT}
+else
+   SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+   !vanilla? (
+   mirror://gentoo/${PATCH}.tar.xz
+   
https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz
+   )
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
+"
+RDEPEND+="
+   hostname? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-04-06 Thread Sam James
commit: 0e5cbc3642670e7741a551eb4775fcdc8694cd10
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr  7 03:45:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr  7 03:57:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5cbc36

sys-apps/coreutils: add verify-sig

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/Manifest|  1 +
 sys-apps/coreutils/coreutils-9.0-r2.ebuild | 17 ++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index b820e36cb8ba..e13c336609db 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,3 +1,4 @@
 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.0.tar.xz 5612752 BLAKE2B 
59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac
 SHA512 
9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03
+DIST coreutils-9.0.tar.xz.sig 833 BLAKE2B 
1393f60361524e0a6eab5631aada50ee4124bd0e9ff3020b7593914a888f0edaec78339caee28847e85e1a1af6ea519ab9fad208db605f0c6b8a4e7ab19853a8
 SHA512 
1a368c92ddb57f386c188ef72f1edad7e217c983c296f9be0d27ffbaa673bf2f004c321fbaff8ae6cdebf6ffef402e3e8c69e6c8e30aca988e0ea38f2296cf30

diff --git a/sys-apps/coreutils/coreutils-9.0-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
index c8d7eca8e649..e55e9bf82f73 100644
--- a/sys-apps/coreutils/coreutils-9.0-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
@@ -4,8 +4,8 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-
-inherit flag-o-matic python-any-r1 toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/coreutils.asc
+inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
 
 PATCH="${PN}-8.30-patches-01"
 DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, 
who,...)"
@@ -14,7 +14,8 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
!vanilla? (
mirror://gentoo/${PATCH}.tar.xz
https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz
-   )"
+   )
+   verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -42,6 +43,7 @@ BDEPEND="
dev-util/strace
${PYTHON_DEPS}
)
+   verify-sig? ( sec-keys/openpgp-keys-coreutils )
 "
 RDEPEND+="
hostname? ( !sys-apps/net-tools[hostname] )
@@ -64,6 +66,15 @@ pkg_setup() {
fi
 }
 
+src_unpack() {
+   if use verify-sig ; then
+   # Needed for downloaded patch (which is unsigned, which is fine)
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
+   fi
+
+   default
+}
+
 src_prepare() {
local PATCHES=(
# Upstream patches



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/files/, sys-apps/coreutils/

2022-02-20 Thread Sam James
commit: 76eb7a1b115968e0b879a5c00cee64da1cdf92b5
Author: Arsen Arsenović  aarsen  me>
AuthorDate: Sat Feb 12 22:12:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 01:51:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76eb7a1b

sys-apps/coreutils: add $COLORTERM support to 9.0-r2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Arsen Arsenović  aarsen.me>
Closes: https://github.com/gentoo/gentoo/pull/24174
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r2.ebuild | 228 +
 ...s-consider-COLORTERM-sufficient-for-color.patch | 130 
 2 files changed, 358 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.0-r2.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
new file mode 100644
index ..c8d7eca8e649
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..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 ~ia64 ~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-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   )
+
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
+   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
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2022-01-15 Thread Georgy Yakovlev
commit: 5b02ae2fc1b05e3ed4f336cf758de3d9c8e9576e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jan 15 22:20:19 2022 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jan 15 22:21:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b02ae2f

sys-apps/coreutils: remove zfs check

it has served it's purpose and no longer needed
coreutils-9 will go stable soon too

Closes: https://bugs.gentoo.org/830830
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 42 +-
 sys-apps/coreutils/coreutils-9.0.ebuild| 42 +-
 2 files changed, 2 insertions(+), 82 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index f8036f5a79b2..6f7eccb90d52 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -58,46 +58,6 @@ RDEPEND+="
!/dev/null) ; 
then
-   einfo "Checking for running ZFS module version"
-
-   local kmodv minver
-   kmodv="$(grep kmod <(zfs -V 2>/dev/null))"
-   # Convert zfs-kmod-2.1.1-r3-gentoo -> 2.1.1-r3
-   kmodv="${kmodv//zfs-kmod-}"
-   kmodv="${kmodv%%-gentoo}"
-
-   minver="$(ver_cut 2 ${kmodv})"
-   local diemsg=$(cat <<-EOF
-   Attempted installation of ${P} on unsupported version 
of zfs-kmod!
-   Please reboot to a newer version of zfs-kmod first:
-   zfs-kmod >=2.0.7 or zfs-kmod >=2.1.1-r3
-   Using ${P} with running version of zfs-kmod of can
-   lead to data loss while using cp command on some 
configurations.
-   See https://github.com/openzfs/zfs/issues/11900 for 
details.
-   EOF
-   )
-
-   case "${minver}" in
-   # 2.0.x
-   0)
-   ver_test "${kmodv}" -lt 2.0.7 && die "${diemsg}"
-   ;;
-   # 2.1.x
-   1)
-   ver_test "${kmodv}" -lt 2.1.1-r3 && die 
"${diemsg}"
-   ;;
-   # 0.8.x/
-   *)
-   # We can't really cover this case realistically
-   #  is too hard to check and 0.8.x isn't 
being supported anymore.
-   ;;
-   esac
-   fi
-
-}
-
 pkg_setup() {
if use test ; then
python-any-r1_pkg_setup

diff --git a/sys-apps/coreutils/coreutils-9.0.ebuild 
b/sys-apps/coreutils/coreutils-9.0.ebuild
index 231339807e73..ecfbcd3f4be6 100644
--- a/sys-apps/coreutils/coreutils-9.0.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -58,46 +58,6 @@ RDEPEND+="
! 2.1.1-r3
-   kmodv="${kmodv//zfs-kmod-}"
-   kmodv="${kmodv%%-gentoo}"
-
-   minver="$(ver_cut 2 ${kmodv})"
-   local diemsg=$(cat <<-EOF
-   Attempted installation of ${P} on unsupported version 
of zfs-kmod!
-   Please reboot to a newer version of zfs-kmod first:
-   zfs-kmod >=2.0.7 or zfs-kmod >=2.1.1-r3
-   Using ${P} with running version of zfs-kmod of can
-   lead to data loss while using cp command on some 
configurations.
-   See https://github.com/openzfs/zfs/issues/11900 for 
details.
-   EOF
-   )
-
-   case "${minver}" in
-   # 2.0.x
-   0)
-   ver_test "${kmodv}" -lt 2.0.7 && die "${diemsg}"
-   ;;
-   # 2.1.x
-   1)
-   ver_test "${kmodv}" -lt 2.1.1-r3 && die 
"${diemsg}"
-   ;;
-   # 0.8.x/
-   *)
-   # We can't really cover this case realistically
-   #  is too hard to check and 0.8.x isn't 
being supported anymore.
-   ;;
-   esac
-   fi
-
-}
-
 pkg_setup() {
if use test ; then
python-any-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-12-19 Thread Sam James
commit: f3f93fcad23b37c0ba4bd7af4512645cc19d003e
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 19 11:20:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 19 11:20:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f93fca

sys-apps/coreutils: skip ZFS check when ZFS module not loaded

Closes: https://bugs.gentoo.org/825790
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index 9809b98ed1d3..f8036f5a79b2 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -59,7 +59,7 @@ RDEPEND+="
!/dev/null) ; 
then
einfo "Checking for running ZFS module version"
 
local kmodv minver



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-11-11 Thread Georgy Yakovlev
commit: 5b3a64f5da44e421dc51f6723457e02490c783b9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 11 18:09:26 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 11 18:09:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3a64f5

sys-apps/coreutils: add zfs-kmod check to 9.0 ebuild too

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/coreutils/coreutils-9.0.ebuild | 40 +
 1 file changed, 40 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.0.ebuild 
b/sys-apps/coreutils/coreutils-9.0.ebuild
index b373e1d79b2..231339807e7 100644
--- a/sys-apps/coreutils/coreutils-9.0.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0.ebuild
@@ -58,6 +58,46 @@ RDEPEND+="
! 2.1.1-r3
+   kmodv="${kmodv//zfs-kmod-}"
+   kmodv="${kmodv%%-gentoo}"
+
+   minver="$(ver_cut 2 ${kmodv})"
+   local diemsg=$(cat <<-EOF
+   Attempted installation of ${P} on unsupported version 
of zfs-kmod!
+   Please reboot to a newer version of zfs-kmod first:
+   zfs-kmod >=2.0.7 or zfs-kmod >=2.1.1-r3
+   Using ${P} with running version of zfs-kmod of can
+   lead to data loss while using cp command on some 
configurations.
+   See https://github.com/openzfs/zfs/issues/11900 for 
details.
+   EOF
+   )
+
+   case "${minver}" in
+   # 2.0.x
+   0)
+   ver_test "${kmodv}" -lt 2.0.7 && die "${diemsg}"
+   ;;
+   # 2.1.x
+   1)
+   ver_test "${kmodv}" -lt 2.1.1-r3 && die 
"${diemsg}"
+   ;;
+   # 0.8.x/
+   *)
+   # We can't really cover this case realistically
+   #  is too hard to check and 0.8.x isn't 
being supported anymore.
+   ;;
+   esac
+   fi
+
+}
+
 pkg_setup() {
if use test ; then
python-any-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-11-11 Thread Georgy Yakovlev
commit: d3f1f1c0240f6b4cfe20673b0dece697e9287ee1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 11 18:03:33 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 11 18:07:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f1f1c0

sys-apps/coreutils: update zfs-kmod checker

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index 394f624522d..9809b98ed1d 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -59,8 +59,8 @@ RDEPEND+="
!=2.0.7 or zfs-kmod >=2.1.1-r3
+   Using ${P} with running version of zfs-kmod of can
+   lead to data loss while using cp command on some 
configurations.
+   See https://github.com/openzfs/zfs/issues/11900 for 
details.
EOF
)
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-11-10 Thread Sam James
commit: 0372bbf13c029d77b6e3f2abe538c06b1648b5b2
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 11 03:12:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 11 03:12:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0372bbf1

sys-apps/coreutils: add check for running zfs(-kmod) version in coreutils 9

We need to make sure people reboot to avoid data corruption, not just
upgrade the module but fail to restart.

Bug: https://bugs.gentoo.org/815469
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 37 ++
 1 file changed, 37 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index 1a47a1aacc8..394f624522d 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -58,6 +58,43 @@ RDEPEND+="
! 2.1.1-r3
+   kmodv="${kmodv//zfs-kmod-}"
+   kmodv="${kmodv%%-gentoo}"
+
+   minver="$(ver_cut 2 ${kmodv})"
+   local diemsg=$(cat <<-EOF
+   Attempted installation of ${P} on unsupported version 
of zfs-kmod!
+   Please reboot to a newer version of zfs-kmod first:
+   zfs-kmod >=2.0.7 or zfs-kmod >=2.1.1-r3
+   EOF
+   )
+
+   case "${minver}" in
+   # 2.0.x
+   0)
+   ver_test "${kmodv}" -lt 2.0.7 && die "${diemsg}"
+   ;;
+   # 2.1.x
+   1)
+   ver_test "${kmodv}" -lt 2.1.1-r3 && die 
"${diemsg}"
+   ;;
+   # 0.8.x/
+   *)
+   # We can't really cover this case realistically
+   #  is too hard to check and 0.8.x isn't 
being supported anymore.
+   ;;
+   esac
+   fi
+
+}
+
 pkg_setup() {
if use test ; then
python-any-r1_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-11-09 Thread Sam James
commit: 2b154901f14a4d3d67c4dd3dca87af62a98f3484
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 10 06:13:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 10 06:13:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b154901

sys-apps/coreutils: give hint for libgmp location in cross

Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index ffbc9ea3ef9..1a47a1aacc8 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -112,6 +112,10 @@ src_configure() {
$(use_with gmp libgmp)
)
 
+   if use gmp ; then
+   myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr )
+   fi
+
if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
# bug #311569
export fu_cv_sys_stat_statfs2_bsize=yes



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/

2021-09-27 Thread Sam James
commit: 3f36bd3a78e38084b381b5b4b20588e7210cc9f2
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 02:01:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 02:01:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f36bd3a

sys-apps/coreutils: add misisng dev-lang/perl BDEPEND

Needed for man page generation.

Closes: https://bugs.gentoo.org/814938
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-8.32-r1.ebuild | 1 +
 sys-apps/coreutils/coreutils-9.0-r1.ebuild  | 1 +
 sys-apps/coreutils/coreutils-9.0.ebuild | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-8.32-r1.ebuild 
b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
index 47b5462e103..1a139279ad8 100644
--- a/sys-apps/coreutils/coreutils-8.32-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-8.32-r1.ebuild
@@ -36,6 +36,7 @@ DEPEND="
 "
 BDEPEND="
app-arch/xz-utils
+   dev-lang/perl
test? (
dev-lang/perl
dev-perl/Expect

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
index a9a8508086a..ffbc9ea3ef9 100644
--- a/sys-apps/coreutils/coreutils-9.0-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -35,6 +35,7 @@ DEPEND="
 "
 BDEPEND="
app-arch/xz-utils
+   dev-lang/perl
test? (
dev-lang/perl
dev-perl/Expect

diff --git a/sys-apps/coreutils/coreutils-9.0.ebuild 
b/sys-apps/coreutils/coreutils-9.0.ebuild
index 0f0aec04b0b..b373e1d79b2 100644
--- a/sys-apps/coreutils/coreutils-9.0.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0.ebuild
@@ -35,6 +35,7 @@ DEPEND="
 "
 BDEPEND="
app-arch/xz-utils
+   dev-lang/perl
test? (
dev-lang/perl
dev-perl/Expect



[gentoo-commits] repo/gentoo:master commit in: sys-apps/coreutils/, sys-apps/coreutils/files/

2021-09-27 Thread Sam James
commit: 1b78510351384bb660ce226aba000e8962d75304
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 02:00:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 02:00:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b785103

sys-apps/coreutils: add upstream patch for chmod exit regression

See: https://lists.gnu.org/archive/html/bug-coreutils/2021-09/msg00031.html
See: https://lists.gnu.org/archive/html/bug-coreutils/2021-09/msg00035.html
Signed-off-by: Sam James  gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 222 +
 .../coreutils-9.0-fix-chmod-symlink-exit.patch |  35 
 2 files changed, 257 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild 
b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
new file mode 100644
index 000..a9a8508086a
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -0,0 +1,222 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..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 ~ia64 ~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
+   test? (
+   dev-lang/perl
+   dev-perl/Expect
+   dev-util/strace
+   ${PYTHON_DEPS}
+   )
+"
+RDEPEND+="
+   hostname? ( !sys-apps/net-tools[hostname] )
+   kill? (
+   !sys-apps/util-linux[kill]
+   !sys-process/procps[kill]
+   )
+   !app-misc/realpath
+   !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 libgmp)
+   )
+
+   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}"
+   

  1   2   3   >