[gentoo-commits] repo/gentoo:master commit in: dev-ruby/concurrent-ruby/

2022-03-30 Thread Hans de Graaff
commit: 1c719f3a3b30adfc4a26d326aa31298499414e38
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 31 05:39:10 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c719f3a

dev-ruby/concurrent-ruby: add 1.1.10

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/concurrent-ruby/Manifest  |  1 +
 .../concurrent-ruby/concurrent-ruby-1.1.10.ebuild  | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/concurrent-ruby/Manifest 
b/dev-ruby/concurrent-ruby/Manifest
index 7e6ae63bf1e8..85cb41082024 100644
--- a/dev-ruby/concurrent-ruby/Manifest
+++ b/dev-ruby/concurrent-ruby/Manifest
@@ -1 +1,2 @@
+DIST concurrent-ruby-1.1.10.tar.gz 6013684 BLAKE2B 
d271579a49ab52c9c41a7a0a31451775e1cba8ce19486b52a9eb3df7abbc66f7610d31284fc02747a8ee5f429983d8283b6fe92f22b911dcda5bc515da58b48f
 SHA512 
cfb67ce806d1f2a5bae509806247bfefb05c56794741cedcaa7ab6ff708085e374d150e8f46ff8e04dcb0918fde8ab5a593c60550da9ff6dc00af116e123f064
 DIST concurrent-ruby-1.1.9.tar.gz 4923746 BLAKE2B 
2bfea989db31f17c69ee479091135516e2aeef7ac74234ccea91b2e4b3626395683a7b2ebba1d13cb527903d3d83c51e873bdb859f0ff1983062fea4fa90a1e4
 SHA512 
243fc20795bcd7399bdf77a9b0db9b0bccb1b05edacf4fbc8f5515f59502300b4033a2a59bfb6adea9befdb20759c9f58bbf0e7744e934c85738085bef714ea6

diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.10.ebuild 
b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.10.ebuild
new file mode 100644
index ..4e6cb7eb5ab8
--- /dev/null
+++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Modern concurrency tools including agents, futures, promises, 
thread pools, more"
+HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby;
+SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )"
+
+all_ruby_prepare() {
+   # Remove edge files as defined in support/file_map.rb
+   rm -rf 
spec/concurrent/{actor,cancellation,channel,edge,lazy_register,promises,throttle}*
 || die
+   rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die
+   sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die
+   sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die
+   sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || 
die
+
+   # Remove specs for the ext gem
+   rm -rf spec/concurrent/atomic || die
+
+   sed -i 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/net-scp/

2022-03-30 Thread Hans de Graaff
commit: 1957008a959b7af21c6a101e1ccc993a016771a5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:37:41 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1957008a

dev-ruby/net-scp: enable ruby30 and disable ruby24, ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/net-scp/net-scp-3.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/net-scp/net-scp-3.0.0.ebuild 
b/dev-ruby/net-scp/net-scp-3.0.0.ebuild
index 2a3098587cf8..ba8bc03a74f2 100644
--- a/dev-ruby/net-scp/net-scp-3.0.0.ebuild
+++ b/dev-ruby/net-scp/net-scp-3.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/timecop/

2022-03-30 Thread Hans de Graaff
commit: d85491ec751cfb95de8fda43030d727e0d10
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 31 05:12:15 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85491ec

dev-ruby/timecop: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/timecop/timecop-0.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/timecop/timecop-0.9.5.ebuild 
b/dev-ruby/timecop/timecop-0.9.5.ebuild
index 0286f658465d..debfad270072 100644
--- a/dev-ruby/timecop/timecop-0.9.5.ebuild
+++ b/dev-ruby/timecop/timecop-0.9.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_TEST="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/hiera/

2022-03-30 Thread Hans de Graaff
commit: 214e2dae70dde545d8b4623d60267761cfcfc74c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:55:21 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214e2dae

dev-ruby/hiera: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/hiera/hiera-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/hiera/hiera-3.8.0.ebuild 
b/dev-ruby/hiera/hiera-3.8.0.ebuild
index 64459347e542..9d494825d1fc 100644
--- a/dev-ruby/hiera/hiera-3.8.0.ebuild
+++ b/dev-ruby/hiera/hiera-3.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-03-30 Thread Hans de Graaff
commit: 016b49f02dfcad7e0e72021b33da649cac80
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:25:57 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016b49f0

dev-ruby/x25519: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index 4fcd86a05d77..d227e78dedd0 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ed25519/

2022-03-30 Thread Hans de Graaff
commit: 0348cdf46eee06f3c66b40b2729ad394ee77d61b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:07:35 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0348cdf4

dev-ruby/ed25519: stabilize 1.2.4-r1 for amd64, ppc, ppc64, x86

Stable on arches since this there are no code changes in this revision.

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/ed25519/ed25519-1.2.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/ed25519/ed25519-1.2.4-r1.ebuild 
b/dev-ruby/ed25519/ed25519-1.2.4-r1.ebuild
index 3b2578925016..08e98bf86a2b 100644
--- a/dev-ruby/ed25519/ed25519-1.2.4-r1.ebuild
+++ b/dev-ruby/ed25519/ed25519-1.2.4-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
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/ed25519/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="MIT"
 SLOT="1"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sshkit/

2022-03-30 Thread Hans de Graaff
commit: 4d30b605f7921d1cd3f28bc6ad35719493af4c73
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:52:08 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d30b605

dev-ruby/sshkit: enable ruby30 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/sshkit/sshkit-1.21.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/sshkit/sshkit-1.21.2.ebuild 
b/dev-ruby/sshkit/sshkit-1.21.2.ebuild
index 08eaca39db62..339616db4166 100644
--- a/dev-ruby/sshkit/sshkit-1.21.2.ebuild
+++ b/dev-ruby/sshkit/sshkit-1.21.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30"
 
 # There are functional tests that require vagrant boxes to be set up.
 RUBY_FAKEGEM_TASK_TEST="test:units"



[gentoo-commits] repo/gentoo:master commit in: www-apache/passenger/

2022-03-30 Thread Hans de Graaff
commit: dbdff6e57e6ee35388e08c903dcc8f15223e5402
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 31 05:10:50 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdff6e5

www-apache/passenger: add 6.0.13

Signed-off-by: Hans de Graaff  gentoo.org>

 www-apache/passenger/Manifest|   1 +
 www-apache/passenger/passenger-6.0.13.ebuild | 126 +++
 2 files changed, 127 insertions(+)

diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest
index 388bc41e6686..ff782be6ad70 100644
--- a/www-apache/passenger/Manifest
+++ b/www-apache/passenger/Manifest
@@ -1,3 +1,4 @@
 DIST passenger-6.0.11.tar.gz 8183414 BLAKE2B 
9767c3f198d7a779dfefed1d1a2ab07e3dda964a61718475470266e3b4448a45d2c5e7416a2e148afa66241f74e91e98ccbec7f2a08f5d4d1e2eff2ac7de5f63
 SHA512 
977d8adb261c17d5f21115703b9b18c4d3bfc17f998fb880d3a28f68392db2f9e6a2cb7612211f08bc913fd2f417cb2b689fcab2317707e17e8ddea6aeb967d2
 DIST passenger-6.0.12.tar.gz 8234023 BLAKE2B 
fd045160b8ce457ca4e136431b6caaa2e97628b73be77883f6aaae4d5352f7d4ea1827dd1c3cac4c35140bb85789533d53bf8331eadd22abca88b0c07e85e4c2
 SHA512 
eee627e2ca8ac6f0bdab33e3670dc27933f29b021a232026ae6b30cec6134e8f58a92bf8223001820eb08817f475956a19069177901110ec8d67c1e87004e25b
+DIST passenger-6.0.13.tar.gz 8216169 BLAKE2B 
592b65ccfd7a043a6fcc1ea8061da3acaafd773caa2b5270e39906ee7f07cf3fb45654c5864eef53687d10c3079003a7ba8d3e8dfba50616b43516e1d457ce11
 SHA512 
25867f7bb7b7b09def800969884f5c3a2a5cf9dbb20817e02121a471e2eb6fb1e93d8ca3a4b103c5d17d6a61e33bf8edc29f54d496118b88c25147de85629d88
 DIST passenger-6.0.8.tar.gz 7567855 BLAKE2B 
ea8577c07a57eaea4e3b2b236808c9e54badb35368e948132af04220026b2676a71d066625a64cd98ce35118ae613bcbca8a0a1f8e0bc2a8d321c1165dec72f5
 SHA512 
ad35bee4a1c855b8f5401ab44e2a9b0cf3281e7fb1d8e09c8b12c54a465545d43285301c7d0fe16914e3c0fd5407d0d5cef31bb296f850d787903e6e006b368f

diff --git a/www-apache/passenger/passenger-6.0.13.ebuild 
b/www-apache/passenger/passenger-6.0.13.ebuild
new file mode 100644
index ..aca5b882f5ed
--- /dev/null
+++ b/www-apache/passenger/passenger-6.0.13.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27 ruby30"
+
+inherit apache-module flag-o-matic ruby-ng toolchain-funcs
+
+DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze"
+HOMEPAGE="https://www.phusionpassenger.com/;
+SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="apache2 debug"
+
+ruby_add_bdepend "dev-ruby/rake"
+
+ruby_add_rdepend "
+   >=dev-ruby/rack-1.0.0:*
+   >=dev-ruby/rake-0.8.1"
+
+# libev is bundled but with adapations that do not seem to be accepted
+# upstream, so we must use the bundled version :-(
+CDEPEND="
+   >=dev-libs/libuv-1.8.0
+   net-misc/curl[ssl]
+   apache2? ( www-servers/apache[apache2_modules_unixd(+)] )"
+
+RDEPEND="${RDEPEND} ${CDEPEND}"
+DEPEND="${DEPEND} ${CDEPEND}"
+
+APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}"
+APACHE2_MOD_DEFINE="PASSENGER"
+
+want_apache2
+
+pkg_setup() {
+   use debug && append-flags -DPASSENGER_DEBUG
+   depend.apache_pkg_setup
+}
+
+all_ruby_prepare() {
+   eapply "${FILESDIR}"/${PN}-5.1.11-gentoo.patch
+
+   # Change these with sed instead of a patch so that we can easily use
+   # the toolchain-funcs methods.
+   sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \
+   -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \
+   -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die
+
+   # Avoid fixed debugging CFLAGs.
+   sed -e '/debugging_cflags/areturn ""' -i 
src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die
+
+   # Use sed here so that we can dynamically set the documentation 
directory.
+   sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \
+   -e 
"s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
+   src/ruby_supportlib/phusion_passenger.rb || die
+   sed -i -e 
"s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" 
src/cxx_supportlib/ResourceLocator.h || die
+
+   # Don't install a tool that won't work in our setup.
+   sed -i -e '/passenger-install-apache2-module/d' 
src/ruby_supportlib/phusion_passenger/packaging.rb || die
+   rm -f bin/passenger-install-apache2-module || die "Unable to remove 
unneeded install script."
+
+   # Make sure we use the system-provided version where possible
+   rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove 
vendored code."
+
+   # Fix hard-coded use of AR
+   sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || 
die
+
+   # Make 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/mocha/

2022-03-30 Thread Hans de Graaff
commit: 98f5390de94bc282f5b85a15f311d9c9568da3be
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 07:35:14 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f5390d

dev-ruby/mocha: enable ruby31 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/mocha/mocha-1.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/mocha/mocha-1.13.0.ebuild 
b/dev-ruby/mocha/mocha-1.13.0.ebuild
index cf08b665dfa4..d95ad4cf3f1f 100644
--- a/dev-ruby/mocha/mocha-1.13.0.ebuild
+++ b/dev-ruby/mocha/mocha-1.13.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/instantiator/

2022-03-30 Thread Hans de Graaff
commit: bde361c13dc3ced35c34319d3d2d9f0d5fc335ee
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 07:32:14 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde361c1

dev-ruby/instantiator: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild 
b/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild
index 548bb30d90d8..6f6eac191a73 100644
--- a/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild
+++ b/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/bcrypt_pbkdf/

2022-03-30 Thread Hans de Graaff
commit: d681acd3ea9bb3999cc66a3abca3df1ffdb14922
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:03:45 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d681acd3

dev-ruby/bcrypt_pbkdf: enable ruby31 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r1.ebuild 
b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r1.ebuild
index 37813069391f..904404a877ca 100644
--- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r1.ebuild
+++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec/

2022-03-30 Thread Hans de Graaff
commit: 95c67a39b9b2dc8f3588e6e0379431328fd5a2b6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:45:35 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c67a39

dev-ruby/rspec: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rspec/rspec-3.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec/rspec-3.11.0.ebuild 
b/dev-ruby/rspec/rspec-3.11.0.ebuild
index 2586a6263a7b..aeda19c5dbd0 100644
--- a/dev-ruby/rspec/rspec-3.11.0.ebuild
+++ b/dev-ruby/rspec/rspec-3.11.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_TEST=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/introspection/

2022-03-30 Thread Hans de Graaff
commit: 1ab0fd7583c6b5f4db28882162503c5fd9699ec6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 07:32:51 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab0fd75

dev-ruby/introspection: enable ruby31 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/introspection/introspection-0.0.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/introspection/introspection-0.0.4-r1.ebuild 
b/dev-ruby/introspection/introspection-0.0.4-r1.ebuild
index 6bea8b8cfc20..1d86cd5f578d 100644
--- a/dev-ruby/introspection/introspection-0.0.4-r1.ebuild
+++ b/dev-ruby/introspection/introspection-0.0.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 # No documentation task
 RUBY_FAKEGEM_TASK_DOC=""



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-expectations/

2022-03-30 Thread Hans de Graaff
commit: dd544904d13f28875be0d663f6d05c5b230d25e7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:45:11 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd544904

dev-ruby/rspec-expectations: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild 
b/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild
index 5180c98f1449..75e012d1768d 100644
--- a/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild
+++ b/dev-ruby/rspec-expectations/rspec-expectations-3.11.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-core/

2022-03-30 Thread Hans de Graaff
commit: 3b6099a7acc75eaa6cf3ef4f196f2c12510bd838
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:45:23 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6099a7

dev-ruby/rspec-core: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rspec-core/rspec-core-3.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild 
b/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild
index f74ed0d62b0a..c0b87a3cfaed 100644
--- a/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-3.11.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_TEST="none"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-mocks/

2022-03-30 Thread Hans de Graaff
commit: cd0296478b7e8366031db272f2ce7b623cde5306
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:44:59 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd029647

dev-ruby/rspec-mocks: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rspec-mocks/rspec-mocks-3.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec-mocks/rspec-mocks-3.11.0.ebuild 
b/dev-ruby/rspec-mocks/rspec-mocks-3.11.0.ebuild
index d3fe5e097e27..2cd5b07d4234 100644
--- a/dev-ruby/rspec-mocks/rspec-mocks-3.11.0.ebuild
+++ b/dev-ruby/rspec-mocks/rspec-mocks-3.11.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-support/

2022-03-30 Thread Hans de Graaff
commit: 5ba5c34cee44cd5726195ffbfa76e35fba62bca4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:44:46 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba5c34c

dev-ruby/rspec-support: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rspec-support/rspec-support-3.11.0.ebuild | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild 
b/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild
index d7fe9d10c9e9..b655ae6d9d07 100644
--- a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild
+++ b/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -44,6 +44,15 @@ all_ruby_prepare() {
 each_ruby_prepare() {
# Use the ruby version being tested
sed -i -e '/shell_out/ s:ruby:'${RUBY}':' 
spec/rspec/support/spec/shell_out_spec.rb || die
+
+   case ${RUBY} in
+   *ruby31)
+   # Avoid specs failing when run in Gentoo, possibly due 
to different IO
+   sed -e '/outputs unified diff message of two 
arrays/askip "ruby31 IO"' \
+   -e '/outputs unified diff message for hashes 
inside arrays with differing key orders/askip "ruby31 IO"' \
+   -i spec/rspec/support/differ_spec.rb || die
+   ;;
+   esac
 }
 
 each_ruby_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/blankslate/

2022-03-30 Thread Hans de Graaff
commit: 78d1247b04c132c8e4c98977e9ff33abe125cc23
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 07:31:00 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d1247b

dev-ruby/blankslate: enable ruby31 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/blankslate/blankslate-3.1.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/blankslate/blankslate-3.1.3-r1.ebuild 
b/dev-ruby/blankslate/blankslate-3.1.3-r1.ebuild
index b6499aceb038..e6769e50526d 100644
--- a/dev-ruby/blankslate/blankslate-3.1.3-r1.ebuild
+++ b/dev-ruby/blankslate/blankslate-3.1.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="README"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/diff-lcs/

2022-03-30 Thread Hans de Graaff
commit: 76ab5a89422b6bcbf6ed89edaac6af469525473b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:43:55 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ab5a89

dev-ruby/diff-lcs: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/diff-lcs/diff-lcs-1.5.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/diff-lcs/diff-lcs-1.5.0.ebuild 
b/dev-ruby/diff-lcs/diff-lcs-1.5.0.ebuild
index 53ba77ba28b9..38a898e746b6 100644
--- a/dev-ruby/diff-lcs/diff-lcs-1.5.0.ebuild
+++ b/dev-ruby/diff-lcs/diff-lcs-1.5.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/coderay/

2022-03-30 Thread Hans de Graaff
commit: d2d788d1168524be174b6fc463442d4c4569617d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:43:20 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d788d1

dev-ruby/coderay: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/coderay/coderay-1.1.3-r2.ebuild | 46 
 1 file changed, 46 insertions(+)

diff --git a/dev-ruby/coderay/coderay-1.1.3-r2.ebuild 
b/dev-ruby/coderay/coderay-1.1.3-r2.ebuild
new file mode 100644
index ..e02963145021
--- /dev/null
+++ b/dev-ruby/coderay/coderay-1.1.3-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+# The test target also contains test:exe but that requires
+# shoulda-context which we do not have packaged yet.
+RUBY_FAKEGEM_TASK_TEST="spec test:functional test:units"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS 
README_INDEX.rdoc README.markdown"
+
+RUBY_FAKEGEM_GEMSPEC="coderay.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for syntax highlighting"
+HOMEPAGE="http://coderay.rubychan.de/;
+SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+PATCHES=("${FILESDIR}/${P}-ruby30.patch")
+
+# Redcloth is an optional but automagically tested dependency. This
+# requires redcloth-4.2.2. We don't depend on this version to make
+# bootstrapping rspec with new versions easier, since redcloth depends
+# on rake-compiler.
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
+
+all_ruby_prepare() {
+   sed -i -e "/[Bb]undler/d" Rakefile || die
+   sed -i -e '/git ls-files/ s:^:#:' -e 's/.rc.*"/"/' coderay.gemspec || 
die
+   sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb test/*/*.rb || die
+
+   # Fix failing tests for lazy evaluation in ruby26
+   sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ed25519/

2022-03-30 Thread Hans de Graaff
commit: 7a1049f2e4f519e43919f99f21953179c2a6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:06:26 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1049f2

dev-ruby/ed25519: add 1.3.0

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/ed25519/Manifest |  1 +
 dev-ruby/ed25519/ed25519-1.3.0.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/dev-ruby/ed25519/Manifest b/dev-ruby/ed25519/Manifest
index aacf5d4f0ae1..44bc214b2a57 100644
--- a/dev-ruby/ed25519/Manifest
+++ b/dev-ruby/ed25519/Manifest
@@ -1 +1,2 @@
 DIST ed25519-1.2.4.tar.gz 136685 BLAKE2B 
d0fd78f16df2b09f5835fca4b0963cee930e17ece2c4eea2cbf4544ed1a5e30c7dc63525b285f4e1e150e5e70d1e8207ca07ce985c27441a903c69875fd92dee
 SHA512 
cf2de7781848d804f3a279baef26f887846d7d846d225293c74dc3f4e301d18518c9edc8b721f9637fff8f087703e91d2376119f2d8185ef19be5862f99801b3
+DIST ed25519-1.3.0.tar.gz 137160 BLAKE2B 
520ffa6bd0a801faa9f5f63873d705a211c3dba0e5319246b77bd455585e60baf7c7829ddebb892a896c1ae763e6df732115675307451c33bb20f56bb7c89be4
 SHA512 
dbd108769e131d15e4f31eaf7f4a46530769f279ccbbe4a10b5fe9e1d394bafb0ea6af95b6b1da2d66db00072576ff9d6d5c9156d949d79daf929a9dbd22eea8

diff --git a/dev-ruby/ed25519/ed25519-1.3.0.ebuild 
b/dev-ruby/ed25519/ed25519-1.3.0.ebuild
new file mode 100644
index ..259a7fcc67ec
--- /dev/null
+++ b/dev-ruby/ed25519/ed25519-1.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/ed25519_ref10/extconf.rb)
+
+RUBY_FAKEGEM_GEMSPEC="ed25519.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for the Ed25519 public-key signature system"
+HOMEPAGE="https://github.com/crypto-rb/ed25519;
+SRC_URI="https://github.com/crypto-rb/ed25519/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+   sed -i -e '/\(bundler\|coverall\)/I s:^:#:' spec/spec_helper.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/thread_order/

2022-03-30 Thread Hans de Graaff
commit: 74f37a41808122fc373ec4a2bcae3f6028ac28b7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 06:44:32 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f37a41

dev-ruby/thread_order: enable ruby31 and disable ruby25

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/thread_order/thread_order-1.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/thread_order/thread_order-1.1.1.ebuild 
b/dev-ruby/thread_order/thread_order-1.1.1.ebuild
index 24c840b4c3d7..46a00ee1f31e 100644
--- a/dev-ruby/thread_order/thread_order-1.1.1.ebuild
+++ b/dev-ruby/thread_order/thread_order-1.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 



[gentoo-commits] proj/hardened-refpolicy: New tag: 2.20220106-r2

2022-03-30 Thread Jason Zaman
commit: 
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 03:45:52 2022 +

New tag: 2.20220106-r2




[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2022-03-30 Thread Jason Zaman
commit: 96b25ec181556bbae727bb32714c6d4438f6ce67
Author: Russell Coker  coker  com  au>
AuthorDate: Thu Feb 17 14:47:40 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=96b25ec1

init dbus patch for GetDynamicUsers with systemd_use_nss() V2

Same as before but moved to the top of my patch list so it will apply to the
git policy.

Should be ready to merge now.

Signed-off-by: Russell Coker  coker.com.au>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/services/dictd.te   |  3 +++
 policy/modules/services/postfix.te | 18 ++
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/policy/modules/services/dictd.te b/policy/modules/services/dictd.te
index a6bc5336..a286f7de 100644
--- a/policy/modules/services/dictd.te
+++ b/policy/modules/services/dictd.te
@@ -79,3 +79,6 @@ optional_policy(`
seutil_sigchld_newrole(dictd_t)
 ')
 
+ifdef(`init_systemd',`
+   systemd_use_nss(dictd_t)
+')

diff --git a/policy/modules/services/postfix.te 
b/policy/modules/services/postfix.te
index 5c324bc7..0f865b00 100644
--- a/policy/modules/services/postfix.te
+++ b/policy/modules/services/postfix.te
@@ -374,11 +374,7 @@ manage_files_pattern(postfix_bounce_t, 
postfix_spool_bounce_t, postfix_spool_bou
 manage_lnk_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, 
postfix_spool_bounce_t)
 
 optional_policy(`
-   init_dbus_chat(postfix_bounce_t)
-')
-
-optional_policy(`
-   dbus_system_bus_client(postfix_bounce_t)
+   systemd_use_nss(postfix_bounce_t)
 ')
 
 
@@ -765,6 +761,10 @@ optional_policy(`
cyrus_stream_connect(postfix_smtp_t)
 ')
 
+optional_policy(`
+   systemd_use_nss(postfix_smtp_t)
+')
+
 optional_policy(`
dovecot_stream_connect(postfix_smtp_t)
 ')
@@ -773,6 +773,10 @@ optional_policy(`
milter_stream_connect_all(postfix_smtp_t)
 ')
 
+optional_policy(`
+   systemd_use_nss(postfix_showq_t)
+')
+
 
 #
 # Smtpd local policy
@@ -803,9 +807,7 @@ optional_policy(`
 ')
 
 optional_policy(`
-   dbus_send_system_bus(postfix_smtp_t)
-   dbus_system_bus_client(postfix_smtp_t)
-   init_dbus_chat(postfix_smtp_t)
+   systemd_use_nss(postfix_smtpd_t)
 ')
 
 optional_policy(`



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2022-03-30 Thread Jason Zaman
commit: 04b123f76086ec111c475bd22b81b2da5be95037
Author: Chris PeBenito  ieee  org>
AuthorDate: Fri Mar 25 12:45:21 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=04b123f7

postfix: Move lines.

No rule change.

Signed-off-by: Chris PeBenito  ieee.org>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/services/postfix.te | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/policy/modules/services/postfix.te 
b/policy/modules/services/postfix.te
index 0f865b00..a61882d4 100644
--- a/policy/modules/services/postfix.te
+++ b/policy/modules/services/postfix.te
@@ -738,6 +738,10 @@ allow postfix_showq_t postfix_spool_t:file read_file_perms;
 term_use_all_ptys(postfix_showq_t)
 term_use_all_ttys(postfix_showq_t)
 
+optional_policy(`
+   systemd_use_nss(postfix_showq_t)
+')
+
 
 #
 # Smtp delivery local policy
@@ -761,10 +765,6 @@ optional_policy(`
cyrus_stream_connect(postfix_smtp_t)
 ')
 
-optional_policy(`
-   systemd_use_nss(postfix_smtp_t)
-')
-
 optional_policy(`
dovecot_stream_connect(postfix_smtp_t)
 ')
@@ -774,7 +774,7 @@ optional_policy(`
 ')
 
 optional_policy(`
-   systemd_use_nss(postfix_showq_t)
+   systemd_use_nss(postfix_smtp_t)
 ')
 
 
@@ -806,10 +806,6 @@ optional_policy(`
certbot_read_lib(postfix_smtpd_t)
 ')
 
-optional_policy(`
-   systemd_use_nss(postfix_smtpd_t)
-')
-
 optional_policy(`
dovecot_stream_connect_auth(postfix_smtpd_t)
dovecot_stream_connect(postfix_smtpd_t)
@@ -840,6 +836,10 @@ optional_policy(`
spamassassin_stream_connect_spamd(postfix_smtpd_t)
 ')
 
+optional_policy(`
+   systemd_use_nss(postfix_smtpd_t)
+')
+
 
 #
 # Virtual local policy



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: bbd6fcc9c8ff59bcde02b114d6985505e33e8d3f
Author: Jonathan Davies  protonmail  com>
AuthorDate: Fri Mar 25 00:29:42 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bbd6fcc9

systemd.if: Allowed reading systemd_userdbd_runtime_t symlinks in 
systemd_stream_connect_userdb().

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/systemd.if | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
index fc000ef9..b1616d21 100644
--- a/policy/modules/system/systemd.if
+++ b/policy/modules/system/systemd.if
@@ -1250,6 +1250,7 @@ interface(`systemd_stream_connect_userdb', `
 
init_search_runtime($1)
allow $1 systemd_userdbd_runtime_t:dir list_dir_perms;
+   allow $1 systemd_userdbd_runtime_t:lnk_file read_lnk_file_perms;
stream_connect_pattern($1, systemd_userdbd_runtime_t, 
systemd_userdbd_runtime_t, systemd_userdbd_t)
init_unix_stream_socket_connectto($1)
 ')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2022-03-30 Thread Jason Zaman
commit: d953a2fbae3db9cea8136566782294d6206a717a
Author: Russell Coker  coker  com  au>
AuthorDate: Thu Mar 24 14:34:49 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d953a2fb

certbot V3

Same as the last one but with the directory names for the auto trans rules
removed.  I think it's ready for merging.

Signed-off-by: Russell Coker  coker.com.au>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/services/apache.if  | 36 
 policy/modules/services/certbot.te | 22 +++---
 2 files changed, 55 insertions(+), 3 deletions(-)

diff --git a/policy/modules/services/apache.if 
b/policy/modules/services/apache.if
index 11a7120e..dd86c618 100644
--- a/policy/modules/services/apache.if
+++ b/policy/modules/services/apache.if
@@ -236,6 +236,24 @@ interface(`apache_domtrans',`
domtrans_pattern($1, httpd_exec_t, httpd_t)
 ')
 
+
+## 
+## Execute httpd
+## 
+## 
+## 
+## Domain allowed to execute it.
+## 
+## 
+#
+interface(`apache_exec',`
+   gen_require(`
+   type httpd_t, httpd_exec_t;
+   ')
+
+   can_exec($1, httpd_exec_t)
+')
+
 
 ## 
 ## Execute httpd server in the httpd domain.
@@ -1430,3 +1448,21 @@ interface(`apache_admin',`
apache_run_all_scripts($1, $2)
apache_run_helper($1, $2)
 ')
+
+
+## 
+## rw httpd_runtime_t files
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`apache_rw_runtime_files',`
+   gen_require(`
+   type httpd_runtime_t;
+   ')
+
+   allow $1 httpd_runtime_t:file rw_file_perms;
+')

diff --git a/policy/modules/services/certbot.te 
b/policy/modules/services/certbot.te
index fc979c5f..ac609795 100644
--- a/policy/modules/services/certbot.te
+++ b/policy/modules/services/certbot.te
@@ -43,7 +43,7 @@ allow certbot_t self:udp_socket all_udp_socket_perms;
 allow certbot_t self:tcp_socket all_tcp_socket_perms;
 allow certbot_t self:netlink_route_socket create_netlink_socket_perms;
 
-files_search_var_lib(certbot_t)
+files_var_lib_filetrans(certbot_t, certbot_lib_t, dir)
 manage_dirs_pattern(certbot_t, certbot_lib_t, certbot_lib_t)
 manage_files_pattern(certbot_t, certbot_lib_t, certbot_lib_t)
 
@@ -62,7 +62,7 @@ allow certbot_t certbot_tmp_t:file mmap_exec_file_perms;
 allow certbot_t certbot_tmpfs_t:file mmap_exec_file_perms;
 allow certbot_t certbot_runtime_t:file mmap_exec_file_perms;
 
-logging_search_logs(certbot_t)
+logging_log_filetrans(certbot_t, certbot_log_t, dir)
 allow certbot_t certbot_log_t:dir manage_dir_perms;
 allow certbot_t certbot_log_t:file manage_file_perms;
 
@@ -80,11 +80,15 @@ corenet_tcp_connect_dns_port(certbot_t)
 # bind to http port for standalone mode
 corenet_tcp_bind_http_port(certbot_t)
 
+dev_read_urand(certbot_t)
+
 domain_use_interactive_fds(certbot_t)
 
 files_read_etc_files(certbot_t)
 files_read_usr_files(certbot_t)
 
+# dontaudit for attempts to write python cache files
+libs_dontaudit_write_lib_dirs(certbot_t)
 libs_exec_ldconfig(certbot_t)
 # for /usr/lib/gcc/x86_64-linux-gnu/8/collect2
 libs_exec_lib_files(certbot_t)
@@ -110,5 +114,17 @@ optional_policy(`
# for writing to webroot
apache_manage_sys_content(certbot_t)
 
-   apache_search_config(certbot_t)
+   apache_append_log(certbot_t)
+   apache_exec(certbot_t)
+   apache_exec_modules(certbot_t)
+
+   # for certbot to create nginx config
+   apache_manage_config(certbot_t)
+
+   apache_rw_runtime_files(certbot_t)
+   apache_signal(certbot_t)
+')
+
+optional_policy(`
+   xdg_search_config_dirs(certbot_t)
 ')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2022-03-30 Thread Jason Zaman
commit: 11a7bdcff19d577062c451a8e0099b5c77092559
Author: Kenton Groombridge  concord  sh>
AuthorDate: Wed Dec  1 14:13:52 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=11a7bdcf

networkmanager: allow getting systemd system status

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/services/networkmanager.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/services/networkmanager.te 
b/policy/modules/services/networkmanager.te
index e16d0d2b..db92cbff 100644
--- a/policy/modules/services/networkmanager.te
+++ b/policy/modules/services/networkmanager.te
@@ -165,6 +165,7 @@ storage_getattr_fixed_disk_dev(NetworkManager_t)
 init_read_utmp(NetworkManager_t)
 init_dontaudit_write_utmp(NetworkManager_t)
 init_domtrans_script(NetworkManager_t)
+init_get_system_status(NetworkManager_t)
 
 auth_use_nsswitch(NetworkManager_t)
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 996ce0759abb385b647feff2fce7e7368226ba21
Author: Kenton Groombridge  concord  sh>
AuthorDate: Wed Dec  1 14:06:26 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=996ce075

udev: allow udev to start the systemd system object

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/udev.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index 17cb7de4..360ebc81 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -258,6 +258,7 @@ ifdef(`init_systemd',`
init_dgram_send(udev_t)
init_get_generic_units_status(udev_t)
init_stream_connect(udev_t)
+   init_start_system(udev_t)
 
systemd_map_hwdb(udev_t)
systemd_read_hwdb(udev_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/

2022-03-30 Thread Jason Zaman
commit: 1308dbe2fce172abaee054dbeaa489cb0ca60a94
Author: Kenton Groombridge  concord  sh>
AuthorDate: Wed Nov 10 17:14:46 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=1308dbe2

sudo: fixes for polyinstantiation

PAM can be configured to allow sudo to unmount/remount private tmp
directories when invoked. Allow this access if enabled.

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/admin/sudo.if | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/policy/modules/admin/sudo.if b/policy/modules/admin/sudo.if
index d4249ec0..fb2c8333 100644
--- a/policy/modules/admin/sudo.if
+++ b/policy/modules/admin/sudo.if
@@ -145,6 +145,12 @@ template(`sudo_role_template',`
userdom_dontaudit_search_user_home_content($1_sudo_t)
userdom_dontaudit_search_user_home_dirs($1_sudo_t)
 
+   tunable_policy(`allow_polyinstantiation',`
+   allow $1_sudo_t self:capability sys_admin;
+   fs_mount_xattr_fs($1_sudo_t)
+   fs_unmount_xattr_fs($1_sudo_t)
+   ')
+
tunable_policy(`sudo_allow_user_exec_domains',`
allow $1_sudo_t $3:key search;
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2022-03-30 Thread Jason Zaman
commit: c2bcc69a341396ee6249308575615c68d30926bd
Author: Chris PeBenito  ieee  org>
AuthorDate: Fri Mar 25 15:29:37 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c2bcc69a

apache: Remove unnecessary require in apache_exec().

Signed-off-by: Chris PeBenito  ieee.org>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/services/apache.if | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/modules/services/apache.if 
b/policy/modules/services/apache.if
index dd86c618..2b3a7f3c 100644
--- a/policy/modules/services/apache.if
+++ b/policy/modules/services/apache.if
@@ -248,7 +248,7 @@ interface(`apache_domtrans',`
 #
 interface(`apache_exec',`
gen_require(`
-   type httpd_t, httpd_exec_t;
+   type httpd_exec_t;
')
 
can_exec($1, httpd_exec_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 5c01efb62cfd14b4ccf8cebcab4245bd188d2060
Author: Kenton Groombridge  concord  sh>
AuthorDate: Tue Nov 30 16:30:57 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5c01efb6

locallogin: fix for polyinstantiation

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/locallogin.te | 4 
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/system/locallogin.te 
b/policy/modules/system/locallogin.te
index 91f21cc2..6d5e948d 100644
--- a/policy/modules/system/locallogin.te
+++ b/policy/modules/system/locallogin.te
@@ -157,6 +157,10 @@ ifdef(`distro_ubuntu',`
')
 ')
 
+tunable_policy(`allow_polyinstantiation',`
+   seutil_domtrans_setfiles(local_login_t)
+')
+
 tunable_policy(`console_login',`
# Able to relabel /dev/console to user tty types.
term_relabel_console(local_login_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/, policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: fc0dd40ee53f5a1d45ee160db2d3d1e6727bff90
Author: Kenton Groombridge  concord  sh>
AuthorDate: Wed Nov 10 17:58:42 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fc0dd40e

files, init: allow init to remount filesystems mounted on /boot

The context= mount option can be used to label, for example, a DOS
filesystem mounted on boot to be boot_t instead of dosfs_t. Explicitly
allow init (systemd) to remount boot_t filesystems so that options like
ProtectSystem=full work properly.

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/kernel/files.if | 18 ++
 policy/modules/system/init.te  |  1 +
 2 files changed, 19 insertions(+)

diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if
index ea29fef3..baedb52e 100644
--- a/policy/modules/kernel/files.if
+++ b/policy/modules/kernel/files.if
@@ -2238,6 +2238,24 @@ interface(`files_mounton_root',`
allow $1 root_t:dir mounton;
 ')
 
+
+## 
+## Remount a filesystem mounted on /boot.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`files_remount_boot',`
+   gen_require(`
+   type boot_t;
+   ')
+
+   allow $1 boot_t:filesystem remount;
+')
+
 
 ## 
 ## Get attributes of the /boot directory.

diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te
index 3f1c7d20..6e1baef9 100644
--- a/policy/modules/system/init.te
+++ b/policy/modules/system/init.te
@@ -417,6 +417,7 @@ ifdef(`init_systemd',`
files_mounton_tmp(init_t)
files_manage_urandom_seed(init_t)
files_read_boot_files(initrc_t)
+   files_remount_boot(init_t)
files_relabel_all_lock_dirs(init_t)
files_search_all(init_t)
files_unmount_all_file_type_fs(init_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/, config/appconfig-standard/, config/appconfig-mls/, ...

2022-03-30 Thread Jason Zaman
commit: c5fa13989512397b4ae3c75feb99a8f4cf4c5376
Author: Russell Coker  coker  com  au>
AuthorDate: Sun Mar 27 12:15:11 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 03:11:59 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c5fa1398

new sddm V2

This patch addresses all previous issues and I think it's ready to merge.

Signed-off-by: Russell Coker  coker.com.au>
Signed-off-by: Jason Zaman  gentoo.org>

 config/appconfig-mcs/seusers   |  1 +
 config/appconfig-mcs/xdm_default_contexts  |  1 +
 config/appconfig-mls/seusers   |  1 +
 config/appconfig-mls/xdm_default_contexts  |  1 +
 config/appconfig-standard/seusers  |  1 +
 config/appconfig-standard/xdm_default_contexts |  1 +
 policy/modules/services/xserver.te | 11 +++
 7 files changed, 17 insertions(+)

diff --git a/config/appconfig-mcs/seusers b/config/appconfig-mcs/seusers
index ce614b41..e87000a5 100644
--- a/config/appconfig-mcs/seusers
+++ b/config/appconfig-mcs/seusers
@@ -1,2 +1,3 @@
 root:root:s0-mcs_systemhigh
 __default__:user_u:s0
+sddm:xdm:s0

diff --git a/config/appconfig-mcs/xdm_default_contexts 
b/config/appconfig-mcs/xdm_default_contexts
new file mode 100644
index ..08c88c0f
--- /dev/null
+++ b/config/appconfig-mcs/xdm_default_contexts
@@ -0,0 +1 @@
+system_r:xdm_t:s0  system_r:xdm_t:s0

diff --git a/config/appconfig-mls/seusers b/config/appconfig-mls/seusers
index 4e500b09..38414fee 100644
--- a/config/appconfig-mls/seusers
+++ b/config/appconfig-mls/seusers
@@ -1,2 +1,3 @@
 root:root:s0-mls_systemhigh
 __default__:user_u:s0
+sddm:xdm:s0

diff --git a/config/appconfig-mls/xdm_default_contexts 
b/config/appconfig-mls/xdm_default_contexts
new file mode 100644
index ..08c88c0f
--- /dev/null
+++ b/config/appconfig-mls/xdm_default_contexts
@@ -0,0 +1 @@
+system_r:xdm_t:s0  system_r:xdm_t:s0

diff --git a/config/appconfig-standard/seusers 
b/config/appconfig-standard/seusers
index f7c5bd27..f6066b50 100644
--- a/config/appconfig-standard/seusers
+++ b/config/appconfig-standard/seusers
@@ -1,2 +1,3 @@
 root:root
 __default__:user_u
+sddm:xdm:s0

diff --git a/config/appconfig-standard/xdm_default_contexts 
b/config/appconfig-standard/xdm_default_contexts
new file mode 100644
index ..af1cb2e7
--- /dev/null
+++ b/config/appconfig-standard/xdm_default_contexts
@@ -0,0 +1 @@
+system_r:xdm_t system_r:xdm_t

diff --git a/policy/modules/services/xserver.te 
b/policy/modules/services/xserver.te
index 347e96c2..24cea45b 100644
--- a/policy/modules/services/xserver.te
+++ b/policy/modules/services/xserver.te
@@ -62,6 +62,10 @@ gen_tunable(xserver_object_manager, false)
 ## 
 gen_tunable(xserver_allow_dri, false)
 
+# for sddm to use pam for greeter
+role xdm_r;
+allow system_r xdm_r;
+
 attribute x_domain;
 
 # X Events
@@ -145,6 +149,7 @@ fs_associate_tmpfs(xconsole_device_t)
 files_associate_tmp(xconsole_device_t)
 
 type xdm_t;
+role xdm_r types xdm_t;
 type xdm_exec_t;
 auth_login_pgm_domain(xdm_t)
 init_domain(xdm_t, xdm_exec_t)
@@ -843,6 +848,9 @@ manage_files_pattern(xserver_t, xdm_tmp_t, xdm_tmp_t)
 manage_lnk_files_pattern(xserver_t, xdm_tmp_t, xdm_tmp_t)
 manage_sock_files_pattern(xserver_t, xdm_tmp_t, xdm_tmp_t)
 
+# for sddm to use pam for greeter, sddm greeter needs execmod
+allow xdm_t xdm_tmpfs_t:file execmod;
+
 # Run Xorg.wrap
 can_exec(xserver_t, xserver_exec_t)
 
@@ -1046,3 +1054,6 @@ ifdef(`distro_gentoo',`
cgmanager_stream_connect(xdm_t)
')
 ')
+
+# for sddm to use pam for greeter
+gen_user(xdm,, xdm_r, s0, s0)



[gentoo-commits] proj/hardened-refpolicy:master commit in: /

2022-03-30 Thread Jason Zaman
commit: 901d5bbe56a07b57a4bd4368bb82275c628f6a09
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 17:11:36 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=901d5bbe

Makefile: use override for adding options

When adding program options to checkpolicy and checkmodule use
override to add them even when CHECKPOLICY or CHECKMODULE have been
set by the caller.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 Makefile | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 9b5069b9..84c019f9 100644
--- a/Makefile
+++ b/Makefile
@@ -173,16 +173,16 @@ docsdir := $(prefix)/share/doc/$(PKGNAME)
 # enable MLS if requested.
 ifeq "$(TYPE)" "mls"
M4PARAM += -D enable_mls=true
-   CHECKPOLICY += -M
-   CHECKMODULE += -M
+   override CHECKPOLICY += -M
+   override CHECKMODULE += -M
gennetfilter += -m
 endif
 
 # enable MLS if MCS requested.
 ifeq "$(TYPE)" "mcs"
M4PARAM += -D enable_mcs=true
-   CHECKPOLICY += -M
-   CHECKMODULE += -M
+   override CHECKPOLICY += -M
+   override CHECKMODULE += -M
gennetfilter += -c
 endif
 
@@ -200,7 +200,7 @@ ifeq "$(SYSTEMD)" "y"
 endif
 
 ifneq ($(OUTPUT_POLICY),)
-   CHECKPOLICY += -c $(OUTPUT_POLICY)
+   override CHECKPOLICY += -c $(OUTPUT_POLICY)
 endif
 
 ifneq "$(CUSTOM_BUILDOPT)" ""



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 621173ccfc704a796406e112f0342aae3f3bd803
Author: Kenton Groombridge  concord  sh>
AuthorDate: Fri Nov 12 22:23:37 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=621173cc

authlogin: dontaudit getcap chkpwd

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/authlogin.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/system/authlogin.te 
b/policy/modules/system/authlogin.te
index 286bf52e..f4741e3a 100644
--- a/policy/modules/system/authlogin.te
+++ b/policy/modules/system/authlogin.te
@@ -109,6 +109,7 @@ optional_policy(`
 allow chkpwd_t self:capability { dac_override setuid };
 dontaudit chkpwd_t self:capability sys_tty_config;
 allow chkpwd_t self:process { getattr signal };
+dontaudit chkpwd_t self:process getcap;
 
 allow chkpwd_t shadow_t:file read_file_perms;
 files_list_etc(chkpwd_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: gentoo/

2022-03-30 Thread Jason Zaman
commit: d9369102d26ade663ac85576c6935b55838f22f6
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Mar 31 02:42:51 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 03:11:59 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d9369102

Merge upstream

Signed-off-by: Jason Zaman  gentoo.org>

 gentoo/STATE | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentoo/STATE b/gentoo/STATE
index 21005bbc..b6599eda 100644
--- a/gentoo/STATE
+++ b/gentoo/STATE
@@ -1 +1 @@
-43d0b184b594394136783771760658613e8e0f0c
+6e5a6bffdb09992f962a6ecb09a0a90fe3e76269



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 96e2577855dad18d23e011de5d150f72eca4333d
Author: Kenton Groombridge  concord  sh>
AuthorDate: Tue Nov 30 16:31:09 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=96e25778

getty, locallogin: cgroup fixes

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/getty.te  | 2 ++
 policy/modules/system/locallogin.te | 4 
 2 files changed, 6 insertions(+)

diff --git a/policy/modules/system/getty.te b/policy/modules/system/getty.te
index e8c5a1b4..cba1f8ab 100644
--- a/policy/modules/system/getty.te
+++ b/policy/modules/system/getty.te
@@ -70,6 +70,8 @@ files_search_spool(getty_t)
 files_dontaudit_search_var_lib(getty_t)
 
 fs_search_auto_mountpoints(getty_t)
+fs_getattr_cgroup(getty_t)
+fs_search_cgroup_dirs(getty_t)
 # for error condition handling
 fs_getattr_xattr_fs(getty_t)
 

diff --git a/policy/modules/system/locallogin.te 
b/policy/modules/system/locallogin.te
index 6d5e948d..7fec15aa 100644
--- a/policy/modules/system/locallogin.te
+++ b/policy/modules/system/locallogin.te
@@ -55,6 +55,10 @@ allow local_login_t local_login_tmp_t:dir manage_dir_perms;
 allow local_login_t local_login_tmp_t:file manage_file_perms;
 files_tmp_filetrans(local_login_t, local_login_tmp_t, { file dir })
 
+fs_getattr_cgroup(local_login_t)
+fs_search_cgroup_dirs(local_login_t)
+fs_getattr_xattr_fs(local_login_t)
+
 kernel_read_system_state(local_login_t)
 kernel_read_kernel_sysctls(local_login_t)
 kernel_search_key(local_login_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: b92a94a5433397a83d36847cbd4b8ce677e1e607
Author: Kenton Groombridge  concord  sh>
AuthorDate: Sat Nov 13 21:17:53 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b92a94a5

systemd: add support for systemd-resolved stubs

When using systemd-resolved, the recommended configuration is to symlink
/etc/resolv.conf to one of the stub files in /run/systemd/resolve. To
support this, daemons that can read net_conf_t must be able to search
the init runtime and read etc_t symlinks. Allow this access if systemd
is enabled.

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/systemd.if | 4 
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
index e68a9b44..fc000ef9 100644
--- a/policy/modules/system/systemd.if
+++ b/policy/modules/system/systemd.if
@@ -2164,6 +2164,10 @@ interface(`systemd_read_resolved_runtime',`
type systemd_resolved_runtime_t;
')
 
+   # to read the systemd-resolved stub
+   files_read_etc_symlinks($1)
+
+   init_search_runtime($1)
read_files_pattern($1, systemd_resolved_runtime_t, 
systemd_resolved_runtime_t)
 ')
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: /

2022-03-30 Thread Jason Zaman
commit: 2df18d7dce0be89c767a178fe3cad5dadb3b0d27
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 17:06:40 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2df18d7d

Makefile: invoke python with -bb

Fail on python code calling str(bytes_instance) or
str(bytearray_instance), or comparing bytes/bytearray with str.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ed4a4c40..9b5069b9 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ AWK ?= gawk
 GREP ?= egrep
 INSTALL ?= install
 M4 ?= m4 -E -E
-PYTHON ?= python3 -t -t -E -W error
+PYTHON ?= python3 -bb -t -t -E -W error
 SED ?= sed
 SORT ?= LC_ALL=C sort
 UMASK ?= umask



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: b3a7d999f44a74fcb84a309b909541a64a6d2ef5
Author: Kenton Groombridge  concord  sh>
AuthorDate: Wed Nov 10 00:51:33 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b3a7d999

init: allow systemd to nnp_transition and nosuid_transition to daemon domains

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/init.if | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if
index 0559dc93..8d3eab4a 100644
--- a/policy/modules/system/init.if
+++ b/policy/modules/system/init.if
@@ -376,6 +376,8 @@ interface(`init_daemon_domain',`
 
allow $1 init_t:unix_dgram_socket sendto;
 
+   allow init_t $1:process2 { nnp_transition nosuid_transition };
+
optional_policy(`
systemd_stream_connect_socket_proxyd($1)
')



[gentoo-commits] proj/hardened-refpolicy:master commit in: /

2022-03-30 Thread Jason Zaman
commit: 3f7c372e6212f0ab402c6bbd833dd80d1fb50e22
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 17:10:11 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3f7c372e

Rules.monolithic: add target to generate CIL policy

Add a Makefile target to generate a CIL policy, useful for debugging,
introspection or testing.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 Rules.monolithic | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/Rules.monolithic b/Rules.monolithic
index e369f8f3..d6d0e6f2 100644
--- a/Rules.monolithic
+++ b/Rules.monolithic
@@ -25,6 +25,7 @@ endif
 polbinpath := $(shell $(binary_policy_path))
 
 policy_conf = $(builddir)policy.conf
+policy_cil = $(builddir)policy.cil
 fc = $(builddir)file_contexts
 polver = $(builddir)policy.$(pv)
 homedir_template = $(builddir)homedir_template
@@ -83,6 +84,19 @@ ifneq ($(pv),$(kv))
 endif
$(verbose) $(CHECKPOLICY) -U $(UNK_PERMS) -S -O -E $^ -o $@
 
+
+#
+# Build a CIL policy locally
+#
+$(policy_cil): $(policy_conf)
+   @echo "Compiling $(NAME) $(policy_cil)"
+ifneq ($(pv),$(kv))
+   @echo
+   @echo "WARNING: Policy version mismatch (policy:$(pv) kernel:$(kv))!  
Is your OUTPUT_POLICY set correctly?"
+   @echo
+endif
+   $(verbose) $(CHECKPOLICY) -C -U $(UNK_PERMS) -S -O -E $^ -o $@
+
 
 #
 # Install a binary policy
@@ -261,6 +275,7 @@ $(installdir)/seusers: $(seusers)
 clean:
$(verbose) rm -f $(policy_conf)
$(verbose) rm -f $(polver)
+   $(verbose) rm -f $(policy_cil)
$(verbose) rm -f $(fc)
$(verbose) rm -f $(homedir_template)
$(verbose) rm -f $(net_contexts) $(net_contexts_nft)



[gentoo-commits] proj/hardened-refpolicy:master commit in: doc/

2022-03-30 Thread Jason Zaman
commit: 4d09b2040f97f8037540432595049e0dac21942e
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 17:05:40 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4d09b204

policy.dtd: more strict bool/tunable and infoflow validation

Booleans and tunables must have a value of true or false and infoflow
needs to be of type read, write, none or both with a weight of 1 to 10.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 doc/policy.dtd | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/policy.dtd b/doc/policy.dtd
index 52829854..c36cb846 100644
--- a/doc/policy.dtd
+++ b/doc/policy.dtd
@@ -14,11 +14,11 @@
 
 
+  dftval (true|false) #REQUIRED>
 
 
+  dftval (true|false) #REQUIRED>
 
 
 
@@ -32,8 +32,8 @@
   unused (true|false) "false">
 
 
+  type (read|write|none|both) #REQUIRED
+  weight (1|2|3|4|5|6|7|8|9|10) #IMPLIED>
 
 
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 7b9bf7671fd0f56c1761f3a7c0e4e11844cd51d3
Author: Kenton Groombridge  concord  sh>
AuthorDate: Tue Nov 30 17:11:56 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=7b9bf767

unconfined: fixes for bluetooth dbus chat and systemd

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/unconfined.te | 5 +
 1 file changed, 5 insertions(+)

diff --git a/policy/modules/system/unconfined.te 
b/policy/modules/system/unconfined.te
index df6fbdb7..dacad205 100644
--- a/policy/modules/system/unconfined.te
+++ b/policy/modules/system/unconfined.te
@@ -60,6 +60,7 @@ ifdef(`init_systemd',`
init_service_status(unconfined_t)
# for systemd --user:
init_pgm_spec_user_daemon_domain(unconfined_t)
+   allow unconfined_t self:system { status start stop reload };
 
optional_policy(`
systemd_dbus_chat_resolved(unconfined_t)
@@ -76,6 +77,10 @@ optional_policy(`
bind_run_ndc(unconfined_t, unconfined_r)
 ')
 
+optional_policy(`
+   bluetooth_dbus_chat(unconfined_t)
+')
+
 optional_policy(`
bootloader_run(unconfined_t, unconfined_r)
 ')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2022-03-30 Thread Jason Zaman
commit: 73fad8a2bc1251e5d3c5cb47933ac92a2440d4bf
Author: Kenton Groombridge  concord  sh>
AuthorDate: Tue Nov 30 16:09:39 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=73fad8a2

systemd: various fixes

Signed-off-by: Kenton Groombridge  concord.sh>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/modules/system/systemd.te | 12 
 1 file changed, 12 insertions(+)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index cd120829..171cb5e5 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -658,6 +658,9 @@ udev_read_runtime_files(systemd_homework_t)
 
 allow systemd_hostnamed_t self:capability sys_admin;
 
+fs_getattr_cgroup(systemd_hostnamed_t)
+fs_getattr_xattr_fs(systemd_hostnamed_t)
+
 kernel_read_kernel_sysctls(systemd_hostnamed_t)
 kernel_dontaudit_getattr_proc(systemd_hostnamed_t)
 
@@ -1020,6 +1023,9 @@ optional_policy(`
 # modules-load local policy
 #
 
+fs_getattr_cgroup(systemd_modules_load_t)
+fs_getattr_xattr_fs(systemd_modules_load_t)
+
 kernel_load_module(systemd_modules_load_t)
 kernel_read_kernel_sysctls(systemd_modules_load_t)
 kernel_request_load_module(systemd_modules_load_t)
@@ -1372,6 +1378,10 @@ manage_dirs_pattern(systemd_rfkill_t, 
systemd_rfkill_var_lib_t, systemd_rfkill_v
 manage_files_pattern(systemd_rfkill_t, systemd_rfkill_var_lib_t, 
systemd_rfkill_var_lib_t)
 init_var_lib_filetrans(systemd_rfkill_t, systemd_rfkill_var_lib_t, dir)
 
+fs_getattr_cgroup(systemd_rfkill_t)
+fs_getattr_xattr_fs(systemd_rfkill_t)
+
+kernel_getattr_proc(systemd_rfkill_t)
 kernel_read_kernel_sysctls(systemd_rfkill_t)
 
 dev_read_sysfs(systemd_rfkill_t)
@@ -1586,6 +1596,7 @@ dev_setattr_all_sysfs(systemd_tmpfiles_t)
 dev_write_sysfs(systemd_tmpfiles_t)
 
 files_create_lock_dirs(systemd_tmpfiles_t)
+files_dontaudit_getattr_lost_found_dirs(systemd_tmpfiles_t)
 files_manage_all_runtime_dirs(systemd_tmpfiles_t)
 files_delete_usr_files(systemd_tmpfiles_t)
 files_list_home(systemd_tmpfiles_t)
@@ -1853,6 +1864,7 @@ fs_unmount_tmpfs(systemd_user_runtime_dir_t)
 fs_relabelfrom_tmpfs_dirs(systemd_user_runtime_dir_t)
 fs_read_cgroup_files(systemd_user_runtime_dir_t)
 fs_getattr_cgroup(systemd_user_runtime_dir_t)
+fs_search_cgroup_dirs(systemd_user_runtime_dir_t)
 fs_getattr_xattr_fs(systemd_user_runtime_dir_t)
 
 kernel_read_kernel_sysctls(systemd_user_runtime_dir_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/flask/

2022-03-30 Thread Jason Zaman
commit: d98a4ace89b3fd18005dbb01775294adcf07aa14
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 16:53:16 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d98a4ace

flask: add new kernel security classes

Add new kernel security classes mctp_socket, anon_inode and io_uring.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/flask/access_vectors   | 16 ++--
 policy/flask/security_classes |  5 +
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors
index d464a3de..2219fb19 100644
--- a/policy/flask/access_vectors
+++ b/policy/flask/access_vectors
@@ -1045,6 +1045,9 @@ class bpf
 class xdp_socket
 inherits socket
 
+class mctp_socket
+inherits socket
+
 class perf_event
 {
open
@@ -1057,6 +1060,15 @@ class perf_event
 
 class lockdown
 {
-integrity
-confidentiality
+   integrity
+   confidentiality
+}
+
+class anon_inode
+inherits file
+
+class io_uring
+{
+   override_creds
+   sqpoll
 }

diff --git a/policy/flask/security_classes b/policy/flask/security_classes
index e62e4c95..63635789 100644
--- a/policy/flask/security_classes
+++ b/policy/flask/security_classes
@@ -193,9 +193,14 @@ class process2
 class bpf
 
 class xdp_socket
+class mctp_socket
 
 class perf_event
 
 class lockdown
 
+class anon_inode
+
+class io_uring
+
 # FLASK



[gentoo-commits] proj/hardened-refpolicy:master commit in: /

2022-03-30 Thread Jason Zaman
commit: f920d4616e262d68762efb6f842afed0448beda0
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 17:21:23 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f920d461

Rules.modular: add pure-load target

Add a target for modular polices to load all built modules while
simultaneously removing all non Reference Policy ones.  This will remove
dropped Reference Policy modules and user installed ones.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 Rules.modular | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Rules.modular b/Rules.modular
index 63a10e7f..f7ee2c11 100644
--- a/Rules.modular
+++ b/Rules.modular
@@ -58,6 +58,17 @@ load: $(instpkg) $(appfiles)
@$(INSTALL) -d -m 0755 $(policypath) $(dir $(fcpath))
$(verbose) $(SEMODULE) -s $(NAME) -i $(modpkgdir)/$(notdir $(base_pkg)) 
$(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod))
 
+
+#
+# Load all configured modules and remove foreign ones
+#
+pure-load: $(instpkg) $(appfiles)
+# make sure two directories exist since they are not
+# created by semanage
+   @echo "Loading configured modules."
+   @$(INSTALL) -d -m 0755 $(policypath) $(dir $(fcpath))
+   $(verbose) $(SEMODULE) -s $(NAME) -i $(modpkgdir)/$(notdir $(base_pkg)) 
$(foreach mod,$(mod_pkgs),-i $(modpkgdir)/$(mod)) $(foreach omod,$(filter-out 
base $(notdir $(mod_mods:.te=)),$(shell $(SEMODULE) -l)),-r $(omod))
+
 
 #
 # Install policy packages
@@ -226,4 +237,4 @@ clean:
$(verbose) rm -f $(net_contexts) $(net_contexts_nft)
$(verbose) rm -fR $(tmpdir)
 
-.PHONY: default all policy base modules install load clean validate
+.PHONY: default all policy base modules install load pure-load clean validate



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/

2022-03-30 Thread Jason Zaman
commit: deb2d62e038340dcc03361b4fce83930d47f5bf7
Author: Christian Göttsche  googlemail  com>
AuthorDate: Tue Mar 22 16:55:16 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 02:40:53 2022 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=deb2d62e

policy_capabilities: add ioctl_skip_cloexec

Add new future policy capability ioctl_skip_cloexec.

Drop estimate comments from genfs_seclabel_symlinks.

Signed-off-by: Christian Göttsche  googlemail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 policy/policy_capabilities | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/policy/policy_capabilities b/policy/policy_capabilities
index 9e309fbf..b800997f 100644
--- a/policy/policy_capabilities
+++ b/policy/policy_capabilities
@@ -100,9 +100,17 @@ policycap cgroup_seclabel;
 policycap nnp_nosuid_transition;
 
 # Enable extended genfscon labeling for symlinks.
-# Requires libsepol 3.1 (estimated) and kernel 5.7 (estimated).
+# Requires libsepol 3.1 and kernel 5.7.
 #
 # Added checks:
 # (none)
 #
 #policycap genfs_seclabel_symlinks;
+
+# Always allow FIOCLEX and FIONCLEX ioctl.
+# Requires libsepol 3.4 (estimated) and kernel 5.18 (estimated).
+#
+# Removed checks:
+# common file/socket: ioctl { 0x5450 0x5451 }
+#
+#policycap ioctl_skip_cloexec;



[gentoo-commits] repo/gentoo:master commit in: app-admin/salt/files/, app-admin/salt/

2022-03-30 Thread Patrick McLean
commit: 2e656abe1f5a5b83f8d23561892c22b485e8a621
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 02:04:00 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 02:04:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e656abe

app-admin/salt: add 3003.4

Signed-off-by: Patrick McLean  gentoo.org>

 app-admin/salt/Manifest  |   1 +
 app-admin/salt/files/salt-3003.4-tests.patch |  52 +++
 app-admin/salt/salt-3003.4.ebuild| 204 +++
 3 files changed, 257 insertions(+)

diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
index 3ee27efecc4d..cba2b2758bbf 100644
--- a/app-admin/salt/Manifest
+++ b/app-admin/salt/Manifest
@@ -4,5 +4,6 @@ DIST salt-3000.9.tar.gz 15250432 BLAKE2B 
b76c166363b0b0fd3e3aa4b5306ba8280a2c99f
 DIST salt-3001.8.tar.gz 15740488 BLAKE2B 
77875a670b81438280becd1f29b64fbc766379192a9ca041568cd9360a3c4213bb3018063e88a297e9d1f637fb7ca3ef049a73a258022ec07e42f01a40bdf09a
 SHA512 
8e90b2a1f82f951ab40a53a8af2ab421758ed8244f1881cc7aa71a8d9c2e2e6d892166ec8f8f6182966e56eb28c9aee6a060ee54b559b1d073fba97ad0afb013
 DIST salt-3002.7.tar.gz 15792124 BLAKE2B 
b4cb4a6d73c45f3c2183a7adfe8196bbc5788dce1995bd5c640cd9957bdfdba2e96deebaba927d6103fc50f4eaab86d51f4dd4594d25b7357db79ed67b39258e
 SHA512 
c1e7bbcd39b5c2bef351bd74026346bf729839c4161f6eff8162620e9cb08a63073abeeb8af6bab635070386a883df494ef08cc07a84efa9aa7f2160b357a938
 DIST salt-3003.3.tar.gz 16017984 BLAKE2B 
9cd1e33a7b6dff4d3c6c5a87e1204f7f113b6190da8301061e26fcec178aba597a9e17ab60a54a67b52a895a9a8aef58bec70e9fdd8d8edc5a42945f6de21a58
 SHA512 
4fe50922833fce48fcc679adb16a0e1fe893531b2feb08b235a1461c58b8d9a72af2acd89fc0f712207fb0cd215d6b446e31a40001b46c43d0cc4ac827ce29e3
+DIST salt-3003.4.tar.gz 16031515 BLAKE2B 
34902aba7ab64f4ddbacbad1b776b9b2218caf22fb843879a80bd5c30b6c28f4c22a050bbaf0e9735507a78c887f52bcae7d1833ffeb51a543ec22fda79252e6
 SHA512 
35419fbb3f9a0f3e87579f740b717d6902cab0d85397b16d1e94d9516bf5f5d269b4f8bca370fd376abd9b7c8a6ad7ef4c8e8a8fdd31655fd17c810989e79693
 DIST salt-3003.tar.gz 15830910 BLAKE2B 
ea4f02eece951c3fb4fcc480d00f7b531ac549b2e23ff9a210b73f749f9ba83e0402e02a59028f41f94958d17512e417b7c1b7015e8ee3aeac55be9b1374fe6f
 SHA512 
7f631466372f303c03f2852a5cfba1ee5c6ba1636a6fe1e1622e90d0b1376ef9f670aa1b4754f3d9c8c7fe1b99fe1b4c49e140dc86d90d157a1ec1e73ba43c38
 DIST salt-3004.1.tar.gz 17685649 BLAKE2B 
64950cdc8420228f935d4a21fc20872da9ecf7c51b866ec3c59b46486b84a739b002acc44fa909eed93ce3dc6bedc9804df05d3d9ee5a9a13cd9d041ba70f876
 SHA512 
9353a8dc2a1c6e272318c6f35059236c5d78b6c8930f715275b701c12fca3be1fe930eb533f3f0c22933ba60967b0980300b922fe486cee9a62e6cdb568bdf91

diff --git a/app-admin/salt/files/salt-3003.4-tests.patch 
b/app-admin/salt/files/salt-3003.4-tests.patch
new file mode 100644
index ..93fd4214021b
--- /dev/null
+++ b/app-admin/salt/files/salt-3003.4-tests.patch
@@ -0,0 +1,52 @@
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 0fc1844bc8..32346da1f6 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -34,7 +34,6 @@ import salt.utils.files
+ import salt.utils.path
+ import salt.utils.platform
+ import salt.utils.win_functions
+-import saltfactories.utils.compat
+ from salt.serializers import yaml
+ from salt.utils.immutabletypes import freeze
+ from tests.support.helpers import (
+@@ -465,9 +464,7 @@ def pytest_runtest_setup(item):
+ item._skipped_by_mark = True
+ pytest.skip(PRE_PYTEST_SKIP_REASON)
+ 
+-if saltfactories.utils.compat.has_unittest_attr(
+-item, "__slow_test__"
+-) or item.get_closest_marker("slow_test"):
++if item.get_closest_marker("slow_test"):
+ if item.config.getoption("--run-slow") is False:
+ item._skipped_by_mark = True
+ pytest.skip("Slow tests are disabled!")
+diff --git a/tests/unit/utils/test_schema.py b/tests/unit/utils/test_schema.py
+index ef7acdb7a3..22953556cb 100644
+--- a/tests/unit/utils/test_schema.py
 b/tests/unit/utils/test_schema.py
+@@ -1,6 +1,8 @@
+ # pylint: disable=function-redefined
+ import copy
+ 
++import pytest
++
+ import salt.utils.json
+ import salt.utils.schema as schema
+ import salt.utils.stringutils
+@@ -822,6 +824,7 @@ class ConfigTestCase(TestCase):
+ },
+ )
+ 
++@pytest.mark.skip("broken with newer versions of jsonschema")
+ @skipIf(HAS_JSONSCHEMA is False, "The 'jsonschema' library is missing")
+ def test_hostname_config_validation(self):
+ class TestConf(schema.Schema):
+@@ -2048,6 +2051,7 @@ class ConfigTestCase(TestCase):
+ item = schema.NotItem(item=schema.BooleanItem())
+ self.assertEqual(item.serialize(), {"not": item.item.serialize()})
+ 
++@pytest.mark.skip("broken with newer versions of jsonschema")
+ @skipIf(HAS_JSONSCHEMA is False, "The 'jsonschema' library is missing")
+ def test_not_config_validation(self):
+ class TestConf(schema.Schema):


[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-salt-factories/files/, dev-python/pytest-salt-factories/

2022-03-30 Thread Patrick McLean
commit: 120be08f598da8aea6f84ae1822d5bef0bf3cecc
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 01:38:56 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 02:03:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120be08f

Revert "dev-python/pytest-salt-factories: Remove old"

This reverts commit 56cf1d56651bdd2b8e952fdc890463312ac2ca16.
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-salt-factories/Manifest  |   1 +
 .../pytest-salt-factories-0.121.1-tests.patch  | 294 +
 .../pytest-salt-factories-0.121.1-r1.ebuild|  63 +
 3 files changed, 358 insertions(+)

diff --git a/dev-python/pytest-salt-factories/Manifest 
b/dev-python/pytest-salt-factories/Manifest
index b2955ea369a7..05d7a46c3fb7 100644
--- a/dev-python/pytest-salt-factories/Manifest
+++ b/dev-python/pytest-salt-factories/Manifest
@@ -1,2 +1,3 @@
+DIST pytest-salt-factories-0.121.1.tar.gz 102121 BLAKE2B 
92cd5953b11377f1646f01b86a677a50216d16bcb944235a3f04176aecbb005974c415adcbf23cc391aab41b1ee9596984516ab61ecdd8c944d4ce707c39ab00
 SHA512 
32252695c6e8b17ef17d3330c4b0b38bdce89201d5573b4efa3531a72e826ee1fb26fea3ad0408401dec867cee405f21031804c32eb8fe6ceaa00925b17725a1
 DIST pytest-salt-factories-0.911.0.tar.gz 161682 BLAKE2B 
b5a827c9a9acc55c53bc4152b648f96845f513e2d1c8425cbde0862909996a653df4debbf798a3d7461da4fc221acd5fc8e6052e123f3e64e0c8f4345557f141
 SHA512 
bada21cfe990ccb10b0e298cb05a7f3842d0fe24e2c8664352ae991363d0094dd1ff877adea5fcc0c1040e3f20f82ba616607c595511cade93eba336a26b
 DIST pytest-salt-factories-1.0.0_rc13.tar.gz 148418 BLAKE2B 
3688f05d137df23266ebc7e999bc3b3a8ec198173b38dc98bd4a1e2655b982a37485278691e970da0be700cee6f609c57933b041a6d8403e75fb197f5d23d5d4
 SHA512 
f3713410704540ee48b7263973d3a9bf3159fb63e53e5ef5002201aea3fdcf0b4eaf00e1dd1e67d869b42242985d8117a117568d63abf5ad366e247fb3e1d83f

diff --git 
a/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch
 
b/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch
new file mode 100644
index ..3e85580c9158
--- /dev/null
+++ 
b/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.121.1-tests.patch
@@ -0,0 +1,294 @@
+diff --git a/saltfactories/plugin.py b/saltfactories/plugin.py
+index b29a115..9d68c34 100644
+--- a/saltfactories/plugin.py
 b/saltfactories/plugin.py
+@@ -21,7 +21,7 @@ def pytest_tempdir_temproot():
+ tempdir = os.environ.get("TMPDIR") or tempfile.gettempdir()
+ else:
+ tempdir = "/tmp"
+-return os.path.abspath(os.path.realpath(tempdir))
++return os.path.abspath(tempdir)
+ 
+ 
+ def pytest_tempdir_basename():
+diff --git a/tests/functional/markers/test_requires_network.py 
b/tests/functional/markers/test_requires_network.py
+index 8b57368..d58f0a1 100644
+--- a/tests/functional/markers/test_requires_network.py
 b/tests/functional/markers/test_requires_network.py
+@@ -9,7 +9,10 @@ from unittest import mock
+ from saltfactories.utils import ports
+ from saltfactories.utils import socket
+ 
++import pytest
+ 
++
++@pytest.mark.skip("not compatible with network-sandbox")
+ def test_has_local_network(testdir):
+ testdir.makepyfile(
+ """
+diff --git a/tests/integration/factories/cli/test_salt.py 
b/tests/integration/factories/cli/test_salt.py
+index 17fce6c..7bd2789 100644
+--- a/tests/integration/factories/cli/test_salt.py
 b/tests/integration/factories/cli/test_salt.py
+@@ -17,6 +17,7 @@ def salt_minion_2(salt_master, salt_minion):
+ yield factory
+ 
+ 
++@pytest.mark.skip("not compatible with network-sandbox")
+ def test_merged_json_out(salt_cli, salt_minion, salt_minion_2):
+ ret = salt_cli.run("test.ping", minion_tgt="*")
+ assert ret.exitcode == 0, ret
+@@ -27,6 +28,7 @@ def test_merged_json_out(salt_cli, salt_minion, 
salt_minion_2):
+ assert ret.json[salt_minion_2.id] is True
+ 
+ 
++@pytest.mark.skip("not compatible with network-sandbox")
+ def test_merged_json_out_disabled(salt_cli, salt_minion, salt_minion_2):
+ ret = salt_cli.run("test.ping", minion_tgt="*", merge_json_output=False)
+ assert ret.exitcode == 0, ret
+diff --git a/tests/integration/factories/daemons/api/test_api.py 
b/tests/integration/factories/daemons/api/test_api.py
+index 78b8bb7..e20f28c 100644
+--- a/tests/integration/factories/daemons/api/test_api.py
 b/tests/integration/factories/daemons/api/test_api.py
+@@ -23,5 +23,6 @@ def salt_api(master):
+ yield factory
+ 
+ 
++@pytest.mark.skip("not compatible with network-sandbox")
+ def test_api(salt_api):
+ assert salt_api.is_running()
+diff --git a/tests/integration/factories/daemons/api/test_restarts.py 
b/tests/integration/factories/daemons/api/test_restarts.py
+index a6c5472..dd15c17 100644
+--- a/tests/integration/factories/daemons/api/test_restarts.py
 b/tests/integration/factories/daemons/api/test_restarts.py
+@@ -16,6 +16,7 @@ def 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-salt-factories/, dev-python/pytest-salt-factories/files/

2022-03-30 Thread Patrick McLean
commit: f0edbf1a9b61b952675ef782fb785b4a9373ba01
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 01:40:31 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 02:03:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0edbf1a

dev-python/pytest-salt-factories: drop 0.911.0

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-salt-factories/Manifest  |   1 -
 .../pytest-salt-factories-0.911.0-tests.patch  | 469 -
 .../pytest-salt-factories-0.911.0.ebuild   |  70 ---
 3 files changed, 540 deletions(-)

diff --git a/dev-python/pytest-salt-factories/Manifest 
b/dev-python/pytest-salt-factories/Manifest
index 05d7a46c3fb7..403aada1ee3e 100644
--- a/dev-python/pytest-salt-factories/Manifest
+++ b/dev-python/pytest-salt-factories/Manifest
@@ -1,3 +1,2 @@
 DIST pytest-salt-factories-0.121.1.tar.gz 102121 BLAKE2B 
92cd5953b11377f1646f01b86a677a50216d16bcb944235a3f04176aecbb005974c415adcbf23cc391aab41b1ee9596984516ab61ecdd8c944d4ce707c39ab00
 SHA512 
32252695c6e8b17ef17d3330c4b0b38bdce89201d5573b4efa3531a72e826ee1fb26fea3ad0408401dec867cee405f21031804c32eb8fe6ceaa00925b17725a1
-DIST pytest-salt-factories-0.911.0.tar.gz 161682 BLAKE2B 
b5a827c9a9acc55c53bc4152b648f96845f513e2d1c8425cbde0862909996a653df4debbf798a3d7461da4fc221acd5fc8e6052e123f3e64e0c8f4345557f141
 SHA512 
bada21cfe990ccb10b0e298cb05a7f3842d0fe24e2c8664352ae991363d0094dd1ff877adea5fcc0c1040e3f20f82ba616607c595511cade93eba336a26b
 DIST pytest-salt-factories-1.0.0_rc13.tar.gz 148418 BLAKE2B 
3688f05d137df23266ebc7e999bc3b3a8ec198173b38dc98bd4a1e2655b982a37485278691e970da0be700cee6f609c57933b041a6d8403e75fb197f5d23d5d4
 SHA512 
f3713410704540ee48b7263973d3a9bf3159fb63e53e5ef5002201aea3fdcf0b4eaf00e1dd1e67d869b42242985d8117a117568d63abf5ad366e247fb3e1d83f

diff --git 
a/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.911.0-tests.patch
 
b/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.911.0-tests.patch
deleted file mode 100644
index 687b6a41b901..
--- 
a/dev-python/pytest-salt-factories/files/pytest-salt-factories-0.911.0-tests.patch
+++ /dev/null
@@ -1,469 +0,0 @@
-diff --git a/src/saltfactories/plugins/__init__.py 
b/src/saltfactories/plugins/__init__.py
-index 679acad..ea6f23f 100644
 a/src/saltfactories/plugins/__init__.py
-+++ b/src/saltfactories/plugins/__init__.py
-@@ -27,7 +27,7 @@ def pytest_tempdir_temproot():
- tempdir = "/tmp"
- else:
- tempdir = os.environ.get("TMPDIR") or tempfile.gettempdir()
--return os.path.abspath(os.path.realpath(tempdir))
-+return tempdir
- 
- 
- def pytest_tempdir_basename():
-diff --git a/tests/functional/factories/base/test_salt_daemon_factory.py 
b/tests/functional/factories/base/test_salt_daemon_factory.py
-index 813e36c..2b2b3d8 100644
 a/tests/functional/factories/base/test_salt_daemon_factory.py
-+++ b/tests/functional/factories/base/test_salt_daemon_factory.py
-@@ -35,7 +35,7 @@ def test_extra_cli_arguments_after_first_failure(
- This test asserts that after the first start failure, the 
extra_cli_arguments_after_first_start_failure
- arguments are added
- """
--output_file = tmp_path.joinpath("output.txt").resolve()
-+output_file = tmp_path.joinpath("output.txt")
- config = {"conf_file": config_file, "id": master_id}
- script = tempfiles.makepyfile(
- r"""
-diff --git a/tests/functional/markers/test_requires_network.py 
b/tests/functional/markers/test_requires_network.py
-index 0b21ede..70343fb 100644
 a/tests/functional/markers/test_requires_network.py
-+++ b/tests/functional/markers/test_requires_network.py
-@@ -9,7 +9,9 @@ from unittest import mock
- from saltfactories.utils import ports
- from saltfactories.utils import socket
- 
-+import pytest
- 
-+@pytest.mark.skip("Incompatible with network-sandbox")
- def test_has_local_network(pytester):
- pytester.makepyfile(
- """
-diff --git a/tests/functional/markers/test_requires_salt_modules.py 
b/tests/functional/markers/test_requires_salt_modules.py
-index 034d5e6..6e50a22 100644
 a/tests/functional/markers/test_requires_salt_modules.py
-+++ b/tests/functional/markers/test_requires_salt_modules.py
-@@ -4,9 +4,11 @@
- 
- Test the ``@pytest.mark.requires_salt_modules`` marker
- """
-+import sys
- import pytest
- 
- 
-+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on 
python 3.10")
- @pytest.mark.parametrize(
- "modules",
- [
-@@ -31,6 +33,7 @@ def test_has_required_salt_module(pytester, modules):
- res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*")
- 
- 
-+@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on 
python 3.10")
- @pytest.mark.parametrize(
- "modules",
- [
-@@ -55,6 +58,7 @@ def test_missing_required_salt_module(pytester, modules):
- res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*")
- 
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/raet/

2022-03-30 Thread Patrick McLean
commit: 6736748d52120902faf8fdf67507619a5f7780d1
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 01:59:43 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 02:03:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6736748d

dev-python/raet: Fix brokenness with a revision bump

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/raet/raet-0.6.8-r4.ebuild | 41 
 1 file changed, 41 insertions(+)

diff --git a/dev-python/raet/raet-0.6.8-r4.ebuild 
b/dev-python/raet/raet-0.6.8-r4.ebuild
new file mode 100644
index ..0d65a49ec907
--- /dev/null
+++ b/dev-python/raet/raet-0.6.8-r4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Reliable Asynchronous Event Transport Protocol"
+HOMEPAGE="https://github.com/RaetProtocol/raet;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]
+   >=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}]
+   >=dev-python/ioflo-2.0[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+   test? (
+   >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
+   )"
+
+PATCHES=(
+   "${FILESDIR}/raet-0.6.8-msgpack-1.0.patch"
+   "${FILESDIR}/raet-0.6.8-py310.patch"
+)
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed -e "/setuptools_git/d" -i setup.py || die
+}
+
+python_test() {
+   pushd "${BUILD_DIR}"/lib || die
+   ${EPYTHON} ${PN}/test/__init__.py || die "tests failed for ${EPYTHON}"
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/raet/

2022-03-30 Thread Patrick McLean
commit: fb642858ceea31b07c3065c326c2943c3a1c3d02
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 01:58:05 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 02:03:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb642858

Revert "dev-python/raet: enable py3.10"

This reverts commit 670b5e2153d393e3c96e9c5e5a46dc47cd2a5fc3.
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/raet/raet-0.6.8-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/raet/raet-0.6.8-r3.ebuild 
b/dev-python/raet/raet-0.6.8-r3.ebuild
index bc36050ff118..e70391368374 100644
--- a/dev-python/raet/raet-0.6.8-r3.ebuild
+++ b/dev-python/raet/raet-0.6.8-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 
 DESCRIPTION="Reliable Asynchronous Event Transport Protocol"



[gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-declarative-requirements/

2022-03-30 Thread Patrick McLean
commit: 4ac113fa643c26426ccc245c06886781cb56b89f
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Mar 29 23:34:22 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ac113fa

dev-python/setuptools-declarative-requirements: initial import

Signed-off-by: Patrick McLean  gentoo.org>

 .../setuptools-declarative-requirements/Manifest   |  1 +
 .../metadata.xml   | 11 +
 ...etuptools-declarative-requirements-1.2.0.ebuild | 47 ++
 3 files changed, 59 insertions(+)

diff --git a/dev-python/setuptools-declarative-requirements/Manifest 
b/dev-python/setuptools-declarative-requirements/Manifest
new file mode 100644
index ..394277a2e4b2
--- /dev/null
+++ b/dev-python/setuptools-declarative-requirements/Manifest
@@ -0,0 +1 @@
+DIST setuptools-declarative-requirements-1.2.0.tar.gz 17936 BLAKE2B 
a5be2b64fc22d5a45136ec2b98c1d4cc6c20e17dc81070d12948b6f536a517ec8a660c105dfc13a4319d1de54409fb4f7a4c6bacaf1291afa13c7ecc27fd933f
 SHA512 
ce0eeb8692ff2ea80db91cad981853da74c0ca80f58b698753de92f6df3ef5e1c158e314d0ac4d0b4fa99a2ad8ee2d7d80a9d1a13f334966c948dee1a0ae3d98

diff --git a/dev-python/setuptools-declarative-requirements/metadata.xml 
b/dev-python/setuptools-declarative-requirements/metadata.xml
new file mode 100644
index ..5e3f363fee8e
--- /dev/null
+++ b/dev-python/setuptools-declarative-requirements/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Patrick McLean
+   chutz...@gentoo.org
+   
+   
+   setuptools-declarative-requirements
+   
+

diff --git 
a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0.ebuild
 
b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0.ebuild
new file mode 100644
index ..037a0f39edb3
--- /dev/null
+++ 
b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Requirements Support For Setuptools Declarative setup.cfg"
+HOMEPAGE="
+   https://pypi.org/project/setuptools-declarative-requirements/
+   https://github.com/s0undt3ch/setuptools-declarative-requirements
+"
+SRC_URI="https://github.com/s0undt3ch/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pypiserver[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
+   sed -e "/setuptools_scm/ d" -i setup.cfg || die
+   printf '__version__ = "${PV}"\n' > declarative_requirements/version.py 
|| die
+   sed -e "s/localhost/127.0.0.1/g" -i tests/conftest.py || die
+   rm pyproject.toml || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   PIP_DEFAULT_TIMEOUT=3 \
+   PIP_INDEX_URL="http://127.0.0.1:8080; \
+   epytest -k 'not sdist'
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/difftastic/, dev-util/difftastic/files/

2022-03-30 Thread Patrick McLean
commit: 4e803fd77d5d5857ce032ba06e22eabd400e6c32
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 30 18:02:41 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e803fd7

dev-util/difftastic: initial import

Signed-off-by: Patrick McLean  gentoo.org>

 dev-util/difftastic/Manifest   |  65 
 dev-util/difftastic/difftastic-0.24.0.ebuild   | 111 +
 .../files/difftastic-0.24.0-regex-dep.patch|  16 +++
 dev-util/difftastic/metadata.xml   |  11 ++
 4 files changed, 203 insertions(+)

diff --git a/dev-util/difftastic/Manifest b/dev-util/difftastic/Manifest
new file mode 100644
index ..298bd5580262
--- /dev/null
+++ b/dev-util/difftastic/Manifest
@@ -0,0 +1,65 @@
+DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 
4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f
 SHA512 
7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
+DIST ansi_term-0.12.1.crate 24838 BLAKE2B 
f636772c34e2d68cda7b8d3b2b86abda074585a62bd2654812ce92384244655a9197fa66e6939e19a674c0148ca605313d83de262bb18c2339a8a4eb4438a791
 SHA512 
b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+DIST archery-0.4.0.crate 21265 BLAKE2B 
d5e98cd65b7ae426affc3cd905d7cc4b4296c059a305ae5bb3cfcb206f0bffb6dc4aaf24c820d855ca8acd1be1bd80e2bd8c2e172af5824bcd9b300224d8159b
 SHA512 
4726598957f2fda480fe4fb28b518307030dc032b1b79a9ce83a5e58872e57517a632e205cb83870f48937c3090956045faa066171248d615cb6b029127ee693
+DIST atty-0.2.14.crate 5470 BLAKE2B 
2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab
 SHA512 
d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+DIST autocfg-1.0.1.crate 12908 BLAKE2B 
40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a
 SHA512 
630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+DIST bitflags-1.3.2.crate 23021 BLAKE2B 
eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda
 SHA512 
3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+DIST cc-1.0.72.crate 57495 BLAKE2B 
b2057ca53aacafa063a4eaa907bfb65aa32ce01a74a90b9085c8243a87723cee8ce79e4904f9d205f9d451598ee34495f8879d27c189477ca43bd39b88b5ea2e
 SHA512 
e9a5b283b2a1fee1030009068c1f87291ec1dab7584a0892f27cc7e523c8fdfd5d986281d9aec1a00af706af1e61d7e64c245c74be7b39c8c022ae2d4f87de8d
+DIST cfg-if-1.0.0.crate 7934 BLAKE2B 
e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b
 SHA512 
0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+DIST clap-3.0.13.crate 191249 BLAKE2B 
5ffa3cc1e550bee2eaa89fdb8cd008fe55fbc3f50ed9d7aa702de68f61e996b826ca6d728de899590c1843ae095f70dec3d84ff342095c35a0a811dab1061038
 SHA512 
10a7a0211377d524d3b2938dc19e94f7ee0ab6416c169050224c6952302c547ee7e7e5c1d150b59edc552ca66bfb176fef82faf237a5496a89ad3956cb7f1c63
+DIST const_format-0.2.22.crate 72234 BLAKE2B 
89d6f58458777d10e21bcf960e57d24069bf2325fd63904dddef10b6186570bf937fb1dc99d5302a1184d2946c35175d92970db583288bf5af45139aa8ac6e7f
 SHA512 
3ed65106b3fa49fe7cbc0592a8a5b0fc9b99d9d44cb51c1fbdb2fb2eb916d801aa19d9ec568560d6df33373324ea226de3db6e82cbeb9a850426589472a1ec9c
+DIST const_format_proc_macros-0.2.22.crate 24274 BLAKE2B 
61a41f89bb1302cd8a9b2b5b2bb6a90eea2aa6e331840c2b0033acdaef5ddb9cb7a63df028db9e6065a4883aa53002330c6af0bc0b8b3479ef8260c5d088cd71
 SHA512 
a0382a50502cff46c966fca1518ae1102cc749a9fff142a7fc29c3f3dce4b947ef05576e27248ed682aa9db2e1c0af149f41981d02d8415b63734a0ceccb68f4
+DIST crossbeam-channel-0.5.1.crate 86919 BLAKE2B 
b223d0dcacbb09850d457825cb2a018494d798da20eed3f54b1152e41ebca4698e7d50e81f467b86543779155ad08566da9496eee36aa06644b69cf5d7eb
 SHA512 
f15aff67e9105584f5fe41e1ee650ae4fdd0d0ca0fa9202ee83c6f6025398a300decaa50d1b4682e8afb9bd6e11e95b69bcf23f68ae117419aa84df14ee7747b
+DIST crossbeam-deque-0.8.1.crate 20852 BLAKE2B 
0e7a2616b82c5e501c0f74935adfea3ee09db5475408be83db8f1b6faab4cd5509de2e029bdf6df90435e474ef91f3fc8d482ce3a72966b2a3bec5967666bdc4
 SHA512 
44a4fe1d4ab7457e2b0950be787b76b15e1bb0b1c108d032381ce3fe99bf7bf76f3d1718085660083d813e2639e66fdd3635d9186e85a9eb7267063b117eaca4
+DIST crossbeam-epoch-0.9.5.crate 43883 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/ioflo/

2022-03-30 Thread Patrick McLean
commit: 16e83ae0c72ee13e744f8967a7bf694e3659e944
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 00:46:11 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e83ae0

dev-python/ioflo: update EAPI 7 -> 8, add py3.10

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/ioflo/ioflo-2.0.2-r2.ebuild | 40 ++
 1 file changed, 40 insertions(+)

diff --git a/dev-python/ioflo/ioflo-2.0.2-r2.ebuild 
b/dev-python/ioflo/ioflo-2.0.2-r2.ebuild
new file mode 100644
index ..21686b5e17be
--- /dev/null
+++ b/dev-python/ioflo/ioflo-2.0.2-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Automated Reasoning Engine and Flow Based Programming Framework"
+HOMEPAGE="https://github.com/ioflo/ioflo/;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   $(python_gen_cond_dep '>=dev-lang/python-3.7.4' python3_7)
+"
+BDEPEND="${RDEPEND}
+   test? (
+   dev-python/pytest-salt-factories[${PYTHON_USEDEP}]
+   app-admin/salt[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/ioflo-1.7.8-network-test.patch"
+   "${FILESDIR}/ioflo-2.0.2-python39.patch"
+   "${FILESDIR}/ioflo-2.0.2-tests.patch"
+   "${FILESDIR}/ioflo-2.0.2-py310.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e 's:"setuptools_git[^"]*",::' -i setup.py || die
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/raet/

2022-03-30 Thread Patrick McLean
commit: 670b5e2153d393e3c96e9c5e5a46dc47cd2a5fc3
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 00:39:26 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670b5e21

dev-python/raet: enable py3.10

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/raet/raet-0.6.8-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/raet/raet-0.6.8-r3.ebuild 
b/dev-python/raet/raet-0.6.8-r3.ebuild
index e70391368374..bc36050ff118 100644
--- a/dev-python/raet/raet-0.6.8-r3.ebuild
+++ b/dev-python/raet/raet-0.6.8-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 inherit distutils-r1
 
 DESCRIPTION="Reliable Asynchronous Event Transport Protocol"



[gentoo-commits] repo/gentoo:master commit in: app-admin/salt/files/, app-admin/salt/

2022-03-30 Thread Patrick McLean
commit: f799fa96b2c8dcf29ea8fadb860ca8df51d17192
Author: Patrick McLean  gentoo  org>
AuthorDate: Thu Mar 31 00:53:06 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f799fa96

app-admin/salt: add 3004.1

Signed-off-by: Patrick McLean  gentoo.org>

 app-admin/salt/Manifest|   1 +
 app-admin/salt/files/salt-3004.1-jinja-3.patch |  40 
 app-admin/salt/files/salt-3004.1-tests.patch   | 291 +
 app-admin/salt/salt-3004.1.ebuild  | 204 +
 4 files changed, 536 insertions(+)

diff --git a/app-admin/salt/Manifest b/app-admin/salt/Manifest
index 74cedfb26638..3ee27efecc4d 100644
--- a/app-admin/salt/Manifest
+++ b/app-admin/salt/Manifest
@@ -5,3 +5,4 @@ DIST salt-3001.8.tar.gz 15740488 BLAKE2B 
77875a670b81438280becd1f29b64fbc7663791
 DIST salt-3002.7.tar.gz 15792124 BLAKE2B 
b4cb4a6d73c45f3c2183a7adfe8196bbc5788dce1995bd5c640cd9957bdfdba2e96deebaba927d6103fc50f4eaab86d51f4dd4594d25b7357db79ed67b39258e
 SHA512 
c1e7bbcd39b5c2bef351bd74026346bf729839c4161f6eff8162620e9cb08a63073abeeb8af6bab635070386a883df494ef08cc07a84efa9aa7f2160b357a938
 DIST salt-3003.3.tar.gz 16017984 BLAKE2B 
9cd1e33a7b6dff4d3c6c5a87e1204f7f113b6190da8301061e26fcec178aba597a9e17ab60a54a67b52a895a9a8aef58bec70e9fdd8d8edc5a42945f6de21a58
 SHA512 
4fe50922833fce48fcc679adb16a0e1fe893531b2feb08b235a1461c58b8d9a72af2acd89fc0f712207fb0cd215d6b446e31a40001b46c43d0cc4ac827ce29e3
 DIST salt-3003.tar.gz 15830910 BLAKE2B 
ea4f02eece951c3fb4fcc480d00f7b531ac549b2e23ff9a210b73f749f9ba83e0402e02a59028f41f94958d17512e417b7c1b7015e8ee3aeac55be9b1374fe6f
 SHA512 
7f631466372f303c03f2852a5cfba1ee5c6ba1636a6fe1e1622e90d0b1376ef9f670aa1b4754f3d9c8c7fe1b99fe1b4c49e140dc86d90d157a1ec1e73ba43c38
+DIST salt-3004.1.tar.gz 17685649 BLAKE2B 
64950cdc8420228f935d4a21fc20872da9ecf7c51b866ec3c59b46486b84a739b002acc44fa909eed93ce3dc6bedc9804df05d3d9ee5a9a13cd9d041ba70f876
 SHA512 
9353a8dc2a1c6e272318c6f35059236c5d78b6c8930f715275b701c12fca3be1fe930eb533f3f0c22933ba60967b0980300b922fe486cee9a62e6cdb568bdf91

diff --git a/app-admin/salt/files/salt-3004.1-jinja-3.patch 
b/app-admin/salt/files/salt-3004.1-jinja-3.patch
new file mode 100644
index ..98f21bc35129
--- /dev/null
+++ b/app-admin/salt/files/salt-3004.1-jinja-3.patch
@@ -0,0 +1,40 @@
+diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py
+index 0cb70bf64a..322c2f7f46 100644
+--- a/salt/utils/jinja.py
 b/salt/utils/jinja.py
+@@ -25,10 +25,11 @@ import salt.utils.json
+ import salt.utils.stringutils
+ import salt.utils.url
+ import salt.utils.yaml
+-from jinja2 import BaseLoader, Markup, TemplateNotFound, nodes
++from jinja2 import BaseLoader, TemplateNotFound, nodes
+ from jinja2.environment import TemplateModule
+ from jinja2.exceptions import TemplateRuntimeError
+ from jinja2.ext import Extension
++from markupsafe import Markup
+ from salt.exceptions import TemplateError
+ from salt.utils.decorators.jinja import jinja_filter, jinja_global, jinja_test
+ from salt.utils.odict import OrderedDict
+@@ -706,7 +707,7 @@ def method_call(obj, f_name, *f_args, **f_kwargs):
+ return getattr(obj, f_name, lambda *args, **kwargs: None)(*f_args, 
**f_kwargs)
+ 
+ 
+-@jinja2.contextfunction
++@jinja2.pass_context
+ def show_full_context(ctx):
+ return salt.utils.data.simple_types_filter(
+ {key: value for key, value in ctx.items()}
+diff --git a/tests/unit/utils/test_jinja.py b/tests/unit/utils/test_jinja.py
+index 6502831aff..dec847364a 100644
+--- a/tests/unit/utils/test_jinja.py
 b/tests/unit/utils/test_jinja.py
+@@ -22,7 +22,8 @@ import salt.utils.files
+ import salt.utils.json
+ import salt.utils.stringutils
+ import salt.utils.yaml
+-from jinja2 import DictLoader, Environment, Markup, exceptions
++from jinja2 import DictLoader, Environment, exceptions
++from markupsafe import Markup
+ from salt.exceptions import SaltRenderError
+ from salt.utils.decorators.jinja import JinjaFilter
+ from salt.utils.jinja import (

diff --git a/app-admin/salt/files/salt-3004.1-tests.patch 
b/app-admin/salt/files/salt-3004.1-tests.patch
new file mode 100644
index ..3a36977246f2
--- /dev/null
+++ b/app-admin/salt/files/salt-3004.1-tests.patch
@@ -0,0 +1,291 @@
+diff --git a/tests/pytests/functional/fileserver/test_roots.py 
b/tests/pytests/functional/fileserver/test_roots.py
+index c65efc8d52..9060fb61e2 100644
+--- a/tests/pytests/functional/fileserver/test_roots.py
 b/tests/pytests/functional/fileserver/test_roots.py
+@@ -15,6 +15,7 @@ def configure_loader_modules(base_env_state_tree_root_dir):
+ return {roots: {"__opts__": opts}}
+ 
+ 
++@pytest.mark.skip("needs network access")
+ # nox -e pytest-zeromq-3.8(coverage=False) -- -vvv --run-slow 
--run-destructive tests\pytests\functional\fileserver\test_roots.py
+ def test_symlink_list(base_env_state_tree_root_dir):
+ with 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-salt-factories/files/, dev-python/pytest-salt-factories/

2022-03-30 Thread Patrick McLean
commit: cb278dc4e55e23345b0c26e83f0c32f866d60d26
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 30 21:56:22 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb278dc4

dev-python/pytest-salt-factories: add 1.0.0_rc13

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-salt-factories/Manifest  |   1 +
 .../pytest-salt-factories-1.0.0_rc13-tests.patch   | 415 +
 .../pytest-salt-factories-1.0.0_rc13.ebuild|  72 
 3 files changed, 488 insertions(+)

diff --git a/dev-python/pytest-salt-factories/Manifest 
b/dev-python/pytest-salt-factories/Manifest
index 65e270229be0..b2955ea369a7 100644
--- a/dev-python/pytest-salt-factories/Manifest
+++ b/dev-python/pytest-salt-factories/Manifest
@@ -1 +1,2 @@
 DIST pytest-salt-factories-0.911.0.tar.gz 161682 BLAKE2B 
b5a827c9a9acc55c53bc4152b648f96845f513e2d1c8425cbde0862909996a653df4debbf798a3d7461da4fc221acd5fc8e6052e123f3e64e0c8f4345557f141
 SHA512 
bada21cfe990ccb10b0e298cb05a7f3842d0fe24e2c8664352ae991363d0094dd1ff877adea5fcc0c1040e3f20f82ba616607c595511cade93eba336a26b
+DIST pytest-salt-factories-1.0.0_rc13.tar.gz 148418 BLAKE2B 
3688f05d137df23266ebc7e999bc3b3a8ec198173b38dc98bd4a1e2655b982a37485278691e970da0be700cee6f609c57933b041a6d8403e75fb197f5d23d5d4
 SHA512 
f3713410704540ee48b7263973d3a9bf3159fb63e53e5ef5002201aea3fdcf0b4eaf00e1dd1e67d869b42242985d8117a117568d63abf5ad366e247fb3e1d83f

diff --git 
a/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc13-tests.patch
 
b/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc13-tests.patch
new file mode 100644
index ..b021dcccf280
--- /dev/null
+++ 
b/dev-python/pytest-salt-factories/files/pytest-salt-factories-1.0.0_rc13-tests.patch
@@ -0,0 +1,415 @@
+diff --git a/src/saltfactories/plugins/__init__.py 
b/src/saltfactories/plugins/__init__.py
+index 361414a..55469e4 100644
+--- a/src/saltfactories/plugins/__init__.py
 b/src/saltfactories/plugins/__init__.py
+@@ -27,7 +27,7 @@ def pytest_tempdir_temproot():
+ tempdir = "/tmp"
+ else:
+ tempdir = os.environ.get("TMPDIR") or tempfile.gettempdir()
+-return os.path.abspath(os.path.realpath(tempdir))
++return tempdir
+ 
+ 
+ def pytest_tempdir_basename():
+diff --git a/tests/functional/factories/base/test_salt_daemon_factory.py 
b/tests/functional/factories/base/test_salt_daemon_factory.py
+index eae5670..fd312df 100644
+--- a/tests/functional/factories/base/test_salt_daemon_factory.py
 b/tests/functional/factories/base/test_salt_daemon_factory.py
+@@ -35,7 +35,7 @@ def test_extra_cli_arguments_after_first_failure(
+ This test asserts that after the first start failure, the 
extra_cli_arguments_after_first_start_failure
+ arguments are added
+ """
+-output_file = tmp_path.joinpath("output.txt").resolve()
++output_file = tmp_path.joinpath("output.txt")
+ config = {"conf_file": config_file, "id": master_id}
+ script = tempfiles.makepyfile(
+ r"""
+diff --git a/tests/functional/factories/daemons/test_container_factory.py 
b/tests/functional/factories/daemons/test_container_factory.py
+index 1642d57..8b085eb 100644
+--- a/tests/functional/factories/daemons/test_container_factory.py
 b/tests/functional/factories/daemons/test_container_factory.py
+@@ -3,6 +3,7 @@ from unittest import mock
+ import pytest
+ 
+ 
++@pytest.mark.skip("Needs network access")
+ @pytest.mark.parametrize("skip_on_pull_failure", [True, False])
+ def test_skip_on_pull_failure(pytester, skip_on_pull_failure):
+ pytester.makepyfile(
+diff --git a/tests/functional/markers/test_requires_salt_modules.py 
b/tests/functional/markers/test_requires_salt_modules.py
+index 97ed1ec..53ff0dd 100644
+--- a/tests/functional/markers/test_requires_salt_modules.py
 b/tests/functional/markers/test_requires_salt_modules.py
+@@ -1,9 +1,11 @@
+ """
+ Test the ``@pytest.mark.requires_salt_modules`` marker.
+ """
++import sys
+ import pytest
+ 
+ 
++@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on 
python 3.10")
+ @pytest.mark.parametrize(
+ "modules",
+ [
+@@ -29,6 +31,7 @@ def test_has_required_salt_module(pytester, modules):
+ res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*")
+ 
+ 
++@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on 
python 3.10")
+ @pytest.mark.parametrize(
+ "modules",
+ [
+@@ -54,6 +57,7 @@ def test_missing_required_salt_module(pytester, modules):
+ res.stdout.no_fnmatch_line("*PytestUnknownMarkWarning*")
+ 
+ 
++@pytest.mark.skipif(sys.version_info >= (3, 10), reason="test broken on 
python 3.10")
+ def test_has_required_custom_salt_module(pytester):
+ pytester.makepyfile(
+ r"""
+diff --git a/tests/functional/markers/test_requires_salt_states.py 
b/tests/functional/markers/test_requires_salt_states.py
+index 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-shell-utilities/

2022-03-30 Thread Patrick McLean
commit: ca556866b799cf28d3e33296c6c7320155db43ed
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 30 00:17:28 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca556866

dev-python/pytest-shell-utilities: initial import

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-shell-utilities/Manifest |  1 +
 dev-python/pytest-shell-utilities/metadata.xml | 11 ++
 .../pytest-shell-utilities-1.0.5.ebuild| 46 ++
 3 files changed, 58 insertions(+)

diff --git a/dev-python/pytest-shell-utilities/Manifest 
b/dev-python/pytest-shell-utilities/Manifest
new file mode 100644
index ..494f83b3252c
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/Manifest
@@ -0,0 +1 @@
+DIST pytest-shell-utilities-1.0.5.tar.gz 89489 BLAKE2B 
9cd7f95c9c1691e19c320378d1c2a4e147cb6fdc35ec6f3c80dc288e70416fce67b60ac86427f1ad322b2c17de3cd762e483d63076fa291b4b7d22d7a29c9e45
 SHA512 
395107af9eaa13ef39d01858e1674b6dedddc2cf93b9aba61316fd8d847031e1b535cc3bf4f2899dbc7828609b7d45b500aad29bb47668be6e0453ac099e99e4

diff --git a/dev-python/pytest-shell-utilities/metadata.xml 
b/dev-python/pytest-shell-utilities/metadata.xml
new file mode 100644
index ..16b2592b889f
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Patrick McLean
+   chutz...@gentoo.org
+   
+   
+   pytest-shell-utilities
+   
+

diff --git 
a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild 
b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild
new file mode 100644
index ..f0e89950df2c
--- /dev/null
+++ b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin: fixtures and code to help with running shell 
commands on tests"
+HOMEPAGE="
+   https://pypi.org/project/pytest-shell-utilities/
+   https://github.com/saltstack/pytest-shell-utilities
+"
+SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+   dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+   dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-subtests[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
+   sed -e "/setuptools_scm/ d" -i setup.cfg || die
+   sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die
+
+   printf '__version__ = "${PV}"\n' > src/pytestshellutils/version.py || 
die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-skip-markers/

2022-03-30 Thread Patrick McLean
commit: 7301fe6fad4efc2114991bfd73fbb9ca52a53ef1
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 30 18:17:00 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7301fe6f

dev-python/pytest-skip-markers: initial import

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-skip-markers/Manifest|  1 +
 dev-python/pytest-skip-markers/metadata.xml| 11 +
 .../pytest-skip-markers-1.2.0.ebuild   | 53 ++
 3 files changed, 65 insertions(+)

diff --git a/dev-python/pytest-skip-markers/Manifest 
b/dev-python/pytest-skip-markers/Manifest
new file mode 100644
index ..871b412ed285
--- /dev/null
+++ b/dev-python/pytest-skip-markers/Manifest
@@ -0,0 +1 @@
+DIST pytest-skip-markers-1.2.0.tar.gz 79343 BLAKE2B 
7f24b454fe19210d9ecadf10317a5a32830d722b64adbaf0fa6fad70a4c0cb598fa93b782a2b0f71bd23c4f91f2007d21383b488d725f61519d064e98ddd48f8
 SHA512 
76c1d0f0af7f7a56fa95d33bd5cb078792df3f054714d2ca1baa6d861e9404e2ec734a88a0768985388b1226c399ee6b54fe082ef7fcce6fc190fcae6201a416

diff --git a/dev-python/pytest-skip-markers/metadata.xml 
b/dev-python/pytest-skip-markers/metadata.xml
new file mode 100644
index ..fe019e56f6a8
--- /dev/null
+++ b/dev-python/pytest-skip-markers/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Patrick McLean
+   chutz...@gentoo.org
+   
+   
+   pytest-skip-markers
+   
+

diff --git a/dev-python/pytest-skip-markers/pytest-skip-markers-1.2.0.ebuild 
b/dev-python/pytest-skip-markers/pytest-skip-markers-1.2.0.ebuild
new file mode 100644
index ..e4cfe89eb4c5
--- /dev/null
+++ b/dev-python/pytest-skip-markers/pytest-skip-markers-1.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION=""
+HOMEPAGE="
+   https://pytest-skip-markers.readthedocs.io/en/latest/
+   https://github.com/saltstack/pytest-skip-markers
+"
+SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/pytest-tempdir[${PYTHON_USEDEP}]
+   dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
+   dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
+   dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pyzmq[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   dev-python/setuptools-declarative-requirements[${PYTHON_USEDEP}]
+   test? (
+   ${RDEPEND}
+   dev-python/pyfakefs[${PYTHON_USEDEP}]
+   dev-python/pytest-subtests[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
+   sed -e "/setuptools_scm/ d" -i setup.cfg || die
+   sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die
+
+   printf '__version__ = "${PV}"\n' > src/pytestskipmarkers/version.py || 
die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/

2022-03-30 Thread Patrick McLean
commit: 043eaaf5662e31b5fe34c3f6dbf90514c996d0bd
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar 30 18:10:57 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Mar 31 01:28:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043eaaf5

dev-python/pytest-system-statistics: initial import

Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-system-statistics/Manifest   |  1 +
 dev-python/pytest-system-statistics/metadata.xml   | 11 +
 .../pytest-system-statistics-1.0.2.ebuild  | 49 ++
 3 files changed, 61 insertions(+)

diff --git a/dev-python/pytest-system-statistics/Manifest 
b/dev-python/pytest-system-statistics/Manifest
new file mode 100644
index ..550382e4b516
--- /dev/null
+++ b/dev-python/pytest-system-statistics/Manifest
@@ -0,0 +1 @@
+DIST pytest-system-statistics-1.0.2.tar.gz 55147 BLAKE2B 
9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf
 SHA512 
1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347

diff --git a/dev-python/pytest-system-statistics/metadata.xml 
b/dev-python/pytest-system-statistics/metadata.xml
new file mode 100644
index ..227706a29106
--- /dev/null
+++ b/dev-python/pytest-system-statistics/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Patrick McLean
+   chutz...@gentoo.org
+   
+   
+   pytest-system-statistics
+   
+

diff --git 
a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild 
b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild
new file mode 100644
index ..c2507c3eaf70
--- /dev/null
+++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics"
+HOMEPAGE="
+   https://pypi.org/project/pytest-system-statistics/
+   https://github.com/saltstack/pytest-system-statistics
+"
+SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+   dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-subtests[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
+   sed -e "/setuptools_scm/ d" -i setup.cfg || die
+   sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die
+
+   printf '__version__ = "${PV}"\n' > src/pytestsysstats/version.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   epytest -k 'not proc_sys_stats'
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/bazel/

2022-03-30 Thread Jason Zaman
commit: 88d2c96be2b1be7bea774f960baec15c49a09386
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Mar 21 05:17:22 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 01:08:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d2c96b

dev-util/bazel: Bump 5.0.0

Closes: https://bugs.gentoo.org/832399
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 dev-util/bazel/Manifest   |  1 +
 dev-util/bazel/bazel-5.0.0.ebuild | 95 +++
 2 files changed, 96 insertions(+)

diff --git a/dev-util/bazel/Manifest b/dev-util/bazel/Manifest
index 987213efe6b9..187f2c4ce9fe 100644
--- a/dev-util/bazel/Manifest
+++ b/dev-util/bazel/Manifest
@@ -1,2 +1,3 @@
 DIST bazel-3.7.2-dist.zip 313677756 BLAKE2B 
cd6363762c68d25739a6bf6c13f10e191302a10b6fb7d97455effbc678d4f0b644c76115cad478aad7c09f703d9e594f4bdb8669ed6ab97d6a559a27723c510c
 SHA512 
e8746ef5ec22feb95e9dbbddb3fb56cf8f49c80f326fc2a4e0ce2619607826fac22f46bfb995daee55bf9ffabb9d646b8454be2bce7b479da5cf2a7e5b3be62b
 DIST bazel-4.2.2-dist.zip 279304631 BLAKE2B 
2a32838e50b63c4b6400aced10085c6c9aacf28641ea555a44b9c4ed8991fc29658b4d420b26179e8eed0e00cfe7391e8eec84c7851f17493c74d1c5682427af
 SHA512 
123f73dc87053e37705bb729f82bd722d6d2799fe106f79c51cf5566fb2771d824108cbe275aad55ae590b970c549008b433704cbf1245394769e950796eb8db
+DIST bazel-5.0.0-dist.zip 235894565 BLAKE2B 
3798eb9111772809f0345e0c74bef38d8f9d44a7f20844f20aad187a2e177f4999ffa0e1cc1719e4284cdc7c72295bb903d32ce56821c72ee2908f4d939d0769
 SHA512 
2a9a972d1cce6b50f959fec3d37506914208169c8aa36e5ec5f9a27942e9beff1080a544a18e9bd5eb13dc434c1864cda0594e6da5b78c2f41085abf808c22d7

diff --git a/dev-util/bazel/bazel-5.0.0.ebuild 
b/dev-util/bazel/bazel-5.0.0.ebuild
new file mode 100644
index ..778608f34249
--- /dev/null
+++ b/dev-util/bazel/bazel-5.0.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 bazel java-pkg-2 multiprocessing
+
+DESCRIPTION="Fast and correct automated build system"
+HOMEPAGE="https://bazel.build/;
+
+SRC_URI="https://github.com/bazelbuild/bazel/releases/download/${PV}/${P}-dist.zip;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples tools"
+# strip corrupts the bazel binary
+# test fails with network-sandbox: An error occurred during the fetch of 
repository 'io_bazel_skydoc' (bug 690794)
+RESTRICT="strip test"
+RDEPEND=">=virtual/jdk-11:*"
+DEPEND="${RDEPEND}
+   app-arch/unzip
+   app-arch/zip"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+   if has ccache ${FEATURES}; then
+   ewarn "${PN} usually fails to compile with ccache, you have 
been warned"
+   fi
+   java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+   # Only unpack the main distfile
+   unpack ${P}-dist.zip
+}
+
+src_prepare() {
+   default
+
+   # F: fopen_wr
+   # S: deny
+   # P: /proc/self/setgroups
+   # A: /proc/self/setgroups
+   # R: /proc/24939/setgroups
+   # C: /usr/lib/systemd/systemd
+   addpredict /proc
+}
+
+src_compile() {
+   export JAVA_HOME=$(java-config --jre-home) # so keepwork works
+   export EXTRA_BAZEL_ARGS="--jobs=$(makeopts_jobs) $(bazel_get_flags)
+   --java_runtime_version=local_jdk
+   --tool_java_runtime_version=local_jdk"
+   VERBOSE=yes ./compile.sh || die "Failed compiling bazel"
+
+   ./scripts/generate_bash_completion.sh \
+   --bazel=output/bazel \
+   --output=bazel-complete.bash \
+   --prepend=scripts/bazel-complete-header.bash \
+   --prepend=scripts/bazel-complete-template.bash || die "Failed 
to generate bash completions"
+}
+
+src_test() {
+   output/bazel test \
+   --verbose_failures \
+   --spawn_strategy=standalone \
+   --genrule_strategy=standalone \
+   --verbose_test_summary \
+   examples/cpp:hello-success_test || die
+   output/bazel shutdown
+}
+
+src_install() {
+   dobin output/bazel
+   newbashcomp bazel-complete.bash ${PN}
+   bashcomp_alias ${PN} ibazel
+   insinto /usr/share/zsh/site-functions
+   doins scripts/zsh_completion/_bazel
+
+   if use examples; then
+   docinto examples
+   dodoc -r examples/*
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   # could really build tools but I don't know which ones
+   # are actually used
+   if use tools; then
+   docinto tools
+   dodoc -r tools/*
+   docompress -x /usr/share/doc/${PF}/tools
+   docompress -x /usr/share/doc/${PF}/tools/build_defs/pkg/testdata
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/bazel/

2022-03-30 Thread Jason Zaman
commit: 35c362e4191e053f00ab8402d701936e18e14c23
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Mar 21 17:01:12 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Mar 31 01:08:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c362e4

dev-util/bazel: Stable 4.2.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 dev-util/bazel/bazel-4.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/bazel/bazel-4.2.2.ebuild 
b/dev-util/bazel/bazel-4.2.2.ebuild
index 41553e6c87d4..a8b93d4ab322 100644
--- a/dev-util/bazel/bazel-4.2.2.ebuild
+++ b/dev-util/bazel/bazel-4.2.2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/bazelbuild/bazel/releases/download/${PV}/${P}-dist.z
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples tools"
 # strip corrupts the bazel binary
 # test fails with network-sandbox: An error occurred during the fetch of 
repository 'io_bazel_skydoc' (bug 690794)



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

2022-03-30 Thread Sam James
commit: c76a73f3ed170ebba953f2f23e9303c51981cf2a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 01:04:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 01:04:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76a73f3

sys-apps/util-linux: fix verify-sig BDEPEND (conditional only)

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

 sys-apps/util-linux/util-linux-2.38.ebuild | 2 +-
 sys-apps/util-linux/util-linux-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/util-linux/util-linux-2.38.ebuild 
b/sys-apps/util-linux/util-linux-2.38.ebuild
index a2f0f3e443ab..68bb10664cf1 100644
--- a/sys-apps/util-linux/util-linux-2.38.ebuild
+++ b/sys-apps/util-linux/util-linux-2.38.ebuild
@@ -84,7 +84,7 @@ if [[ ${PV} ==  ]] ; then
# Required for man-page generation
BDEPEND+=" dev-ruby/asciidoctor"
 else
-   BDEPEND+=" sec-keys/openpgp-keys-karelzak"
+   BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-karelzak )"
 fi
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"

diff --git a/sys-apps/util-linux/util-linux-.ebuild 
b/sys-apps/util-linux/util-linux-.ebuild
index a2f0f3e443ab..68bb10664cf1 100644
--- a/sys-apps/util-linux/util-linux-.ebuild
+++ b/sys-apps/util-linux/util-linux-.ebuild
@@ -84,7 +84,7 @@ if [[ ${PV} ==  ]] ; then
# Required for man-page generation
BDEPEND+=" dev-ruby/asciidoctor"
 else
-   BDEPEND+=" sec-keys/openpgp-keys-karelzak"
+   BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-karelzak )"
 fi
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"



[gentoo-commits] repo/gentoo:master commit in: app-misc/ca-certificates/

2022-03-30 Thread Sam James
commit: 48838aca4ee8c57f9a6a166428dd935d2e14e91d
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:46:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:46:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48838aca

app-misc/ca-certificates: add 20211016.3.76.1

Pulling in 3.76.1 NSS to aid debugging in some
issues with people.redhat.com. This doesn't
resolve it but our last NSS version (for
ca-certs) -> 3.76.1 has a fair amount of updates,
so let's drag it in.

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

 app-misc/ca-certificates/Manifest  |   1 +
 .../ca-certificates-20211016.3.76.1.ebuild | 198 +
 2 files changed, 199 insertions(+)

diff --git a/app-misc/ca-certificates/Manifest 
b/app-misc/ca-certificates/Manifest
index c16439df7078..6a311f5ee131 100644
--- a/app-misc/ca-certificates/Manifest
+++ b/app-misc/ca-certificates/Manifest
@@ -3,4 +3,5 @@ DIST ca-certificates_20211016.tar.xz 239608 BLAKE2B 
9b4730b54fd9f472fe4e5427bf91
 DIST nss-3.66.tar.gz 82401896 BLAKE2B 
ae369899af681e1c6ea8046098c83da08c2112b16d85a0eaee46e9d4f97dfb3f7c3e97eb681ec947b5648446c6db51e8f1396ec9bb6c731c9678ecf925e7f743
 SHA512 
327129cb065a8c19246e081e3cbc4798c81dc52eab6ee366eade151e9d308990592075c52a7c672165725fd855a0c539d56a803c26ef066561c584d693e0e467
 DIST nss-3.71.tar.gz 83927933 BLAKE2B 
a8d683b9f9bff5390e0378ab0d55156f7cc69a52b0667658738e67e920548965e7a276dc4104547b2e6a1a6d18325c3f85b955b9c12d7f071d10930b5264207e
 SHA512 
a4a724dc4e8677965b6245ea2309790d31ec7719658e2b349eb67c9008082132c76277340d15e4fdd8d2fe1f560ae6803fb038d023c3dfd2e3772fa3b77720e2
 DIST nss-3.72.tar.gz 83928300 BLAKE2B 
d92889e27e99095a18090eff0c08b8653ef1f53f4954f5bd018df2f2903647bc71f217159bb4b11f0d6b4fb289fda20bffa2d1d207d1836dcfc33dbd4bedf511
 SHA512 
1d818d2ef85735837275059fecf68d57e48152f0348ea54887c29171cf029b6944e94d99a8cd96e580a81edb678b79c55515ac0516e27daf6b290c34baed9ebb
+DIST nss-3.76.1.tar.gz 84626067 BLAKE2B 
5112b208f3b9528a34b1d8e3e669db067ecb79719ad16793b8cd556a02910cc29f899f2a57e959c50048c5d2b94eb3b9855208dd3c20646a719c971561f6ea4c
 SHA512 
80d32a97501cbc05312caa5cec54fe6dd8708f01e6d15693e36a40d70433be7a35565fcc5fadfc324c998ee9093b10b2f7a89643882f06a850eda4ffd3b19c54
 DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 
7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d
 SHA512 
1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4

diff --git a/app-misc/ca-certificates/ca-certificates-20211016.3.76.1.ebuild 
b/app-misc/ca-certificates/ca-certificates-20211016.3.76.1.ebuild
new file mode 100644
index ..864b59789c1f
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20211016.3.76.1.ebuild
@@ -0,0 +1,198 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# The Debian ca-certificates package merely takes the CA database as it exists
+# in the nss package and repackages it for use by openssl.
+#
+# The issue with using the compiled debs directly is two fold:
+# - they do not update frequently enough for us to rely on them
+# - they pull the CA database from nss tip of tree rather than the release
+#
+# So we take the Debian source tools and combine them with the latest nss
+# release to produce (largely) the same end result.  The difference is that
+# now we know our cert database is kept in sync with nss and, if need be,
+# can be sync with nss tip of tree more frequently to respond to bugs.
+
+# When triaging user reports, refer to our wiki for tips:
+# https://wiki.gentoo.org/wiki/Certificates#Debugging_certificate_issues
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit python-any-r1
+
+if [[ ${PV} == *.* ]] ; then
+   # Compile from source ourselves.
+   PRECOMPILED=false
+
+   DEB_VER=$(ver_cut 1)
+   NSS_VER=$(ver_cut 2-)
+   RTM_NAME="NSS_${NSS_VER//./_}_RTM"
+else
+   # Debian precompiled version.
+   PRECOMPILED=true
+   inherit unpacker
+fi
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="https://packages.debian.org/sid/ca-certificates;
+NMU_PR=""
+if ${PRECOMPILED} ; then
+   
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+else
+   
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
+   
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
+   cacert? (
+   
https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch
+   )"
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib/

2022-03-30 Thread Sam James
commit: a0cdc4e917d4cae1aad522537a51e17557cfc722
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:20:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:20:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cdc4e9

sys-libs/zlib: mention upstream 'develop' branch in comment

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

 sys-libs/zlib/zlib-1.2.12-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/zlib/zlib-1.2.12-r2.ebuild 
b/sys-libs/zlib/zlib-1.2.12-r2.ebuild
index 6aa6f8503bc7..ca6e222f45cd 100644
--- a/sys-libs/zlib/zlib-1.2.12-r2.ebuild
+++ b/sys-libs/zlib/zlib-1.2.12-r2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+# Worth keeping an eye on 'develop' branch upstream for possible backports.
 AUTOTOOLS_AUTO_DEPEND="no"
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/madler.asc
 inherit autotools multilib-minimal usr-ldscript verify-sig



[gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib/files/, sys-libs/zlib/

2022-03-30 Thread Sam James
commit: 37f4162df7f95c4c101ac94792d50894560b994a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:18:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:19:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f4162d

sys-libs/zlib: backport CRC fix

Would return bad results on bad input.

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

 .../zlib/files/zlib-1.2.12-CRC-buggy-input.patch   |  50 ++
 .../zlib-1.2.12-use-LDFLAGS-in-configure.patch |  71 
 sys-libs/zlib/zlib-1.2.12-r2.ebuild| 194 +
 3 files changed, 315 insertions(+)

diff --git a/sys-libs/zlib/files/zlib-1.2.12-CRC-buggy-input.patch 
b/sys-libs/zlib/files/zlib-1.2.12-CRC-buggy-input.patch
new file mode 100644
index ..083634929bbe
--- /dev/null
+++ b/sys-libs/zlib/files/zlib-1.2.12-CRC-buggy-input.patch
@@ -0,0 +1,50 @@
+https://github.com/madler/zlib/commit/ec3df00224d4b396e2ac6586ab5d25f673caa4c2
+https://github.com/madler/zlib/issues/613
+https://bugs.gentoo.org/836370
+
+From ec3df00224d4b396e2ac6586ab5d25f673caa4c2 Mon Sep 17 00:00:00 2001
+From: Mark Adler 
+Date: Wed, 30 Mar 2022 11:14:53 -0700
+Subject: [PATCH] Correct incorrect inputs provided to the CRC functions.
+
+The previous releases of zlib were not sensitive to incorrect CRC
+inputs with bits set above the low 32. This commit restores that
+behavior, so that applications with such bugs will continue to
+operate as before.
+--- a/crc32.c
 b/crc32.c
+@@ -630,7 +630,7 @@ unsigned long ZEXPORT crc32_z(crc, buf, len)
+ #endif /* DYNAMIC_CRC_TABLE */
+ 
+ /* Pre-condition the CRC */
+-crc ^= 0x;
++crc = (~crc) & 0x;
+ 
+ /* Compute the CRC up to a word boundary. */
+ while (len && ((z_size_t)buf & 7) != 0) {
+@@ -749,7 +749,7 @@ unsigned long ZEXPORT crc32_z(crc, buf, len)
+ #endif /* DYNAMIC_CRC_TABLE */
+ 
+ /* Pre-condition the CRC */
+-crc ^= 0x;
++crc = (~crc) & 0x;
+ 
+ #ifdef W
+ 
+@@ -1077,7 +1077,7 @@ uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
+ #ifdef DYNAMIC_CRC_TABLE
+ once(, make_crc_table);
+ #endif /* DYNAMIC_CRC_TABLE */
+-return multmodp(x2nmodp(len2, 3), crc1) ^ crc2;
++return multmodp(x2nmodp(len2, 3), crc1) ^ (crc2 & 0x);
+ }
+ 
+ /* = 
*/
+@@ -1112,5 +1112,5 @@ uLong crc32_combine_op(crc1, crc2, op)
+ uLong crc2;
+ uLong op;
+ {
+-return multmodp(op, crc1) ^ crc2;
++return multmodp(op, crc1) ^ (crc2 & 0x);
+ }
+

diff --git a/sys-libs/zlib/files/zlib-1.2.12-use-LDFLAGS-in-configure.patch 
b/sys-libs/zlib/files/zlib-1.2.12-use-LDFLAGS-in-configure.patch
new file mode 100644
index ..752a473eac22
--- /dev/null
+++ b/sys-libs/zlib/files/zlib-1.2.12-use-LDFLAGS-in-configure.patch
@@ -0,0 +1,71 @@
+https://github.com/madler/zlib/pull/599
+
+From 37c9730ba474d274f4cc6a974943eef95087b9f6 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 8 Mar 2022 22:38:47 -0800
+Subject: [PATCH] configure: Pass LDFLAGS to link tests
+
+LDFLAGS can contain critical flags without which linking wont succeed
+therefore ensure that all configure tests involving link time checks are
+using LDFLAGS on compiler commandline along with CFLAGS to ensure the
+tests perform correctly. Without this some tests may fail resulting in
+wrong confgure result, ending in miscompiling the package
+
+Signed-off-by: Khem Raj 
+--- a/configure
 b/configure
+@@ -410,7 +410,7 @@ if test $shared -eq 1; then
+   echo Checking for shared library support... | tee -a configure.log
+   # we must test in two steps (cc then ld), required at least on SunOS 4.x
+   if try $CC -w -c $SFLAGS $test.c &&
+- try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then
++ try $LDSHARED $SFLAGS $LDFLAGS -o $test$shared_ext $test.o; then
+ echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
+   elif test -z "$old_cc" -a -z "$old_cflags"; then
+ echo No shared library support. | tee -a configure.log
+@@ -492,7 +492,7 @@ int main(void) {
+ }
+ EOF
+   fi
+-  if try $CC $CFLAGS -o $test $test.c; then
++  if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then
+ sizet=`./$test`
+ echo "Checking for a pointer-size integer type..." $sizet"." | tee -a 
configure.log
+   else
+@@ -530,7 +530,7 @@ int main(void) {
+   return 0;
+ }
+ EOF
+-  if try $CC $CFLAGS -o $test $test.c; then
++  if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then
+ echo "Checking for fseeko... Yes." | tee -a configure.log
+   else
+ CFLAGS="${CFLAGS} -DNO_FSEEKO"
+@@ -547,7 +547,7 @@ cat > $test.c <
+ int main() { return strlen(strerror(errno)); }
+ EOF
+-if try $CC $CFLAGS -o $test $test.c; then
++if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then
+   echo "Checking for strerror... Yes." | tee -a configure.log
+ else
+   CFLAGS="${CFLAGS} -DNO_STRERROR"
+@@ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib/files/

2022-03-30 Thread Sam James
commit: beefea271d2f0f6c2975d03136dbe1f602e42c5e
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:20:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:20:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beefea27

sys-libs/zlib: add commit reference to 1.2.11 patch

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

 sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch 
b/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
index 18764849b945..59d4a0919c77 100644
--- a/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
+++ b/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
@@ -1,3 +1,5 @@
+https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1
+
 From f9694097dd69354b03cb8af959094c7f260db0a1 Mon Sep 17 00:00:00 2001
 From: Mark Adler 
 Date: Mon, 16 Jan 2017 09:49:35 -0800



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

2022-03-30 Thread Sam James
commit: 3d4b16076d7baeda8ff9771d45e92dc3129c7659
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:11:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:11:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4b1607

sys-apps/util-linux: add 2.38

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

 sys-apps/util-linux/Manifest   |   2 +
 ...il-linux-.ebuild => util-linux-2.38.ebuild} | 104 -
 sys-apps/util-linux/util-linux-.ebuild | 104 -
 3 files changed, 166 insertions(+), 44 deletions(-)

diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index 9e6b39616f05..b217a92f90ec 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -1,3 +1,5 @@
 DIST util-linux-2.37.2.tar.xz 5621624 BLAKE2B 
40ab80485781dfc58e6d0e98dae115b96f11ee0cc370524e1e13d3c4a4dfed3a5a4a248311f8ca645f6f84bbaf4785412ca8282b840af4e37a01312764885abe
 SHA512 
38f0fe820445e3bfa79550e6581c230f98c7661566ccc4daa51c7208a5f972c61b4e57dfc86bed074fdbc7c40bc79f856be8f6a05a8860c1c0cecc4208e8b81d
 DIST util-linux-2.37.3.tar.xz 6126260 BLAKE2B 
6a541dd1f243f0fc303cd813b50be3e0edd8dc7377734aed90fe0af03321bf03fd727285e406b95a1db176572742245220f2e6e7f4d35e508e948816ec4b6345
 SHA512 
2303b5c55b1fd932c73b0a079d37e56e10b6a20270b72d0b7e81ec7a6b715b42ebaa336714c3e1722d05e5aa4499f8be17ceaf61bb1341532bf9697c9a2174e9
 DIST util-linux-2.37.4.tar.xz 6114232 BLAKE2B 
7f6cd12ec9bc68a6db787be78c1ee19fdfbb37710df36d4278d869676ba531afd414097e57e5287efed6c7c80d6b6ef36d5812ff2bea611080d3ce5bf5ad4ac5
 SHA512 
ada2629b0a8e83ea83513e04f7b1ccceb3b8ab82acd119c5d8389d1abc48c92d0b591f39fb34b1fd65db3ab630f03a672a9f3dacf1a6e4f124bdb083fc1be6d7
+DIST util-linux-2.38.tar.sign 833 BLAKE2B 
bddde8cf392155eabe1e5f3c77d4f61cc9cb235c6d668cb289bf78650775d309dbe633e8a272ca52ff208e18bc8eaa4f8664ac239e285feb1eea5e3def1b8c2f
 SHA512 
8909576d64c74e43496d45fcf87a761d9960cd8867534923bb280f2e4abaf4df871723aed10ac4e514e14dcbce147bdc9590de3c84994b11227923264313ac2c
+DIST util-linux-2.38.tar.xz 7349140 BLAKE2B 
dd3b2abb3fedd91e35cc5665b49f1913aa93927cbb6eb5c9715a9f2ce06269d43c28fe96f6c67be88c210ca20e574177b06780ab4798cbbb0d7c76df07f3eeab
 SHA512 
d0f7888f457592067938e216695871ce6475a45d83a092cc3fd72b8cf8fca145ca5f3a99122f1744ef60b4f773055cf4e178dc6c59cd30837172aee0b5597e8c

diff --git a/sys-apps/util-linux/util-linux-.ebuild 
b/sys-apps/util-linux/util-linux-2.38.ebuild
similarity index 80%
copy from sys-apps/util-linux/util-linux-.ebuild
copy to sys-apps/util-linux/util-linux-2.38.ebuild
index 658e0639ff89..a2f0f3e443ab 100644
--- a/sys-apps/util-linux/util-linux-.ebuild
+++ b/sys-apps/util-linux/util-linux-2.38.ebuild
@@ -15,11 +15,19 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3 autotools

EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git;
 else
-   [[ "${PV}" = *_rc* ]] || \
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/karelzak.asc
+   inherit verify-sig
+
+   if [[ ${PV} != *_rc* ]] ; then
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   fi
+

SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz;
+   SRC_URI+=" verify-sig? ( 
https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign )"
 fi
 
+S="${WORKDIR}/${MY_P}"
+
 DESCRIPTION="Various useful Linux utilities"
 HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ 
https://github.com/karelzak/util-linux;
 
@@ -72,18 +80,16 @@ RDEPEND+="
!net-wireless/rfkill
 "
 
-# Required for man-page generation
-if [[ "${PV}" ==  ]] ; then
-   BDEPEND+="
-   dev-ruby/asciidoctor
-   "
+if [[ ${PV} ==  ]] ; then
+   # Required for man-page generation
+   BDEPEND+=" dev-ruby/asciidoctor"
+else
+   BDEPEND+=" sec-keys/openpgp-keys-karelzak"
 fi
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"
 RESTRICT="!test? ( test )"
 
-S="${WORKDIR}/${MY_P}"
-
 pkg_pretend() {
if use su && ! use suid ; then
elog "su will be installed as suid despite USE=-suid (bug 
#832092)"
@@ -91,30 +97,75 @@ pkg_pretend() {
fi
 }
 
+src_unpack() {
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   return
+   fi
+
+   if use verify-sig ; then
+   mkdir "${T}"/verify-sig || die
+   pushd "${T}"/verify-sig &>/dev/null || die
+
+   # Upstream sign the decompressed .tar
+   # Let's do it separately in ${T} then cleanup to avoid external
+   # effects on normal unpack.
+   cp "${DISTDIR}"/${MY_P}.tar.xz . || die
+ 

[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-karelzak/

2022-03-30 Thread Sam James
commit: 0c98953f346919a94034eb5a5dbc114014b06107
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 31 00:03:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 31 00:03:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c98953f

sec-keys/openpgp-keys-karelzak: initial import

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

 sec-keys/openpgp-keys-karelzak/Manifest  |  1 +
 sec-keys/openpgp-keys-karelzak/metadata.xml  |  8 
 .../openpgp-keys-karelzak-20220331.ebuild| 20 
 3 files changed, 29 insertions(+)

diff --git a/sec-keys/openpgp-keys-karelzak/Manifest 
b/sec-keys/openpgp-keys-karelzak/Manifest
new file mode 100644
index ..3ec08c35a693
--- /dev/null
+++ b/sec-keys/openpgp-keys-karelzak/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-karelzak-20220331.asc 4128 BLAKE2B 
c92253c5691de219a2d5ab8311997f4cab46d13c30fc6631713837655641d4766cd8eebdd786344a6491f337f93a7f11fd34c1e1e0213002c463ac4bcc6e36c7
 SHA512 
ffa2247a15313a1d7879d6a620bd6255615740055380f104fb7530f1e75dad82dd3febf5d6f36fb325ea40b1154960e7f6abb07fc72f4091dec7a551bde13b4e

diff --git a/sec-keys/openpgp-keys-karelzak/metadata.xml 
b/sec-keys/openpgp-keys-karelzak/metadata.xml
new file mode 100644
index ..b0d83aa2e489
--- /dev/null
+++ b/sec-keys/openpgp-keys-karelzak/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+

diff --git 
a/sec-keys/openpgp-keys-karelzak/openpgp-keys-karelzak-20220331.ebuild 
b/sec-keys/openpgp-keys-karelzak/openpgp-keys-karelzak-20220331.ebuild
new file mode 100644
index ..41d560ae9a18
--- /dev/null
+++ b/sec-keys/openpgp-keys-karelzak/openpgp-keys-karelzak-20220331.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by Karel Zak"
+HOMEPAGE="https://kzak.redcrew.org/doku.php?id=me;
+# Grabbed from HOMEPAGE but it's HTML
+SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.asc;
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+
+src_install() {
+   local files=( ${A} )
+   insinto /usr/share/openpgp-keys
+   newins - karelzak.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-eselect/eselect-ld/

2022-03-30 Thread Martin Matouš
commit: 99c4d9660676f1bf0bc9995cf9c6d4d66790dc2d
Author: Martin Matous  matous  dev>
AuthorDate: Wed Mar 30 23:47:07 2022 +
Commit: Martin Matouš  matous  dev>
CommitDate: Wed Mar 30 23:47:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99c4d966

app-eselect/eselect-ld: new package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Matouš  matous.dev>

 app-eselect/eselect-ld/Manifest|  1 +
 app-eselect/eselect-ld/eselect-ld-1.0.0.ebuild | 22 ++
 app-eselect/eselect-ld/metadata.xml|  8 
 3 files changed, 31 insertions(+)

diff --git a/app-eselect/eselect-ld/Manifest b/app-eselect/eselect-ld/Manifest
new file mode 100644
index 0..5ce42f530
--- /dev/null
+++ b/app-eselect/eselect-ld/Manifest
@@ -0,0 +1 @@
+DIST eselect-ld-1.0.0.tar.gz 1526 BLAKE2B 
822f9c425256f6efbe43d549bd51a8284b220f8a5a1811865bb7c2b78bcd0d4c25ba18d87138a233f2c9e27d082996a41f04bf205fdde8521668d7a216867295
 SHA512 
590ee23c46edcce45b2e2c4ac4be5106f49286b8b73a51a4f5af32208ff27cfdc74dfd20c8d82e2e00d6de093137ba336235de832fd195f4707d3265500b0d90

diff --git a/app-eselect/eselect-ld/eselect-ld-1.0.0.ebuild 
b/app-eselect/eselect-ld/eselect-ld-1.0.0.ebuild
new file mode 100644
index 0..5c4cfb7fc
--- /dev/null
+++ b/app-eselect/eselect-ld/eselect-ld-1.0.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SRC_URI="https://codeberg.org/mmatous/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64"
+DESCRIPTION="Manage the ld symlink"
+HOMEPAGE="https://codeberg.org/mmatous/eselect-ld;
+LICENSE="GPL-3"
+SLOT="0"
+RESTRICT="mirror"
+
+RDEPEND="app-admin/eselect"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+   default
+   insinto /usr/share/eselect/modules
+   doins ld.eselect
+}

diff --git a/app-eselect/eselect-ld/metadata.xml 
b/app-eselect/eselect-ld/metadata.xml
new file mode 100644
index 0..39933bf50
--- /dev/null
+++ b/app-eselect/eselect-ld/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   m...@matous.dev
+   Martin Matouš
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: app-eselect/eselect-autostart/

2022-03-30 Thread Martin Matouš
commit: 782f4a820c2bff53294591678bc054740a27b6e4
Author: Martin Matous  matous  dev>
AuthorDate: Wed Mar 30 23:41:41 2022 +
Commit: Martin Matouš  matous  dev>
CommitDate: Wed Mar 30 23:41:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=782f4a82

app-eselect/eselect-autostart: new package

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Matouš  matous.dev>

 app-eselect/eselect-autostart/Manifest |  1 +
 .../eselect-autostart-1.0.0.ebuild | 22 ++
 app-eselect/eselect-autostart/metadata.xml |  8 
 3 files changed, 31 insertions(+)

diff --git a/app-eselect/eselect-autostart/Manifest 
b/app-eselect/eselect-autostart/Manifest
new file mode 100644
index 0..19270a9d6
--- /dev/null
+++ b/app-eselect/eselect-autostart/Manifest
@@ -0,0 +1 @@
+DIST eselect-autostart-1.0.0.tar.gz 2051 BLAKE2B 
cb23b6f736232935d489f2a4473c94f5511b6e9723f9def076a8dd29f9874c95d97b8bacd75c4e5fd4ac2aab72d3265daf0a4f1e80f5a7ae49a957bcefc48ad3
 SHA512 
a5e912f5680785e1bc6766b19dfa7ca82fa05d6267e91c5627b2fbd7e3011467597a81a4c3901972986504c0249f1cc29a7fcc24deda2edbeba0586fb8779adf

diff --git a/app-eselect/eselect-autostart/eselect-autostart-1.0.0.ebuild 
b/app-eselect/eselect-autostart/eselect-autostart-1.0.0.ebuild
new file mode 100644
index 0..0e4d2675a
--- /dev/null
+++ b/app-eselect/eselect-autostart/eselect-autostart-1.0.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+SRC_URI="https://codeberg.org/mmatous/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64"
+DESCRIPTION="Manage symlinks in \$XDG_CONFIG_HOME/autostart"
+HOMEPAGE="https://codeberg.org/mmatous/eselect-autostart;
+LICENSE="GPL-3"
+SLOT="0"
+RESTRICT="mirror"
+
+RDEPEND="app-admin/eselect"
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+   default
+   insinto /usr/share/eselect/modules
+   doins autostart.eselect
+}

diff --git a/app-eselect/eselect-autostart/metadata.xml 
b/app-eselect/eselect-autostart/metadata.xml
new file mode 100644
index 0..39933bf50
--- /dev/null
+++ b/app-eselect/eselect-autostart/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   m...@matous.dev
+   Martin Matouš
+   
+



[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-waynedavison/

2022-03-30 Thread Sam James
commit: 16452b6692fc8fcc27a08b676798073665c7b8a9
Author: Jonathan Davies  protonmail  com>
AuthorDate: Tue Mar 29 21:40:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:24:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16452b66

sec-keys/openpgp-keys-waynedavison: Added package.

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 sec-keys/openpgp-keys-waynedavison/Manifest|  1 +
 sec-keys/openpgp-keys-waynedavison/metadata.xml|  8 
 .../openpgp-keys-waynedavison-20220329.ebuild  | 22 ++
 3 files changed, 31 insertions(+)

diff --git a/sec-keys/openpgp-keys-waynedavison/Manifest 
b/sec-keys/openpgp-keys-waynedavison/Manifest
new file mode 100644
index ..16bba562bbb8
--- /dev/null
+++ b/sec-keys/openpgp-keys-waynedavison/Manifest
@@ -0,0 +1 @@
+DIST waynedavison-0048C8B026D4C96F0E589C2F6C859FB14B96A8C5.asc 4020 BLAKE2B 
f490e3a8529c8455fa79429f5c420a9bc514461fd9b66787c19c69c043d1b368a028879bd76353158c7afdbfd76891c8c807780222ace49ad662b2d59fe79cb3
 SHA512 
4b456192d19128b5863629d8d6a56ed17f0d641dea33766ec8e86d14818e7bb9d2cbf7f521a754a330315397e83664364d7977a5bec29bed28e41f54f70e2e82

diff --git a/sec-keys/openpgp-keys-waynedavison/metadata.xml 
b/sec-keys/openpgp-keys-waynedavison/metadata.xml
new file mode 100644
index ..8cb7f9b298b9
--- /dev/null
+++ b/sec-keys/openpgp-keys-waynedavison/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   base-sys...@gentoo.org
+   
+   
+

diff --git 
a/sec-keys/openpgp-keys-waynedavison/openpgp-keys-waynedavison-20220329.ebuild 
b/sec-keys/openpgp-keys-waynedavison/openpgp-keys-waynedavison-20220329.ebuild
new file mode 100644
index ..d4b98b167c7c
--- /dev/null
+++ 
b/sec-keys/openpgp-keys-waynedavison/openpgp-keys-waynedavison-20220329.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenPGP keys used by Wayne Davison"
+HOMEPAGE="https://opencoder.net/;
+SRC_URI="
+   https://opencoder.net/WayneDavison.key
+   -> waynedavison-0048C8B026D4C96F0E589C2F6C859FB14B96A8C5.asc
+"
+S=${WORKDIR}
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+
+src_install() {
+   local files=( ${A} )
+   insinto /usr/share/openpgp-keys
+   newins - waynedavison.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/rsync/

2022-03-30 Thread Sam James
commit: 21fb3631d32d7ea64dc85d1d09bb167142acd413
Author: Jonathan Davies  protonmail  com>
AuthorDate: Tue Mar 29 21:48:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:24:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fb3631

net-misc/rsync: Added verify-sig integration.

Signed-off-by: Jonathan Davies  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24810
Signed-off-by: Sam James  gentoo.org>

 net-misc/rsync/Manifest  | 1 +
 net-misc/rsync/rsync-3.2.3-r5.ebuild | 9 ++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest
index c1ee190e0be4..c274f49f3aef 100644
--- a/net-misc/rsync/Manifest
+++ b/net-misc/rsync/Manifest
@@ -1 +1,2 @@
 DIST rsync-3.2.3.tar.gz 1069784 BLAKE2B 
085adb55d0d7e3d063fa198912fd09df67b63800a65baff5315ccb7dfc0e9d703eef30a7f2e72e3b271162c280abd9809b3f736704752c1663eed65ad8e0ac25
 SHA512 
48b68491f3ef644dbbbfcaec5ab90a1028593e02d50367ce161fd9d3d0bd0a3628bc57c5e5dec4be3a1d213f784f879b8a8fcdfd789ba0f99837cba16e1ae70e
+DIST rsync-3.2.3.tar.gz.asc 195 BLAKE2B 
cc18dd2589c09f869e35ecaf94a610e5b605dcb10ceaf01e6c0eb2667666a9a73feb7dcb2325638686c772f91a74d6d1f15ea33fdb6a38e89640f32a8cd0e04a
 SHA512 
b7e512d8bb0aaff7c48571b918a7b0362942c65ef2a0aa076574ec86c05822dc5df41f8796fdf62b762b12d166a671c9e979f9962357b89e3649459c4567525b

diff --git a/net-misc/rsync/rsync-3.2.3-r5.ebuild 
b/net-misc/rsync/rsync-3.2.3-r5.ebuild
index 7f996c540050..4e060aaa03bc 100644
--- a/net-misc/rsync/rsync-3.2.3-r5.ebuild
+++ b/net-misc/rsync/rsync-3.2.3-r5.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
@@ -9,14 +9,16 @@ if [[ ${PV} != 3.2.3 ]]; then
 fi
 
 WANT_LIBTOOL=none
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/waynedavison.asc
 
-inherit autotools flag-o-matic prefix systemd
+inherit autotools flag-o-matic prefix systemd verify-sig
 
 DESCRIPTION="File transfer program to keep remote files into sync"
 HOMEPAGE="https://rsync.samba.org/;
 SRC_DIR="src"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz;
+SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz
+   verify-sig? ( 
https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )"
 S="${WORKDIR}/${P/_/}"
 
 LICENSE="GPL-3"
@@ -33,6 +35,7 @@ RDEPEND="acl? ( virtual/acl )
>=dev-libs/popt-1.5
iconv? ( virtual/libiconv )"
 DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-waynedavison )"
 
 src_prepare() {
local PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-guillemjover/

2022-03-30 Thread Sam James
commit: 80ac58e414a58d72d40941bdb45520c80c9fc425
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 30 23:22:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:22:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80ac58e4

sec-keys/openpgp-keys-guillemjover: update maintainers

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

 sec-keys/openpgp-keys-guillemjover/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sec-keys/openpgp-keys-guillemjover/metadata.xml 
b/sec-keys/openpgp-keys-guillemjover/metadata.xml
index 8cb7f9b298b9..76d4eb294b39 100644
--- a/sec-keys/openpgp-keys-guillemjover/metadata.xml
+++ b/sec-keys/openpgp-keys-guillemjover/metadata.xml
@@ -1,8 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   base-sys...@gentoo.org
-   
-   
+  
+freedesktop-b...@gentoo.org
+Gentoo Freedesktop Project
+  
 



[gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-guillemjover/

2022-03-30 Thread Sam James
commit: 9e18be7d34117a7e39267ffd912e41e4b3499fd4
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 30 23:19:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:21:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e18be7d

sec-keys/openpgp-keys-guillemjover: initial import

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

 sec-keys/openpgp-keys-guillemjover/Manifest   |  1 +
 sec-keys/openpgp-keys-guillemjover/metadata.xml   |  8 
 .../openpgp-keys-guillemjover-20220331.ebuild | 19 +++
 3 files changed, 28 insertions(+)

diff --git a/sec-keys/openpgp-keys-guillemjover/Manifest 
b/sec-keys/openpgp-keys-guillemjover/Manifest
new file mode 100644
index ..29a83956e7bc
--- /dev/null
+++ b/sec-keys/openpgp-keys-guillemjover/Manifest
@@ -0,0 +1 @@
+DIST guillem-4F3E74F436050C10F5696574B972BF3EA4AE57A3.asc 42291 BLAKE2B 
4d507618fd99a959ea8fe777a5f48b53a0734b6ba7922e36621430c5c4aea0ebac1c1176dd35a4d59c6437490adc549316f186aef1bfcf805f73a61459c31653
 SHA512 
b1844db4498a23e9130606d5488627f5bb5ba4cd9b52aa79471d6201c2e8404b6d53995bfb31c80eb96799f3bef876dd1b99bfb4ca1aa835322b6007874c80f9

diff --git a/sec-keys/openpgp-keys-guillemjover/metadata.xml 
b/sec-keys/openpgp-keys-guillemjover/metadata.xml
new file mode 100644
index ..8cb7f9b298b9
--- /dev/null
+++ b/sec-keys/openpgp-keys-guillemjover/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   base-sys...@gentoo.org
+   
+   
+

diff --git 
a/sec-keys/openpgp-keys-guillemjover/openpgp-keys-guillemjover-20220331.ebuild 
b/sec-keys/openpgp-keys-guillemjover/openpgp-keys-guillemjover-20220331.ebuild
new file mode 100644
index ..ec100ed8295f
--- /dev/null
+++ 
b/sec-keys/openpgp-keys-guillemjover/openpgp-keys-guillemjover-20220331.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenPGP keys used by Guillem Jover"
+HOMEPAGE="https://www.hadrons.org/~guillem/;
+SRC_URI="https://www.hadrons.org/~guillem/guillem-4F3E74F436050C10F5696574B972BF3EA4AE57A3.asc;
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+
+src_install() {
+   local files=( ${A} )
+   insinto /usr/share/openpgp-keys
+   newins - guillemjover.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/

2022-03-30 Thread Sam James
commit: b299a0c858c033e4f1bd16bbf2a90d937583076c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 30 23:20:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:21:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b299a0c8

dev-libs/libbsd: add 0.11.6

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

 dev-libs/libbsd/Manifest |  2 ++
 dev-libs/libbsd/libbsd-0.11.6.ebuild | 36 
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index c47ce9ccb000..dcf305de4709 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -1,2 +1,4 @@
 DIST libbsd-0.11.3.tar.xz 399712 BLAKE2B 
1af04b8fcbc0bfa59fba549639d61a33ac934fe7ee42b506d1b0452e0b836b0bfdd3d8739de90465be46fe6a9d326a2d11bcf72280aa19ccba81db5da6d63d89
 SHA512 
a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5
 DIST libbsd-0.11.5.tar.xz 409972 BLAKE2B 
00c89ad1be351e7851538eac2744f5aef87b5937330d514d17af8a20a04bc6eab0e2bda61d0080da1d1439306b3b191ab68b4bc4cd8558ff0adfe402bfbf5b52
 SHA512 
c52c19eddd53630aca14f9f6221f7b84aa9cc798b4bb91e867822b161793313aab872ac1c0350d29312a72fee6e2061f3910ff918b724ec171d8c9de5837c841
+DIST libbsd-0.11.6.tar.xz 416600 BLAKE2B 
23f7a5ea765af559e0e63946014650074d4d33f9e6655afbe6f08fd38265408a9fe3cccff0d0827d08817354deee92e4c6fd5536fd6f08857813e8847989d15c
 SHA512 
9dbbfb84340fc69f59667241701d81d176439ce168f123344805898a269f7bd0e98abf8c7fc12d9bf539d1effb19424d93b647cc9120f693327e736d339e6075
+DIST libbsd-0.11.6.tar.xz.asc 833 BLAKE2B 
895dee6d441da5e5b5b202dc2b5ea3635ba93352fdcd979fc3e58939dbd327b516b107d4e3c12d18dc824b6bc9793886e2a168add313d50884b1bd38d4f5f001
 SHA512 
29d77e53d251c641b00924c9c42b69b66eeb160ef0534e84a4ad1afd9009f87bda82f1b91d271efe37c676295add3fab01ce55aa6cd96aa0c5f34f9837b870cd

diff --git a/dev-libs/libbsd/libbsd-0.11.6.ebuild 
b/dev-libs/libbsd/libbsd-0.11.6.ebuild
new file mode 100644
index ..bee79d737b6b
--- /dev/null
+++ b/dev-libs/libbsd/libbsd-0.11.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/guillemjover.asc
+inherit multilib-minimal verify-sig
+
+DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/ 
https://gitlab.freedesktop.org/libbsd/libbsd;
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz;
+SRC_URI+=" verify-sig? ( 
https://${PN}.freedesktop.org/releases/${P}.tar.xz.asc )"
+
+LICENSE="BSD BSD-2 BSD-4 ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-3.17
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )"
+
+multilib_src_configure() {
+   # The build system will install libbsd-ctor.a despite USE="-static-libs"
+   # which is correct, see:
+   # 
https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
+   ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   find "${ED}" -type f -name "*.la" -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/

2022-03-30 Thread Andreas K. Hüttel
commit: bfd4644d464949179a652fa6c2cbfd1fd2fd4b3e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Mar 30 23:18:57 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Mar 30 23:19:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd4644d

sys-libs/glibc: Revbumps to reintroduce clone3 useflag

Unkeyworded until minimal testing is done

Bug: https://bugs.gentoo.org/835930
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/glibc/Manifest  |2 +
 sys-libs/glibc/glibc-2.34-r11.ebuild | 1619 ++
 sys-libs/glibc/glibc-2.35-r2.ebuild  | 1590 +
 sys-libs/glibc/metadata.xml  |1 +
 4 files changed, 3212 insertions(+)

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index 6302f98807af..78eb7f5cc1e1 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -14,8 +14,10 @@ DIST glibc-2.32.tar.xz 16744512 BLAKE2B 
a56b4afbb35315c5cd6dca0f62e44455dceae3e6
 DIST glibc-2.33-patches-11.tar.xz 143916 BLAKE2B 
ac13b3ccf9681bb6d3c35ecc33e268ea3f67c1809f916019e692dc83e3ce809402a45548da5ca6c7c30d2a45a2638f9fa4254c0355bd4c53bdb216f17aa4e28b
 SHA512 
0ee1dfcf9574543d49ab4fbfe53571258422b6e82b9d12a33e411cee7e517821a4c45c24962b5120783a4efc898afdfa170d33486cc74d94c526bdd14cc84300
 DIST glibc-2.33.tar.xz 17031280 BLAKE2B 
703d12121c1e2c5d9e0c6ba5341f5fb5c4d9111611a83f2360029b5de9c6e5a5611249d1833684a58ed4afdf49cae614365d87ec8721ba0e5d218f593b1f229d
 SHA512 
4cb5777b68b22b746cc51669e0e9282b43c83f6944e42656e6db7195ebb68f2f9260f130fdeb4e3cfc64efae4f58d96c43d388f52be1eb024ca448084684abdb
 DIST glibc-2.34-patches-15.tar.xz 146124 BLAKE2B 
f679f0fc27780173875178537cf996cbfb59bb844566388df0c351dec125eb02070571d4e2852742b43933d09c7a148a39bbc7b2b71fffebd7b8d9d3c16850ac
 SHA512 
5224613e2288fcf027be224001306a84019ebe741114ee1b09d3de9b269dad0280a6dc4d88f4bc38dace501b2944a0098972589a1560756cb3da7e1b7341d672
+DIST glibc-2.34-patches-16.tar.xz 164648 BLAKE2B 
78786a67109812942ac11bee9a880b9383aa61d0c2b006e3e7e635218842f49c6ce5b7c75597f7d317aa18fede0ca0c79a4bd436b8659ba6a2f1953848484d2a
 SHA512 
acfc91e821cd8b4e57907c7aeaf1eac0bae1f8e244e4011f27819a8ba16a4e9c10fc675c6aaff992be81bba9373ec981fb598838f26aa247e7bd016e2cd786d2
 DIST glibc-2.34.tar.xz 17301232 BLAKE2B 
874031192f2f5a3b35c3f5b044a467d4be4e67e8593e070e5b49b901ce8ea6bde2f8d2f6c92fa33b3f61eb723572a9e5f2b45e56064168df80a96d3fdb6fa30c
 SHA512 
15252affd9ef4523a8001db16d497f4fdcb3ddf4cde7fe80e075df0bd3cc6524dc29fbe20229dbf5f97af580556e6b1fac0de321a5fe25322bc3e72f93beb624
 DIST glibc-2.35-patches-4.tar.xz 45456 BLAKE2B 
47e1c5e4db4969da27f14816ac9b856f3a57e152139e071f0fd0ecf53b7ac2a0372a8dec7e9e51808d463d2e5b12a6acc9145bb0127a7f36cf1d19b96a0efa41
 SHA512 
39ca84ed5f3e74bccb8875a77188bb16f6b45b1b22843b4ccf8a7f792d35e05e8305929fbeede290ebb128722caf8277da03dbf4aee9261940765f8dfcd01561
+DIST glibc-2.35-patches-5.tar.xz 45632 BLAKE2B 
b49161139e8a9e6f4351b5954f38eaa3b0b16a444c370b906e2fcac8eb25c306e6f95474063e511a4f8bf48c0eade9509a6158a1019e32ec4b95c49f992405eb
 SHA512 
5bf20061f24ad087aa0f22808cb0dfd810e5413e71dc9b9c7ec0e9cecd172c40e3517e0a151294175351cf0e037e9c35d8b50ba391a312976e7c4103845089e4
 DIST glibc-2.35.tar.xz 18165952 BLAKE2B 
623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c883e5d17d94417dbd1e91775de2e674314e4ff7424f9720026d6b7063
 SHA512 
e7336ce27561be5d7c217832a1136fb327e057bd8d3f92925b35c97e3e9f9e486948b5a1e03e5e4090772ef06437a074d10b82e68f17f1ad8f22077ee39e1b66
 DIST glibc-systemd-20210729.tar.gz 1480 BLAKE2B 
37722c7579df782d890e44dbab99c3de52ab466eb9de80d82405e9bb5620bf39ffc8c5f466a435bdb86ef6d36dd7019c0736573916bda6c67d02a2581e0ec979
 SHA512 
efd75af58b50522c28cdac7abd1fc56555bc1bb042512c90d8340c1ec09c5791b3872a305bf83723252bbde5855b75d958c041083457765c4cfd170732d09238
 DIST glibc-systemd-20210814.tar.gz 1469 BLAKE2B 
10fa7bcb46d4fdce9c0ab353cbd30871e9b09a347a13a9c9a3b5777f931aa3c826c158d2e49532c604d4a834f2fab4089b67495fb88d0398945dc50d45ad9ef1
 SHA512 
5346a9ea459a1e6ccf665389f2a294de1e16f1e3e05cdf07e3dd99ed0e4f6f8b52cc333d4bff3c75ac90ab6ce70cd4ab2b3e126f920ce7979abd6dda56315efc

diff --git a/sys-libs/glibc/glibc-2.34-r11.ebuild 
b/sys-libs/glibc/glibc-2.34-r11.ebuild
new file mode 100644
index ..20fbb221625f
--- /dev/null
+++ b/sys-libs/glibc/glibc-2.34-r11.ebuild
@@ -0,0 +1,1619 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc
+# Please read & adapt the page as necessary if obsolete.
+
+# We avoid Python 3.10 here _for now_ (it does work!) to avoid circular 
dependencies
+# on upgrades as people migrate to libxcrypt.
+# 
https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Circular_dependencies#Python_and_libcrypt
+PYTHON_COMPAT=( python3_{8,9} )
+TMPFILES_OPTIONAL=1
+

[gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/

2022-03-30 Thread Sam James
commit: 5838efee5d5223ff2b880cc191ca7138d03f0603
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 30 23:03:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:13:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5838efee

sys-kernel/linux-headers: add 5.17

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

 sys-kernel/linux-headers/Manifest  |  2 +
 sys-kernel/linux-headers/linux-headers-5.17.ebuild | 54 ++
 2 files changed, 56 insertions(+)

diff --git a/sys-kernel/linux-headers/Manifest 
b/sys-kernel/linux-headers/Manifest
index 204895f42cd1..a401340c6125 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -6,6 +6,7 @@ DIST gentoo-headers-4.9-1.tar.xz 5416 BLAKE2B 
2538870b340d4e4b260ada37b0571ba770
 DIST gentoo-headers-5.10-1.tar.xz 4304 BLAKE2B 
b5006ff13c8ef8394806919d547f1b15ac32cc4d290e8c5f5a5073f54112db194a9e743177ae54941d8a504e15b662751258259183c47c574936744d7c51b405
 SHA512 
3154558df20e3a8821af23b2a585eaccb6c40877850b1cf752c435c170f7f322a48e77cee63bcc061b69aff8602987f4506d803c73f394929716295aface4f3d
 DIST gentoo-headers-5.15-1.tar.xz 1496 BLAKE2B 
9d88ecc517e226580ba43cba1b5cc62232690ed219f9c5e2d26047de6dbc4056eaaf04c320b2758acb3cb08b44ec402c7185989e0c5ded40c44f7b4bb1d77328
 SHA512 
f31d5fb4b5264a8b9c060d4215462796240c2423f0872e55ba4e96904086264f55b54d00342aef625a8f710c2ebc2d731bcf79cd0362b398c84235ff949eb229
 DIST gentoo-headers-5.16-0.tar.xz 1508 BLAKE2B 
8a98768f3f33ca2fa5f61dbcea39388f7faf13033dc4f64dab989b0ecf06a193b22f3e692ad4aa882e4ae1428daae127f0562c7e3416b381d6825beff239a71d
 SHA512 
e48e50ccd79ef79d59b986931dd65881e8a72d0531ff5043897c862795acb54fd3c3c0667eaca572cebd835a8c3196b01348f3865855d06fd409c185970855ef
+DIST gentoo-headers-5.17-0.tar.xz 1496 BLAKE2B 
562923dd1fdb1fc8afc97196cf8ada2345170d91a4166722b474fc15484840bfcbb31d33b1a71d98fec7684f0c01660f3437dabca541dfbfe802591c81bea2f9
 SHA512 
27372682de83ba04aebcaa5d25aea8cfdf1ac51166b155c7bcd5e03ef2722f7cc2d4761d519c325267bfd79e69996d1a9647f0f24b4059d7771bc1f8e94a027e
 DIST gentoo-headers-5.4-2.tar.xz 11352 BLAKE2B 
0ff989dbfff9070c291efe1a8b925462770e71d0c3faeb2e53581dcce02abe45969ec293a7293b6d843f483927b15f4accc1f24ee4966483164e8f72727cfad8
 SHA512 
b460e4d00bdd9ec2ecf229f3b2dde7c6468f775399ba6a49fa0533c0688628c7b27d83835c21eab07407fd98c220043cd1b20e37cc4decbd08a3f2fd9cf6c2be
 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 
837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe
 SHA512 
6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535
 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B 
e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a
 SHA512 
2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a
@@ -15,4 +16,5 @@ DIST gentoo-headers-base-4.9.tar.xz 4052748 BLAKE2B 
e279954c56170fbfa4ebae8dade7
 DIST linux-5.10.tar.xz 116606704 BLAKE2B 
b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1
 SHA512 
95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
 DIST linux-5.16.tar.xz 123114100 BLAKE2B 
07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb
 SHA512 
7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
+DIST linux-5.17.tar.xz 128399340 BLAKE2B 
82dc4a45cc25c781ac67aa6ed1e4c369544154960f41c4634d47621f381159687a227054976d078524cda28884d395a15f7542fe44ca74ce98ca6ff54a81d6d0
 SHA512 
89f0a7ca69d20a539d4b612a7028a30a5e98b402e4b6b88516f14237e5da4b626d7929eab8b40fccc90766e8f3bae87e9858a19077ffad20d8204acf18794f5b
 DIST linux-5.4.tar.xz 109441440 BLAKE2B 
193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13
 SHA512 
9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f

diff --git a/sys-kernel/linux-headers/linux-headers-5.17.ebuild 
b/sys-kernel/linux-headers/linux-headers-5.17.ebuild
new file mode 100644
index ..eef1c69bd485
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-5.17.ebuild
@@ 

[gentoo-commits] proj/portage:master commit in: lib/portage/

2022-03-30 Thread Sam James
commit: 94dad3d64599f7e2c0c28e90ec4bee883746e385
Author: Kenneth Raplee  kennethraplee  com>
AuthorDate: Wed Mar 30 22:47:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 23:11:43 2022 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=94dad3d6

dispatch_conf: fix arguments

Closes: https://bugs.gentoo.org/836447
Signed-off-by: Kenneth Raplee  kennethraplee.com>
Signed-off-by: Sam James  gentoo.org>

 lib/portage/dispatch_conf.py | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/portage/dispatch_conf.py b/lib/portage/dispatch_conf.py
index 6dbb1885e..fc130c9af 100644
--- a/lib/portage/dispatch_conf.py
+++ b/lib/portage/dispatch_conf.py
@@ -28,14 +28,15 @@ RCS_GET = "co"
 _ARCHIVE_ROTATE_MAX = 9
 
 
-def diffstatusoutput(cmd, file1, file2):
+def diffstatusoutput(file1, file2):
 """
 Execute the string cmd in a shell with getstatusoutput() and return a
 2-tuple (status, output).
 """
 # Use Popen to emulate getstatusoutput(), since getstatusoutput() may
 # raise a UnicodeDecodeError which makes the output inaccessible.
-args = shlex_split(cmd % (file1, file2))
+cmd = f"diff -aq '{file1}' '{file2}'"
+args = shlex_split(cmd)
 
 args = (portage._unicode_encode(x, errors="strict") for x in args)
 proc = subprocess.Popen(args, stdout=subprocess.PIPE, 
stderr=subprocess.STDOUT)
@@ -340,7 +341,7 @@ def file_archive(archive, curconf, newconf, mrgconf):
 # Archive the current config file if it isn't already saved
 if (
 os.path.lexists(archive)
-and len(diffstatusoutput_mixed(f"diff -aq '{curconf}' 
'{archive}'")[1]) != 0
+and len(diffstatusoutput_mixed(curconf, archive)[1]) != 0
 ):
 _file_archive_rotate(archive)
 



[gentoo-commits] proj/toolchain/linux-headers-patches:master commit in: 5.17/

2022-03-30 Thread Sam James
commit: 1ab5f342d49c1ff50699e46e6a38da0418db84bc
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 30 18:27:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 30 18:27:33 2022 +
URL:
https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=1ab5f342

5.17: new patchset, clone of 5.16

* 5.17/00_all_0001-unifdef-drop-unused-errno.h-include.patch
* 5.17/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
* 5.17/00_all_0003-uapi-fix-System-V-buf-header-includes.patch

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

 ..._0001-unifdef-drop-unused-errno.h-include.patch | 32 +
 ...build-relocs-tool-when-installing-headers.patch | 33 ++
 ...003-uapi-fix-System-V-buf-header-includes.patch | 28 ++
 3 files changed, 93 insertions(+)

diff --git a/5.17/00_all_0001-unifdef-drop-unused-errno.h-include.patch 
b/5.17/00_all_0001-unifdef-drop-unused-errno.h-include.patch
new file mode 100644
index 000..617eb9a
--- /dev/null
+++ b/5.17/00_all_0001-unifdef-drop-unused-errno.h-include.patch
@@ -0,0 +1,32 @@
+From c4d1a109c5c0b1bd27d2b5448a1306a2f6005339 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Tue, 6 Dec 2011 17:22:42 -0500
+Subject: [PATCH] unifdef: drop unused errno.h include
+
+This is the only header on my system that ends up requiring kernel
+headers, so if the kernel headers aren't available, we end up being
+unable to install kernel headers :).
+
+Since this file doesn't actually use anything from errno.h, drop
+the include so it at least makes us a bit more robust on glibc.
+
+Signed-off-by: Mike Frysinger 
+---
+ scripts/unifdef.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/scripts/unifdef.c b/scripts/unifdef.c
+index 7493c0ee51cc..c5dfae538b08 100644
+--- a/scripts/unifdef.c
 b/scripts/unifdef.c
+@@ -48,7 +48,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.16.1
+

diff --git 
a/5.17/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch 
b/5.17/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
new file mode 100644
index 000..a82c98e
--- /dev/null
+++ 
b/5.17/00_all_0002-x86-do-not-build-relocs-tool-when-installing-headers.patch
@@ -0,0 +1,33 @@
+From 57875de37c5375ea95e1e949ec7c741d0038d3a1 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Sat, 15 Nov 2014 03:37:38 -0500
+Subject: [PATCH] x86: do not build relocs tool when installing headers
+
+This isn't needed to install headers, so don't bother building it.
+Otherwise we run into a chicken/egg issue where we need the kernel
+headers in order to install the kernel headers.  It's also a waste
+of time.
+
+Signed-off-by: Mike Frysinger 
+---
+ arch/x86/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/x86/Makefile b/arch/x86/Makefile
+index 60135cbd905c..9b15b2daa77f 100644
+--- a/arch/x86/Makefile
 b/arch/x86/Makefile
+@@ -221,8 +221,10 @@
+ endif
+ 
+ 
++ifneq ($(filter-out headers_install,$(MAKECMDGOALS)),)
+ archscripts: scripts_basic
+   $(Q)$(MAKE) $(build)=arch/x86/tools relocs
++endif
+ 
+ ###
+ # Syscall table generation
+-- 
+2.16.1
+

diff --git a/5.17/00_all_0003-uapi-fix-System-V-buf-header-includes.patch 
b/5.17/00_all_0003-uapi-fix-System-V-buf-header-includes.patch
new file mode 100644
index 000..987a98d
--- /dev/null
+++ b/5.17/00_all_0003-uapi-fix-System-V-buf-header-includes.patch
@@ -0,0 +1,28 @@
+From beac664726b0b5b5c833aaf6576ca583534406ba Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Mon, 2 Nov 2015 13:30:12 -0500
+Subject: [PATCH] uapi: fix System V buf header includes
+
+These headers rely on kernel types but don't include the other headers
+that define them.  So when you try to include them directly, you often
+hit build failures due to unknown types.
+
+Signed-off-by: Mike Frysinger 
+
+diff --git a/include/uapi/asm-generic/shmbuf.h 
b/include/uapi/asm-generic/shmbuf.h
+index 2b6c3bb97f97..a0171147d796 100644
+--- a/include/uapi/asm-generic/shmbuf.h
 b/include/uapi/asm-generic/shmbuf.h
+@@ -2,7 +2,9 @@
+ #ifndef __ASM_GENERIC_SHMBUF_H
+ #define __ASM_GENERIC_SHMBUF_H
+ 
++
+ #include 
++#include 
+ 
+ /*
+  * The shmid64_ds structure for x86 architecture.
+-- 
+2.16.1
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/

2022-03-30 Thread Steve Arnold
commit: e499bcf9b8032090bab49bdd4aa7663304b53d18
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Mar 30 23:02:24 2022 +
Commit: Steve Arnold  gentoo  org>
CommitDate: Wed Mar 30 23:02:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e499bcf9

dev-libs/redis-ipc: new ebuild, system/app level messaging interface

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-libs/redis-ipc/Manifest   |  1 +
 dev-libs/redis-ipc/metadata.xml   | 16 +++
 dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild | 46 +++
 3 files changed, 63 insertions(+)

diff --git a/dev-libs/redis-ipc/Manifest b/dev-libs/redis-ipc/Manifest
new file mode 100644
index ..a26f9034e2e9
--- /dev/null
+++ b/dev-libs/redis-ipc/Manifest
@@ -0,0 +1 @@
+DIST redis-ipc-0.0.6.tar.gz 74682 BLAKE2B 
76d12482519e446c55ad9e050614184e04c76d1f5d5e05b4a056a3339d8d94aedba2f5bda11e52e118ae9364937ae62f512b37d649e0e35c83aa686f679c0764
 SHA512 
6c54a42b29192cc79f92f2318aaaff03a56770fc2aed3d5b8c3724634c59c6fd0acfab2daf609899d3872e309e973ace6d6400bf014134fdc8e851c001637c74

diff --git a/dev-libs/redis-ipc/metadata.xml b/dev-libs/redis-ipc/metadata.xml
new file mode 100644
index ..3c1e58a0c43a
--- /dev/null
+++ b/dev-libs/redis-ipc/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   nerd...@gentoo.org
+   Stephen L Arnold
+   
+   
+   Convenience library for using redis server and JSON as IPC
+   mechanism (command queues, settings, status, event channels).
+   Can use either local or network sockets via C or C++ interfaces.
+   
+   
+   VCTLabs/redis-ipc
+   
+

diff --git a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild 
b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
new file mode 100644
index ..fec9bd9c2dd3
--- /dev/null
+++ b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A (redis) client library for using redis as system IPC msg/event 
bus"
+HOMEPAGE="https://github.com/VCTLabs/redis-ipc;
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/VCTLabs/redis-ipc.git;
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/VCTLabs/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/hiredis:=
+   dev-libs/json-c
+"
+RDEPEND="${DEPEND}
+   dev-db/redis
+"
+
+src_prepare() {
+   sed -i -e "s|/lib|/$(get_libdir)|" "${S}"/redis-ipc.pc.in || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIBS=$(usex static-libs)
+   -DRIPC_BUILD_TESTING=$(usex test)
+   -DRIPC_DISABLE_SOCK_TESTS=$(usex test)
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/

2022-03-30 Thread Michał Górny
commit: 89f79886d90ccb5628b511b4e309b007072473de
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 30 21:09:42 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 30 22:26:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f79886

dev-python/jellyfish: Remove old

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

 dev-python/jellyfish/jellyfish-0.9.0.ebuild | 29 -
 1 file changed, 29 deletions(-)

diff --git a/dev-python/jellyfish/jellyfish-0.9.0.ebuild 
b/dev-python/jellyfish/jellyfish-0.9.0.ebuild
deleted file mode 100644
index 8f92bc86d14a..
--- a/dev-python/jellyfish/jellyfish-0.9.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python module for doing approximate and phonetic matching of 
strings"
-HOMEPAGE="https://github.com/jamesturk/jellyfish 
https://pypi.org/project/jellyfish/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-BDEPEND="
-   test? (
-   dev-python/unicodecsv[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   cp -r testdata "${BUILD_DIR}" || die
-   cd "${BUILD_DIR}" || die
-   epytest lib/jellyfish/test.py
-}



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtgamepad/

2022-03-30 Thread Yixun Lan
commit: fc60d8b5fab1847bed4581ed7240840cbde55975
Author: Han Gao  gmail  com>
AuthorDate: Wed Mar 30 19:08:32 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Mar 30 22:00:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc60d8b5

dev-qt/qtgamepad: ~riscv keyworing

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtgamepad/qtgamepad-5.15.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtgamepad/qtgamepad-5.15.3.ebuild 
b/dev-qt/qtgamepad/qtgamepad-5.15.3.ebuild
index 889dad2eec9c..23b8279f774e 100644
--- a/dev-qt/qtgamepad/qtgamepad-5.15.3.ebuild
+++ b/dev-qt/qtgamepad/qtgamepad-5.15.3.ebuild
@@ -8,7 +8,7 @@ inherit qt5-build
 DESCRIPTION="Qt module to support gamepad hardware"
 
 if [[ ${QT5_BUILD_TYPE} == release ]]; then
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 fi
 
 IUSE="evdev qml sdl"



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qt3d/

2022-03-30 Thread Yixun Lan
commit: edc9f9469008d5f9fda091215333e9ae8bae
Author: Han Gao  gmail  com>
AuthorDate: Wed Mar 30 19:09:26 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Mar 30 22:01:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc9

dev-qt/qt3d: ~riscv keyworing

Closes: https://github.com/gentoo/gentoo/pull/24508
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qt3d/qt3d-5.15.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qt3d/qt3d-5.15.3.ebuild b/dev-qt/qt3d/qt3d-5.15.3.ebuild
index 1637bd62..f52e61e191a6 100644
--- a/dev-qt/qt3d/qt3d-5.15.3.ebuild
+++ b/dev-qt/qt3d/qt3d-5.15.3.ebuild
@@ -9,7 +9,7 @@ inherit qt5-build
 DESCRIPTION="3D rendering module for the Qt5 framework"
 
 if [[ ${QT5_BUILD_TYPE} == release ]]; then
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 fi
 
 # TODO: tools



[gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/

2022-03-30 Thread Maciej Barć
commit: 4dc5bb79a05393e83663db4d8c436cfb67c4c9f7
Author: Maciej Barć  gentoo  org>
AuthorDate: Wed Mar 30 21:15:27 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Wed Mar 30 21:17:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc5bb79

dev-scheme/scm: drop old revision 3 of version 5.5.6

Signed-off-by: Maciej Barć  gentoo.org>

 dev-scheme/scm/scm-5.5.6-r3.ebuild | 167 -
 dev-scheme/scm/scm-5.5.6-r4.ebuild |   2 +-
 2 files changed, 1 insertion(+), 168 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r3.ebuild 
b/dev-scheme/scm/scm-5.5.6-r3.ebuild
deleted file mode 100644
index 7f9e5ca83411..
--- a/dev-scheme/scm/scm-5.5.6-r3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator flag-o-matic
-
-#version magic thanks to masterdriverz and UberLord using bash array instead 
of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 
2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip;
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM;
-
-SLOT="0"
-LICENSE="LGPL-3"
-KEYWORDS="amd64 x86 ~amd64-linux"
-IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr 
inexact ioext libscm macro ncurses posix readline regex sockets unix"
-
-#unzip for unpacking
-DEPEND="app-arch/unzip
-   >=dev-scheme/slib-3.1.5
-   dev-util/cproto
-   ncurses? ( sys-libs/ncurses:0= )
-   readline? ( sys-libs/libtermcap-compat )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch" )
-
-src_compile() {
-   # SLIB is required to build SCM.
-   local slibpath="${EPREFIX}/usr/share/slib/"
-   if [ -n "$SCHEME_LIBRARY_PATH" ]; then
-   einfo "using SLIB $SCHEME_LIBRARY_PATH"
-   elif [ -d ${slibpath} ]; then
-   export SCHEME_LIBRARY_PATH=${slibpath}
-   fi
-
-   einfo "Making scmlit"
-   emake -j1 scmlit clean
-
-   einfo "Building scm"
-   local features=""
-   use arrays && features+="arrays"
-   use bignums && features+=" bignums"
-   use cautious && features+=" cautious"
-   use engineering-notation && features+=" engineering-notation"
-   use inexact && features+=" inexact"
-   use macro && features+=" macro"
-
-   ( use readline ||
- use ncurses ||
- use regex ||
- use posix ||
- use ioext ||
- use gsubr ||
- use sockets ||
- use unix ||
- use dynamic-linking ) && features+=" dynamic-linking"
-
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
-   -s "${EPREFIX}"/usr/$(get_libdir)/scm \
-   -F ${features:="none"} \
-   -h system \
-   -o scm || die
-
-   einfo "Building DLLs"
-   if use readline; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -h system \
-   -F edit-line \
-   -t dll || die
-   fi
-   if use ncurses ; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -F curses \
-   -h system \
-   -t dll || die
-   fi
-   if use regex ; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -c rgx.c \
-   -h system \
-   -t dll || die
-   fi
-   if use gsubr ; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -c gsubr.c \
-   -h system \
-   -t dll || die
-   fi
-   if use ioext ; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -c ioext.c \
-   -h system \
-   -t dll || die
-   fi
-   if use posix; then
-   ./build \
-   --compiler-options="${CFLAGS}" \
-   --linker-options="${LDFLAGS}" \
-   -c posix.c \
-   -h system \
-   -t dll || die
-   fi
-   if use sockets ; then
-   ./build \
-   

[gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/

2022-03-30 Thread Maciej Barć
commit: 106265f416c3bc2f6a1ee2d29479362662283f21
Author: Maciej Barć  gentoo  org>
AuthorDate: Wed Mar 30 21:07:33 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Wed Mar 30 21:17:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106265f4

dev-scheme/scm: respect CC

Closes: https://bugs.gentoo.org/724042
Signed-off-by: Maciej Barć  gentoo.org>

 dev-scheme/scm/scm-5.5.6-r4.ebuild | 25 ++---
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild 
b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 482f32675a52..9885280d9d32 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -1,17 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-#version magic thanks to masterdriverz and UberLord using bash array instead 
of tr
+# Version magic thanks to masterdriverz and UberLord using bash array instead 
of tr
 trarr="0abcdefghi"
 MY_PV="$(ver_cut 1)${trarr:$(ver_cut 2):1}$(ver_cut 3)"
-
 MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
+
+inherit toolchain-funcs
+
 DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip;
 HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM;
+SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip;
+S=${WORKDIR}/${PN}
 
 SLOT="0"
 LICENSE="LGPL-3"
@@ -28,6 +30,15 @@ RDEPEND="${DEPEND}"
 PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch"
"${FILESDIR}/${P}-respect-ldflags.patch" )
 
+src_prepare() {
+   default
+
+   sed \
+   -e "s|\"gcc\"|\"$(tc-getCC)\"|g" \
+   -e "s|\"ld\"|\"$(tc-getLD)\"|g" \
+   -i ./build.scm || die
+}
+
 src_compile() {
# SLIB is required to build SCM.
local slibpath="${EPREFIX}/usr/share/slib/"
@@ -38,7 +49,7 @@ src_compile() {
fi
 
einfo "Making scmlit"
-   emake -j1 scmlit clean
+   emake -j1 CC=$(tc-getCC) scmlit clean
 
einfo "Building scm"
local features=""



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luaexpat/

2022-03-30 Thread Conrad Kostecki
commit: 3fb1c45c0477e768140d4559d53ace23ccf72e39
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Mar 30 21:11:00 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Mar 30 21:11:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb1c45c

dev-lua/luaexpat: fix PkgMetadataXmlIndentation

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luaexpat/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lua/luaexpat/metadata.xml b/dev-lua/luaexpat/metadata.xml
index 7ec4c4086c74..dbe425b3b348 100644
--- a/dev-lua/luaexpat/metadata.xml
+++ b/dev-lua/luaexpat/metadata.xml
@@ -13,8 +13,8 @@
conik...@gentoo.org
Conrad Kostecki

-
-
https://github.com/lunarmodules/luaexpat/issues
-luaexpat/issues
-
+   
+   
https://github.com/lunarmodules/luaexpat/issues
+   luaexpat/issues
+   
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/compose-tables/

2022-03-30 Thread Matt Turner
commit: 75cc4de32de12244927b615f87d5e5a4bcf42573
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 30 21:01:18 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 30 21:02:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cc4de3

x11-misc/compose-tables: Version bump to 1.7.4

Signed-off-by: Matt Turner  gentoo.org>

 x11-misc/compose-tables/Manifest   |  1 +
 .../compose-tables/compose-tables-1.7.4.ebuild | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/x11-misc/compose-tables/Manifest b/x11-misc/compose-tables/Manifest
index a285fd2d4009..3e839d0160ac 100644
--- a/x11-misc/compose-tables/Manifest
+++ b/x11-misc/compose-tables/Manifest
@@ -1 +1,2 @@
 DIST libX11-1.7.3.tar.xz 1861304 BLAKE2B 
e0f647ef55567b1d7eff74bc053b8e73f8c696be6f233c2ff6f64dee65c1b40b746683ea7a6fafb4304eba4dec43301b4b3506e2ec6fac1d4c89d664b516bbdd
 SHA512 
abc70837d19f7e104a5db1e6d2cfa1256625332c0b53fec44a0a39916a60a430bb53fd436207892aabe4199ac7a0f9287a06588fcd27e0eed54d45d67bbe1294
+DIST libX11-1.7.4.tar.xz 1872992 BLAKE2B 
6a25e5008ead53be5af7411f51711789eb410473f9aefc49fb4d0bf7227b89c5fd71f0f61fef9bc3f83e585e4815644f42884d5e5cf0bdcdd120abe6fe8a741b
 SHA512 
8bfaaf9fc3081c47152d533d30cdc0b2521bfeb088ff813b041c08ffd518c80ba3725bb68cac7c21b521a4bace546f99424700fe21955b498015d14c2f7f9a57

diff --git a/x11-misc/compose-tables/compose-tables-1.7.4.ebuild 
b/x11-misc/compose-tables/compose-tables-1.7.4.ebuild
new file mode 100644
index ..4cdfc490b634
--- /dev/null
+++ b/x11-misc/compose-tables/compose-tables-1.7.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+XORG_MULTILIB=no
+XORG_TARBALL_SUFFIX=xz
+inherit xorg-3
+
+# Note: please bump this with x11-libs/libX11
+DESCRIPTION="X.Org Compose Key tables from libX11"
+# xorg-3.eclass would attempt to fetch a tarball with a matching name to this 
package
+SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/lib/libX11-${PV}.tar.${XORG_TARBALL_SUFFIX}"
+S="${WORKDIR}/libX11-${PV}/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+# Only needed by configure
+DEPEND="
+   x11-base/xorg-proto
+   >=x11-libs/libxcb-1.11.1
+   x11-libs/xtrans"
+RDEPEND="!

[gentoo-commits] repo/gentoo:master commit in: x11-libs/libX11/

2022-03-30 Thread Matt Turner
commit: 0d3d90c8a98363ebd13d172520a8cf11a5d0c078
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 30 20:59:20 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 30 21:02:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3d90c8

x11-libs/libX11: Version bump to 1.7.4

Closes: https://bugs.gentoo.org/832986
Signed-off-by: Matt Turner  gentoo.org>

 x11-libs/libX11/Manifest|  1 +
 x11-libs/libX11/libX11-1.7.4.ebuild | 40 +
 2 files changed, 41 insertions(+)

diff --git a/x11-libs/libX11/Manifest b/x11-libs/libX11/Manifest
index a285fd2d4009..3e839d0160ac 100644
--- a/x11-libs/libX11/Manifest
+++ b/x11-libs/libX11/Manifest
@@ -1 +1,2 @@
 DIST libX11-1.7.3.tar.xz 1861304 BLAKE2B 
e0f647ef55567b1d7eff74bc053b8e73f8c696be6f233c2ff6f64dee65c1b40b746683ea7a6fafb4304eba4dec43301b4b3506e2ec6fac1d4c89d664b516bbdd
 SHA512 
abc70837d19f7e104a5db1e6d2cfa1256625332c0b53fec44a0a39916a60a430bb53fd436207892aabe4199ac7a0f9287a06588fcd27e0eed54d45d67bbe1294
+DIST libX11-1.7.4.tar.xz 1872992 BLAKE2B 
6a25e5008ead53be5af7411f51711789eb410473f9aefc49fb4d0bf7227b89c5fd71f0f61fef9bc3f83e585e4815644f42884d5e5cf0bdcdd120abe6fe8a741b
 SHA512 
8bfaaf9fc3081c47152d533d30cdc0b2521bfeb088ff813b041c08ffd518c80ba3725bb68cac7c21b521a4bace546f99424700fe21955b498015d14c2f7f9a57

diff --git a/x11-libs/libX11/libX11-1.7.4.ebuild 
b/x11-libs/libX11/libX11-1.7.4.ebuild
new file mode 100644
index ..34171b8bc0c2
--- /dev/null
+++ b/x11-libs/libX11/libX11-1.7.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+XORG_DOC=doc
+XORG_MULTILIB=yes
+XORG_TARBALL_SUFFIX=xz
+inherit toolchain-funcs xorg-3
+
+# Note: please bump this with x11-misc/compose-tables
+DESCRIPTION="X.Org X11 library"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="ipv6 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=x11-libs/libxcb-1.11.1[${MULTILIB_USEDEP}]
+   x11-misc/compose-tables"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto
+   x11-libs/xtrans"
+BDEPEND="test? ( dev-lang/perl )"
+
+src_configure() {
+   local XORG_CONFIGURE_OPTIONS=(
+   $(use_with doc xmlto)
+   $(use_enable doc specs)
+   $(use_enable ipv6)
+   --without-fop
+   CPP="$(tc-getPROG CPP cpp)"
+   )
+   xorg-3_src_configure
+}
+
+src_install() {
+   xorg-3_src_install
+   rm -rf "${ED}"/usr/share/X11/locale || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luaexpat/

2022-03-30 Thread Conrad Kostecki
commit: 92d2a4887341427bacb8829676b2fa7ebd8b4ce8
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Mar 30 20:56:15 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Mar 30 20:57:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d2a488

dev-lua/luaexpat: add 1.4.0

Closes: https://bugs.gentoo.org/834411
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luaexpat/Manifest  |  1 +
 dev-lua/luaexpat/luaexpat-1.4.0.ebuild | 73 ++
 dev-lua/luaexpat/metadata.xml  |  4 ++
 3 files changed, 78 insertions(+)

diff --git a/dev-lua/luaexpat/Manifest b/dev-lua/luaexpat/Manifest
index 5913ec63d907..5449c7b27685 100644
--- a/dev-lua/luaexpat/Manifest
+++ b/dev-lua/luaexpat/Manifest
@@ -1 +1,2 @@
 DIST luaexpat-1.3.0.tar.gz 29567 BLAKE2B 
176cb107e6047b15338ff45751af82389920e4210d40bd0b4400e549130a4983c843f7a64bb7b2fba37e36eb592e850d06efe196f8e837e79e50c8d135dbe763
 SHA512 
91884653310e2dc89ade6d1653875ac8607640a21853d3ccb1fd0f833812e41981fad5c40101732ec249104d2c50c9a332208d1e44423b8428065a223c60b4ae
+DIST luaexpat-1.4.0.tar.gz 51890 BLAKE2B 
6e2cda190e7b2ebe2bda64398a447155df3ccdb83f1b4ff78aead981c38cf6705f896ba31ac0d557ec55f750919b6b2b07205c59d7aa8e0f88ee6b0991fd
 SHA512 
ba1a98267757ec5f2464b8d5e903f69102ca991c4034939d02d871d014463a8e29815d1294edc7fa3a1c4b679c5e42fdc1a19b2a1c1654ed1f382f779a213375

diff --git a/dev-lua/luaexpat/luaexpat-1.4.0.ebuild 
b/dev-lua/luaexpat/luaexpat-1.4.0.ebuild
new file mode 100644
index ..b0c2791bf0e6
--- /dev/null
+++ b/dev-lua/luaexpat/luaexpat-1.4.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="A SAX XML parser based on the Expat library"
+HOMEPAGE="https://github.com/lunarmodules/luaexpat;
+SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   dev-libs/expat
+   ${LUA_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS=( "docs/." )
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-O2//g' -i Makefile || die
+
+   lua_copy_sources
+}
+
+lua_src_compile() {
+   pushd "${BUILD_DIR}" || die
+
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "LUA_INC=$(lua_get_CFLAGS)"
+   )
+
+   emake "${myemakeargs[@]}"
+
+   popd
+}
+
+src_compile() {
+   lua_foreach_impl lua_src_compile
+}
+
+lua_src_install() {
+   pushd "${BUILD_DIR}" || die
+
+   local myemakeargs=(
+   "DESTDIR=${ED}"
+   "LUA_CDIR=$(lua_get_cmod_dir)"
+   "LUA_INC=$(lua_get_include_dir)"
+   "LUA_LDIR=$(lua_get_lmod_dir)"
+   )
+
+   emake "${myemakeargs[@]}" install
+
+   popd
+}
+
+src_install() {
+   lua_foreach_impl lua_src_install
+
+   einstalldocs
+}

diff --git a/dev-lua/luaexpat/metadata.xml b/dev-lua/luaexpat/metadata.xml
index a9d447e11be2..7ec4c4086c74 100644
--- a/dev-lua/luaexpat/metadata.xml
+++ b/dev-lua/luaexpat/metadata.xml
@@ -13,4 +13,8 @@
conik...@gentoo.org
Conrad Kostecki

+
+
https://github.com/lunarmodules/luaexpat/issues
+luaexpat/issues
+
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/unifi/

2022-03-30 Thread Conrad Kostecki
commit: 5e09d524fbabd8cc9ee32c3d41dcc3b03a15aa9d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Mar 30 20:48:41 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Mar 30 20:48:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e09d524

net-wireless/unifi: drop 7.0.23

Signed-off-by: Conrad Kostecki  gentoo.org>

 net-wireless/unifi/Manifest|  1 -
 net-wireless/unifi/unifi-7.0.23.ebuild | 96 --
 2 files changed, 97 deletions(-)

diff --git a/net-wireless/unifi/Manifest b/net-wireless/unifi/Manifest
index ea0a4bdd29f1..f63004ea8c16 100644
--- a/net-wireless/unifi/Manifest
+++ b/net-wireless/unifi/Manifest
@@ -1,3 +1,2 @@
 DIST unifi-6.5.55.zip 157805689 BLAKE2B 
09a7b69143478d0b81dd6f7be1746b1a35cd00ee034471c512d04e4f91aa02688871857edf3c0ef538e601aaf8eccdd0c55193a9bde10924ddeff1fd333da355
 SHA512 
c2f677de819268366d65622238c1b8d6d8abcd5e06d6f1f635d9755573eff5a6aca0c84298a111b0da5e80bade8132e05339035edde3cc5fc08834f2d6c4b26e
-DIST unifi-7.0.23.zip 160854754 BLAKE2B 
efbca0e4157f2399046bca1de985b44793392e9cb24e07e9bb9af63380f06fa88f4317688ddb4a11a9b3c925a525282c980c5e84e4cb89e9a7c00c7dd6175d4e
 SHA512 
9f1762e82a5148e7742cf3ddb62cc2cd3718166d495a2d47c80f7a36444646c85d1efdafb805a76b7c2e0318802b1ccaee6ec7f378371a85ff51ef49392c
 DIST unifi-7.0.25.zip 160864941 BLAKE2B 
b38f7894484485e0f61a08d9b822efb518078f7cd3cd9b2cf33d99c97b3e0c134279272804f2fd8591f21db7e289a9532f00b4b8d4e77b499330f3d689ec52e7
 SHA512 
2237a9e6cd97cc22c0a21ab89c11432f1f96f2d74b121cbebe63f2d5ab6ad4cc690b058c32f21774c5def28be7f927df98e45314ab145b1f19127da9beda9fc1

diff --git a/net-wireless/unifi/unifi-7.0.23.ebuild 
b/net-wireless/unifi/unifi-7.0.23.ebuild
deleted file mode 100644
index ecf6140adc85..
--- a/net-wireless/unifi/unifi-7.0.23.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Set this var for any releases except stable
-RC_SUFFIX="-5eeb859f85"
-
-inherit java-pkg-2 systemd
-
-DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs"
-HOMEPAGE="https://www.ubnt.com;
-SRC_URI="https://dl.ui.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip"
-S="${WORKDIR}/UniFi"
-
-KEYWORDS="-* ~amd64 ~arm64"
-LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 
LGPL-3 MIT ubiquiti"
-SLOT="0/$(ver_cut 1-2)"
-IUSE="systemd"
-RESTRICT="bindist mirror"
-
-RDEPEND="
-   acct-group/unifi
-   acct-user/unifi
-   dev-db/mongodb
-   virtual/jre:1.8
-"
-
-BDEPEND="app-arch/unzip"
-
-DOCS=( "readme.txt" )
-
-QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so"
-
-src_prepare() {
-   # Remove unneeded files Mac and Windows
-   rm -r lib/native/{Mac,Windows} || die
-
-   if [[ ${CHOST} != aarch64* ]]; then
-   rm -r lib/native/Linux/aarch64 || die "Failed in removing 
aarch64 native libraries"
-   fi
-   if [[ ${CHOST} != armv7* ]]; then
-   rm -r lib/native/Linux/armv7 || die "Failed in removing armv7 
native libraries"
-   fi
-   if [[ ${CHOST} != x86_64* ]]; then
-   rm -r lib/native/Linux/x86_64 || die "Failed in removing x86_64 
native libraries"
-   fi
-
-   if [[ ${CHOST} == aarch64* ]]; then
-   if ! use systemd; then
-   rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || 
die
-   fi
-   fi
-   if [[ ${CHOST} == armv7* ]]; then
-   if ! use systemd; then
-   rm lib/native/Linux/armv7/libubnt_sdnotify_jni.so || die
-   fi
-   fi
-   if [[ ${CHOST} == x86_64* ]]; then
-   if ! use systemd; then
-   rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || 
die
-   fi
-   fi
-
-   default
-}
-
-src_compile() {
-   :;
-}
-
-src_install() {
-   insinto /usr/lib/unifi
-   doins -r bin dl lib webapps
-
-   diropts -o unifi -g unifi
-   keepdir /var/lib/unifi/{conf,data,run,tmp,work} /var/log/unifi
-
-   for symlink in conf data run tmp work; do
-   dosym ../../../var/lib/unifi/${symlink} 
/usr/lib/unifi/${symlink}
-   done
-   dosym ../../../var/log/unifi /usr/lib/unifi/logs
-
-   java-pkg_regjar "${D}"/usr/lib/unifi/lib/*.jar
-   java-pkg_dolauncher unifi --java_args 
'-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp -Djava.library.path=' --jar 
ace.jar --pwd '/usr/lib/unifi'
-
-   newinitd "${FILESDIR}"/unifi.initd-r2 unifi
-   systemd_dounit "${FILESDIR}"/unifi.service-r1
-
-   newconfd "${FILESDIR}"/unifi.confd unifi
-
-   echo 'CONFIG_PROTECT="/var/lib/unifi"' > "${T}"/99unifi || die
-   doenvd "${T}"/99unifi
-
-   einstalldocs
-}



[gentoo-commits] repo/gentoo:master commit in: kde-misc/kdiff3/

2022-03-30 Thread Jakov Smolić
commit: d96885fa4d72930c39f361b03caefcad8fa22edb
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:09:11 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:09:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96885fa

kde-misc/kdiff3: Stabilize 1.9.5 x86, #836397

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

 kde-misc/kdiff3/kdiff3-1.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/kdiff3/kdiff3-1.9.5.ebuild 
b/kde-misc/kdiff3/kdiff3-1.9.5.ebuild
index 20e2240cd90e..d225cdcfffc7 100644
--- a/kde-misc/kdiff3/kdiff3-1.9.5.ebuild
+++ b/kde-misc/kdiff3/kdiff3-1.9.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-03-30 Thread Jakov Smolić
commit: 773d5d43ab88434957a070e89b80c4f5d511ad42
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:09:07 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:09:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773d5d43

media-libs/libffado: Stabilize 2.4.5 x86, #836396

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

 media-libs/libffado/libffado-2.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
index be9401c3fede..3e212bb12d21 100644
--- a/media-libs/libffado/libffado-2.4.5.ebuild
+++ b/media-libs/libffado/libffado-2.4.5.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/rofi/

2022-03-30 Thread Jakov Smolić
commit: 206e77bfbbca3e35c8d160141ba6dbf8db60a37b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:09:15 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:09:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=206e77bf

x11-misc/rofi: Stabilize 1.7.3-r1 x86, #836429

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

 x11-misc/rofi/rofi-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/rofi/rofi-1.7.3-r1.ebuild 
b/x11-misc/rofi/rofi-1.7.3-r1.ebuild
index 4b7f1abb2b17..d10329aee000 100644
--- a/x11-misc/rofi/rofi-1.7.3-r1.ebuild
+++ b/x11-misc/rofi/rofi-1.7.3-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="+drun test +windowmode"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-guest-additions/

2022-03-30 Thread Jakov Smolić
commit: 5965c1fdfd327a41adb72d286470b93245d50d1b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:08:59 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:08:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5965c1fd

app-emulation/virtualbox-guest-additions: Stabilize 6.1.32 x86, #836383

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

 .../virtualbox-guest-additions/virtualbox-guest-additions-6.1.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.32.ebuild
 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.32.ebuild
index 9610a3230f06..053806002c22 100644
--- 
a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.32.ebuild
+++ 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.32.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://download.virtualbox.org/virtualbox/${DIR_PV:-${MY_PV}}/${MY_P}.
 LICENSE="GPL-2"
 SLOT="0/$(ver_cut 1-2)"
 [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="X"
 
 # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist



[gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/

2022-03-30 Thread Jakov Smolić
commit: daadf7e3f201e89fb5dbec5befb59d900f0db145
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:09:19 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:09:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daadf7e3

app-i18n/transifex-client: Stabilize 1.0.3 x86, #836448

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

 app-i18n/transifex-client/transifex-client-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/transifex-client/transifex-client-1.0.3.ebuild 
b/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
index 6475c6b72876..2f67d6c37f23 100644
--- a/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
+++ b/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
@@ -216,7 +216,7 @@ S="${WORKDIR}"/cli-${PV}
 
 LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT MPL-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
 
 src_test() {
# Skip tests depending on a network connection. Bug #831772



[gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/

2022-03-30 Thread Jakov Smolić
commit: 6659d8d83a71ab9261777012373eef6b2affa773
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:08:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:08:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6659d8d8

dev-python/jellyfish: Stabilize 0.9.0-r1 x86, #836346

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

 dev-python/jellyfish/jellyfish-0.9.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/jellyfish/jellyfish-0.9.0-r1.ebuild 
b/dev-python/jellyfish/jellyfish-0.9.0-r1.ebuild
index 18f741b4c0d3..f7d0da40ba81 100644
--- a/dev-python/jellyfish/jellyfish-0.9.0-r1.ebuild
+++ b/dev-python/jellyfish/jellyfish-0.9.0-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/

2022-03-30 Thread Jakov Smolić
commit: e44a57ca5edf607342863353f5a6964c88966ef3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:08:51 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:08:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44a57ca

app-i18n/transifex-client: Stabilize 1.0.3 amd64, #836448

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

 app-i18n/transifex-client/transifex-client-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/transifex-client/transifex-client-1.0.3.ebuild 
b/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
index 5f5a351afa45..6475c6b72876 100644
--- a/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
+++ b/app-i18n/transifex-client/transifex-client-1.0.3.ebuild
@@ -216,7 +216,7 @@ S="${WORKDIR}"/cli-${PV}
 
 LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-3 MIT MPL-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
 
 src_test() {
# Skip tests depending on a network connection. Bug #831772



  1   2   3   >