[gentoo-commits] repo/gentoo:master commit in: dev-java/c3p0/

2022-02-21 Thread Miroslav Šulc
commit: 04604b4ba7bc5de3f5945d5ef609a080eb991812
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Mon Dec 27 15:42:58 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Feb 22 07:51:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04604b4b

dev-java/c3p0: Switch to log4j-12-api:2

Closes: https://bugs.gentoo.org/830920
Lift log4j dependency to slot 2, log4j-12-api

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/24106/commits/72935ffc87d006df9a124f01056655bdb66d9a4d
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/c3p0/c3p0-0.9.5.5-r1.ebuild | 57 
 1 file changed, 57 insertions(+)

diff --git a/dev-java/c3p0/c3p0-0.9.5.5-r1.ebuild 
b/dev-java/c3p0/c3p0-0.9.5.5-r1.ebuild
new file mode 100644
index ..daecaa205752
--- /dev/null
+++ b/dev-java/c3p0/c3p0-0.9.5.5-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Tests require an existing running SQL server and 'junit.jar.file' property
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JDBC drivers with JNDI-bindable DataSources"
+HOMEPAGE="https://www.mchange.com/projects/c3p0/;
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz"
+LICENSE="|| ( EPL-1.0 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+CP_DEPEND="
+   dev-java/log4j-12-api:2
+   dev-java/mchange-commons:0
+"
+
+DEPEND="
+   >=virtual/jdk-1.8:*
+   ${CP_DEPEND}
+"
+
+RDEPEND="
+   >=virtual/jre-1.8:*
+   ${CP_DEPEND}
+"
+
+S="${WORKDIR}/${P}.src"
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+src_prepare() {
+   java-pkg_clean
+   java-pkg-2_src_prepare
+   java-pkg_jar-from --into lib/ log4j-12-api-2
+   java-pkg_jar-from --into lib/ mchange-commons
+
+   # Test sources interfere with Javadoc generation on JDK 11
+   # Remove since the tests will never be run
+   rm -r src/java/com/mchange/v2/c3p0/test ||
+   die "Failed to remove unused test sources"
+}
+
+src_install() {
+   java-pkg_newjar "build/${P}.jar"
+   einstalldocs
+
+   use doc && java-pkg_dojavadoc build/apidocs
+   use examples && java-pkg_doexamples src/java/com/mchange/v2/c3p0/example
+   use source && java-pkg_dosrc src/java/com/mchange/v2
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/mchange-commons/

2022-02-21 Thread Miroslav Šulc
commit: b3bd8a6f97ae496e7c9ec844ac3fbd16f3656240
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Mon Feb 21 16:23:34 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Feb 22 07:51:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3bd8a6f

dev-java/mchange-commons: bump to 0.2.20

Closes: https://bugs.gentoo.org/830912
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/24106/commits/b6ee778b5b33ed1d663caf007586dc425d97d3c9
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/mchange-commons/Manifest  |  1 +
 .../mchange-commons/mchange-commons-0.2.20.ebuild  | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-java/mchange-commons/Manifest 
b/dev-java/mchange-commons/Manifest
index 96c8ad15ed34..4cc7c30be8e5 100644
--- a/dev-java/mchange-commons/Manifest
+++ b/dev-java/mchange-commons/Manifest
@@ -1 +1,2 @@
 DIST mchange-commons-0.2.10.tar.gz 218657 BLAKE2B 
f073aac7a560c31ea71c4114c5128de55d4b384c9579f649e0ca28c1257be64d22bce406b241f3b7665c5ec0e4cdc64c079c0f27f328e54803612abae43aef42
 SHA512 
098712b3b61d74a832699b6c92c75fdb243260400c1180511b5299a25553660750261ff8c2cf322350afd3d4b84fdf9900c26123b56add0f772e26e4f3ed8d7b
+DIST mchange-commons-0.2.20.tar.gz 231274 BLAKE2B 
f13d82d8a9f67a81c0fe69bd2d59e4ee88100c21067e454ba81ba5b5f60761c2352e8f2303c12e1ab0d54027ae9e7daca76f4e8308417a8e933d5a4c8cc0ad73
 SHA512 
d9019ca73f77f3f629c54bb65416f92b0a2c2fe5b23ef32cc48b4a951d505d8ba89f0ab71654b8e5d5983e4237c5c4e15c529abbb91ef0abdbff989806c2e44f

diff --git a/dev-java/mchange-commons/mchange-commons-0.2.20.ebuild 
b/dev-java/mchange-commons/mchange-commons-0.2.20.ebuild
new file mode 100644
index ..8e2886a930c9
--- /dev/null
+++ b/dev-java/mchange-commons/mchange-commons-0.2.20.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom src/main/maven/pom.xml 
--download-uri 
https://github.com/swaldman/mchange-commons-java/archive/refs/tags/v0.2.20.tar.gz
 --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild mchange-commons-0.2.20.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.mchange:mchange-commons-java:0.2.20"
+#  JAVA_TESTING_FRAMEWORKS=""
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="a library of arguably useful Java utilities."
+HOMEPAGE="https://github.com/swaldman/mchange-commons-java;
+SRC_URI="https://github.com/swaldman/${PN}-java/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="EPL-1.0 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+CP_DEPEND="
+   dev-java/log4j-api:2
+   dev-java/log4j-12-api:2
+   dev-java/log4j-core:2
+   dev-java/slf4j-api:0
+   dev-java/typesafe-config:0"
+
+DEPEND="${CP_DEPEND}
+   >=virtual/jdk-1.8:*"
+
+RDEPEND="${CP_DEPEND}
+   >=virtual/jre-1.8:*"
+
+S="${WORKDIR}/mchange-commons-java-${PV}"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+#  # 
https://github.com/swaldman/mchange-commons-java/blob/master/build.sbt#L29-L31
+#  JAVA_TEST_GENTOO_CLASSPATH=""
+#  JAVA_TEST_SRC_DIR="src/test/java"
+#  JAVA_TEST_RESOURCE_DIRS="src/test/resources"



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

2022-02-21 Thread Michał Górny
commit: 687bf2216eb32ce2619ba6a8f4dbbc8eee59f967
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 22 07:37:54 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 22 07:48:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687bf221

dev-python/hypothesis: Bump to 6.37.2

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

 dev-python/hypothesis/Manifest |  1 +
 dev-python/hypothesis/hypothesis-6.37.2.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index f26631ae5924..241884efaa52 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -3,3 +3,4 @@ DIST hypothesis-python-6.36.1.tar.gz 9179567 BLAKE2B 
67c5e33667287107b8068401107
 DIST hypothesis-python-6.36.2.tar.gz 9179500 BLAKE2B 
e627ddfbef2e0955df0f4d8a388157352779aa73ca422f6372ba966b4b815bef26822f664983de089c9036eef05ae810deefd76615b37dffe5561fef9862495f
 SHA512 
e2dd6ca73a72c30c0f0a6b3bdce44ef070f0497400f1de6758ab2daf948185afd607d34ffb604c8f55746beec60dca1289f9c4d71fc666b7904f7dcbe0d66cd7
 DIST hypothesis-python-6.37.0.tar.gz 9179770 BLAKE2B 
914968515c65b52cfa7fd4908c7132c36e2b3639a48a5f9131fdf0dc9f0230f3b3e9cc47e5f45896fd37faaa6b9822f8232df6bbb4b12b1d62e8498c35ba777e
 SHA512 
44b200cb583c006c44a551b7f0e859d193bb4ae68233ca8903bc89259b7a7b57e751458034d3c46223481e5862fb046d546c0331501fe926d645ccb0fcd2a455
 DIST hypothesis-python-6.37.1.tar.gz 9179835 BLAKE2B 
316b4bd4143d8bd403bac2fcc713c49c0a1f5f713d78335845f77c7ac9dac852cce367ac618999265ab4c68e848037920b2be6e18f68bd1f3d6982b1e7f5e297
 SHA512 
7b5e961339672cf853d181f4a3963ab753fe0bd7af599247996629de2b8e62159b3cfe6ce8663b2499e2e4e2dbdcc99fc99c5a582a73102c5637e82ce4624c64
+DIST hypothesis-python-6.37.2.tar.gz 9179951 BLAKE2B 
0178beee31353d94454ce289d9214153b394612f28cec52e906456cda6419b7b427213ac46ff423c1f6d853e82d737b2f9f57ae89c20481cabde2bc523a87c18
 SHA512 
659ddce542e26047b0dceb764588c0ffa20a096f44b742514105d4f6f933042ee29fb84897863112fabf19b83de9d357714f252f5adeb8d0557788c62b71c6e2

diff --git a/dev-python/hypothesis/hypothesis-6.37.2.ebuild 
b/dev-python/hypothesis/hypothesis-6.37.2.ebuild
new file mode 100644
index ..e070fa008ff0
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.37.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-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} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis 
https://pypi.org/project/hypothesis/;
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz;
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+   cli? (
+   $(python_gen_cond_dep '
+   dev-python/black[${PYTHON_USEDEP}]
+   dev-python/click[${PYTHON_USEDEP}]
+   ' python3_{8..10})
+   )
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   !!

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

2022-02-21 Thread Michał Górny
commit: da93e201f290d0627d04eb6b8413d5e714dcc26a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 22 07:38:30 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 22 07:48:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da93e201

dev-python/bitarray: Bump to 2.3.7

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

 dev-python/bitarray/Manifest  |  1 +
 dev-python/bitarray/bitarray-2.3.7.ebuild | 23 +++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest
index 93a7b30931ce..87ff2a5f46c0 100644
--- a/dev-python/bitarray/Manifest
+++ b/dev-python/bitarray/Manifest
@@ -1,2 +1,3 @@
 DIST bitarray-2.3.5.tar.gz 88403 BLAKE2B 
ebd2b41f3282765a8fe754c421f6813f1d35f105b52148dc3db158d937f0ab0e1ab09590d45f9e09301090bd113e28e9e45bf7a5d76ee0696018cb4e2fe2cca7
 SHA512 
8d409c8dad04f4622afbb89435a6f6e5785ab4e53bc1a286e0d5a167a17152ccad78fb7569649c8a28674e269095c8ecb63bf26ac1ee4ed131c41552f55f
 DIST bitarray-2.3.6.tar.gz 88741 BLAKE2B 
1475548c5dbd7b98b4ad74592aa2d9cce68199bd63fe0ede9d70a95fab4193943b804e6998d1551da2b7b3194060ec19d293e0b12c15515a496396ed39fe46b1
 SHA512 
f88d2904df1a31701d3b381ba9592d6876e59a64ea0cbaef72d390c7491694cc0afcda2d87de36ee05d3ae2d033aad0290df84aae80f1d2a9b4d54e136c39327
+DIST bitarray-2.3.7.tar.gz 89721 BLAKE2B 
8c56e82862a4314d199fa8021fbe4d0fefa5172f6c3c93573cc1d6a06d7965788d65e0b193f199f86d685c7edd0f0faf878db65243625427d4b6be6d2fb8c807
 SHA512 
4484f93001a74105bdb85155ee9975f7f399652634e6173a4502e2a8eae83dc4d331e638f6b2dc2a94e89aa695208586a502bc41583539271ae3869576de41c9

diff --git a/dev-python/bitarray/bitarray-2.3.7.ebuild 
b/dev-python/bitarray/bitarray-2.3.7.ebuild
new file mode 100644
index ..75035a316dcc
--- /dev/null
+++ b/dev-python/bitarray/bitarray-2.3.7.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-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="Efficient arrays of booleans -- C extension"
+HOMEPAGE="
+   https://github.com/ilanschnell/bitarray/
+   https://pypi.org/project/bitarray/;
+SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="PSF-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+python_test() {
+   "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/cglib/

2022-02-21 Thread Miroslav Šulc
commit: d69a238faf8e3bba5a66917136cc83207a380860
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Mon Feb 21 16:38:28 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Feb 22 07:44:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69a238f

dev-java/cglib: Fix test failure

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24301
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/cglib/cglib-3.3.0-r1.ebuild | 71 
 1 file changed, 71 insertions(+)

diff --git a/dev-java/cglib/cglib-3.3.0-r1.ebuild 
b/dev-java/cglib/cglib-3.3.0-r1.ebuild
new file mode 100644
index ..d82a7f3a7d4a
--- /dev/null
+++ b/dev-java/cglib/cglib-3.3.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# doc USE flag is not in IUSE as the docs does not compile because of errors
+JAVA_PKG_IUSE="examples source test"
+MAVEN_ID="cglib:cglib:3.3.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PV=RELEASE_${PV//./_}
+MY_P=cglib-${MY_PV}
+
+DESCRIPTION="cglib is a powerful, high performance and quality Code Generation 
Library"
+HOMEPAGE="https://github.com/cglib/cglib;
+SRC_URI="https://github.com/cglib/cglib/archive//${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+CDEPEND="dev-java/ant-core:0
+   dev-java/asm:9
+"
+DEPEND="
+   >=virtual/jdk-1.8:*
+   ${CDEPEND}
+"
+RDEPEND="
+   >=virtual/jre-1.8:*
+   ${CDEPEND}
+"
+
+S="${WORKDIR}"
+
+JAVA_GENTOO_CLASSPATH="asm-9 ant-core"
+JAVA_SRC_DIR="${MY_P}/${PN}/src/main/java"
+JAVA_RESOURCE_DIRS="${MY_P}/${PN}/src/main/resources"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="${MY_P}/${PN}/src/test/java"
+JAVA_TEST_EXCLUDES=(
+   "net.sf.cglib.CodeGenTestCase"  # not a test class
+   "net.sf.cglib.TestAll"
+   "net.sf.cglib.TestGenerator"# not a test class
+   "net.sf.cglib.proxy.TestEnhancer"   # broken tests
+   "net.sf.cglib.proxy.TestInterceptor"# not a test class
+   "net.sf.cglib.reflect.TestFastClass"# broken tests
+)
+
+src_test() {
+   # Caused by: net.sf.cglib.core.CodeGenerationException:
+   # java.lang.reflect.InaccessibleObjectException-->Unable to make 
protected final java.lang.Class
+   # 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
+   # throws java.lang.ClassFormatError accessible: module java.base does 
not "opens java.lang" to unnamed module @42bb2aee
+
+   local vm_version="$(java-config -g PROVIDES_VERSION)"
+   if [[ "${vm_version}" -ge "17" ]] ; then
+   JAVA_TEST_EXTRA_ARGS+=( 
--add-opens=java.base/java.lang=ALL-UNNAMED )
+   fi
+
+   java-pkg-simple_src_test
+}
+
+src_install() {
+   java-pkg-simple_src_install
+
+   use examples && java-pkg_doexamples --subdir samples 
${MY_P}/cglib-sample/src/main/java
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/rome/

2022-02-21 Thread Miroslav Šulc
commit: 43b025d545593362dca6b89292ca42fe86c951be
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Fri Jan 21 06:49:23 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Feb 22 07:43:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b025d5

dev-java/rome: EAPI 8, min java 1.8:*

Bug: https://bugs.gentoo.org/831010
Bug: https://bugs.gentoo.org/833410
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24236
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/rome/metadata.xml   |  9 ---
 dev-java/rome/rome-0.9-r4.ebuild | 53 
 2 files changed, 59 insertions(+), 3 deletions(-)

diff --git a/dev-java/rome/metadata.xml b/dev-java/rome/metadata.xml
index 851b900d2361..2b16361c3e20 100644
--- a/dev-java/rome/metadata.xml
+++ b/dev-java/rome/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-  j...@gentoo.org
-
+   
+   j...@gentoo.org
+   
+   
+   rometools/rome
+   
 

diff --git a/dev-java/rome/rome-0.9-r4.ebuild b/dev-java/rome/rome-0.9-r4.ebuild
new file mode 100644
index ..c92d79f20e09
--- /dev/null
+++ b/dev-java/rome/rome-0.9-r4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+JAVA_TESTING_FRAMEWORKS="junit"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java framework for RSS and Atom feeds"
+HOMEPAGE="https://rometools.github.io/rome/;
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CP_DEPEND="dev-java/jdom:0"
+
+DEPEND="
+   ${CP_DEPEND}
+   >=virtual/jdk-1.8:*
+   test? ( dev-java/ant-junit:0 )"
+
+RDEPEND="
+   ${CP_DEPEND}
+   >=virtual/jre-1.8:*"
+
+BDEPEND="app-arch/unzip"
+
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="src/java"
+JAVA_RESOURCE_DIRS="res/java"
+JAVA_TEST_SRC_DIRS="src/test"
+JAVA_TEST_GENTOO_CLASSPATH="junit"
+
+S="${WORKDIR}/${P}"
+
+src_prepare() {
+   default
+   mkdir -p res/java/com/sun/syndication || die
+   cp {src,res}/java/com/sun/syndication/rome.properties || die
+
+   sed -e 's:\(public \)\(Module\):\1com.sun.syndication.feed.module.\2:' \
+   -e 's:\(,\)\(Module\):\1com.sun.syndication.feed.module.\2:' \
+   -i 
src/java/com/sun/syndication/feed/synd/Synd{Feed,Entry}Impl.java || die
+}
+
+src_install() {
+   default # https://bugs.gentoo.org/789582
+   java-pkg-simple_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: eclass/

2022-02-21 Thread Florian Schmaus
commit: 52acf58202ee276674745962306d6cb00223f5e2
Author: Florian Schmaus  gentoo  org>
AuthorDate: Fri Feb 18 08:44:13 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Feb 22 07:32:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52acf582

db-use.eclass: add support for EAPI 8, die on unknown EAPI

Add support for EAPI 8 and drop support for EAPIs < 5. Also explicitly
die on unknown EAPI values. Note that this is a deviation from the
currenty approach that the eclass uses since 86416d2c4bf1 ("eclass:
db-use - Update to eapi7-ver"). But I argue that it is confusing that
your static ananlysis tools (pkgcheck, repoman) complain about an
unsupported EAPI in an eclass, while the ebuild works just fine. While I
also think it is likely that this eclass will support future EAPI
versions without any modifications, my conclusion is that this is actually
an argument to die on unknown EAPIs, since it is trivial to bump, while
on the other hand, you never know if it really works.

Signed-off-by: Florian Schmaus  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24246
Signed-off-by: Florian Schmaus  gentoo.org>

 eclass/db-use.eclass | 14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/eclass/db-use.eclass b/eclass/db-use.eclass
index d23b08d19996..55e72286fda4 100644
--- a/eclass/db-use.eclass
+++ b/eclass/db-use.eclass
@@ -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
 # This is a common location for functions that aid the use of sys-libs/db
 #
@@ -8,16 +8,17 @@
 # maintainer-nee...@gentoo.org
 # @AUTHOR:
 # Paul de Vrieze 
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
 # @BLURB: This is a common location for functions that aid the use of 
sys-libs/db
 # @DESCRIPTION:
 # This eclass is designed to provide helpful functions for depending on
 # sys-libs/db.
 
 # multilib is used for get_libname in all EAPI
-case "${EAPI:-0}" in
-   0|1|2|3|4|5|6) inherit eapi7-ver multilib ;;
-   *) inherit multilib ;;
+case ${EAPI} in
+   5|6) inherit eapi7-ver ;& # fallthrough
+   7|8) inherit multilib ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
 #Convert a version to a db slot
@@ -40,7 +41,6 @@ db_ver_to_slot() {
 
 #Find the version that correspond to the given atom
 db_findver() {
-   has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
if [ $# -ne 1 ]; then
eerror "Function db_findver needs one argument" >&2
eerror "args given:" >&2
@@ -68,7 +68,6 @@ db_findver() {
 # to test for, it will aim to find the library corresponding to it.
 
 db_includedir() {
-   has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
if [ $# -eq 0 ]; then
VER="$(db_findver sys-libs/db)" || return 1
VER="$(db_ver_to_slot "$VER")"
@@ -102,7 +101,6 @@ db_includedir() {
 # packages to test for, it will aim to find the library corresponding to it.
 
 db_libname() {
-   has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
if [ $# -eq 0 ]; then
VER="$(db_findver sys-libs/db)" || return 1
if [ -e 
"${EPREFIX}/usr/$(get_libdir)/libdb-${VER}$(get_libname)" ]; then



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

2022-02-21 Thread Hans de Graaff
commit: 17967e9fa12fde482a6a549050c883b20d99b076
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:51 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:29:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17967e9f

dev-ruby/rails: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/rails/Manifest |  1 +
 dev-ruby/rails/rails-5.2.6.2.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest
index bf825226aa3b..6e8d9bbe5cd3 100644
--- a/dev-ruby/rails/Manifest
+++ b/dev-ruby/rails/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.gem 6656 BLAKE2B 
0dc3dd914c1f1e011a01d466d74cf356ed6e65be6255967261b0a2b624218437bedc6e1da903751d065f1ae19bd74819d88371c1a87ef3ed40749d75ef63
 SHA512 
ff0e4e3f2e0d655341fa17efb724a895292377dd3f3ccdc684674d9bdaeb908c5a8458cb8133df80d6d4db2a422a5e48d61aa187ea4824fb996907190893d094
 DIST rails-5.2.6.gem 6656 BLAKE2B 
95052fd231c0e390b5194af01f7e80d7e8dd34b155b40b95046625f060f89d799a641e5a79fd06efb606a4f5527d556c10a86da9d972ce36c526dcdc639623b6
 SHA512 
9c6965dd1ad4d5a12f7116e372f7b38bd95a93d24d93b66860086922aedf30aa1ad5cc27578f87d72228d893c1d73b431c195b0d1f8b1bc5a645b00fead05f9d
 DIST rails-6.0.4.1.gem 6656 BLAKE2B 
f3ab76fa7ce5e3a668a98b7d1292516f34d36c466b8eea45de136791375d480ae016bfd824d6397af4e44280ff5567ce215e5df3d90867adeb0bc02bdedb1a66
 SHA512 
ae71bf509339b5c802dd9586caa10a3639fe73225ee4afe59a2bce2de9c58fe0f3e6faf6ed8b0e364ca579a9ec78d012c2f7a842745c6c81c5a4e9d0fa66efd1
 DIST rails-6.0.4.3.gem 6656 BLAKE2B 
cbe3062a6d7042955757fd58686d2de4d26a1b1023dbd48606247bb2ba189d50808c43f84e2dc198c06e6a5b5fe1c93ec8d9c13bb90ca157d55f2b4c97cc4a16
 SHA512 
8e0168b1b86a4884130d55f592b88a52c0644b607533f1e5b46f4713132b5f72618aa1f1f0107cd5e22fa9dd2ed0a6cd3f36cb9a947790548e8e4025f507e475

diff --git a/dev-ruby/rails/rails-5.2.6.2.ebuild 
b/dev-ruby/rails/rails-5.2.6.2.ebuild
new file mode 100644
index ..56c5302b9cad
--- /dev/null
+++ b/dev-ruby/rails/rails-5.2.6.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="https://rubyonrails.org;
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="+asset-pipeline"
+
+ruby_add_rdepend "
+   ~dev-ruby/actioncable-${PV}
+   ~dev-ruby/actionmailer-${PV}
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionview-${PV}
+   ~dev-ruby/activejob-${PV}
+   ~dev-ruby/activemodel-${PV}
+   ~dev-ruby/activerecord-${PV}
+   ~dev-ruby/activestorage-${PV}
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/railties-${PV}
+   >=dev-ruby/bundler-1.3:*
+   >=dev-ruby/sprockets-rails-2.0.0:*
+   asset-pipeline? (
+   dev-ruby/jquery-rails:*
+   >=dev-ruby/sass-rails-5.0:5.0
+   >=dev-ruby/uglifier-1.3.0:*
+   >=dev-ruby/coffee-rails-4.1.0:*
+   )"
+
+# also: turbolinks, >=jbuilder-1.2:1



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

2022-02-21 Thread Hans de Graaff
commit: 306ac6077d099f7c41a5bb8bcc6ffb19a66d8ceb
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:01 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306ac607

dev-ruby/actionpack: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/actionpack/Manifest  |  1 +
 dev-ruby/actionpack/actionpack-5.2.6.2.ebuild | 67 +++
 2 files changed, 68 insertions(+)

diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/actionpack/Manifest
+++ b/dev-ruby/actionpack/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/actionpack/actionpack-5.2.6.2.ebuild 
b/dev-ruby/actionpack/actionpack-5.2.6.2.ebuild
new file mode 100644
index ..f33cf17b7909
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-5.2.6.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionview-${PV}
+   dev-ruby/rack:2.2
+   >=dev-ruby/rack-test-0.6.3:*
+   >=dev-ruby/rails-html-sanitizer-1.0.2:1
+   dev-ruby/rails-dom-testing:2
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha:0.14
+   dev-ruby/bundler
+   >=dev-ruby/capybara-2.15
+   ~dev-ruby/activemodel-${PV}
+   >=dev-ruby/rack-cache-1.2:1.2
+   www-servers/puma
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+
+   sed -e '1i gem "activemodel", "~> 5.2.0"' \
+   -e '1i gem "actionview", "~> 5.2.0"' \
+   -e '1i gem "railties", "~> 5.2.0"' \
+   -i test/abstract_unit.rb || die
+
+   # Use different timezone notation, this changed at some point due to an 
external dependency changing.
+   sed -i -e 's/-/GMT/' test/dispatch/response_test.rb 
test/dispatch/cookies_test.rb test/dispatch/session/cookie_store_test.rb || die
+
+   # Avoid broken tests already fixed upstream
+   sed -i -e '/cookie syntax resilience/askip "broken test"' 
test/dispatch/request_test.rb || die
+   sed -i -e '/test_keeps_original_headers_behavior/askip "broken test"' 
test/dispatch/ssl_test.rb || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: 9e2903863412e7b52d64387d6a360a17d3c87228
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:42 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e290386

dev-ruby/railties: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/railties/Manifest|  1 +
 dev-ruby/railties/railties-5.2.6.2.ebuild | 71 +++
 2 files changed, 72 insertions(+)

diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/railties/railties-5.2.6.2.ebuild 
b/dev-ruby/railties/railties-5.2.6.2.ebuild
new file mode 100644
index ..656474a80bf1
--- /dev/null
+++ b/dev-ruby/railties/railties-5.2.6.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
+
+RUBY_FAKEGEM_BINDIR="exe"
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Tools for creating, working with, and running Rails applications"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# The test suite has many failures, most likely due to a mismatch in
+# exact dependencies or environment specifics. Needs further
+# investigation.
+RESTRICT="test"
+
+RDEPEND+=">=app-eselect/eselect-rails-0.24"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionpack-${PV}
+   dev-ruby/thor:1
+   >=dev-ruby/rake-0.8.7
+   dev-ruby/method_source
+"
+
+ruby_add_bdepend "
+   test? (
+   ~dev-ruby/actionview-${PV}
+   dev-ruby/mocha:0.14
+   )"
+
+all_ruby_prepare() {
+   rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+   sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to 
remove load paths"
+   sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
+}
+
+all_ruby_install() {
+   all_fakegem_install
+
+   ruby_fakegem_binwrapper rails rails-${PV}
+}
+
+pkg_postinst() {
+   elog "To select between slots of rails, use:"
+   elog "\teselect rails"
+
+   eselect rails update
+}
+
+pkg_postrm() {
+   eselect rails update
+}



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

2022-02-21 Thread Hans de Graaff
commit: c63591837ebb699a08d7de8720d6520625d5a28e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:20 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6359183

dev-ruby/actionmailer: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/actionmailer/Manifest|  1 +
 dev-ruby/actionmailer/actionmailer-5.2.6.2.ebuild | 50 +++
 2 files changed, 51 insertions(+)

diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/actionmailer/Manifest
+++ b/dev-ruby/actionmailer/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/actionmailer/actionmailer-5.2.6.2.ebuild 
b/dev-ruby/actionmailer/actionmailer-5.2.6.2.ebuild
new file mode 100644
index ..66a548ab61fc
--- /dev/null
+++ b/dev-ruby/actionmailer/actionmailer-5.2.6.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Framework for designing email-service layers"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionview-${PV}
+   ~dev-ruby/activejob-${PV}
+   >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:*
+   dev-ruby/rails-dom-testing:2"
+
+ruby_add_bdepend "test? (
+   dev-ruby/mocha
+)"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+   sed -e '/\/load_paths/d' \
+   -e '1igem "railties", "~> 5.2.0"' \
+   -e '1igem "actionpack", "~> 5.2.0"' \
+   -e '1igem "activejob", "~> 5.2.0"' \
+   -i test/abstract_unit.rb || die "Unable to remove load paths"
+
+   # Avoid a test failing only on attachment ordering, since this is a
+   # security release.
+   sed -i -e '/adding inline attachments while rendering mail works/askip 
"gentoo: fails on ordering"' test/base_test.rb || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: 78b1fef4d8701614ff33e45afe38b470f5843bf1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:27:28 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b1fef4

dev-ruby/actioncable: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/actioncable/Manifest   |  1 +
 dev-ruby/actioncable/actioncable-5.2.6.2.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/actioncable/Manifest b/dev-ruby/actioncable/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/actioncable/Manifest
+++ b/dev-ruby/actioncable/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/actioncable/actioncable-5.2.6.2.ebuild 
b/dev-ruby/actioncable/actioncable-5.2.6.2.ebuild
new file mode 100644
index ..dab392ff470a
--- /dev/null
+++ b/dev-ruby/actioncable/actioncable-5.2.6.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Integrated WebSockets for Rails"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# Tests require many new dependencies, skipping for now
+RESTRICT="test"
+
+ruby_add_rdepend "
+   ~dev-ruby/actionpack-${PV}:*
+   dev-ruby/nio4r:2
+   >=dev-ruby/websocket-driver-0.6.1:0
+"
+
+ruby_add_bdepend "
+   test? (
+   >=dev-ruby/railties-4.2.0
+   dev-ruby/test-unit:2
+   >=dev-ruby/mocha-0.14.0:0.14
+   )"



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

2022-02-21 Thread Hans de Graaff
commit: e97685d17ea70b9f23f3cac5256bc207311b2793
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:32 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97685d1

dev-ruby/activerecord: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/activerecord/Manifest|  1 +
 dev-ruby/activerecord/activerecord-5.2.6.2.ebuild | 92 +++
 2 files changed, 93 insertions(+)

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild 
b/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild
new file mode 100644
index ..413d3876552b
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby25 ruby26"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+HOMEPAGE="https://github.com/rails/rails/;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+   ~dev-ruby/activemodel-${PV}
+   dev-ruby/arel:9.0
+   sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
+   mysql? ( dev-ruby/mysql2:0.5 )
+   postgres? ( >=dev-ruby/pg-0.18.0:* )"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/bundler
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionmailer-${PV}
+   >=dev-ruby/sqlite3-1.3.6
+   dev-ruby/mocha
+   dev-ruby/minitest:5
+   )"
+
+DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   rm ../Gemfile.lock || die
+   sed -i -e 
"/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' 
../railties/railties.gemspec || die
+   sed -e '/bcrypt/ s/3.0.0/3.0/' \
+   -i ../Gemfile || die
+
+   # Add back json in the Gemfile because we dropped some dependencies
+   # earlier that implicitly required it.
+   sed -i -e '$agem "json"' \
+   ../Gemfile || die
+
+   sed -e '3i gem "activesupport", "~> 5.2.0"' \
+   -e '3i gem "activerecord", "~> 5.2.0"' \
+   -e '3i gem "activemodel", "~> 5.2.0"' \
+   -i test/cases/helper.rb || die
+
+   # Avoid test depending on mysql adapter which we don't support for
+   # this Rails version to simplify our dependencies.
+   rm 

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

2022-02-21 Thread Hans de Graaff
commit: 6a99388a3191602e01868193b3778cdd9419b4fe
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:28:10 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a99388a

dev-ruby/activestorage: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/activestorage/Manifest|  1 +
 .../activestorage/activestorage-5.2.6.2.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/activestorage/Manifest b/dev-ruby/activestorage/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/activestorage/Manifest
+++ b/dev-ruby/activestorage/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/activestorage/activestorage-5.2.6.2.ebuild 
b/dev-ruby/activestorage/activestorage-5.2.6.2.ebuild
new file mode 100644
index ..443f3b9ac6a7
--- /dev/null
+++ b/dev-ruby/activestorage/activestorage-5.2.6.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="activestorage.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app config db"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Attach cloud and local files in Rails applications"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+DEPEND+=" test? ( app-text/mupdf ) "
+
+ruby_add_rdepend "
+   ~dev-ruby/actionpack-${PV}:*
+   ~dev-ruby/activerecord-${PV}:*
+   dev-ruby/marcel:1.0
+"
+
+ruby_add_bdepend "
+   test? (
+   ~dev-ruby/railties-${PV}
+   dev-ruby/test-unit:2
+   dev-ruby/mini_magick
+   dev-ruby/mocha
+   dev-ruby/rake
+   dev-ruby/sqlite3
+   )"
+
+all_ruby_prepare() {
+  # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|aws-sdk-s3\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|dalli\|listen\|connection_pool\|puma\|mysql2\)/
 s:^:#:" \
+   -e '/dalli/ s/2.7.7/2.7.9/' \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/:test/,/^end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+
+   # Fix spec broken with ruby24
+   sed -i -e '35ibegin' -e '55iend' 
test/service/s3_service_test.rb || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: 05f43ad94d4e6d2b9094f1eda283be65ebdf7c1d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:27:49 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f43ad9

dev-ruby/actionview: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/actionview/Manifest  |  1 +
 dev-ruby/actionview/actionview-5.2.6.2.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/actionview/Manifest
+++ b/dev-ruby/actionview/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/actionview/actionview-5.2.6.2.ebuild 
b/dev-ruby/actionview/actionview-5.2.6.2.ebuild
new file mode 100644
index ..7f7393b68107
--- /dev/null
+++ b/dev-ruby/actionview/actionview-5.2.6.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Simple, battle-tested conventions and helpers for building web 
pages"
+HOMEPAGE="https://github.com/rails/rails/;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+   >=dev-ruby/erubi-1.4:0
+   >=dev-ruby/rails-html-sanitizer-1.0.3:1
+   dev-ruby/rails-dom-testing:2
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/activemodel-${PV}
+   ~dev-ruby/railties-${PV}
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+
+   # Avoid activerecord integration tests because they are very sensitive 
to the specifics
+   # of the environment.
+   sed -i -e 's/, "test:integration:active_record"//' Rakefile || die
+
+   sed -e '2igem "actionpack", "~> 5.2.0"' \
+   -e '2igem "activemodel", "~> 5.2.0"' \
+   -e '2igem "railties", "~> 5.2.0"' \
+   -e '/active_record/ s:^:#:' \
+   -i test/abstract_unit.rb || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: fad3782793f27f684ffa6478471be9c6b2c5e265
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:27:19 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad37827

dev-ruby/activemodel: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/activemodel/Manifest   |  1 +
 dev-ruby/activemodel/activemodel-5.2.6.2.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/activemodel/Manifest
+++ b/dev-ruby/activemodel/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/activemodel/activemodel-5.2.6.2.ebuild 
b/dev-ruby/activemodel/activemodel-5.2.6.2.ebuild
new file mode 100644
index ..e31ee2cc02d0
--- /dev/null
+++ b/dev-ruby/activemodel/activemodel-5.2.6.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Toolkit for building modeling frameworks like Active Record and 
Active Resource"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}:*
+"
+
+ruby_add_bdepend "
+   test? (
+   ~dev-ruby/railties-${PV}
+   dev-ruby/test-unit:2
+   dev-ruby/mocha
+   >=dev-ruby/bcrypt-ruby-3.1.7
+   )"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove 
load paths"
+   sed -i -e '2igem "railties", "~> 5.2.0"' test/cases/helper.rb || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: f2de9e6091274f40922f2513d970b7c6b2422ab6
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:27:38 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2de9e60

dev-ruby/activejob: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/activejob/Manifest |  1 +
 dev-ruby/activejob/activejob-5.2.6.2.ebuild | 48 +
 2 files changed, 49 insertions(+)

diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/activejob/Manifest
+++ b/dev-ruby/activejob/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/activejob/activejob-5.2.6.2.ebuild 
b/dev-ruby/activejob/activejob-5.2.6.2.ebuild
new file mode 100644
index ..802f472cf81e
--- /dev/null
+++ b/dev-ruby/activejob/activejob-5.2.6.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Job framework with pluggable queues"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/globalid-0.3.6
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha
+   )"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load 
paths"
+   sed -i -e '2igem "activesupport", "~> 5.2.0"' test/helper.rb || die
+
+   # Remove all currently unpackaged queues.
+   sed -i -e 's/que queue_classic resque sidekiq sneakers sucker_punch 
backburner//' \
+   -e 's/delayed_job//' Rakefile || die
+}



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

2022-02-21 Thread Hans de Graaff
commit: 01af6e39df364c02adb5ad174f3faa8795ef7e01
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Feb 22 07:27:04 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Feb 22 07:28:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01af6e39

dev-ruby/activesupport: add 5.2.6.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/activesupport/Manifest|  1 +
 .../activesupport/activesupport-5.2.6.2.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 4c524970154a..3b3c2224c26e 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -1,3 +1,4 @@
+DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 
54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b
 SHA512 
f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c
 DIST rails-5.2.6.tgz 8841270 BLAKE2B 
8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b
 SHA512 
465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 
9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd
 SHA512 
322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 
99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38
 SHA512 
ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333

diff --git a/dev-ruby/activesupport/activesupport-5.2.6.2.ebuild 
b/dev-ruby/activesupport/activesupport-5.2.6.2.ebuild
new file mode 100644
index ..840a994edda8
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-5.2.6.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Utility Classes and Extension to the Standard Library"
+HOMEPAGE="https://github.com/rails/rails;
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   >=dev-ruby/concurrent-ruby-1.0.2:1
+   dev-ruby/i18n:1
+   >=dev-ruby/tzinfo-1.1:1
+   >=dev-ruby/minitest-5.1:5"
+
+# memcache-client, nokogiri, and builder are not strictly
+# needed, but there are tests using this code.
+ruby_add_bdepend "test? (
+   >=dev-ruby/dalli-2.2.1
+   >=dev-ruby/nokogiri-1.4.5
+   >=dev-ruby/builder-3.1.0
+   >=dev-ruby/listen-3.0.5:3
+   dev-ruby/rack
+   dev-ruby/mocha
+   )"
+
+all_ruby_prepare() {
+   # Set the secure permissions that tests expect.
+   chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' \
+   -e 's/gemspec/gemspec path: "activesupport"/' \
+   -e '5igem "builder"; gem "rack"' ../Gemfile || die
+   rm ../Gemfile.lock || die
+   sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
+
+   # Avoid test that depends on timezone
+   sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' 
test/core_ext/duration_test.rb || die
+
+   # Avoid tests that seem to trigger race conditions.
+   rm -f test/evented_file_update_checker_test.rb || die
+
+   # Avoid test that generates filename that is too long
+   sed -i -e '/test_filename_max_size/askip "gentoo"' 
test/cache/stores/file_store_test.rb || die
+
+   # Avoid tests requiring a live 

[gentoo-commits] repo/gentoo:master commit in: dev-games/openscenegraph-openmw/files/

2022-02-21 Thread Ionen Wolkens
commit: a9a04eab96f58ad17c7bf1c712ebf2325f114c74
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Feb 20 16:13:21 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Feb 22 07:11:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a04eab

dev-games/openscenegraph-openmw: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24284
Signed-off-by: Ionen Wolkens  gentoo.org>

 .../openscenegraph-3.6.5-use_boost_asio.patch  | 263 -
 1 file changed, 263 deletions(-)

diff --git 
a/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.5-use_boost_asio.patch
 
b/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.5-use_boost_asio.patch
deleted file mode 100644
index f9a32c0dc601..
--- 
a/dev-games/openscenegraph-openmw/files/openscenegraph-3.6.5-use_boost_asio.patch
+++ /dev/null
@@ -1,263 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -764,7 +764,7 @@
- FIND_PACKAGE(DirectInput)
- FIND_PACKAGE(NVTT)
- IF (NOT WIN32)
--FIND_PACKAGE(Asio)
-+FIND_PACKAGE(Boost)
- ENDIF()
- FIND_PACKAGE(ZeroConf)
- 
 a/CMakeModules/FindAsio.cmake
-+++ b/CMakeModules/FindAsio.cmake
-@@ -1,22 +0,0 @@
--# Locate ASIO-headers (http://think-async.com/Asio)
--# This module defines
--# ASIO_FOUND, if false, do not try to link to gdal
--# ASIO_INCLUDE_DIR, where to find the headers
--#
--# Created by Stephan Maximilian Huber
--
--FIND_PATH(ASIO_INCLUDE_DIR
--  NAMES
--asio.hpp
--  PATHS
--/usr/include
--/usr/local/include
--)
--
--SET(ASIO_FOUND "NO")
--IF(ASIO_INCLUDE_DIR)
--FIND_PACKAGE( Boost 1.37 )
--IF(Boost_FOUND)
--SET(ASIO_FOUND "YES")
--ENDIF()
--ENDIF()
 a/src/osgPlugins/CMakeLists.txt
-+++ b/src/osgPlugins/CMakeLists.txt
-@@ -299,13 +299,13 @@
- #
- # Device integration plugins
- #
--IF   (SDL_FOUND)
-+IF(SDL_FOUND)
- ADD_PLUGIN_DIRECTORY(sdl)
--ENDIF(SDL_FOUND)
-+ENDIF()
- 
--IF(ASIO_FOUND)
-+IF(Boost_FOUND)
- ADD_PLUGIN_DIRECTORY(RestHttpDevice)
--ENDIF(ASIO_FOUND)
-+ENDIF()
- 
- 
- IF(ZEROCONF_FOUND)
 a/src/osgPlugins/RestHttpDevice/CMakeLists.txt
-+++ b/src/osgPlugins/RestHttpDevice/CMakeLists.txt
-@@ -1,6 +1,5 @@
- INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
--INCLUDE_DIRECTORIES(${ASIO_INCLUDE_DIR})
--
-+
- SET(TARGET_SRC
- connection.cpp
- io_service_pool.cpp
-@@ -26,7 +25,7 @@
- RestHttpDevice.hpp
- )
- 
--SET(TARGET_ADDED_LIBRARIES osgPresentation )
-+SET(TARGET_ADDED_LIBRARIES osgPresentation)
- 
-  end var setup  ###
- SETUP_PLUGIN(resthttp)
 a/src/osgPlugins/RestHttpDevice/connection.cpp
-+++ b/src/osgPlugins/RestHttpDevice/connection.cpp
-@@ -37,14 +37,14 @@
- void connection::start()
- {
-   OSG_DEBUG << "RestHttpDevice :: connection::start" << std::endl;
--  
-+
-   socket_.async_read_some(asio::buffer(buffer_),
-   boost::bind(::handle_read, shared_from_this(),
- asio::placeholders::error,
- asio::placeholders::bytes_transferred));
- }
- 
--void connection::handle_read(const asio::error_code& e,
-+void connection::handle_read(const boost::system::error_code& e,
- std::size_t bytes_transferred)
- {
-   if (!e)
-@@ -82,12 +82,12 @@
-   // handler returns. The connection class's destructor closes the socket.
- }
- 
--void connection::handle_write(const asio::error_code& e)
-+void connection::handle_write(const boost::system::error_code& e)
- {
-   if (!e)
-   {
- // Initiate graceful connection closure.
--asio::error_code ignored_ec;
-+boost::system::error_code ignored_ec;
- socket_.shutdown(asio::ip::tcp::socket::shutdown_both, ignored_ec);
-   }
- 
 a/src/osgPlugins/RestHttpDevice/connection.hpp
-+++ b/src/osgPlugins/RestHttpDevice/connection.hpp
-@@ -11,7 +11,7 @@
- #ifndef HTTP_SERVER_CONNECTION_HPP
- #define HTTP_SERVER_CONNECTION_HPP
- 
--#include 
-+#include 
- #include 
- #include 
- #include 
-@@ -21,6 +21,8 @@
- #include "request_handler.hpp"
- #include "request_parser.hpp"
- 
-+using namespace boost;
-+
- namespace http {
- namespace server {
- 
-@@ -42,11 +44,11 @@
-   ~connection();
- private:
-   /// Handle completion of a read operation.
--  void handle_read(const asio::error_code& e,
-+  void handle_read(const boost::system::error_code& e,
-   std::size_t bytes_transferred);
- 
-   /// Handle completion of a write operation.
--  void handle_write(const asio::error_code& e);
-+  void handle_write(const boost::system::error_code& e);
- 
-   /// Socket for the connection.
-   asio::ip::tcp::socket socket_;
 a/src/osgPlugins/RestHttpDevice/io_service_pool.cpp
-+++ b/src/osgPlugins/RestHttpDevice/io_service_pool.cpp
-@@ -11,7 +11,7 @@
- #include "server.hpp"
- #include 
- #include 
--#include 
-+#include 
- 
- namespace http {
- namespace server {
-@@ -36,17 +36,14 @@
- void io_service_pool::run()
- {
-   // Create a 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/bin86/files/

2022-02-21 Thread Ionen Wolkens
commit: e78eadf0fbf01f15ee543222054bdd603041986d
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Feb 21 13:38:31 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Feb 22 07:11:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78eadf0

sys-devel/bin86: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24298
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch | 17 -
 1 file changed, 17 deletions(-)

diff --git a/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch 
b/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch
deleted file mode 100644
index b494a8b724de..
--- a/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-This should make it built on other archictectures as well
-
-https://bugs.gentoo.org/428228
-
 ld/x86_aout.h
-+++ ld/x86_aout.h
-@@ -13,7 +13,9 @@
- typedef long Long;
- #define __OUT_OK 1
- #else
--typedef char Long[4];
-+#define __OUT_OK 1
-+#include 
-+typedef int32_t Long;
- #endif
- 
- structexec {  /* a.out header */



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

2022-02-21 Thread Ionen Wolkens
commit: 531dee5a3bdb274887e4740728527442d9a86c19
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Feb 21 13:37:00 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Feb 22 07:11:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531dee5a

www-apache/mod_rpaf: remove unused patches

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24297
Signed-off-by: Ionen Wolkens  gentoo.org>

 www-apache/mod_rpaf/files/003_ipv6.patch   | 31 -
 .../mod_rpaf/files/010_multiple_proxies.patch  | 37 
 www-apache/mod_rpaf/files/011_apache2.4.patch  | 51 --
 .../012_Add-missing-header-for-inet_addr.patch | 17 
 4 files changed, 136 deletions(-)

diff --git a/www-apache/mod_rpaf/files/003_ipv6.patch 
b/www-apache/mod_rpaf/files/003_ipv6.patch
deleted file mode 100644
index 49554efe459a..
--- a/www-apache/mod_rpaf/files/003_ipv6.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: ipv6 fixes
-Author: Piotr Roszatycki 
-Reviewed-by: Sergey B Kirpichev 
-Bug-Debian: http://bugs.debian.org/726529
-

- mod_rpaf-2.0.c |6 ++
- 1 file changed, 6 insertions(+)
-
 a/mod_rpaf-2.0.c
-+++ b/mod_rpaf-2.0.c
-@@ -72,6 +72,8 @@
- #include "http_vhost.h"
- #include "apr_strings.h"
- 
-+#include 
-+
- module AP_MODULE_DECLARE_DATA rpaf_module;
- 
- typedef struct {
-@@ -185,6 +187,10 @@
- apr_pool_cleanup_register(r->pool, (void *)rcr, rpaf_cleanup, 
apr_pool_cleanup_null);
- r->connection->remote_ip = apr_pstrdup(r->connection->pool, 
((char **)arr->elts)[((arr->nelts)-1)]);
- r->connection->remote_addr->sa.sin.sin_addr.s_addr = 
apr_inet_addr(r->connection->remote_ip);
-+apr_sockaddr_t *tmpsa;
-+int ret = apr_sockaddr_info_get(, r->connection->remote_ip, 
APR_UNSPEC, r->connection->remote_addr->port, 0, 
r->connection->remote_addr->pool);
-+if (ret == APR_SUCCESS)
-+memcpy(r->connection->remote_addr, tmpsa, 
sizeof(apr_sockaddr_t));
- if (cfg->sethostname) {
- const char *hostvalue;
- if (hostvalue = apr_table_get(r->headers_in, 
"X-Forwarded-Host")) {

diff --git a/www-apache/mod_rpaf/files/010_multiple_proxies.patch 
b/www-apache/mod_rpaf/files/010_multiple_proxies.patch
deleted file mode 100644
index 2c9fae01bbe3..
--- a/www-apache/mod_rpaf/files/010_multiple_proxies.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Description: Use the last value from the X-Forwarded-For header, which
- is not in RPAFproxy_ips as the client IP, falling back to the first one
- if they are all known proxies.
-Author: Dagfinn Ilmari Mannsåker 
-

- mod_rpaf-2.0.c |   12 +++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
-
 a/mod_rpaf-2.0.c
-+++ b/mod_rpaf-2.0.c
-@@ -154,6 +154,16 @@
- return APR_SUCCESS;
- }
- 
-+static char* last_not_in_array(apr_array_header_t *forwarded_for,
-+   apr_array_header_t *proxy_ips) {
-+int i;
-+for (i = (forwarded_for->nelts)-1; i > 0; i--) {
-+  if (!is_in_array(((char **)forwarded_for->elts)[i], proxy_ips))
-+   break;
-+}
-+return ((char **)forwarded_for->elts)[i];
-+}
-+
- static int change_remote_ip(request_rec *r) {
- const char *fwdvalue;
- char *val;
-@@ -185,7 +195,7 @@
- rcr->old_ip = apr_pstrdup(r->connection->pool, 
r->connection->remote_ip);
- rcr->r = r;
- apr_pool_cleanup_register(r->pool, (void *)rcr, rpaf_cleanup, 
apr_pool_cleanup_null);
--r->connection->remote_ip = apr_pstrdup(r->connection->pool, 
((char **)arr->elts)[((arr->nelts)-1)]);
-+r->connection->remote_ip = apr_pstrdup(r->connection->pool, 
last_not_in_array(arr, cfg->proxy_ips));
- r->connection->remote_addr->sa.sin.sin_addr.s_addr = 
apr_inet_addr(r->connection->remote_ip);
- apr_sockaddr_t *tmpsa;
- int ret = apr_sockaddr_info_get(, r->connection->remote_ip, 
APR_UNSPEC, r->connection->remote_addr->port, 0, 
r->connection->remote_addr->pool);

diff --git a/www-apache/mod_rpaf/files/011_apache2.4.patch 
b/www-apache/mod_rpaf/files/011_apache2.4.patch
deleted file mode 100644
index 1757e9f30a5a..
--- a/www-apache/mod_rpaf/files/011_apache2.4.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Description: Apache 2.4 compatibility patch
-Author: Sergey B Kirpichev 
-Bug-Debian: http://bugs.debian.org/666792
-

- mod_rpaf-2.0.c |   16 
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
 a/mod_rpaf-2.0.c
-+++ b/mod_rpaf-2.0.c
-@@ -149,8 +149,8 @@
- 
- static apr_status_t rpaf_cleanup(void *data) {
- rpaf_cleanup_rec *rcr = (rpaf_cleanup_rec *)data;
--rcr->r->connection->remote_ip   = apr_pstrdup(rcr->r->connection->pool, 
rcr->old_ip);
--

[gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/

2022-02-21 Thread Sam James
commit: 57ba0f67f138341373555447371bd125e34e5b1c
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 10 01:20:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 07:11:24 2022 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=57ba0f67

ebuild-writing/eapi: document upgrade path policy

The "upgrade path" policy is not particularly well-defined;
over the years, various people have come to understand it
as "two years", "one year", with mixed interpretations
within that (is it enough to be able to upgrade just
Portage?)

This is a start towards formalising policy here,
even if we end up changing it later, at least
it's codified.

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

 ebuild-writing/eapi/text.xml | 21 +
 1 file changed, 21 insertions(+)

diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
index e85a3ec..257232c 100644
--- a/ebuild-writing/eapi/text.xml
+++ b/ebuild-writing/eapi/text.xml
@@ -62,8 +62,29 @@ EAPI-conditional code)
 When writing new ebuilds developers can choose whatever EAPI they think
 is the best.  Using the features of the latest EAPI is encouraged.
 
+
+
+
+Upgrade path
+
+
+
+Gentoo policy is to support upgrades for installations at least a year old
+with no/little intervention and up to two years old with minor intervention. To
+achieve this, developers must avoid using the latest EAPI in ebuilds within
+the @system set (see )
+or its dependencies.
+
+
+
+The Base System project has
+https://wiki.gentoo.org/wiki/Project:Base#Rules_and_limitations;>rules
+governing their use of newer EAPIs, as does the
+https://dev.gentoo.org/~mgorny/python-guide/package-maintenance.html#porting-packages-to-a-new-eapi;>Python
 project.
+
 
 
+
 
 
 



[gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/

2022-02-21 Thread Sam James
commit: 9db2bfb9151258ce62a1854774a6d3bf60734af2
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 10 01:25:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 07:11:27 2022 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9db2bfb9

ebuild-writing/eapi: mention blocker retention period

Bug: https://bugs.gentoo.org/821553
Signed-off-by: Sam James  gentoo.org>
Closes: https://github.com/gentoo/devmanual/pull/261
Signed-off-by: Sam James  gentoo.org>

 ebuild-writing/eapi/text.xml | 9 +
 1 file changed, 9 insertions(+)

diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
index 257232c..fbf88a5 100644
--- a/ebuild-writing/eapi/text.xml
+++ b/ebuild-writing/eapi/text.xml
@@ -83,6 +83,15 @@ governing their use of newer EAPIs, as does the
 https://dev.gentoo.org/~mgorny/python-guide/package-maintenance.html#porting-packages-to-a-new-eapi;>Python
 project.
 
 
+
+It is also convention that blockers within ebuilds are retained for at least
+2 years after the last ebuild matching the block is removed from the tree to
+avoid file collisions for users upgrading older systems. pkgcheck has
+a warning for this called OutdatedBlocker (or even
+NonexistentBlocker for when the match is from pre-git times if using
+a non-grafted repository).
+
+
 
 
 



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

2022-02-21 Thread Sam James
commit: 23fce11f0b9f85285e880516c9f5646dfd7594c7
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 06:39:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 06:39:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23fce11f

media-libs/chromaprint: make ffmpeg support optional

Unconditional dependence on ffmpeg leads to awkward circular
dependencies between ffmpeg and chromaprint.

Let's use fftw unless tools are requested (for which ffmpeg is
actually required) to break the cycle in the common case.

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

 media-libs/chromaprint/chromaprint-1.5.1-r1.ebuild | 52 ++
 1 file changed, 52 insertions(+)

diff --git a/media-libs/chromaprint/chromaprint-1.5.1-r1.ebuild 
b/media-libs/chromaprint/chromaprint-1.5.1-r1.ebuild
new file mode 100644
index ..41f811d616ad
--- /dev/null
+++ b/media-libs/chromaprint/chromaprint-1.5.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GTEST_VERSION="1.10.0"
+GTEST_DIR_VERSION="1.10.x"
+inherit cmake-multilib
+
+DESCRIPTION="Library implementing a custom algorithm for extracting audio 
fingerprints"
+HOMEPAGE="https://acoustid.org/chromaprint;
+SRC_URI="https://github.com/acoustid/${PN}/releases/download/v${PV}/${P}.tar.gz
+   test? ( https://github.com/google/googletest/archive/v$(ver_cut 1-2 
${GTEST_VERSION}).x.tar.gz -> gtest-${GTEST_VERSION}.tar.gz )
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test tools"
+RESTRICT="!test? ( test )"
+
+# Default to fftw to avoid awkward circular dependency w/ ffmpeg
+# See bug #833821 for an example
+RDEPEND="tools? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
+   !tools? ( sci-libs/fftw:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+DOCS=( NEWS.txt README.md )
+
+multilib_src_configure() {
+   export 
GTEST_ROOT="${WORKDIR}/googletest-${GTEST_DIR_VERSION}/googletest/"
+
+   local mycmakeargs=(
+   -DBUILD_TESTS=$(usex test)
+
+   -DFFT_LIB=$(usex tools 'avfft' 'fftw3')
+
+   $(usev tools '-DAUDIO_PROCESSOR_LIB="swresample"')
+
+   # Automagicallyish looks for ffmpeg, but there's no point
+   # even doing the check unless we're building with tools
+   # (=> without fftw3, and with ffmpeg).
+   -DCMAKE_DISABLE_FIND_PACKAGE_FFmpeg=$(usex !tools)
+   )
+
+   cmake_src_configure
+}
+
+multilib_src_test() {
+   cd tests && (./all_tests || die "Tests failed")
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/polkit/, sys-auth/polkit/files/

2022-02-21 Thread Sam James
commit: ef7e6d556aac8790982a70acbd5d40130faa2346
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 06:11:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 06:12:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7e6d55

sys-auth/polkit: patch CVE-2021-4115

- Add as patch to 0.120-r3 (new) to be immediately stabilised
- Additionally bump to 0.120_p20220221 (only difference from
  last snapshot is a test timeout fix + this CVE-2021-4115 patch)
  but we'll hold off on stabling that given we only added the previous
  snapshot a few days ago.

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

 sys-auth/polkit/Manifest   |   1 +
 .../polkit/files/polkit-0.120-CVE-2021-4115.patch  |  78 +
 sys-auth/polkit/polkit-0.120-r3.ebuild | 123 
 sys-auth/polkit/polkit-0.120_p20220221.ebuild  | 126 +
 4 files changed, 328 insertions(+)

diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 8ff4f745515e..754b065bc059 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,3 +1,4 @@
 DIST polkit-0.117.tar.gz 1554536 BLAKE2B 
1cf7e0ff9db19a29be626f4bea96c9e2ef8b1eab4b8287a5f1f4d2a818b86d58c1c4c4a41849d95e31559dba1b18853a31e934ebbadd8e07f94dfd58b45240e0
 SHA512 
c10ea984f2386fe436e58a2866e5323afc80d24f744f0ee61d966941259aa491bd96b07d911434aa731b300c3cca25b647804b396501175ab5b3c53384e94c70
 DIST polkit-0.120.tar.gz 1626659 BLAKE2B 
745727445b4946d44b8ea470d21ac131ca7706e83f5dbaf85cf3541ac60a1bbe23b3bf3172a62d9256ebb3dae02d2b2d476e3e0f7fe79a80c47864a120e62ed9
 SHA512 
db072769439d5e17d0eed681e7b94251b77828c1474b40fe40b94293903a64333e7fa17515a3270648691f04a1374d8b404405ead6abf292a8eb8483164adc46
 DIST polkit-0.120_p20220127.tar.bz2 733965 BLAKE2B 
839a66799df870c36ea3788f68aea355ab99cf8aa0227ee633ee1155822663ce4671de4e9b041274345c1f62fbdf0405754ed1f3c7cf2a8855974854dc126e55
 SHA512 
67f2c1c7cd69767d578ccba2b94398eb6fcb348a77a4092c3517895190f095caee95ed491c8cff2827e287f4541cf83fefbefca1a0099d7e52bee6f825bbbd4f
+DIST polkit-0.120_p20220221.tar.bz2 734510 BLAKE2B 
412f943d6d7b8ec493280073ed75c73f6acc89958d1507b416067ce742cc91e648956015a8d40a38c41ef061c79fc62004aa99b9902cdee0b8302852fa2df42c
 SHA512 
15b09ba274f9b09ff5bf11d6238da43b0ee1fd76d53aa489b062f168a79f5de74cbd3953b45fa3bfad458e09e4c04032d08fe369bec6ffa35114da610741eb9f

diff --git a/sys-auth/polkit/files/polkit-0.120-CVE-2021-4115.patch 
b/sys-auth/polkit/files/polkit-0.120-CVE-2021-4115.patch
new file mode 100644
index ..a82ce25cae03
--- /dev/null
+++ b/sys-auth/polkit/files/polkit-0.120-CVE-2021-4115.patch
@@ -0,0 +1,78 @@
+https://gitlab.freedesktop.org/polkit/polkit/-/commit/41cb093f554da8772362654a128a84dd8a5542a7
+https://gitlab.freedesktop.org/polkit/polkit/-/issues/141
+https://bugs.gentoo.org/833574
+
+From: Jan Rybar 
+Date: Mon, 21 Feb 2022 08:29:05 +
+Subject: [PATCH] CVE-2021-4115 (GHSL-2021-077) fix
+
+--- a/src/polkit/polkitsystembusname.c
 b/src/polkit/polkitsystembusname.c
+@@ -62,6 +62,10 @@ enum
+   PROP_NAME,
+ };
+ 
++
++guint8 dbus_call_respond_fails;  // has to be global because of callback
++
++
+ static void subject_iface_init (PolkitSubjectIface *subject_iface);
+ 
+ G_DEFINE_TYPE_WITH_CODE (PolkitSystemBusName, polkit_system_bus_name, 
G_TYPE_OBJECT,
+@@ -364,6 +368,7 @@ on_retrieved_unix_uid_pid (GObject  *src,
+   if (!v)
+ {
+   data->caught_error = TRUE;
++  dbus_call_respond_fails += 1;
+ }
+   else
+ {
+@@ -405,6 +410,8 @@ polkit_system_bus_name_get_creds_sync (PolkitSystemBusName 
  *system_bus
+   tmp_context = g_main_context_new ();
+   g_main_context_push_thread_default (tmp_context);
+ 
++  dbus_call_respond_fails = 0;
++
+   /* Do two async calls as it's basically as fast as one sync call.
+*/
+   g_dbus_connection_call (connection,
+@@ -432,11 +439,34 @@ polkit_system_bus_name_get_creds_sync 
(PolkitSystemBusName   *system_bus
+ on_retrieved_unix_uid_pid,
+ );
+ 
+-  while (!((data.retrieved_uid && data.retrieved_pid) || data.caught_error))
+-g_main_context_iteration (tmp_context, TRUE);
++  while (TRUE)
++  {
++/* If one dbus call returns error, we must wait until the other call
++ * calls _call_finish(), otherwise fd leak is possible.
++ * Resolves: GHSL-2021-077
++*/
+ 
+-  if (data.caught_error)
+-goto out;
++if ( (dbus_call_respond_fails > 1) )
++{
++  // we got two faults, we can leave
++  goto out;
++}
++
++if ((data.caught_error && (data.retrieved_pid || data.retrieved_uid)))
++{
++  // we got one fault and the other call finally finished, we can leave
++  goto out;
++}
++
++if ( !(data.retrieved_uid && data.retrieved_pid) )
++{
++  g_main_context_iteration (tmp_context, TRUE);
++}
++else
++{
++  

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

2022-02-21 Thread Yixun Lan
commit: e62544d25681a2a1c76cc0ff962f2851ba3d0cc2
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 22 01:04:43 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 22 05:39:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62544d2

dev-python/symengine: keyword ~riscv, #833815

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

 dev-python/symengine/symengine-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/symengine/symengine-0.9.1.ebuild 
b/dev-python/symengine/symengine-0.9.1.ebuild
index 758a3f500e30..8de23b56c62e 100644
--- a/dev-python/symengine/symengine-0.9.1.ebuild
+++ b/dev-python/symengine/symengine-0.9.1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 
 BDEPEND="dev-util/cmake
dev-python/cython[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sci-libs/symengine/

2022-02-21 Thread Yixun Lan
commit: ac92d131f8fe8bd32b235fea59f54290b9d7a2ac
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 22 01:03:31 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 22 05:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac92d131

sci-libs/symengine: keyword ~riscv, #833815

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

 sci-libs/symengine/symengine-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild 
b/sci-libs/symengine/symengine-0.9.0.ebuild
index fa93ed6e4d1f..21188d676462 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/symengine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 # BUILD_FOR_DISTRIBUTION enables threads by default so do it here
 IUSE="arb benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test 
tcmalloc +threads"
 RESTRICT="!test? ( test )"



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

2022-02-21 Thread Yixun Lan
commit: 55b57e40bb3745496c0a2de065d7ad68e07ba951
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 22 01:01:06 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 22 05:39:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b57e40

dev-libs/cereal: keyword ~riscv, #833815

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

 dev-libs/cereal/cereal-1.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/cereal/cereal-1.3.1-r1.ebuild 
b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
index 0f1e943d7bcc..d71573e081b5 100644
--- a/dev-libs/cereal/cereal-1.3.1-r1.ebuild
+++ b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 RESTRICT="!test? ( test )"
 



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

2022-02-21 Thread Sam James
commit: 49be36013912cb30e79b79f7fa7b192a0183c582
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 02:49:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 03:36:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49be3601

dev-util/cargo-c: add 0.9.7

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

 dev-util/cargo-c/Manifest |  30 ++
 dev-util/cargo-c/cargo-c-0.9.7.ebuild | 188 ++
 2 files changed, 218 insertions(+)

diff --git a/dev-util/cargo-c/Manifest b/dev-util/cargo-c/Manifest
index ae8a8e29a1fe..0e08e3cd543b 100644
--- a/dev-util/cargo-c/Manifest
+++ b/dev-util/cargo-c/Manifest
@@ -7,10 +7,12 @@ DIST ansi_term-0.12.1.crate 24838 BLAKE2B 
f636772c34e2d68cda7b8d3b2b86abda074585
 DIST anyhow-1.0.27.crate 26395 BLAKE2B 
f510c352ba6cb6be2e20d40e176bd48f7bf39dff4a0be288f54da60346f2fcb9b6376a4f139fbe13a9178ec8feb58a28badc209814d6ed9d1decd7b327ac8a4b
 SHA512 
ed880d594fa5d17f14abecee56f7b2742b9ceb744bf8548c99c0ac6f3880f761df657959ecf512d7d194f75055db668eaf1a8306876d596b471b12ccffb8c959
 DIST anyhow-1.0.44.crate 35067 BLAKE2B 
19dd53abcbf5ade698f3bf5b1522fa8c1c55b777d91fd05f6c43a7a32691d00da756c7af9d991ebfc71b02fa4e8e2e257c78ce3e29f8c3034066ca43eea4c07d
 SHA512 
d8ec44c64cf4b06121421c99157573b59e2078ab1aba7d949aad9ddd5ec4a1b585a07d0ca06807ed2349c6becaed1cba69f10f9affa2da25f749b615a70aa9ff
 DIST anyhow-1.0.51.crate 44100 BLAKE2B 
20683fd139775cd399bd0fd63599f64a646f8b74c65415af965d3c24690fd81fe48205bedb92075b487b71d5d315be5fdf38ff7c5ecf3e1a1d693a3505ee
 SHA512 
e8e3feebc3c96b7301787502f000b9940a20343a466ac48186c9aa170fb52f0db17768630535a8b475077733ad6ff9f843a3bd5ae4415c86bf83cae0ed0bad7c
+DIST anyhow-1.0.55.crate 44429 BLAKE2B 
9d6838c859bb5a37a0558b7a4d8af245fc2db1e8418252575939ef74851e547549459a97ffb9e512f0d5c6d5166a82cc03c18cc3e8a1bffa79f2d3c5f0c94a14
 SHA512 
d789d56eadb1a6a6d8bedd20d318747a9ad11598d84239ee9214fcfc319f729ae61e09f6d2d7e54ec5553ee65b6a4428b793adc17fb158dc07a69f15c8fd818b
 DIST arrayvec-0.5.2.crate 27838 BLAKE2B 
51e2eacae0ef148f3f52d21ae00794e540e7ce4c013fb496dd1347ad91ffbbca199381fffbb064225f829216f6c5e915edfa64833f91fabdd13c3f011d86491f
 SHA512 
1896b5f64b4dbdcff8ad234bda4ea8129bcacf87839347304717e94ee9f369cf5f4371755e453ff7d72817edb8f7fdbc726d77cc4f28ed05148dc89c7714b004
 DIST atty-0.2.14.crate 5470 BLAKE2B 
2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab
 SHA512 
d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
 DIST autocfg-1.0.0.crate 12870 BLAKE2B 
79e495d53298574afd3b292da7c9c363dcb3ea434fd44258efaf3628e95ebfc731f03083f8a1060272a2a3478a6452cdc41539e2dac08465cc6e6283844bf260
 SHA512 
451fc63148792ba1952b884170e3481359b01bacca5ec0456f43ca58f8e092b8f81c9764f8b00d4104059ff608089be5858220ee868127c064cc890c767ec3a3
 DIST autocfg-1.0.1.crate 12908 BLAKE2B 
40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a
 SHA512 
630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+DIST autocfg-1.1.0.crate 13272 BLAKE2B 
7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203
 SHA512 
df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f
 DIST bitflags-1.2.1.crate 16745 BLAKE2B 
0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b
 SHA512 
ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
 DIST bitflags-1.3.2.crate 23021 BLAKE2B 
eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda
 SHA512 
3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
 DIST bitmaps-2.0.0.crate 17026 BLAKE2B 
61559f3ea68cf54ea51426a3655a095eda21f0f4078aeb1254655e97ec92b53ecd5fe29835ce073949d5277f567f11de432643258428b5223b8624e23dc318c1
 SHA512 
6e89076a6ebe8256b99054a62e5112e8aba12f4393905bb4f6577f8cb19179a566df4fac01533aa83e3ae25950b9818828a9526ad370936355b8e5f761b6c81c
@@ -22,9 +24,11 @@ DIST bytesize-1.1.0.crate 9370 BLAKE2B 
38fcddbdb862e82a076b7ae1339b48c776f704d25
 DIST cargo-0.43.1.crate 1119258 BLAKE2B 
b6ab277b4c06064fc7ba84f829363a5bcc2e484136b2f50f75354234f6114bd424d2f88952dc45c7f671751cd1ebff3ba3076c5cc648de0550d5ef1e122dc3ab
 SHA512 
950e6f30643b38c90bddcb2be34f02c7e57da1e3f8afeb2f0f1037d93a877928064748339b40ca520ed045d36ef5c25a8bb3ad294316fe657368cfb50163f399
 DIST cargo-0.57.0.crate 1461559 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/

2022-02-21 Thread Sam James
commit: 274d3abca431987ae9459a55b2e816732d7988b4
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 03:37:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 03:37:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=274d3abc

kde-plasma/plasma-desktop: Stabilize 5.23.5-r1 amd64, #833774

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

 kde-plasma/plasma-desktop/plasma-desktop-5.23.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.23.5-r1.ebuild 
b/kde-plasma/plasma-desktop/plasma-desktop-5.23.5-r1.ebuild
index 742364236aea..6a532fb1e3f2 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-5.23.5-r1.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.23.5-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz;
 
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="emoji ibus +kaccounts +policykit scim +semantic-desktop telemetry"
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/knewstuff/

2022-02-21 Thread Sam James
commit: 1b7e396076c9b4d9b8cba68b1af43b14c14fd897
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 03:36:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 03:36:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7e3960

kde-frameworks/knewstuff: Stabilize 5.90.0-r1 amd64, #833774

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

 kde-frameworks/knewstuff/knewstuff-5.90.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/knewstuff/knewstuff-5.90.0-r1.ebuild 
b/kde-frameworks/knewstuff/knewstuff-5.90.0-r1.ebuild
index 2962ea4c6b19..36c6f777ccd9 100644
--- a/kde-frameworks/knewstuff/knewstuff-5.90.0-r1.ebuild
+++ b/kde-frameworks/knewstuff/knewstuff-5.90.0-r1.ebuild
@@ -11,7 +11,7 @@ inherit ecm kde.org
 DESCRIPTION="Framework for downloading and sharing additional application data"
 
 LICENSE="LGPL-2+"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="opds"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/netdata/

2022-02-21 Thread Craig Andrews
commit: f9e5eed702dbd26546cbc4971cdb91d17ce26a90
Author: Craig Andrews  gentoo  org>
AuthorDate: Tue Feb 22 01:49:52 2022 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Feb 22 02:01:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e5eed7

net-analyzer/netdata: cloud requires protobuf

Closes: https://bugs.gentoo.org/833857
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews  gentoo.org>

 .../netdata/{netdata-.ebuild => netdata-1.33.1-r1.ebuild}   | 6 --
 net-analyzer/netdata/netdata-.ebuild| 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netdata/netdata-.ebuild 
b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild
similarity index 94%
copy from net-analyzer/netdata/netdata-.ebuild
copy to net-analyzer/netdata/netdata-1.33.1-r1.ebuild
index 5759c79ca15e..6dfe8112013e 100644
--- a/net-analyzer/netdata/netdata-.ebuild
+++ b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild
@@ -10,8 +10,8 @@ if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/netdata/${PN}.git;
inherit git-r3
 else
-   
SRC_URI="https://github.com/netdata/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz
 -> ${P}.tar.gz"
-   S="${WORKDIR}/${PN}-${PV}"
+   
SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64 ~ppc64 ~x86"
 fi
 
@@ -49,6 +49,7 @@ RDEPEND="
dev-libs/openssl:=
)
dev-libs/libuv
+   cloud? ( dev-libs/protobuf:= )
compression? ( sys-libs/zlib )
ipmi? ( sys-libs/freeipmi )
jsonc? ( dev-libs/json-c:= )
@@ -101,6 +102,7 @@ src_configure() {
econf \
--localstatedir="${EPREFIX}"/var \
--with-user=netdata \
+   --without-bundled-protobuf \
$(use_enable cloud) \
$(use_enable jsonc) \
$(use_enable cups plugin-cups) \

diff --git a/net-analyzer/netdata/netdata-.ebuild 
b/net-analyzer/netdata/netdata-.ebuild
index 5759c79ca15e..427b0ff777e1 100644
--- a/net-analyzer/netdata/netdata-.ebuild
+++ b/net-analyzer/netdata/netdata-.ebuild
@@ -49,6 +49,7 @@ RDEPEND="
dev-libs/openssl:=
)
dev-libs/libuv
+   cloud? ( dev-libs/protobuf:= )
compression? ( sys-libs/zlib )
ipmi? ( sys-libs/freeipmi )
jsonc? ( dev-libs/json-c:= )
@@ -101,6 +102,7 @@ src_configure() {
econf \
--localstatedir="${EPREFIX}"/var \
--with-user=netdata \
+   --without-bundled-protobuf \
$(use_enable cloud) \
$(use_enable jsonc) \
$(use_enable cups plugin-cups) \



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

2022-02-21 Thread Sam James
commit: fcd98b3c64bf81b38c67391c945e6181c65c7648
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 01:43:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 01:43:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd98b3c

net-misc/unison: drop obsolete comment

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

 net-misc/unison/unison-2.51.5.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-misc/unison/unison-2.51.5.ebuild 
b/net-misc/unison/unison-2.51.5.ebuild
index 9e1573deb3a6..f68427249b70 100644
--- a/net-misc/unison/unison-2.51.5.ebuild
+++ b/net-misc/unison/unison-2.51.5.ebuild
@@ -14,7 +14,6 @@ SLOT="$(ver_cut 1-2)"
 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~sparc-solaris"
 IUSE="debug doc gtk +ocamlopt threads"
 
-# ocaml version so we are sure it has ocamlopt use flag
 BDEPEND="dev-lang/ocaml:=[ocamlopt?]
doc? ( app-text/dvipsk
app-text/ghostscript-gpl



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

2022-02-21 Thread Sam James
commit: 916d5d52de676833b5006e68a5d00b3dccb1f8c0
Author: Dennis Eisele  dennis-eisele  de>
AuthorDate: Tue Feb 22 00:09:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 01:40:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916d5d52

net-misc/unison: bump version to 2.51.5 and bump EAPI to 8

Closes: https://bugs.gentoo.org/818247
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Dennis Eisele  dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/24294
Signed-off-by: Sam James  gentoo.org>

 net-misc/unison/Manifest |   1 +
 net-misc/unison/unison-2.51.5.ebuild | 105 +++
 2 files changed, 106 insertions(+)

diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest
index 0e186b02e774..e20b41c58602 100644
--- a/net-misc/unison/Manifest
+++ b/net-misc/unison/Manifest
@@ -1,2 +1,3 @@
 DIST unison-2.51.3_p20201127.tar.gz 1374770 BLAKE2B 
83c133f2cb99e10fac96efde333291a671edab5eb45dd6dcf56cb25845385425353a5f413ab752361124ec7bbac21daf3f813d5539b21229d943cf7f0bfae2fd
 SHA512 
4b978a5e3df620317b7a9214054d64f319d09c5617b07ddf3cf76b18c641ce791f7b6a4ef70c64b146e3e4f25a5904584fb576703c2de4b17cfcffa8905a
 DIST unison-2.51.4_rc2.tar.gz 1377263 BLAKE2B 
d403e019f0757f66be5157cff97596c9dae1306a5ba33af27fe55a69fb1ae50d6ef6db54403d14a0afb27cb7a0ebe198021d6cdf58430c530575fc934c837703
 SHA512 
c61f827490036fbe3074ce5d970e6b4e981a4fde848c307c817f51d73f450d4b5d437503f5392bd2b654121547919b9724112383f71736a9e0e7b308bc3e99b6
+DIST unison-2.51.5.tar.gz 1385407 BLAKE2B 
cdad4683518ec9c7c43d9107d8533fa393a68f602782d96ddba345df07b1ef70cc2ebf7dfd205fc7535349553a5e0d3c2931099bde99e5c736bc815ccdd294f8
 SHA512 
4a31df4d043d2b7552438f9fc2056098b9a35cd1cae1a037083cb56d91ec6fec0c3164de73914ff46cb8821f78c1594f48bf0334a94d9d706cd82ce3a6b70440

diff --git a/net-misc/unison/unison-2.51.5.ebuild 
b/net-misc/unison/unison-2.51.5.ebuild
new file mode 100644
index ..9e1573deb3a6
--- /dev/null
+++ b/net-misc/unison/unison-2.51.5.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg-utils
+
+DESCRIPTION="Two-way cross-platform file synchronizer"
+HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/;
+SRC_URI="https://github.com/bcpierce00/unison/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~sparc-solaris"
+IUSE="debug doc gtk +ocamlopt threads"
+
+# ocaml version so we are sure it has ocamlopt use flag
+BDEPEND="dev-lang/ocaml:=[ocamlopt?]
+   doc? ( app-text/dvipsk
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latex )"
+DEPEND="gtk? ( dev-ml/lablgtk:2=[ocamlopt?] )"
+RDEPEND="gtk? ( dev-ml/lablgtk:2=[ocamlopt?]
+   || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) )
+   >=app-eselect/eselect-unison-0.4"
+
+DOCS=( CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt )
+
+src_prepare() {
+   default
+   # https://github.com/bcpierce00/unison/issues/416
+   sed -e "/ifdef\ HEVEA/,/endif/d" -i doc/Makefile || die
+   # https://github.com/bcpierce00/unison/pull/415
+   sed -e "/myName/d" -i doc/docs.ml || die
+}
+
+src_compile() {
+   local myconf
+
+   if use threads; then
+   myconf+=( THREADS=true )
+   fi
+
+   if use debug; then
+   myconf+=( DEBUGGING=true )
+   fi
+
+   if use gtk; then
+   myconf+=( UISTYLE=gtk2 )
+   else
+   myconf+=( UISTYLE=text )
+   fi
+
+   use ocamlopt || myconf+=( NATIVE=false )
+
+   if use doc; then
+   VARTEXFONTS="${T}/fonts" emake "${myconf[@]}" CFLAGS="" 
HEVEA=false docs
+   fi
+
+   # Discard cflags as it will try to pass them to ocamlc...
+   emake "${myconf[@]}" CFLAGS="" src
+}
+
+src_test() {
+   emake test CFLAGS=""
+}
+
+src_install() {
+   # install manually, since it's just too much
+   # work to force the Makefile to do the right thing.
+   local binname
+   cd src || die
+   for binname in unison unison-fsmonitor; do
+   newbin ${binname} ${binname}-${SLOT}
+   done
+
+   if use gtk; then
+   newicon -s scalable ../icons/U.svg ${PN}-${SLOT}.svg
+   make_desktop_entry ${PN}-${SLOT} "${PN} (${SLOT})" 
"${PN}-${SLOT}"
+   fi
+
+   if use doc; then
+   DOCS+=( ../doc/unison-manual.pdf )
+   HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
+   fi
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   elog "Unison now uses SLOTs, so you can specify 
servercmd=/usr/bin/unison-${SLOT}"
+   elog "in your profile files to access exactly this version over ssh."
+   elog "Or you can use 'eselect unison' to set the version."
+   eselect unison update || die
+
+  

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/files/, dev-lang/ocaml/

2022-02-21 Thread Sam James
commit: 9e8369277b272b15f3dd1159fa18b71ec4431a77
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:58:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:58:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e836927

dev-lang/ocaml: drop 4.05.0-r7, 4.05.0-r8, 4.10.2-r2

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

 .../ocaml/files/ocaml-4.05.0-CVE-2018-9838.patch   |  70 -
 dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch  |  59 
 dev-lang/ocaml/files/ocaml-4.10.2-cflags.patch |  42 --
 dev-lang/ocaml/ocaml-4.05.0-r7.ebuild  | 155 
 dev-lang/ocaml/ocaml-4.05.0-r8.ebuild  | 156 -
 dev-lang/ocaml/ocaml-4.10.2-r2.ebuild  | 105 --
 6 files changed, 587 deletions(-)

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-CVE-2018-9838.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-CVE-2018-9838.patch
deleted file mode 100644
index cfe3ff636c25..
--- a/dev-lang/ocaml/files/ocaml-4.05.0-CVE-2018-9838.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-https://bugs.gentoo.org/755257
-
-Needed for both fixing the CVE + compatibility with Debian for e.g.
-Unison.
-
-From c6ca3afc78b75d7748e4e09e56c6b020418be06e Mon Sep 17 00:00:00 2001
-From: Stephane Glondu 
-Date: Fri, 25 Jan 2019 14:34:23 +0100
-Subject: [PATCH] Fix integer overflows when unmarshaling a bigarray
-
-Malicious or corrupted marshaled data can result in a bigarray
-with impossibly large dimensions that cause overflow when computing
-the in-memory size of the bigarray.  Disaster ensues when the data
-is read in a too small memory area.  This commit checks for overflows
-when computing the in-memory size of the bigarray.
-
-This patch is based on one by Xavier Leroy and has been modified to
-use caml_ba_multov instead of caml_umul_overflow which is unavailable
-in OCaml 4.05.0.
-
-The original commit hash is 85162eee9d4072fa9c2f498f03cd94e357033eec.
-
-Origin: https://github.com/ocaml/ocaml/pull/1718
-Bug: https://github.com/ocaml/ocaml/issues/7765
-Bug-Debian: https://bugs.debian.org/895472
-Bug-CVE: CVE-2018-9838
 a/otherlibs/bigarray/bigarray_stubs.c
-+++ b/otherlibs/bigarray/bigarray_stubs.c
-@@ -966,22 +966,34 @@ static void caml_ba_deserialize_longarray(void * dest, 
intnat num_elts)
- uintnat caml_ba_deserialize(void * dst)
- {
-   struct caml_ba_array * b = dst;
--  int i, elt_size;
--  uintnat num_elts;
-+  int i;
-+  uintnat num_elts, size;
-+  int overflow;
- 
-   /* Read back header information */
-   b->num_dims = caml_deserialize_uint_4();
-+  if (b->num_dims < 0 || b->num_dims > CAML_BA_MAX_NUM_DIMS)
-+caml_deserialize_error("input_value: wrong number of bigarray 
dimensions");
-   b->flags = caml_deserialize_uint_4() | CAML_BA_MANAGED;
-   b->proxy = NULL;
-   for (i = 0; i < b->num_dims; i++) b->dim[i] = caml_deserialize_uint_4();
--  /* Compute total number of elements */
--  num_elts = caml_ba_num_elts(b);
--  /* Determine element size in bytes */
-+  /* Compute total number of elements.  Watch out for overflows (MPR#7765). */
-+  num_elts = 1;
-+  for (i = 0; i < b->num_dims; i++) {
-+overflow = 0;
-+num_elts = caml_ba_multov(num_elts, b->dim[i], );
-+if (overflow)
-+  caml_deserialize_error("input_value: size overflow for bigarray");
-+  }
-+  /* Determine array size in bytes.  Watch out for overflows (MPR#7765). */
-   if ((b->flags & CAML_BA_KIND_MASK) > CAML_BA_CHAR)
- caml_deserialize_error("input_value: bad bigarray kind");
--  elt_size = caml_ba_element_size[b->flags & CAML_BA_KIND_MASK];
-+  overflow = 0;
-+  size = caml_ba_multov(num_elts, caml_ba_element_size[b->flags & 
CAML_BA_KIND_MASK], );
-+  if (overflow)
-+caml_deserialize_error("input_value: size overflow for bigarray");
-   /* Allocate room for data */
--  b->data = malloc(elt_size * num_elts);
-+  b->data = malloc(size);
-   if (b->data == NULL)
- caml_deserialize_error("input_value: out of memory for bigarray");
-   /* Read data */

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch
deleted file mode 100644
index 8b2e99883167..
--- a/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch
+++ /dev/null
@@ -1,59 +0,0 @@
 a/byterun/caml/intext.h
-+++ b/byterun/caml/intext.h
-@@ -196,7 +196,7 @@
- 
- CAMLextern struct code_fragment * caml_extern_find_code(char *addr);
- 
--struct ext_table caml_code_fragments_table;
-+extern struct ext_table caml_code_fragments_table;
- 
- #endif /* CAML_INTERNALS */
- 
 a/byterun/caml/major_gc.h
-+++ b/byterun/caml/major_gc.h
-@@ -64,9 +64,9 @@
- extern char *caml_gc_sweep_hp;
- 
- extern int caml_major_window;
--double caml_major_ring[Max_major_window];
--int caml_major_ring_index;
--double caml_major_work_credit;
-+extern double caml_major_ring[Max_major_window];
-+extern int caml_major_ring_index;
-+extern double caml_major_work_credit;
- extern double caml_gc_clock;

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/, dev-lang/ocaml/files/

2022-02-21 Thread Sam James
commit: baf24b7ec12927d0ac7e2b853cccec4e28fe
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:55:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:55:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baf2

dev-lang/ocaml: use tarball for 4.05/4.09/4.10 patches

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

 dev-lang/ocaml/Manifest|   3 +
 dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch | 186 
 dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch | 178 ---
 dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch | 239 -
 dev-lang/ocaml/ocaml-4.05.0-r9.ebuild  |   7 +-
 dev-lang/ocaml/ocaml-4.09.0-r3.ebuild  |  12 +-
 dev-lang/ocaml/ocaml-4.10.2-r3.ebuild  |  11 +-
 7 files changed, 18 insertions(+), 618 deletions(-)

diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest
index eda27fba03db..9466e909f6b9 100644
--- a/dev-lang/ocaml/Manifest
+++ b/dev-lang/ocaml/Manifest
@@ -1,5 +1,8 @@
+DIST ocaml-4.05.0-patches-1.tar.bz2 4009 BLAKE2B 
052c3a6859a942f2993d0b06ab57ca8f7469650c096f20bff7ff7cf5c2842e8d5019d595a4eca0dc1a4e5feda2db8a831a6917b3b6d9f39166c8ae7af1e894e7
 SHA512 
b349e6613201d9400f736c5b2d0ede01e7e113524cbc698a71fb97cb1eb67f90af8c2fbd3fd8abeccf3193e317cdd8258aee328c3e078634385c21558619
 DIST ocaml-4.05.0.tar.gz 4431750 BLAKE2B 
c2ab003a13e0a581ebd0e1c96eeb8a9baea9bfe6bee08823b0e4541819201ec109f1846e13fc1aefa51a001eefbb8f73320ba854d41975fc68cef41bc75b1ecc
 SHA512 
9a060ae4b741e1687277403e5bdb8f6eda2e2ebf6c45f7c0149b66ea1213cb26d13febfbb3f11c12543e244cfdd053b786b09c4145e2348e5d89a7206f7de225
+DIST ocaml-4.09.0-patches-1.tar.bz2 3300 BLAKE2B 
ef710ea5ed5a243ae684f68b7f203ba454192c9f8f19c32697d336bf18cf2a0e8ea08df232b0fd8e2475a000758a5ba95b3794096ec7d0d1b292a715ab3de86f
 SHA512 
94096b99fd58b32232e418c5736203f08ab3c1558154ed00d4290730bd4db849bc60dfae6160f344acce63bbb8eaceecee25cf836bb73fa419d7bbf4eac433f1
 DIST ocaml-4.09.0.tar.gz 4838748 BLAKE2B 
80f29d535c64bf2371b480217723ed20b2b21cfd93ce31366a7b91e7ddffdf68db4e88d085288b7e21efee567a13f42ecff24c3a0115507b006acf844239cefd
 SHA512 
dc0271e591bf929b751705835790949a9d741e12d085c8b207c3689b5838a02ea8de80da8b2605d2e6744f2f541b0d1694ffafff9509e99ce01f3a391f6ef2ae
+DIST ocaml-4.10.2-patches-1.tar.bz2 3180 BLAKE2B 
474471e10c4525e4da730fcf8602fddf5209f7d8eb15bd76894ed2bc22213a6e61aa7f52b1b67dff6c8bf04eac7d759ada28f1783c83a075cc65e7e5caadc715
 SHA512 
1456f90c0c833461eb9d1c140ba1a7358aa9351f6303e83b0e19bb8688dcb17bdad211f4cec1281a47180bbdddcfdbf44367b47a6b301d2ea41fa9d926bd03a5
 DIST ocaml-4.10.2.tar.gz 4933135 BLAKE2B 
ec5e92adb23c28a254247182c79ab555fd82603e02f24799049b8057abf869d18234302408c8ae89b9997a2b210ed6965e45c2c03e4f0cab34262ad3f6ebb528
 SHA512 
1dd827da07f01e815fd74dd7ee84db0900f24782f8f7fd426e2d71b9fb03c7b8045f22e018120a0446c362315751365d1bd8c1724edef2b182394e76eb0a07b2
 DIST ocaml-4.11.2.tar.gz 5075323 BLAKE2B 
bdc503d9a8d0e39dd11060febcd0287657b460e50ed81e55578a3e778af990ca5d4ef9011753eee4e1a144da33eb76c95b1672dc99b76e65a2e107eee472fe06
 SHA512 
03d8a9f6e130142c121ff2eb3d54f584f1e7c8475f066a5803bb0edd2fa172ca06a56a3ec548b225f5c8b12112d7a68511b1e16f3ade075b5f02610d4247bbb3
 DIST ocaml-4.12.1.tar.gz 5181696 BLAKE2B 
9d21438e09b1a9680eabb65f5c78d9fe84459592ef7bb797a1933e5383f7b6d5cefffa8cdc184abc102417f5dbc0fca8ef624c9b560f89eaff6537544b5b395f
 SHA512 
e942e5cf5530804690ec45c40936ad2acbb60e11279fc676e0f04181fe1855f84ee5c3cb9c337fc5d01f6ee0e7b2251a6c04f7de56d99c20bb62026dff6c5671

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
deleted file mode 100644
index d95d2bb0fa50..
--- a/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f
-https://bugs.gentoo.org/804498
-
-From 50c2d1275e537906ea144bd557fde31e0bf16e5f Mon Sep 17 00:00:00 2001
-From: Xavier Leroy 
-Date: Fri, 5 Mar 2021 19:14:07 +0100
-Subject: [PATCH] Dynamically allocate the alternate signal stack
-
-In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant.
-It is no longer possible to statically allocate the alternate signal
-stack for the main thread, as we've been doing for the last 25 years.
-
-This commit implements dynamic allocation of the alternate signal stack
-even for the main thread.  It reuses the code already in place to allocate
-the alternate signal stack for other threads.
-
-The alternate signal stack is freed when the main OCaml code / an OCaml thread
-stops.
-
-(partial back-port of PR#10266 and PR#10726)
 a/asmrun/fail.c
-+++ b/asmrun/fail.c
-@@ -31,6 +31,8 @@
- #include "caml/roots.h"
- #include "caml/callback.h"
- 
-+extern void caml_terminate_signals(void);
-+
- /* The globals holding predefined exceptions */
- 
- typedef value caml_generated_constant[1];
-@@ -60,7 +62,10 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/files/

2022-02-21 Thread Sam James
commit: b25f82e790bbcf0f05f434212958ae2e192df08e
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:46:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:46:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25f82e7

dev-lang/ocaml: scrub patches

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

 dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch  | 20 +-
 dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch | 15 --
 dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch | 24 +++---
 dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch | 15 --
 dev-lang/ocaml/files/ocaml-4.10.2-cflags.patch | 16 +++
 dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch | 18 
 6 files changed, 30 insertions(+), 78 deletions(-)

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch
index a0c67da534a0..8b2e99883167 100644
--- a/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch
+++ b/dev-lang/ocaml/files/ocaml-4.05.0-gcc10.patch
@@ -1,5 +1,5 @@
 a/byterun/caml/intext.h2021-01-28 22:46:20.400224678 +0100
-+++ b/byterun/caml/intext.h2021-01-28 22:46:49.312751054 +0100
+--- a/byterun/caml/intext.h
 b/byterun/caml/intext.h
 @@ -196,7 +196,7 @@
  
  CAMLextern struct code_fragment * caml_extern_find_code(char *addr);
@@ -9,8 +9,8 @@
  
  #endif /* CAML_INTERNALS */
  
 a/byterun/caml/major_gc.h  2021-01-28 22:44:12.193323457 +0100
-+++ b/byterun/caml/major_gc.h  2021-01-28 22:45:20.918198701 +0100
+--- a/byterun/caml/major_gc.h
 b/byterun/caml/major_gc.h
 @@ -64,9 +64,9 @@
  extern char *caml_gc_sweep_hp;
  
@@ -24,8 +24,8 @@
  extern double caml_gc_clock;
  
  /* [caml_major_gc_hook] is called just between the end of the mark
 a/byterun/meta.c   2021-01-28 22:47:34.148016359 +0100
-+++ b/byterun/meta.c   2021-01-28 22:47:56.048657393 +0100
+--- a/byterun/meta.c
 b/byterun/meta.c
 @@ -32,6 +32,8 @@
  #include "caml/prims.h"
  #include "caml/stacks.h"
@@ -35,8 +35,8 @@
  #ifndef NATIVE_CODE
  
  CAMLprim value caml_get_global_data(value unit)
 a/byterun/backtrace.c  2021-01-28 22:50:25.275226598 +0100
-+++ b/byterun/backtrace.c  2021-01-28 22:50:37.541027290 +0100
+--- a/byterun/backtrace.c
 b/byterun/backtrace.c
 @@ -28,7 +28,7 @@
  #include "caml/fail.h"
  
@@ -46,8 +46,8 @@
  
  CAMLexport int32_t caml_backtrace_active = 0;
  CAMLexport int32_t caml_backtrace_pos = 0;
 a/asmrun/startup.c 2021-01-28 23:02:50.526072662 +0100
-+++ b/asmrun/startup.c 2021-01-28 23:03:09.977754311 +0100
+--- a/asmrun/startup.c
 b/asmrun/startup.c
 @@ -44,7 +44,7 @@
  #endif
  

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
index 28d7f48f5b27..d95d2bb0fa50 100644
--- a/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
+++ b/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
@@ -18,15 +18,6 @@ The alternate signal stack is freed when the main OCaml code 
/ an OCaml thread
 stops.
 
 (partial back-port of PR#10266 and PR#10726)

- asmrun/fail.c|  7 -
- asmrun/signals_asm.c | 69 ++--
- asmrun/startup.c |  7 -
- byterun/sys.c|  5 
- 4 files changed, 77 insertions(+), 11 deletions(-)
-
-diff --git a/asmrun/fail.c b/asmrun/fail.c
-index d73cb88524c..2f064320185 100644
 --- a/asmrun/fail.c
 +++ b/asmrun/fail.c
 @@ -31,6 +31,8 @@
@@ -50,8 +41,6 @@ index d73cb88524c..2f064320185 100644
  
  #ifndef Stack_grows_upwards
  #define PUSHED_AFTER <
-diff --git a/asmrun/signals_asm.c b/asmrun/signals_asm.c
-index f124a076749..b4e2516ae1a 100644
 --- a/asmrun/signals_asm.c
 +++ b/asmrun/signals_asm.c
 @@ -194,7 +194,6 @@ DECLARE_SIGNAL_HANDLER(trap_handler)
@@ -140,8 +129,6 @@ index f124a076749..b4e2516ae1a 100644
 +  }
 +#endif
 +}
-diff --git a/asmrun/startup.c b/asmrun/startup.c
-index 70bbc4369dc..a1cb06a7d1e 100644
 --- a/asmrun/startup.c
 +++ b/asmrun/startup.c
 @@ -92,6 +92,7 @@ void (*caml_termination_hook)(void *) = NULL;
@@ -175,8 +162,6 @@ index 70bbc4369dc..a1cb06a7d1e 100644
  }
  
  void caml_startup(char **argv)
-diff --git a/byterun/sys.c b/byterun/sys.c
-index 3706e9002d5..aa152239ebf 100644
 --- a/byterun/sys.c
 +++ b/byterun/sys.c
 @@ -111,6 +111,8 @@ static void caml_sys_check_path(value name)

diff --git a/dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch 
b/dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch
index 8d2391407a35..d0a947da0ea6 100644
--- a/dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch
+++ b/dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch
@@ -1,5 +1,5 @@
 a/runtime/Makefile 2022-01-22 19:49:32.914213696 +0100
-+++ b/runtime/Makefile 2022-01-22 19:50:03.765640701 +0100
+--- a/runtime/Makefile
 b/runtime/Makefile
 @@ -335,7 +335,7 @@
  # (without the extension, which is added by the macro)
  define COMPILE_C_FILE
@@ -9,24 +9,24 @@
  endef
  
  

[gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tss/

2022-02-21 Thread Sam James
commit: 45cc55760105be4324047fcb5d10ed7f089eab00
Author: Christopher Byrne  gmail  com>
AuthorDate: Sat Feb 19 04:45:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:21:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45cc5576

app-crypt/tpm2-tss: Bump to 3.2.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-crypt/tpm2-tss/Manifest  |  1 +
 app-crypt/tpm2-tss/tpm2-tss-3.2.0.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest
index bcc65f26237b..502da1e0675c 100644
--- a/app-crypt/tpm2-tss/Manifest
+++ b/app-crypt/tpm2-tss/Manifest
@@ -1,3 +1,4 @@
 DIST tpm2-tss-2.4.5.tar.gz 1439394 BLAKE2B 
644d917f545e93dd81856611522329caf4ff038e4ddb04d761f03339cc7308095abc1c9b46a4d601cad67deea6f917ee5e4236c59f3d7042a7fdf2d33630dd3f
 SHA512 
2c92af07ed1cc3665c19479c00ce5608883081f311192a264a4f7d9119c75ac582596c53b910534c4b66dbb60de2ffd3d6218169748332609c2e0fc89f519259
 DIST tpm2-tss-2.4.6.tar.gz 1472883 BLAKE2B 
e007de07c759e77e377f8569c0c5d94ab57597ea3cb452fb598a47c9b404714a7816c86221d4eacad962436fc7625066d4066f433cd957c37b92d51b0455e2a0
 SHA512 
f7f7f067605ea30661ac891e22095238689856e22e45f11a6b603cb36ed1ae0724ae52d36f0ee5dd72208da8520457667676ae08107647faa5441a0c9b642f7a
 DIST tpm2-tss-3.1.0.tar.gz 1584690 BLAKE2B 
cee2807a030b8bab653045cb11dfc7a6a3f7b1e60c1ce4650ba5f0549f29f36ff307e7d53fb5ef9c950b4dae720bdaf35f7cd1e59ebc07b3f16740035e1d5738
 SHA512 
8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405
+DIST tpm2-tss-3.2.0.tar.gz 1629211 BLAKE2B 
a89aa4d89a50bdfb5a9652874d30e2138747bd022049f2be2d0b56e296329d0c41254033ec3a062dbd64fde54a62e952f54446c551e5788231827cd53fae045a
 SHA512 
cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23

diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0.ebuild 
b/app-crypt/tpm2-tss/tpm2-tss-3.2.0.ebuild
new file mode 100644
index ..f8f73394c96c
--- /dev/null
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools linux-info tmpfiles udev
+
+DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-tss;
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="doc +fapi +openssl mbedtls static-libs test"
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="^^ ( mbedtls openssl )
+   fapi? ( openssl !mbedtls )"
+
+RDEPEND="acct-group/tss
+   acct-user/tss
+   fapi? ( dev-libs/json-c:=
+   >=net-misc/curl-7.80.0 )
+   mbedtls? ( net-libs/mbedtls:= )
+   openssl? ( dev-libs/openssl:= )"
+
+DEPEND="${RDEPEND}
+   test? ( app-crypt/swtpm
+   dev-libs/uthash
+   dev-util/cmocka
+   fapi? ( >=net-misc/curl-7.80.0 ) )"
+BDEPEND="sys-apps/acl
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.1.0-Dont-run-systemd-sysusers-in-Makefile.patch"
+)
+
+pkg_setup() {
+   local CONFIG_CHECK=" \
+   ~TCG_TPM
+   "
+   linux-info_pkg_setup
+   kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --localstatedir=/var \
+   $(use_enable doc doxygen-doc) \
+   $(use_enable fapi) \
+   $(use_enable static-libs static) \
+   $(use_enable test unit) \
+   $(use_enable test integration) \
+   $(use_enable test self-generated-certificate) \
+   --disable-tcti-libtpms \
+   --disable-defaultflags \
+   --disable-weakcrypto \
+   --with-crypto="$(usex mbedtls mbed ossl)" \
+   --with-runstatedir=/run \
+   --with-udevrulesdir="$(get_udevdir)/rules.d" \
+   --with-udevrulesprefix=60- \
+   --with-sysusersdir="/usr/lib/sysusers.d" \
+   --with-tmpfilesdir="/usr/lib/tmpfiles.d"
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   tmpfiles_process tpm2-tss-fapi.conf
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/, dev-lang/ocaml/files/

2022-02-21 Thread Sam James
commit: 08d38917b110ea52b3107556e283498a09a89a36
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:35:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:41:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d38917

dev-lang/ocaml: fix 4.10 with glibc 2.34

Bug: https://bugs.gentoo.org/804498
See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch | 257 +
 dev-lang/ocaml/ocaml-4.10.2-r3.ebuild  | 106 +
 2 files changed, 363 insertions(+)

diff --git a/dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch 
b/dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch
new file mode 100644
index ..8ce76701366a
--- /dev/null
+++ b/dev-lang/ocaml/files/ocaml-4.10.2-glibc-2.34.patch
@@ -0,0 +1,257 @@
+https://github.com/ocaml/ocaml/commit/4b4c643d1d5d28738f6d900cd902851ed9dc5364
+https://bugs.gentoo.org/804498
+
+From 4b4c643d1d5d28738f6d900cd902851ed9dc5364 Mon Sep 17 00:00:00 2001
+From: Xavier Leroy 
+Date: Fri, 5 Mar 2021 19:14:07 +0100
+Subject: [PATCH] Dynamically allocate the alternate signal stack
+
+In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant.
+It is no longer possible to statically allocate the alternate signal
+stack for the main thread, as we've been doing for the last 25 years.
+
+This commit implements dynamic allocation of the alternate signal stack
+even for the main thread.  It reuses the code already in place to allocate
+the alternate signal stack for other threads.
+
+The alternate signal stack is freed when the main OCaml code / an OCaml thread
+stops.
+
+(partial back-port of PR#10266 and PR#10726)
+---
+ otherlibs/systhreads/st_stubs.c |  2 +
+ runtime/fail_nat.c  |  7 ++-
+ runtime/signals_nat.c   | 87 -
+ runtime/startup_nat.c   |  7 ++-
+ runtime/sys.c   |  5 ++
+ 5 files changed, 95 insertions(+), 13 deletions(-)
+
+diff --git a/otherlibs/systhreads/st_stubs.c b/otherlibs/systhreads/st_stubs.c
+index e46a67be9dc..0b441934ae9 100644
+--- a/otherlibs/systhreads/st_stubs.c
 b/otherlibs/systhreads/st_stubs.c
+@@ -140,6 +140,7 @@ static st_retcode caml_threadstatus_wait (value);
+ #ifdef NATIVE_CODE
+ extern struct longjmp_buffer caml_termination_jmpbuf;
+ extern void (*caml_termination_hook)(void);
++extern int caml_stop_stack_overflow_detection(void);
+ #endif
+ 
+ /* Hook for scanning the stacks of the other threads */
+@@ -576,6 +577,7 @@ static ST_THREAD_FUNCTION caml_thread_start(void * arg)
+ caml_thread_stop();
+ #ifdef NATIVE_CODE
+   }
++  caml_stop_stack_overflow_detection();
+ #endif
+   /* The thread now stops running */
+   return 0;
+diff --git a/runtime/fail_nat.c b/runtime/fail_nat.c
+index 380578ac47b..4ea658684b4 100644
+--- a/runtime/fail_nat.c
 b/runtime/fail_nat.c
+@@ -32,6 +32,8 @@
+ #include "caml/roots.h"
+ #include "caml/callback.h"
+ 
++extern void caml_terminate_signals(void);
++
+ /* The globals holding predefined exceptions */
+ 
+ typedef value caml_generated_constant[1];
+@@ -62,7 +64,10 @@ CAMLno_asan
+ void caml_raise(value v)
+ {
+   Unlock_exn();
+-  if (Caml_state->exception_pointer == NULL) caml_fatal_uncaught_exception(v);
++  if (Caml_state->exception_pointer == NULL) {
++caml_terminate_signals();
++caml_fatal_uncaught_exception(v);
++  }
+ 
+   while (Caml_state->local_roots != NULL &&
+  (char *) Caml_state->local_roots < Caml_state->exception_pointer) {
+diff --git a/runtime/signals_nat.c b/runtime/signals_nat.c
+index 017298394e9..b4c58259fc2 100644
+--- a/runtime/signals_nat.c
 b/runtime/signals_nat.c
+@@ -191,8 +191,6 @@ DECLARE_SIGNAL_HANDLER(trap_handler)
+ #error "CONTEXT_SP is required if HAS_STACK_OVERFLOW_DETECTION is defined"
+ #endif
+ 
+-static char sig_alt_stack[SIGSTKSZ];
+-
+ /* Code compiled with ocamlopt never accesses more than
+EXTRA_STACK bytes below the stack pointer. */
+ #define EXTRA_STACK 256
+@@ -254,6 +252,10 @@ DECLARE_SIGNAL_HANDLER(segv_handler)
+ 
+ /* Initialization of signal stuff */
+ 
++#ifdef HAS_STACK_OVERFLOW_DETECTION
++static int setup_stack_overflow_detection(void);
++#endif
++
+ void caml_init_signals(void)
+ {
+   /* Bound-check trap handling */
+@@ -278,28 +280,91 @@ void caml_init_signals(void)
+ #endif
+ 
+ #ifdef HAS_STACK_OVERFLOW_DETECTION
+-  {
+-stack_t stk;
++  if (setup_stack_overflow_detection() != -1) {
+ struct sigaction act;
+-stk.ss_sp = sig_alt_stack;
+-stk.ss_size = SIGSTKSZ;
+-stk.ss_flags = 0;
+ SET_SIGACT(act, segv_handler);
+ act.sa_flags |= SA_ONSTACK | SA_NODEFER;
+ sigemptyset(_mask);
+-if (sigaltstack(, NULL) == 0) { sigaction(SIGSEGV, , NULL); }
++sigaction(SIGSEGV, , NULL);
+   }
+ #endif
+ }
+ 
+-void caml_setup_stack_overflow_detection(void)
++/* Termination of signal stuff */
++
++#if 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/files/, dev-lang/ocaml/

2022-02-21 Thread Sam James
commit: 860e2f272f0a0a2fecb2ab6f160ce68875770f59
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:40:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:41:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860e2f27

dev-lang/ocaml: fix 4.05 with glibc 2.34

Bug: https://bugs.gentoo.org/804498
See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch | 201 +
 dev-lang/ocaml/ocaml-4.05.0-r9.ebuild  | 157 
 2 files changed, 358 insertions(+)

diff --git a/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch 
b/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
new file mode 100644
index ..28d7f48f5b27
--- /dev/null
+++ b/dev-lang/ocaml/files/ocaml-4.05.0-glibc-2.34.patch
@@ -0,0 +1,201 @@
+https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f
+https://bugs.gentoo.org/804498
+
+From 50c2d1275e537906ea144bd557fde31e0bf16e5f Mon Sep 17 00:00:00 2001
+From: Xavier Leroy 
+Date: Fri, 5 Mar 2021 19:14:07 +0100
+Subject: [PATCH] Dynamically allocate the alternate signal stack
+
+In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant.
+It is no longer possible to statically allocate the alternate signal
+stack for the main thread, as we've been doing for the last 25 years.
+
+This commit implements dynamic allocation of the alternate signal stack
+even for the main thread.  It reuses the code already in place to allocate
+the alternate signal stack for other threads.
+
+The alternate signal stack is freed when the main OCaml code / an OCaml thread
+stops.
+
+(partial back-port of PR#10266 and PR#10726)
+---
+ asmrun/fail.c|  7 -
+ asmrun/signals_asm.c | 69 ++--
+ asmrun/startup.c |  7 -
+ byterun/sys.c|  5 
+ 4 files changed, 77 insertions(+), 11 deletions(-)
+
+diff --git a/asmrun/fail.c b/asmrun/fail.c
+index d73cb88524c..2f064320185 100644
+--- a/asmrun/fail.c
 b/asmrun/fail.c
+@@ -31,6 +31,8 @@
+ #include "caml/roots.h"
+ #include "caml/callback.h"
+ 
++extern void caml_terminate_signals(void);
++
+ /* The globals holding predefined exceptions */
+ 
+ typedef value caml_generated_constant[1];
+@@ -60,7 +62,10 @@ char * caml_exception_pointer = NULL;
+ void caml_raise(value v)
+ {
+   Unlock_exn();
+-  if (caml_exception_pointer == NULL) caml_fatal_uncaught_exception(v);
++  if (caml_exception_pointer == NULL) {
++caml_terminate_signals();
++caml_fatal_uncaught_exception(v);
++  }
+ 
+ #ifndef Stack_grows_upwards
+ #define PUSHED_AFTER <
+diff --git a/asmrun/signals_asm.c b/asmrun/signals_asm.c
+index f124a076749..b4e2516ae1a 100644
+--- a/asmrun/signals_asm.c
 b/asmrun/signals_asm.c
+@@ -194,7 +194,6 @@ DECLARE_SIGNAL_HANDLER(trap_handler)
+ #ifdef HAS_STACK_OVERFLOW_DETECTION
+ 
+ static char * system_stack_top;
+-static char sig_alt_stack[SIGSTKSZ];
+ 
+ #if defined(SYS_linux)
+ /* PR#4746: recent Linux kernels with support for stack randomization
+@@ -295,17 +294,69 @@ void caml_init_signals(void)
+   {
+ stack_t stk;
+ struct sigaction act;
+-stk.ss_sp = sig_alt_stack;
+-stk.ss_size = SIGSTKSZ;
+-stk.ss_flags = 0;
+-SET_SIGACT(act, segv_handler);
+-act.sa_flags |= SA_ONSTACK | SA_NODEFER;
+-sigemptyset(_mask);
+-system_stack_top = (char *) 
+-if (sigaltstack(, NULL) == 0) { sigaction(SIGSEGV, , NULL); }
++/* Allocate and select an alternate stack for handling signals,
++   especially SIGSEGV signals.
++   The alternate stack used to be statically-allocated for the main 
thread,
++   but this is incompatible with Glibc 2.34 and newer, where SIGSTKSZ
++   may not be a compile-time constant. */
++stk.ss_sp = malloc(SIGSTKSZ);
++if (stk.ss_sp != NULL) {
++  stk.ss_size = SIGSTKSZ;
++  stk.ss_flags = 0;
++  SET_SIGACT(act, segv_handler);
++  act.sa_flags |= SA_ONSTACK | SA_NODEFER;
++  sigemptyset(_mask);
++  system_stack_top = (char *) 
++  if (sigaltstack(, NULL) == 0)
++sigaction(SIGSEGV, , NULL);
++  else
++free(stk.ss_sp);
++}
+   }
+ #endif
+ #if defined(_WIN32) && !defined(_WIN64)
+   caml_win32_overflow_detection();
+ #endif
+ }
++
++/* Termination of signal stuff */
++
++#if defined(TARGET_power) || defined(TARGET_s390x) \
++|| defined(TARGET_sparc) && defined(SYS_solaris) \
++|| defined(HAS_STACK_OVERFLOW_DETECTION)
++static void set_signal_default(int signum)
++{
++  struct sigaction act;
++  sigemptyset(_mask);
++  act.sa_handler = SIG_DFL;
++  act.sa_flags = 0;
++  sigaction(signum, , NULL);
++}
++#endif
++
++void caml_terminate_signals(void)
++{
++#if defined(TARGET_sparc) && defined(SYS_solaris)
++  set_signal_default(SIGILL);
++#endif
++
++#if defined(TARGET_power)
++  set_signal_default(SIGTRAP);
++#endif
++

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/files/, dev-lang/ocaml/

2022-02-21 Thread Sam James
commit: a5945b83a4ee29d228e1a56101483001da291c54
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 00:29:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:41:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5945b83

dev-lang/ocaml: fix 4.09 with glibc 2.34

Bug: https://bugs.gentoo.org/804498
See: https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch | 193 +
 dev-lang/ocaml/ocaml-4.09.0-r3.ebuild  | 105 +++
 2 files changed, 298 insertions(+)

diff --git a/dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch 
b/dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch
new file mode 100644
index ..6f74d38e80b6
--- /dev/null
+++ b/dev-lang/ocaml/files/ocaml-4.09.0-glibc-2.34.patch
@@ -0,0 +1,193 @@
+https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223
+https://github.com/gentoo/gentoo/pull/22851#pullrequestreview-882504245
+
+From 8eed2e441222588dc385a98ae8bd6f5820eb0223 Mon Sep 17 00:00:00 2001
+From: Xavier Leroy 
+Date: Fri, 5 Mar 2021 19:14:07 +0100
+Subject: [PATCH] Dynamically allocate the alternate signal stack
+
+In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant.
+It is no longer possible to statically allocate the alternate signal
+stack for the main thread, as we've been doing for the last 25 years.
+
+This commit implements dynamic allocation of the alternate signal stack
+even for the main thread.  It reuses the code already in place to allocate
+the alternate signal stack for other threads.
+
+The alternate signal stack is freed when the main OCaml code / an OCaml thread
+stops.
+
+(partial back-port of PR#10266 and PR#10726)
+---
+ runtime/fail_nat.c|  7 -
+ runtime/signals_nat.c | 64 +--
+ runtime/startup_nat.c |  7 -
+ runtime/sys.c |  5 
+ 4 files changed, 72 insertions(+), 11 deletions(-)
+
+diff --git a/runtime/fail_nat.c b/runtime/fail_nat.c
+index e1f687d379e..cbf7633ee9e 100644
+--- a/runtime/fail_nat.c
 b/runtime/fail_nat.c
+@@ -31,6 +31,8 @@
+ #include "caml/roots.h"
+ #include "caml/callback.h"
+ 
++extern void caml_terminate_signals(void);
++
+ /* The globals holding predefined exceptions */
+ 
+ typedef value caml_generated_constant[1];
+@@ -60,7 +62,10 @@ char * caml_exception_pointer = NULL;
+ void caml_raise(value v)
+ {
+   Unlock_exn();
+-  if (caml_exception_pointer == NULL) caml_fatal_uncaught_exception(v);
++  if (caml_exception_pointer == NULL) {
++caml_terminate_signals();
++caml_fatal_uncaught_exception(v);
++  }
+ 
+   while (caml_local_roots != NULL &&
+  (char *) caml_local_roots < caml_exception_pointer) {
+diff --git a/runtime/signals_nat.c b/runtime/signals_nat.c
+index 29a5f49e625..351b575a08e 100644
+--- a/runtime/signals_nat.c
 b/runtime/signals_nat.c
+@@ -182,7 +182,6 @@ DECLARE_SIGNAL_HANDLER(trap_handler)
+ #ifdef HAS_STACK_OVERFLOW_DETECTION
+ 
+ static char * system_stack_top;
+-static char sig_alt_stack[SIGSTKSZ];
+ 
+ #if defined(SYS_linux)
+ /* PR#4746: recent Linux kernels with support for stack randomization
+@@ -275,14 +274,61 @@ void caml_init_signals(void)
+   {
+ stack_t stk;
+ struct sigaction act;
+-stk.ss_sp = sig_alt_stack;
+-stk.ss_size = SIGSTKSZ;
+-stk.ss_flags = 0;
+-SET_SIGACT(act, segv_handler);
+-act.sa_flags |= SA_ONSTACK | SA_NODEFER;
+-sigemptyset(_mask);
+-system_stack_top = (char *) 
+-if (sigaltstack(, NULL) == 0) { sigaction(SIGSEGV, , NULL); }
++/* Allocate and select an alternate stack for handling signals,
++   especially SIGSEGV signals.
++   The alternate stack used to be statically-allocated for the main 
thread,
++   but this is incompatible with Glibc 2.34 and newer, where SIGSTKSZ
++   may not be a compile-time constant. */
++stk.ss_sp = malloc(SIGSTKSZ);
++if (stk.ss_sp != NULL) {
++  stk.ss_size = SIGSTKSZ;
++  stk.ss_flags = 0;
++  SET_SIGACT(act, segv_handler);
++  act.sa_flags |= SA_ONSTACK | SA_NODEFER;
++  sigemptyset(_mask);
++  system_stack_top = (char *) 
++  if (sigaltstack(, NULL) == 0)
++sigaction(SIGSEGV, , NULL);
++  else
++free(stk.ss_sp);
++}
++  }
++#endif
++}
++
++/* Termination of signal stuff */
++
++#if defined(TARGET_power) || defined(TARGET_s390x) \
++|| defined(HAS_STACK_OVERFLOW_DETECTION)
++static void set_signal_default(int signum)
++{
++  struct sigaction act;
++  sigemptyset(_mask);
++  act.sa_handler = SIG_DFL;
++  act.sa_flags = 0;
++  sigaction(signum, , NULL);
++}
++#endif
++
++void caml_terminate_signals(void)
++{
++#if defined(TARGET_power)
++  set_signal_default(SIGTRAP);
++#endif
++
++#if defined(TARGET_s390x)
++  set_signal_default(SIGFPE);
++#endif
++
++#ifdef HAS_STACK_OVERFLOW_DETECTION
++  

[gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-tss/

2022-02-21 Thread Sam James
commit: 58b826a11ad484e39e8c1410ef0aa7a02aa7c8fb
Author: Christopher Byrne  gmail  com>
AuthorDate: Sat Feb 19 04:47:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 00:21:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b826a1

app-crypt/tpm2-tss: Remove old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christopher Byrne  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24269
Signed-off-by: Sam James  gentoo.org>

 app-crypt/tpm2-tss/Manifest  |  1 -
 app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild | 78 
 2 files changed, 79 deletions(-)

diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest
index 502da1e0675c..f8a99f762812 100644
--- a/app-crypt/tpm2-tss/Manifest
+++ b/app-crypt/tpm2-tss/Manifest
@@ -1,4 +1,3 @@
-DIST tpm2-tss-2.4.5.tar.gz 1439394 BLAKE2B 
644d917f545e93dd81856611522329caf4ff038e4ddb04d761f03339cc7308095abc1c9b46a4d601cad67deea6f917ee5e4236c59f3d7042a7fdf2d33630dd3f
 SHA512 
2c92af07ed1cc3665c19479c00ce5608883081f311192a264a4f7d9119c75ac582596c53b910534c4b66dbb60de2ffd3d6218169748332609c2e0fc89f519259
 DIST tpm2-tss-2.4.6.tar.gz 1472883 BLAKE2B 
e007de07c759e77e377f8569c0c5d94ab57597ea3cb452fb598a47c9b404714a7816c86221d4eacad962436fc7625066d4066f433cd957c37b92d51b0455e2a0
 SHA512 
f7f7f067605ea30661ac891e22095238689856e22e45f11a6b603cb36ed1ae0724ae52d36f0ee5dd72208da8520457667676ae08107647faa5441a0c9b642f7a
 DIST tpm2-tss-3.1.0.tar.gz 1584690 BLAKE2B 
cee2807a030b8bab653045cb11dfc7a6a3f7b1e60c1ce4650ba5f0549f29f36ff307e7d53fb5ef9c950b4dae720bdaf35f7cd1e59ebc07b3f16740035e1d5738
 SHA512 
8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405
 DIST tpm2-tss-3.2.0.tar.gz 1629211 BLAKE2B 
a89aa4d89a50bdfb5a9652874d30e2138747bd022049f2be2d0b56e296329d0c41254033ec3a062dbd64fde54a62e952f54446c551e5788231827cd53fae045a
 SHA512 
cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23

diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild 
b/app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild
deleted file mode 100644
index 2db31aefd06e..
--- a/app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools linux-info tmpfiles udev
-
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss;
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz;
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 x86"
-IUSE="doc +fapi gcrypt +openssl static-libs test"
-
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="^^ ( gcrypt openssl )
-   fapi? ( openssl !gcrypt )"
-
-RDEPEND="acct-group/tss
-   acct-user/tss
-   fapi? (
-   dev-libs/json-c
-   net-misc/curl
-   )
-   gcrypt? ( dev-libs/libgcrypt:0= )
-   openssl? ( dev-libs/openssl:0= )"
-DEPEND="${RDEPEND}
-   test? ( dev-util/cmocka )"
-BDEPEND="virtual/pkgconfig
-   doc? ( app-doc/doxygen )"
-
-PATCHES=(
-   
"${FILESDIR}/${PN}-2.4.1-configure.ac-wrap-PKG_CHECK_MODULES-in-braces.patch"
-   "${FILESDIR}/${PN}-2.4.2-Dont-run-systemd-sysusers-in-Makefile.patch"
-)
-
-pkg_setup() {
-   local CONFIG_CHECK=" \
-   ~TCG_TPM
-   "
-   linux-info_pkg_setup
-   kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --localstatedir=/var \
-   $(use_enable doc doxygen-doc) \
-   $(use_enable fapi) \
-   $(use_enable static-libs static) \
-   $(use_enable test unit) \
-   --disable-tcti-mssim \
-   --disable-defaultflags \
-   --disable-weakcrypto \
-   --with-crypto="$(usex gcrypt gcrypt ossl)" \
-   --with-runstatedir=/run \
-   --with-udevrulesdir="$(get_udevdir)/rules.d" \
-   --with-udevrulesprefix=60- \
-   --with-sysusersdir="/usr/lib/sysusers.d" \
-   --with-tmpfilesdir="/usr/lib/tmpfiles.d"
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   tmpfiles_process tpm2-tss-fapi.conf
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/

2022-02-21 Thread Andreas K. Hüttel
commit: 99dec6e7ff47a6d0193d53c47380d0688e287e02
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Feb 21 23:17:28 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Feb 21 23:30:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99dec6e7

dev-lang/perl: Re-keyword 5.34.0-r7

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

 dev-lang/perl/perl-5.34.0-r7.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-lang/perl/perl-5.34.0-r7.ebuild 
b/dev-lang/perl/perl-5.34.0-r7.ebuild
index 443ccefc2e0f..b11f241e679c 100644
--- a/dev-lang/perl/perl-5.34.0-r7.ebuild
+++ b/dev-lang/perl/perl-5.34.0-r7.ebuild
@@ -52,8 +52,7 @@ LICENSE="|| ( Artistic GPL-1+ )"
 SLOT="0/${SUBSLOT}"
 
 if [[ "${PV##*.}" != "" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; then
-#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"
-KEYWORDS=""
+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"
 fi
 
 IUSE="berkdb debug doc gdbm ithreads minimal quadmath"



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

2022-02-21 Thread Andreas K. Hüttel
commit: 9ed92d6f2f713ee2a1f7bf8204a9ffc0d335990c
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Feb 21 23:29:35 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Feb 21 23:30:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed92d6f

sys-libs/glibc: 2.35 patchset bump

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.35.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index a1a968171122..afdc857028f2 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -17,7 +17,7 @@ DIST glibc-2.33.tar.xz 17031280 BLAKE2B 
703d12121c1e2c5d9e0c6ba5341f5fb5c4d91116
 DIST glibc-2.34-patches-13.tar.xz 135104 BLAKE2B 
91fd2fecba36f558bb88025d3ce130b0df349c72284e999a9f65e6712e18eaaf53649a6e400194a47c55d144c22b55b42e8f313189fd2e124fef6b8ec8b1cb6d
 SHA512 
1037d59352f0087fb6601aaf6972a92626d1d5e58b904b72d970903736efe2b93d5537e176ad3b65da322eace91a9d868dddb8d06c2396a23472117f1983b557
 DIST glibc-2.34-patches-14.tar.xz 139608 BLAKE2B 
4560fd35209c5062ba28062d413ae2b2e7134918b71c9b6a1fe14392aecdac1261981627ca6862c7c7c60490f0df178c8b5650c5b3c2b5a96baf6d6e2ce1892f
 SHA512 
e924b704234489ba7d04794f3260b3af27ae6703db38ed7832db9a90d0d1f48beab30392642ac9c88cf9010d024019db25600805c0746a50d81e612c8d09b422
 DIST glibc-2.34.tar.xz 17301232 BLAKE2B 
874031192f2f5a3b35c3f5b044a467d4be4e67e8593e070e5b49b901ce8ea6bde2f8d2f6c92fa33b3f61eb723572a9e5f2b45e56064168df80a96d3fdb6fa30c
 SHA512 
15252affd9ef4523a8001db16d497f4fdcb3ddf4cde7fe80e075df0bd3cc6524dc29fbe20229dbf5f97af580556e6b1fac0de321a5fe25322bc3e72f93beb624
-DIST glibc-2.35-patches-2.tar.xz 22864 BLAKE2B 
eeba106b90d67fb8837be613ac2ca835ccfaabead38bcfa0408838dab2098c0259d620cb70af953714df6939fd74ccc44fb7ddc6b93172df61f9a5bb7f38356b
 SHA512 
9f1dad92303920ec3fe28129a98a318f79e8645f236485510ce743b6f268c39c739a4d400a44753599723abb06ce01f723fd6b3dd7467dcffdf316e5ba1b773e
+DIST glibc-2.35-patches-3.tar.xz 29992 BLAKE2B 
aaf615d7cd2c2a00b47f3470ce92c080ffd0e7d768bf724d7e3a9ea50f161a550d9ff3c3c0734e3b00afec67d471aa04b74e050b738bf6e669720a646dab89cb
 SHA512 
203726f333fe1d1db41c81c46cf997bdbe02409a38c4e9f8e9274512d121ad1f9412391828af8b129879e9104c58ca0a1b6f7427abfc32a161f33bd48fa44179
 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.35.ebuild b/sys-libs/glibc/glibc-2.35.ebuild
index 8d390c404c5b..ca6497263fb6 100644
--- a/sys-libs/glibc/glibc-2.35.ebuild
+++ b/sys-libs/glibc/glibc-2.35.ebuild
@@ -20,7 +20,7 @@ SLOT="2.2"
 EMULTILIB_PKG="true"
 
 # Gentoo patchset (ignored for live ebuilds)
-PATCH_VER=2
+PATCH_VER=3
 PATCH_DEV=dilfridge
 
 if [[ ${PV} == * ]]; then



[gentoo-commits] repo/gentoo:master commit in: sci-libs/vtk/, sci-libs/vtk/files/

2022-02-21 Thread Sam James
commit: 1a1324aa105beed8878503f55dd6783255127de0
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jan 20 16:55:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 23:23:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1324aa

sci-libs/vtk: drop 8.2.0

Only one package, sci-libs/oce, which is masked for last-riting, depends
on this version.
Won't build with ffmpeg-5.

Bug: https://bugs.gentoo.org/831595
Bug: https://bugs.gentoo.org/832625
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/23886
Signed-off-by: Sam James  gentoo.org>

 sci-libs/vtk/Manifest  |   4 -
 .../files/vtk-8.1.0-openmpi-4-compatibility.patch  |  14 -
 ...01-fix-library-installation-dir-for-xdmf3.patch |  57 
 sci-libs/vtk/files/vtk-8.2.0-fno-common.patch  |  40 ---
 sci-libs/vtk/files/vtk-8.2.0-gcc-10.patch  |  16 -
 sci-libs/vtk/files/vtk-8.2.0-pugixml.patch |  12 -
 sci-libs/vtk/files/vtk-8.2.0-py38.patch| 175 --
 sci-libs/vtk/files/vtk-8.2.0-qt-5.15.patch |  37 --
 sci-libs/vtk/metadata.xml  |   1 -
 sci-libs/vtk/vtk-8.2.0-r6.ebuild   | 375 -
 10 files changed, 731 deletions(-)

diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest
index d345d4831ee0..52b37377441f 100644
--- a/sci-libs/vtk/Manifest
+++ b/sci-libs/vtk/Manifest
@@ -1,14 +1,10 @@
-DIST VTK-8.2.0.tar.gz 35511819 BLAKE2B 
908ed9377d75da6d0bd84de0078ba90a1e9396fcc906ca2981102e2c79d9d3ba4b1297f98682cd2802c7c04f9dbec32ee70740e645c44180befd765f7cda34a6
 SHA512 
521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286
 DIST VTK-9.0.3.tar.gz 34684378 BLAKE2B 
6862ab2df95bbefe9d3970757af6521cfa874476f6ee8e64c4e6e279f2e0cbb8a8299bc3b0b8bb9b7254d01a169644e7927b67b11b2ce934ddc87bce0a9e4c26
 SHA512 
00528011f9206444d09fc6cea05c46930745bb70ea02be6244ab3eb510ae82af772157c025157b1761dc4c6a9ab538b57f814c03a708f30aa3598a421fdc6ae2
 DIST VTK-9.1.0.tar.gz 47871165 BLAKE2B 
68cebc0879737a519b53e73f198356208b047c301d38ee2d62b9a14539cdb9aa76bd7174baa29592c7b1cfd1cc9700d01e98519a207d67a232d16ad37295ac31
 SHA512 
b2c4be8795fa082e0776e6ffdb9a3fd88dbb235841a8369a34ebe26cf4c5fcb1610fcca987be314510629da3edc74ee76c0ce2cc88d5ef4b099ac550ac892b0a
-DIST VTKData-8.2.0.tar.gz 304287875 BLAKE2B 
0292d84be40e11203326dcb1bf45f4a6ad2a785968130d4868a230f1cfbdcb600d0c03d4dae3519e2737dc7a964f29c51500c91b3da4291069608dd80a2bce45
 SHA512 
517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b
 DIST VTKData-9.0.3.tar.gz 413854066 BLAKE2B 
84c2fa0ae5df8567cc06022262fe3ea1202c553168757c94aa4a0a258360deccdf349d474c2f6585fc2054ee8e0468df4c80ec835cecf6b2391efa639f479eaa
 SHA512 
28ab2ecb32860d820f736e9ceb4345bcd03471f0a35b90f8c9ccbe05454f7a95a4de3c99bae2f4b9db87a27ef8fe50159cd283f5e921f4e6e69b06a50a0570c6
 DIST VTKData-9.1.0.tar.gz 590185633 BLAKE2B 
7451d57bc507571afa8a8f9ba541010e1924849759f228318b6390aabb07a68341b84b38b82cd504844194544c569b040c9fad1858e6e35e172e4e18000d338e
 SHA512 
134a8dd2b029d3a4959b601987e68a0caa5d050532655b6786b5b67dfc77d3639628b2b957511f8998e63864c247c501a11a6aed248c762f13e860d878778e1a
 DIST VTKDataFiles-9.1.0.tar.gz 605163184 BLAKE2B 
968e2fed1e17bb57da4f8dd38e17e128779e50dfce81fc31c6ef75a2f3fe46675dd77ab7343b609998b8ddd3927e256d1ea4117c2719ad76f61db435b5f1c34f
 SHA512 
f56ebd087753e2d2805e2f5954197de4e9933ec90648956780525d83149277a7bca42ce376c4355a53fca71ec78510fed155955af71b70e1b26de27851252e36
-DIST VTKLargeData-8.2.0.tar.gz 247522878 BLAKE2B 
68dc90548604fbbb8419f2b400aea5d26599b48208b4104f41eaa90f99483689cd928cb00e3a7def396d65db2f03c9294d132854a27af74f66eb118c8319c4ce
 SHA512 
8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588
 DIST VTKLargeData-9.0.3.tar.gz 247523270 BLAKE2B 
f4011292957454da5d8c9e515bcd0972af4299cef3928098d745be96559a1e0080297871c6e11fdd98498c8786a30a6674bc650368adcbcdbc6260e0938d21a1
 SHA512 
ebd6cb5f2935b77961dd68d0c0da2ea5ab900cec8c2eb641c785a604c65702e40a3e44d32bf3f2acfce9ec28dd89f41bf29f93a4f89d5b36c713f3743d7125b1
 DIST VTKLargeData-9.1.0.tar.gz 247517666 BLAKE2B 
1b47829ad51f246ff26c8b6d16c9fa431e53ca33fec99e8aa78ee156a82e4b3351e32ee36674d9d345f346efad085ae1e2d3186a144911d2210a31a259e69f1f
 SHA512 
0760dfd4e92bbfec10fec9d783f548a8ca5464b1a1744dfa575d4ed4592756335dbfcf28249d2da964aa6b41933ff1ac98458e4a32484ee4bb91b5e7cfaa78c9
 DIST VTKLargeDataFiles-9.1.0.tar.gz 247504557 BLAKE2B 
a05892347a1a5cf5cb0df3f1c1d94efcdb68c28bcd0391617602565fddc4277ac44accec6f1b3ae2822a860f3d5f5642a56e36171b5d81bef137561182051d08
 SHA512 
10abc287256c7ec5fb7114f4054eda5cde1b75a8d2bbe70375fb96d31b7c4164be936489ce2fc9b5c33225f494d9b7f5f7bed648828661b17d6f66acb70eeddc
-DIST 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/vtk/files/, sci-libs/vtk/

2022-02-21 Thread Sam James
commit: 456dff1993bc8dd2dabd3a7642ffcb8229b30407
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri Feb  4 19:15:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 23:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456dff19

sci-libs/vtk: let v9 build against ffmpeg-5

Backports an upstream patch to successfully build against
media-video/ffmpeg-5.

Closes: https://bugs.gentoo.org/831595
Closes: https://bugs.gentoo.org/727338
Closes: https://bugs.gentoo.org/660582

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/24081
Signed-off-by: Sam James  gentoo.org>

 ...-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch | 141 +
 sci-libs/vtk/vtk-9.0.3-r4.ebuild   |   1 +
 sci-libs/vtk/vtk-9.1.0.ebuild  |   3 +-
 3 files changed, 144 insertions(+), 1 deletion(-)

diff --git 
a/sci-libs/vtk/files/vtk-9.0.3-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch 
b/sci-libs/vtk/files/vtk-9.0.3-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch
new file mode 100644
index ..276831d8491e
--- /dev/null
+++ 
b/sci-libs/vtk/files/vtk-9.0.3-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch
@@ -0,0 +1,141 @@
+From 
https://gitlab.kitware.com/ben.boeckel/vtk/-/commit/bad8f3e9d0aad03e8f2aff9524cb3c5f2d10ccaf
+From: Ben Boeckel 
+Date: Fri, 28 Jan 2022 10:44:28 -0500
+Subject: [PATCH] IO/FFMPEG: support FFmpeg 5.0 API changes
+
+Fixes: #18445
+--- /dev/null
 b/Documentation/release/dev/ffmpeg-5.0.md
+@@ -0,0 +1,3 @@
++## FFmpeg 5.0 support
++
++FFmpeg 5.0 API changes are now supported.
+--- a/IO/FFMPEG/CMakeLists.txt
 b/IO/FFMPEG/CMakeLists.txt
+@@ -6,7 +6,9 @@ vtk_module_find_package(
+ avformat
+ avcodec
+ avutil
+-swscale)
++swscale
++  OPTIONAL_COMPONENTS
++swresample)
+ 
+ set(classes
+   vtkFFMPEGWriter)
+@@ -21,6 +23,17 @@ if (NOT FFMPEG_VERSION VERSION_LESS "3.1")
+ vtkFFMPEGVideoSource)
+ endif ()
+ 
++set(ffmpeg_libraries)
++if (NOT FFMPEG_VERSION VERSION_LESS "5.0")
++  if (NOT FFMPEG_swresample_FOUND)
++message(FATAL_ERROR
++  "FFMPEG 5.0 requires the `swresample` library.")
++  endif ()
++
++  list(APPEND ffmpeg_libraries
++FFMPEG::swresample)
++endif ()
++
+ vtk_module_add_module(VTK::IOFFMPEG
+   CLASSES ${classes})
+ vtk_module_link(VTK::IOFFMPEG
+@@ -28,4 +41,5 @@ vtk_module_link(VTK::IOFFMPEG
+ FFMPEG::avformat
+ FFMPEG::avcodec
+ FFMPEG::avutil
+-FFMPEG::swscale)
++FFMPEG::swscale
++${ffmpeg_libraries})
+--- a/IO/FFMPEG/vtkFFMPEGVideoSource.cxx
 b/IO/FFMPEG/vtkFFMPEGVideoSource.cxx
+@@ -205,7 +205,7 @@ void vtkFFMPEGVideoSource::Initialize()
+ 
+   this->Internal->VideoStream = 
fcontext->streams[this->Internal->VideoStreamIndex];
+ 
+-  AVCodec* dec = 
avcodec_find_decoder(this->Internal->VideoStream->codecpar->codec_id);
++  const AVCodec* dec = 
avcodec_find_decoder(this->Internal->VideoStream->codecpar->codec_id);
+   if (!dec)
+   {
+ vtkErrorMacro("Failed to find codec for video");
+@@ -271,7 +271,7 @@ void vtkFFMPEGVideoSource::Initialize()
+   {
+ this->Internal->AudioStream = 
fcontext->streams[this->Internal->AudioStreamIndex];
+ 
+-AVCodec* adec = 
avcodec_find_decoder(this->Internal->AudioStream->codecpar->codec_id);
++const AVCodec* adec = 
avcodec_find_decoder(this->Internal->AudioStream->codecpar->codec_id);
+ if (!adec)
+ {
+   vtkErrorMacro("Failed to find codec for audio");
+--- a/IO/FFMPEG/vtkFFMPEGWriter.cxx
 b/IO/FFMPEG/vtkFFMPEGWriter.cxx
+@@ -21,10 +21,17 @@
+ 
+ extern "C"
+ {
++#include 
+ #include 
+ #include 
+ }
+ 
++#if LIBAVFORMAT_VERSION_MAJOR < 59
++#define vtk_ff_const59
++#else
++#define vtk_ff_const59 const
++#endif
++
+ #if defined(LIBAVFORMAT_VERSION_MAJOR) && LIBAVFORMAT_VERSION_MAJOR >= 57
+ extern "C"
+ {
+@@ -51,7 +58,7 @@ private:
+ 
+   AVFormatContext* avFormatContext;
+ 
+-  AVOutputFormat* avOutputFormat;
++  vtk_ff_const59 AVOutputFormat* avOutputFormat;
+ 
+   AVStream* avStream;
+ 
+@@ -115,15 +122,9 @@ int vtkFFMPEGWriterInternal::Start()
+ return 0;
+   }
+ 
+-  if (this->Writer->GetCompression())
+-  {
+-// choose a codec that is easily playable on windows
+-this->avOutputFormat->video_codec = AV_CODEC_ID_MJPEG;
+-  }
+-  else
+-  {
+-this->avOutputFormat->video_codec = AV_CODEC_ID_RAWVIDEO;
+-  }
++  enum AVCodecID video_codec = this->Writer->GetCompression()
++? AV_CODEC_ID_MJPEG // choose a codec that is easily playable on windows
++: AV_CODEC_ID_RAWVIDEO;
+ 
+   // create the format context that wraps all of the media output structures
+   if (avformat_alloc_output_context2(
+@@ -133,8 +134,8 @@ int vtkFFMPEGWriterInternal::Start()
+ return 0;
+   }
+ 
+-  AVCodec* codec;
+-  if (!(codec = avcodec_find_encoder(this->avOutputFormat->video_codec)))
++  vtk_ff_const59 AVCodec* codec;
++  if (!(codec = 

[gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-documents/files/, gnome-extra/gnome-documents/

2022-02-21 Thread Sam James
commit: 5ca2382369b7715be3cee1cd7885b9dcf7e879e7
Author: Christophe Lermytte  lermytte  be>
AuthorDate: Mon Feb 21 11:49:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 23:16:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca23823

gnome-extra/gnome-documents: fix build with meson-0.61

Upstream looks abandoned, fixing in-tree.

Signed-off-by: Christophe Lermytte  lermytte.be>
Closes: https://bugs.gentoo.org/833843
Closes: https://github.com/gentoo/gentoo/pull/24296
Signed-off-by: Sam James  gentoo.org>

 .../files/fix-build-with-meson-0.61.patch | 19 +++
 .../gnome-documents/gnome-documents-3.34.0-r1.ebuild  |  6 +-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/gnome-documents/files/fix-build-with-meson-0.61.patch 
b/gnome-extra/gnome-documents/files/fix-build-with-meson-0.61.patch
new file mode 100644
index ..2a3a5cd3d3e3
--- /dev/null
+++ b/gnome-extra/gnome-documents/files/fix-build-with-meson-0.61.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/833843
+--- a/data/meson.build
 b/data/meson.build
+@@ -56,7 +56,6 @@ foreach app: documents_apps
+   appdata = app + '.appdata.xml'
+ 
+   appdata_file = i18n.merge_file(
+-appdata,
+ input: appdata + '.in',
+ output: appdata,
+ po_dir: po_dir,
+@@ -76,7 +75,6 @@ foreach app: documents_apps
+   desktop = app + '.desktop'
+ 
+   desktop_file = i18n.merge_file(
+-desktop,
+ type: 'desktop',
+ input: desktop + '.in',
+ output: desktop,

diff --git a/gnome-extra/gnome-documents/gnome-documents-3.34.0-r1.ebuild 
b/gnome-extra/gnome-documents/gnome-documents-3.34.0-r1.ebuild
index 3b571baadadb..5245d0f95f9d 100644
--- a/gnome-extra/gnome-documents/gnome-documents-3.34.0-r1.ebuild
+++ b/gnome-extra/gnome-documents/gnome-documents-3.34.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -49,6 +49,10 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
 "
 
+PATCHES=(
+   "${FILESDIR}"/fix-build-with-meson-0.61.patch
+)
+
 src_configure() {
local emesonargs=(
-Ddocumentation=true #manpage



[gentoo-commits] repo/gentoo:master commit in: profiles/

2022-02-21 Thread Sam James
commit: 6be1ee868cfadd3e1c56844f6aa664c9d6808463
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 23:15:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 23:15:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be1ee86

profiles: drop libxslt mask

libvirt is fixed now.

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

 profiles/package.mask | 5 -
 1 file changed, 5 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 6b62da47fd7a..0259d3f11da8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -52,11 +52,6 @@
  (2022-02-18)
-# Breaks some reverse dependencies w/ stricter(?)
-# parsing. bug #833586.
-=dev-libs/libxslt-1.1.35
-
 # Brian Evans  (2022-02-17)
 # Ancient version which likely does not work with modern software
 # New upstream exists but php team does not want to maintain



[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2022-02-21 Thread Sam James
commit: 95d996936646bc7fe900cf7f59376b95e94b1b03
Author: Michal Privoznik  redhat  com>
AuthorDate: Mon Feb 21 15:49:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 23:14:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d99693

app-emulation/libvirt: Fix build with >=dev-libs/libxslt-1.1.35

Libvirt failed to build with new libxslt because of a bug in one
of libvirt's xsl files. Backport the fix from upstream repo.

Closes: https://bugs.gentoo.org/833586
Signed-off-by: Michal Privoznik  redhat.com>
Closes: https://github.com/gentoo/gentoo/pull/24300
Signed-off-by: Sam James  gentoo.org>

 0-docs-Fix-template-matching-in-page.xsl.patch | 62 ++
 app-emulation/libvirt/libvirt-7.10.0-r3.ebuild |  1 +
 app-emulation/libvirt/libvirt-7.7.0-r2.ebuild  |  1 +
 app-emulation/libvirt/libvirt-8.0.0-r1.ebuild  |  1 +
 4 files changed, 65 insertions(+)

diff --git 
a/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
 
b/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
new file mode 100644
index ..5207c6d81ec7
--- /dev/null
+++ 
b/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
@@ -0,0 +1,62 @@
+From 54814c87f3706cc8eb894634ebef0f9cf7dabae6 Mon Sep 17 00:00:00 2001
+Message-Id: 
<54814c87f3706cc8eb894634ebef0f9cf7dabae6.1645458252.git.mpriv...@redhat.com>
+From: Martin Kletzander 
+Date: Mon, 21 Feb 2022 09:26:13 +0100
+Subject: [PATCH] docs: Fix template matching in page.xsl
+
+Our last default template had a match of "node()" which incidentally matched
+everything, including text nodes.  Since this has the same priority according 
to
+the XSLT spec, section 5.5:
+
+  https://www.w3.org/TR/1999/REC-xslt-19991116#conflict
+
+this is an error.  Also according to the same spec section, the XSLT processor
+may signal the error or pick the last rule.
+
+This was uncovered with libxslt 1.1.35 which contains the following commit:
+
+  
https://gitlab.gnome.org/GNOME/libxslt/-/commit/b0074eeca3c6b21b4da14fdf712b853900c51635
+
+which makes the build fail with:
+
+  runtime error: file ../docs/page.xsl line 223 element element
+  xsl:element: The effective name '' is not a valid QName.
+
+because our last rule also matches text nodes and we are trying to extract the
+node name out of them.
+
+To fix this we change the match to "*" which only matches elements and not all
+the nodes, and to avoid any possible errors with different XSLT processors we
+also bump the priority of the match="text()" rule a little higher, just in case
+someone needs to use an XSLT processor that chooses signalling the error 
instead
+of the optional recovery.
+
+https://bugs.gentoo.org/833586
+
+Signed-off-by: Martin Kletzander 
+Signed-off-by: Michal Privoznik 
+---
+ docs/page.xsl | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/docs/page.xsl b/docs/page.xsl
+index fd67918d3b..72a6fa0842 100644
+--- a/docs/page.xsl
 b/docs/page.xsl
+@@ -215,11 +215,11 @@
+ 
+   
+ 
+-  
++  
+ 
+   
+ 
+-  
++  
+ 
+   
+   
+-- 
+2.34.1
+

diff --git a/app-emulation/libvirt/libvirt-7.10.0-r3.ebuild 
b/app-emulation/libvirt/libvirt-7.10.0-r3.ebuild
index 21c5ce658519..ecec95b0d794 100644
--- a/app-emulation/libvirt/libvirt-7.10.0-r3.ebuild
+++ b/app-emulation/libvirt/libvirt-7.10.0-r3.ebuild
@@ -136,6 +136,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
"${FILESDIR}"/${PN}-7.9.0-fix_cgroupv2.patch
"${FILESDIR}"/${PN}-7.10.0-fix_soname.patch
+   "${FILESDIR}"/${PN}-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-7.7.0-r2.ebuild 
b/app-emulation/libvirt/libvirt-7.7.0-r2.ebuild
index e36b7d1dfd11..1d1927b62ac6 100644
--- a/app-emulation/libvirt/libvirt-7.7.0-r2.ebuild
+++ b/app-emulation/libvirt/libvirt-7.7.0-r2.ebuild
@@ -134,6 +134,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
+   "${FILESDIR}"/${PN}-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-8.0.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-8.0.0-r1.ebuild
index d62e076fcb1f..65a40aeebebc 100644
--- a/app-emulation/libvirt/libvirt-8.0.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-8.0.0-r1.ebuild
@@ -134,6 +134,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
+   "${FILESDIR}"/${PN}-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
 )
 
 pkg_setup() {



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

2022-02-21 Thread Andreas K. Hüttel
commit: ee1c9d5937f531c4ae0804e1b3d39968d6ebeeec
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Feb 21 22:38:03 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Feb 21 22:38:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1c9d59

sys-libs/glibc: 2.34 patchset bump

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

 sys-libs/glibc/Manifest |1 +
 sys-libs/glibc/glibc-2.34-r9.ebuild | 1616 +++
 2 files changed, 1617 insertions(+)

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index 33dc7ca487cd..a1a968171122 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -15,6 +15,7 @@ DIST glibc-2.33-patches-11.tar.xz 143916 BLAKE2B 
ac13b3ccf9681bb6d3c35ecc33e268e
 DIST glibc-2.33-patches-6.tar.xz 64632 BLAKE2B 
f04ca4320d65c8796c67471cb56d3bf002cc34fb6a81075b85948e41c94df46cb2a3a944cced42d6d2c17ffc11e32a9840810864e655cc0fe18e6e0fe9f3c985
 SHA512 
b95746cd3415ec9ca275e542a2b5fddd5ce5680aa3bda08e94e96cf431191f7488ef6b7999ff0dfaf7405a4212531a75283e9bd7f5ae65bf572912038877a6df
 DIST glibc-2.33.tar.xz 17031280 BLAKE2B 
703d12121c1e2c5d9e0c6ba5341f5fb5c4d9111611a83f2360029b5de9c6e5a5611249d1833684a58ed4afdf49cae614365d87ec8721ba0e5d218f593b1f229d
 SHA512 
4cb5777b68b22b746cc51669e0e9282b43c83f6944e42656e6db7195ebb68f2f9260f130fdeb4e3cfc64efae4f58d96c43d388f52be1eb024ca448084684abdb
 DIST glibc-2.34-patches-13.tar.xz 135104 BLAKE2B 
91fd2fecba36f558bb88025d3ce130b0df349c72284e999a9f65e6712e18eaaf53649a6e400194a47c55d144c22b55b42e8f313189fd2e124fef6b8ec8b1cb6d
 SHA512 
1037d59352f0087fb6601aaf6972a92626d1d5e58b904b72d970903736efe2b93d5537e176ad3b65da322eace91a9d868dddb8d06c2396a23472117f1983b557
+DIST glibc-2.34-patches-14.tar.xz 139608 BLAKE2B 
4560fd35209c5062ba28062d413ae2b2e7134918b71c9b6a1fe14392aecdac1261981627ca6862c7c7c60490f0df178c8b5650c5b3c2b5a96baf6d6e2ce1892f
 SHA512 
e924b704234489ba7d04794f3260b3af27ae6703db38ed7832db9a90d0d1f48beab30392642ac9c88cf9010d024019db25600805c0746a50d81e612c8d09b422
 DIST glibc-2.34.tar.xz 17301232 BLAKE2B 
874031192f2f5a3b35c3f5b044a467d4be4e67e8593e070e5b49b901ce8ea6bde2f8d2f6c92fa33b3f61eb723572a9e5f2b45e56064168df80a96d3fdb6fa30c
 SHA512 
15252affd9ef4523a8001db16d497f4fdcb3ddf4cde7fe80e075df0bd3cc6524dc29fbe20229dbf5f97af580556e6b1fac0de321a5fe25322bc3e72f93beb624
 DIST glibc-2.35-patches-2.tar.xz 22864 BLAKE2B 
eeba106b90d67fb8837be613ac2ca835ccfaabead38bcfa0408838dab2098c0259d620cb70af953714df6939fd74ccc44fb7ddc6b93172df61f9a5bb7f38356b
 SHA512 
9f1dad92303920ec3fe28129a98a318f79e8645f236485510ce743b6f268c39c739a4d400a44753599723abb06ce01f723fd6b3dd7467dcffdf316e5ba1b773e
 DIST glibc-2.35.tar.xz 18165952 BLAKE2B 
623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c883e5d17d94417dbd1e91775de2e674314e4ff7424f9720026d6b7063
 SHA512 
e7336ce27561be5d7c217832a1136fb327e057bd8d3f92925b35c97e3e9f9e486948b5a1e03e5e4090772ef06437a074d10b82e68f17f1ad8f22077ee39e1b66

diff --git a/sys-libs/glibc/glibc-2.34-r9.ebuild 
b/sys-libs/glibc/glibc-2.34-r9.ebuild
new file mode 100644
index ..50bf9e2320c6
--- /dev/null
+++ b/sys-libs/glibc/glibc-2.34-r9.ebuild
@@ -0,0 +1,1616 @@
+# 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
+
+inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic 
gnuconfig \
+   multilib systemd multiprocessing tmpfiles
+
+DESCRIPTION="GNU libc C library"
+HOMEPAGE="https://www.gnu.org/software/libc/;
+LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE"
+SLOT="2.2"
+
+EMULTILIB_PKG="true"
+
+# Gentoo patchset (ignored for live ebuilds)
+PATCH_VER=14
+PATCH_DEV=dilfridge
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+else
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+   SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
+   SRC_URI+=" 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz;
+fi
+
+RELEASE_VER=${PV}
+
+GCC_BOOTSTRAP_VER=20201208
+
+LOCALE_GEN_VER=2.22
+
+GLIBC_SYSTEMD_VER=20210729
+
+SRC_URI+=" 
https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/locale-gen-${LOCALE_GEN_VER}.tar.gz;
+SRC_URI+=" multilib-bootstrap? ( 
https://dev.gentoo.org/~dilfridge/distfiles/gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz
 )"
+SRC_URI+=" systemd? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-proxy/

2022-02-21 Thread William Hubbs
commit: c07c68983231cd0b8c83ffc0d44207c76ac847e4
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:33 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07c6898

sys-cluster/kube-proxy: 1.21.10 bump

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

 sys-cluster/kube-proxy/Manifest  |  1 +
 sys-cluster/kube-proxy/kube-proxy-1.21.10.ebuild | 35 
 2 files changed, 36 insertions(+)

diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.21.10.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.21.10.ebuild
new file mode 100644
index ..866b8b777f1f
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.21.10.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="net-firewall/conntrack-tools
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /var/log/${PN} /var/lib/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-controller-manager/

2022-02-21 Thread William Hubbs
commit: f5d7e7e68e694ea504525ac9de52ecfcce9730bd
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:32 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d7e7e6

sys-cluster/kube-controller-manager: 1.21.10 bump

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

 sys-cluster/kube-controller-manager/Manifest   |  1 +
 .../kube-controller-manager-1.21.10.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-controller-manager/Manifest 
b/sys-cluster/kube-controller-manager/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git 
a/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.10.ebuild 
b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.10.ebuild
new file mode 100644
index ..3611bae7ae46
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.10.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+   acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/

2022-02-21 Thread William Hubbs
commit: 530ca0ebd68d52577a3968f920792b5967cfc850
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:33 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530ca0eb

sys-cluster/kubelet: 1.21.10 bump

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

 sys-cluster/kubelet/Manifest   |  1 +
 sys-cluster/kubelet/kubelet-1.21.10.ebuild | 37 ++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kubelet/kubelet-1.21.10.ebuild 
b/sys-cluster/kubelet/kubelet-1.21.10.ebuild
new file mode 100644
index ..3dc412ebab17
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.21.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   insinto /etc/kubernetes
+   newins "${FILESDIR}"/${PN}.env ${PN}.env
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-scheduler/

2022-02-21 Thread William Hubbs
commit: a0cca1cddf8b10510bb6cb2a89a62be4394c1b8a
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:34 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cca1cd

sys-cluster/kube-scheduler: 1.21.10 bump

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

 sys-cluster/kube-scheduler/Manifest|  1 +
 .../kube-scheduler/kube-scheduler-1.21.10.ebuild   | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.21.10.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.21.10.ebuild
new file mode 100644
index ..6deafd6db8c6
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.21.10.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+   acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubeadm/

2022-02-21 Thread William Hubbs
commit: 2ad295d12de17c6182e93f7bf6a80e23fbb14a90
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:31 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad295d1

sys-cluster/kubeadm: 1.21.10 bump

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

 sys-cluster/kubeadm/Manifest   |  1 +
 sys-cluster/kubeadm/kubeadm-1.21.10.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kubeadm/kubeadm-1.21.10.ebuild 
b/sys-cluster/kubeadm/kubeadm-1.21.10.ebuild
new file mode 100644
index ..654b067fe403
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.21.10.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-apiserver/

2022-02-21 Thread William Hubbs
commit: 2953ad5d77076573a483855140b6063b071aebb4
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:31 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2953ad5d

sys-cluster/kube-apiserver: 1.21.10 bump

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

 sys-cluster/kube-apiserver/Manifest|  1 +
 .../kube-apiserver/kube-apiserver-1.21.10.ebuild   | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild
new file mode 100644
index ..19b4da1a49f7
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.21.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="
+   acct-group/kube-apiserver
+   acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/

2022-02-21 Thread William Hubbs
commit: 7b3585e1464b3e0f0b78fd803870873aea18e570
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 22:21:32 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 22:21:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3585e1

sys-cluster/kubectl: 1.21.10 bump

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

 sys-cluster/kubectl/Manifest   |  1 +
 sys-cluster/kubectl/kubectl-1.21.10.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 0e8b0ec4e629..ed01b28cff53 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,4 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
+DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 
0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06
 SHA512 
c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302

diff --git a/sys-cluster/kubectl/kubectl-1.21.10.ebuild 
b/sys-cluster/kubectl/kubectl-1.21.10.ebuild
new file mode 100644
index ..f480c2f82844
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.21.10.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+DEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: xfce-base/libxfce4ui/

2022-02-21 Thread Michał Górny
commit: 51e18175145d0c30a5f54ce4ef4711ad7eed5757
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 22:13:59 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 22:15:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e18175

xfce-base/libxfce4ui: Bump to 4.17.4

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

 xfce-base/libxfce4ui/Manifest |  1 +
 xfce-base/libxfce4ui/libxfce4ui-4.17.4.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/xfce-base/libxfce4ui/Manifest b/xfce-base/libxfce4ui/Manifest
index 2283e86fc885..a221eec2585c 100644
--- a/xfce-base/libxfce4ui/Manifest
+++ b/xfce-base/libxfce4ui/Manifest
@@ -1,2 +1,3 @@
 DIST libxfce4ui-4.16.1.tar.bz2 785811 BLAKE2B 
d1267b328b7e2d07bfe85ce320da6a60d5a7d739c5ded9b213b83b0cde2061d3badc937e71c4353291ed435fb9d1294cadcc99402cdae69f4bcecf412dd525f2
 SHA512 
c183bbc75539c777fe704d0a1c4e533fdd2efb6cbc980cfedc2eaa80d0e6223db038498774ffcdc720d7f991dd8d9634183a757a4c4d1728cc9956a33cb187d0
 DIST libxfce4ui-4.17.3.tar.bz2 886464 BLAKE2B 
f6e6b03b5612b45250f795c12cc657c356474dce4d9ecfbe265ff53339f592ad99bc0f2f819bd6899dce5fe337c2655eaa4176ef73c9127a8297976e39bcbedc
 SHA512 
3c41cc922b7a97a81353eafa40f8828289e672514c2d0fabff2fe16f15ff6017c4cca6126f7e00ed321e0d286afc2c5726cc4f40f97ef7146533badfbfdea35c
+DIST libxfce4ui-4.17.4.tar.bz2 853808 BLAKE2B 
1b3c4b9266a4c57ba3cfa518542bd860d2add23ed134e63b8a7bac11672ca776fbededaaf0d374a6cac1ed3559bb4258caeec3ce1b3d758afb89bb2deac6
 SHA512 
eba085b7a0cd0e01600a7ab9659cb5f19d559a134c00f2036109b633dbfc79a0fd0f2db2b350e53f8266f4ff2b1961e193d7e6930488a4a7885d8606804bf5e9

diff --git a/xfce-base/libxfce4ui/libxfce4ui-4.17.4.ebuild 
b/xfce-base/libxfce4ui/libxfce4ui-4.17.4.ebuild
new file mode 100644
index ..757934a0db33
--- /dev/null
+++ b/xfce-base/libxfce4ui/libxfce4ui-4.17.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils vala
+
+DESCRIPTION="Unified widget and session management libs for Xfce"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2;
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="debug glade +introspection startup-notification system-info vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+   >=dev-libs/glib-2.50:2
+   >=x11-libs/gtk+-3.22:3[introspection?,X]
+   x11-libs/libX11
+   x11-libs/libICE
+   x11-libs/libSM
+   >=xfce-base/libxfce4util-4.15.6:=[introspection?]
+   >=xfce-base/xfconf-4.12:=
+   glade? ( dev-util/glade:3.10 )
+   introspection? ( dev-libs/gobject-introspection:= )
+   startup-notification? ( x11-libs/startup-notification )
+   system-info? (
+   dev-libs/libgudev
+   gnome-base/libgtop
+   >=media-libs/libepoxy-1.2
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/pkgconfig
+   vala? ( $(vala_depend) )"
+
+src_configure() {
+   local myconf=(
+   $(use_enable introspection)
+   $(use_enable system-info glibtop)
+   $(use_enable system-info epoxy)
+   $(use_enable system-info gudev)
+   $(use_enable startup-notification)
+   $(use_enable vala)
+   $(use_enable glade gladeui2)
+   --with-vendor-info=Gentoo
+   )
+
+   use vala && vala_setup
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: xfce-base/libxfce4util/

2022-02-21 Thread Michał Górny
commit: 476836c62f2a0f615db65fe6409692e2c1c870eb
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 22:12:01 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 22:14:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476836c6

xfce-base/libxfce4util: Bump to 4.17.2

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

 xfce-base/libxfce4util/Manifest   |  1 +
 xfce-base/libxfce4util/libxfce4util-4.17.2.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/xfce-base/libxfce4util/Manifest b/xfce-base/libxfce4util/Manifest
index 8f10e408565c..4e2e4acc87f2 100644
--- a/xfce-base/libxfce4util/Manifest
+++ b/xfce-base/libxfce4util/Manifest
@@ -1,2 +1,3 @@
 DIST libxfce4util-4.16.0.tar.bz2 508328 BLAKE2B 
99578b898389bd90841a7f903f5473b2ff357cf81256efe1019425b48da32401ce238deffefd299987477f4cdfb77e86e415b55049863c30bf16e0e641e08c72
 SHA512 
dce6992c3da73367461d7464794a9b2a5503666113682e07a86e18b1c5383de2b087809448d5729097571f4fda6b4af5f4f4600848514ab2ab4b3f367ca26f5c
 DIST libxfce4util-4.17.1.tar.bz2 527366 BLAKE2B 
12de2090c0e2f7bb2bdd19ce63988810978f6d5893f866d65348dedfbb260ec11b518f8375ddc19a0a3502b14743878eb731ece79f31edf94d2bd505ea80d9c5
 SHA512 
49d11b50bbb0f72637bbdb9abba4e526f34814900dae337ad5e53df4514019a9761a89ef65a39e6ad94d633f7617c8466cb3985c5fae5350c45955d36077a0fc
+DIST libxfce4util-4.17.2.tar.bz2 518831 BLAKE2B 
4f1241271edab56063c8e5f3ad6b662a19b08ea06c73eb76e124d9fc8cd9a2b26578517fc6e4b0d5e8c3351877c7b5e077818b916297ac24e273c745cb624eec
 SHA512 
3f079570916c3876373155a3ea15b6326ddadd815efdf7d7abd2ccd9768a96b3191f4e050bb51f2e28bc6b121b7ef9823e7a4caf608398220f527a4df7e29c6f

diff --git a/xfce-base/libxfce4util/libxfce4util-4.17.2.ebuild 
b/xfce-base/libxfce4util/libxfce4util-4.17.2.ebuild
new file mode 100644
index ..082ab77a153e
--- /dev/null
+++ b/xfce-base/libxfce4util/libxfce4util-4.17.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit vala
+
+DESCRIPTION="A basic utility library for the Xfce desktop environment"
+HOMEPAGE="https://git.xfce.org/xfce/libxfce4util/;
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2;
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE="+introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+   >=dev-libs/glib-2.56
+   introspection? ( dev-libs/gobject-introspection:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-util/intltool
+   dev-util/gtk-doc-am
+   sys-devel/gettext
+   virtual/pkgconfig
+   vala? ( $(vala_depend) )"
+
+src_configure() {
+   local myconf=(
+   $(use_enable introspection)
+   $(use_enable vala)
+   )
+
+   use vala && vala_setup
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



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

2022-02-21 Thread Sam James
commit: f839cec6e8b75aeeb4ed9c9e0c18055de6cc6300
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 22:13:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 22:13:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f839cec6

dev-libs/cereal: fix CMake option

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

 dev-libs/cereal/cereal-1.3.1-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-libs/cereal/cereal-1.3.1-r1.ebuild 
b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
index 5e128446aca6..0f1e943d7bcc 100644
--- a/dev-libs/cereal/cereal-1.3.1-r1.ebuild
+++ b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
@@ -38,7 +38,6 @@ src_configure() {
# Avoid Boost dependency
-DSKIP_PERFORMANCE_COMPARISON=ON
 
-   -DSKIP_PORTABILITY_TEST=ON
-DWITH_WERROR=OFF
)
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2022-02-21 Thread Sam James
commit: 4976006ce85f935fbbeb96020507eda1aadedf52
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 22:08:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 22:08:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4976006c

sys-auth/oath-toolkit: add ICU dependency

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

 ...t-2.6.2-r1.ebuild => oath-toolkit-2.6.2-r2.ebuild} | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
similarity index 97%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
index e6e4f650cf44..038be19846c7 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.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=6
@@ -7,14 +7,15 @@ inherit pam autotools
 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
 HOMEPAGE="http://www.nongnu.org/oath-toolkit/;
 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
-LICENSE="GPL-3 LGPL-2.1"
 
+LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 IUSE="pam pskc static-libs test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   dev-libs/icu:=
pam? ( sys-libs/pam )
pskc? ( dev-libs/xmlsec )"
 DEPEND="${RDEPEND}
@@ -57,6 +58,13 @@ src_configure() {
$(use_enable static-libs static)
 }
 
+src_test() {
+   # without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independant, this 
sucks.
+   emake --keep-going check
+   [ $? -ne 0 ] && die "At least one testsuite failed"
+}
+
 src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die
@@ -67,10 +75,3 @@ src_install() {
doman pskctool/pskctool.1
fi
 }
-
-src_test() {
-   # without keep-going, it will bail out after the first testsuite 
failure,
-   # skipping the other testsuites. as they are mostly independant, this 
sucks.
-   emake --keep-going check
-   [ $? -ne 0 ] && die "At least one testsuite failed"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/cereal/, dev-libs/cereal/files/

2022-02-21 Thread Sam James
commit: 883b91e25e9f99aed36ed5db29ca34c002a4b614
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 22:10:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 22:10:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883b91e2

dev-libs/cereal: fix version in headers

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

 .../cereal/{cereal-1.3.1.ebuild => cereal-1.3.1-r1.ebuild} |  4 
 dev-libs/cereal/files/cereal-1.3.1-fix-version.patch   | 14 ++
 2 files changed, 18 insertions(+)

diff --git a/dev-libs/cereal/cereal-1.3.1.ebuild 
b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
similarity index 93%
rename from dev-libs/cereal/cereal-1.3.1.ebuild
rename to dev-libs/cereal/cereal-1.3.1-r1.ebuild
index b8f35d34d146..5e128446aca6 100644
--- a/dev-libs/cereal/cereal-1.3.1.ebuild
+++ b/dev-libs/cereal/cereal-1.3.1-r1.ebuild
@@ -17,6 +17,10 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="doc? ( app-doc/doxygen )"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.3.1-fix-version.patch
+)
+
 src_prepare() {
if ! use doc ; then
sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die

diff --git a/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch 
b/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch
new file mode 100644
index ..9a9fa109b39d
--- /dev/null
+++ b/dev-libs/cereal/files/cereal-1.3.1-fix-version.patch
@@ -0,0 +1,14 @@
+https://github.com/USCiLab/cereal/issues/748
+https://github.com/symengine/symengine/issues/1886
+https://bugs.gentoo.org/833817
+--- a/include/cereal/version.hpp
 b/include/cereal/version.hpp
+@@ -42,7 +42,7 @@
+ //! The minor version
+ #define CEREAL_VERSION_MINOR 3
+ //! The patch version
+-#define CEREAL_VERSION_PATCH 0
++#define CEREAL_VERSION_PATCH 1
+ 
+ //! The full version as a single number
+ #define CEREAL_VERSION (CEREAL_VERSION_MAJOR * 1 \



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

2022-02-21 Thread Sam James
commit: 2dbe19af3628090c81edf0d9fea33e83717b66f6
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Feb 21 21:46:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 21:49:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbe19af

dev-libs/expat: stable 2.4.6 for hppa/sparc, bug #833633

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/expat/expat-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/expat/expat-2.4.6.ebuild 
b/dev-libs/expat/expat-2.4.6.ebuild
index 847ca0a3982c..3d1618b237d8 100644
--- a/dev-libs/expat/expat-2.4.6.ebuild
+++ b/dev-libs/expat/expat-2.4.6.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex
 
 LICENSE="MIT"
 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 ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+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 ~x86-winnt"
 IUSE="examples static-libs unicode"
 BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pywebview/

2022-02-21 Thread Ronny Gutbrod
commit: e2d1acff6d607b433c90dc988795730d9593c00f
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Mon Feb 21 21:25:44 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Feb 21 21:29:45 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2d1acff

dev-python/pywebview: Version bump

Drop all arches except ~amd64 because of dev-python/proxy_tools
dependency.

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 dev-python/pywebview/Manifest   |  1 +
 dev-python/pywebview/pywebview-3.6.1.ebuild | 30 +
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pywebview/Manifest b/dev-python/pywebview/Manifest
index 3369f6a71..5c29729f0 100644
--- a/dev-python/pywebview/Manifest
+++ b/dev-python/pywebview/Manifest
@@ -1 +1,2 @@
 DIST pywebview-3.5.tar.gz 336741 BLAKE2B 
332a71499d034acb94e2151771399007d441d85485bf596fb510e7513a417ac8dd1f1091db7796a767b535089d024affaea979567d6992f1bbe1154452cfcd80
 SHA512 
0d4e60a1389a11a9406634ac05446bc11bdea30ed4d81aca311ef01d8e9613d3582cf480c0a79bfe2b5a8c803c56c437abc0bb86ef4ba243bff638fcd6de9490
+DIST pywebview-3.6.1.tar.gz 338235 BLAKE2B 
6376ee4f6bea245e1583414a0203bfed518f84cc64480a451e0b445c2b43f1d532c99dbf1403bca54f2e2b71859262e451b23be231578c91372d5691ffcbff37
 SHA512 
0877981f66c34f72d8c216c5e5167df2bf3c9b4bdd597e1ddde64958ab31e683d722df51e4638510cfa02f382f879340da6ce1b55760b792c215d4c826233f84

diff --git a/dev-python/pywebview/pywebview-3.6.1.ebuild 
b/dev-python/pywebview/pywebview-3.6.1.ebuild
new file mode 100644
index 0..a82e7e54f
--- /dev/null
+++ b/dev-python/pywebview/pywebview-3.6.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight cross-platform wrapper around a webview component"
+HOMEPAGE="https://github.com/r0x0r/pywebview;
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gtk qt5"
+REQUIRED_USE="|| ( gtk qt5 )"
+
+RDEPEND="
+   dev-python/proxy_tools
+   gtk? (
+   dev-python/pygobject[cairo,${PYTHON_USEDEP}]
+   net-libs/webkit-gtk
+   )
+   qt5? (
+dev-python/pyside2[${PYTHON_USEDEP}]
+dev-python/QtPy[${PYTHON_USEDEP}]
+   )
+"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/proxy_tools/

2022-02-21 Thread Ronny Gutbrod
commit: 5c44d7d5d8f2cc97f1f2dd956cb12f2a09da5239
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Mon Feb 21 21:18:52 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Mon Feb 21 21:29:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c44d7d5

dev-python/proxy_tools: New package

Dependency for dev-python/pywebview

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 dev-python/proxy_tools/Manifest |  1 +
 dev-python/proxy_tools/metadata.xml | 11 +++
 dev-python/proxy_tools/proxy_tools-0.1.0.ebuild | 17 +
 3 files changed, 29 insertions(+)

diff --git a/dev-python/proxy_tools/Manifest b/dev-python/proxy_tools/Manifest
new file mode 100644
index 0..c31ffd692
--- /dev/null
+++ b/dev-python/proxy_tools/Manifest
@@ -0,0 +1 @@
+DIST proxy_tools-0.1.0.tar.gz 2978 BLAKE2B 
98322f16dde8efa0fb014de2bcf9b5c8b4856fbb6cef15977e524742c20218db1288d7bdc0b21970dba2d42d5950bd242023fde76baaa09186793e6bf8eb2d3a
 SHA512 
047d32e31f6dd78b7666e847108072f6942c8ba9f08f04d7c98ae13cc5b52e0028f724e738e6eef28ef12945bccab22214660e4606643dcd646dbc770a641882

diff --git a/dev-python/proxy_tools/metadata.xml 
b/dev-python/proxy_tools/metadata.xml
new file mode 100644
index 0..3ecd51026
--- /dev/null
+++ b/dev-python/proxy_tools/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   gen...@tastytea.de
+   Ronny (tastytea) Gutbrod
+   
+   
+   jtushman/proxy_tools
+   
+

diff --git a/dev-python/proxy_tools/proxy_tools-0.1.0.ebuild 
b/dev-python/proxy_tools/proxy_tools-0.1.0.ebuild
new file mode 100644
index 0..ffb6d554d
--- /dev/null
+++ b/dev-python/proxy_tools/proxy_tools-0.1.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple proxy (as in the GoF design pattern)"
+HOMEPAGE="https://pypi.org/project/proxy_tools/;
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""



[gentoo-commits] proj/toolchain/glibc-patches:master commit in: 9999/

2022-02-21 Thread Andreas K. Hüttel
commit: d82b6e3d2cc5374f55a796476462882c5549b0d2
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Feb 21 21:41:50 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Feb 21 21:41:50 2022 +
URL:
https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=d82b6e3d

Restore dropped bracket in 0301, rebase all

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

 /0001-Disable-ldconfig-during-install.patch|  8 
 ...eps-posix-getaddrinfo.c-gaih_inet-Only-us.patch | 12 +--
 ...Adapt-to-Gentoo-specific-etc-mail-aliases.patch | 14 ++---
 ...O0-in-conform-tests-to-survive-CC-changes.patch | 14 ++---
 .../0006-Fix-miscompilation-on-ia64-s-gcc-10.patch |  8 
 /0020-make-clone3-syscall-optional.patch   |  8 
 ...t-skip-entries-with-zero-d_ino-values-BZ-.patch | 10 -
 ...2-linux-Use-getdents64-on-non-LFS-readdir.patch | 14 ++---
 ...nternal-DIR-filepos-as-off64_t-BZ-23960-B.patch | 24 +++---
 /0204-linux-Add-__readdir64_unlocked.patch | 10 -
 /0205-linux-Add-__old_readdir64_unlocked.patch | 12 +--
 ...etdents64-on-readdir64-compat-implementat.patch | 15 +++---
 /0207-dirent-Deprecate-getdirentries.patch | 22 ++--
 ...ault-in-getpwuid-when-stat-fails-BZ-28752.patch | 15 +++---
 14 files changed, 93 insertions(+), 93 deletions(-)

diff --git a//0001-Disable-ldconfig-during-install.patch 
b//0001-Disable-ldconfig-during-install.patch
index 6080ceb..fde0cbb 100644
--- a//0001-Disable-ldconfig-during-install.patch
+++ b//0001-Disable-ldconfig-during-install.patch
@@ -1,7 +1,7 @@
-From 479864345ca9f13e439b68681e13beb3dce60f7c Mon Sep 17 00:00:00 2001
+From 77b6eec2fbc116152cdc0362448e89a22ea1ae83 Mon Sep 17 00:00:00 2001
 From: Mike Frysinger 
 Date: Tue, 3 Aug 2021 00:34:59 +0200
-Subject: [PATCH 1/6] Disable ldconfig during install
+Subject: [PATCH 01/14] Disable ldconfig during install
 
 Do not bother running ldconfig on DESTDIR.  It's a waste of time as we
 won't use the result (portage will rebuild the cache after install).
@@ -15,7 +15,7 @@ https://bugs.gentoo.org/431038
  1 file changed, 1 insertion(+)
 
 diff --git a/Makefile b/Makefile
-index f98d5a9e67..ef0077677c 100644
+index b1454882bd..73c3ef1e76 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -110,6 +110,7 @@ elf/ldso_install:
@@ -27,5 +27,5 @@ index f98d5a9e67..ef0077677c 100644
  $(elf-objpfx)ldconfig $(addprefix -r ,$(install_root)) \
$(slibdir) $(libdir)
 -- 
-2.31.1
+2.34.1
 

diff --git 
a//0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch 
b//0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch
index b256229..d6cd1b3 100644
--- a//0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch
+++ b//0002-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch
@@ -1,8 +1,8 @@
-From 10aed4ee2c685613d190434649bbac896b364680 Mon Sep 17 00:00:00 2001
+From 93e05c56a80d3145e3552ea611f2bd8c755d5887 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= 
 Date: Tue, 29 Aug 2017 22:58:50 +0200
-Subject: [PATCH 2/6] Revert " * sysdeps/posix/getaddrinfo.c (gaih_inet): Only
- use gethostbyname4_r"
+Subject: [PATCH 02/14] Revert " * sysdeps/posix/getaddrinfo.c (gaih_inet):
+ Only use gethostbyname4_r"
 
 This reverts commit 8479f23aa1d5e5477a37f46823856bdafaedfa46.
 
@@ -17,7 +17,7 @@ This makes tst-nss-files-hosts-multi fail. Disable it.
  2 files changed, 2 insertions(+), 8 deletions(-)
 
 diff --git a/nss/Makefile b/nss/Makefile
-index bccf9f2806..c90fee2e4c 100644
+index 552e5d03e1..35ec106e0c 100644
 --- a/nss/Makefile
 +++ b/nss/Makefile
 @@ -74,7 +74,6 @@ tests-container = \
@@ -29,7 +29,7 @@ index bccf9f2806..c90fee2e4c 100644
  tests += tst-nss-files-alias-leak
  tests += tst-nss-files-alias-truncated
 diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
-index 838a68f022..1bb2263225 100644
+index 18dccd5924..2cca006f3d 100644
 --- a/sysdeps/posix/getaddrinfo.c
 +++ b/sysdeps/posix/getaddrinfo.c
 @@ -733,13 +733,8 @@ gaih_inet (const char *name, const struct gaih_service 
*service,
@@ -49,5 +49,5 @@ index 838a68f022..1bb2263225 100644
{
  while (1)
 -- 
-2.31.1
+2.34.1
 

diff --git a//0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch 
b//0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch
index 9588b09..32c5e4a 100644
--- a//0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch
+++ b//0003-Adapt-to-Gentoo-specific-etc-mail-aliases.patch
@@ -1,7 +1,7 @@
-From 60c8192d7a9245a2d1ad491d73b2677564d41374 Mon Sep 17 00:00:00 2001
+From 6e27ad8827f67f742aa53b72c141002085e7e1a8 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= 
 Date: Mon, 22 Oct 2018 22:34:13 +0200
-Subject: [PATCH 3/6] Adapt to Gentoo-specific /etc/mail/aliases
+Subject: [PATCH 

[gentoo-commits] proj/devmanual: Branch deleted: upgrade-path

2022-02-21 Thread Sam James
commit: 
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 21:42:04 2022 +

Branch deleted: upgrade-path




[gentoo-commits] proj/devmanual: New branch: upgrade-path

2022-02-21 Thread Sam James
commit: 
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 21:41:26 2022 +

New branch: upgrade-path




[gentoo-commits] proj/devmanual:master commit in: general-concepts/use-flags/

2022-02-21 Thread Sam James
commit: 3f0133a1c35420f3b67284e672538699a35c59fd
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 21 19:01:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 21:39:53 2022 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=3f0133a1

general-concepts/use-flags: give guidance on IUSE defaults

Avoid e.g. missing common functionality which upstream documentation
may refer to/assume.

Signed-off-by: Sam James  gentoo.org>
Closes: https://github.com/gentoo/devmanual/pull/265
Signed-off-by: Sam James  gentoo.org>

 general-concepts/use-flags/text.xml | 12 
 1 file changed, 12 insertions(+)

diff --git a/general-concepts/use-flags/text.xml 
b/general-concepts/use-flags/text.xml
index 02f1788..0605e91 100644
--- a/general-concepts/use-flags/text.xml
+++ b/general-concepts/use-flags/text.xml
@@ -203,6 +203,18 @@ Add + or - before the name of the use flag 
in IUSE to turn
 it on or off by default.
 
 
+
+IUSE defaults should be used sparingly. Reasons to exclude/default-disable a
+feature may include e.g. large build time for a dependency, or a
+configuration that the Gentoo maintainer is unable to test at runtime.
+
+
+
+The IUSE defaults for a package should not leave a package in a non-functional
+state or lacking important, common functionality. Consulting upstream
+documentation may be useful for assessing this.
+
+
 
 Adding - before a flag in IUSE is pretty much useless, as it will
 neither override the user configuration (make.conf) nor the profile



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

2022-02-21 Thread Michał Górny
commit: 451a3ce648de2f5143e53772db9483c1c536f687
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:00:18 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451a3ce6

dev-python/github3: Bump to 3.1.1

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

 dev-python/github3/Manifest |  1 +
 dev-python/github3/github3-3.1.1.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest
index 55e2a5d9bb91..26e235570bfd 100644
--- a/dev-python/github3/Manifest
+++ b/dev-python/github3/Manifest
@@ -1,2 +1,3 @@
 DIST github3-3.0.0.gh.tar.gz 35410027 BLAKE2B 
d5da6c7a4612879646af7bfe82ac899c3894c0ecba9d6bf2d467ff497431dda342a5895d55bee56a03a6ea4b12bb989a903bdef31998da4382619810a9bd
 SHA512 
67b8d30ec44a38344117a2d28f4eed1d86ddc4ffda68e36da9d6540ef4fe57a544e9d793d278a289f61e8874271b3ee21da0d742d9a7463cceccd4f1384669d5
 DIST github3-3.1.0.gh.tar.gz 35518951 BLAKE2B 
f5e804f2e475cda88423a5ffaa36c1a1d92501dae9a7746f7cb1ef252b3a035db36f84929bfb9ea368a008aad8f5c08e70df9a63bc5e6b543d31ddd0e8549632
 SHA512 
6410f7e38c23ae654e5e8af3b3f2e4511960d19ce37f170283878e1f71349d0affb094b18b869cba79868666dc10e18a00d9182e2990f943c64814fbd3eea82c
+DIST github3-3.1.1.gh.tar.gz 35520342 BLAKE2B 
d06a5121bb034c9ac18c88e3affb9414d6802aba8dd69339c7c17ffb0897e18beac7a004dd3f328c7b4f4bfc91b9bf4e23c8cb33d145a2adbc961896659c8e27
 SHA512 
45c775c6070088a0e73ba353d6fc4d8c7f5e709884caf9116a10faa3de21d1e4e184d5563a741b2f8f60d16ac72304441d7004a5c81680b7ea2660d26fc3758d

diff --git a/dev-python/github3/github3-3.1.1.ebuild 
b/dev-python/github3/github3-3.1.1.ebuild
new file mode 100644
index ..6a9122cb9366
--- /dev/null
+++ b/dev-python/github3/github3-3.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-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="A wrapper for the GitHub API written in python"
+HOMEPAGE="https://github3py.readthedocs.io/en/master/;
+SRC_URI="
+   https://github.com/sigmavirus24/${PN}.py/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN}.py-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-vcs/git
+   >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+   >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}]
+   >=dev-python/pyjwt-2.3.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/betamax-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/betamax-matchers-0.1.0[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -i -e '/addopts/d' tox.ini || die
+   distutils-r1_src_prepare
+}



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

2022-02-21 Thread Michał Górny
commit: fabf14753d5f453c2a6141a18fb6e17f1d95ca85
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:04:29 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabf1475

dev-python/scrypt: Bump to 0.8.20

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

 dev-python/scrypt/Manifest |  1 +
 dev-python/scrypt/scrypt-0.8.20.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/dev-python/scrypt/Manifest b/dev-python/scrypt/Manifest
index 105f62d1637d..14e9a5a8687a 100644
--- a/dev-python/scrypt/Manifest
+++ b/dev-python/scrypt/Manifest
@@ -1 +1,2 @@
 DIST scrypt-0.8.18.tar.gz 56651 BLAKE2B 
d0e71e0677ab5f159da829eaf8e794fab9fa9290ff3688e525c4f2e9c60fda532d1c302fe4088bd8e88e06e926ef95d06bad145697e8a13e2662eda7027479b7
 SHA512 
b033203f65dd63c1e915eeff6232c01f806eb01d3ce18e753b6161ae667555095fe775585dd0d4e15ae228f2d4862860093c1a18d5b810b438d032df9fb24d81
+DIST scrypt-0.8.20.tar.gz 55874 BLAKE2B 
b31c7dcec735944f6162709ba6ceb90160b3c9c403121a47e62563f8d2fc50f0505f180d7c18fa2c8e9037a097ca3bffea4c54c1f3b6861004f65a189a20b576
 SHA512 
da8d34755d4b6c98dc57ff7baf17839cf2434a6d7eb9f6fdc69b3e458d41b4fc49f7fd3a5631318b82bc4b2e46dedb806035897bf1be5a4670b4120f6b46efbc

diff --git a/dev-python/scrypt/scrypt-0.8.20.ebuild 
b/dev-python/scrypt/scrypt-0.8.20.ebuild
new file mode 100644
index ..df17f0b1fb84
--- /dev/null
+++ b/dev-python/scrypt/scrypt-0.8.20.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Bindings for the scrypt key derivation function library"
+HOMEPAGE="https://github.com/holgern/py-scrypt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
+
+RDEPEND="dev-libs/openssl:0="
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest



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

2022-02-21 Thread Michał Górny
commit: 459dffc3222d90a4b8f28d0209f52657544a8acd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:02:53 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459dffc3

dev-python/test_server: Bump to 0.0.33

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

 dev-python/test_server/Manifest  |  1 +
 dev-python/test_server/test_server-0.0.33.ebuild | 17 +
 2 files changed, 18 insertions(+)

diff --git a/dev-python/test_server/Manifest b/dev-python/test_server/Manifest
index ff4b55d40c78..f9dbd033909e 100644
--- a/dev-python/test_server/Manifest
+++ b/dev-python/test_server/Manifest
@@ -1,2 +1,3 @@
 DIST test_server-0.0.31.tar.gz 18578 BLAKE2B 
a08c23a7db43f1c99a0cd270852d9ea841e0c0e9888d1d4a95b8879b436f8c016d1d10222127fc8024fe3560340fd65dc629677106a18c7bc01a565c85a6702e
 SHA512 
f245165f6326e63fae6e51ae247cedade41a391c505d9899c00b886df192326aac32f2a479d322de079f77b252cf199746a7ea3e06089cab105646d194d4d775
 DIST test_server-0.0.32.tar.gz 17548 BLAKE2B 
a24397fb73243e6f8dc1ec1fc84cb4e411ae5ac4217b3b3b47e6f819fc6315e3515ffb81a31d941e0ba1dc289adc37c8da3df35016067a94e026484f20d14e88
 SHA512 
4cc70fff2f1d932f6daba9cf610fb9dc9aca9554f19d494a34300d9b3f31a038cc9843f5e07ec9f884402f6b505e99773e66f8d7da1200cde221af5b83fc2f1c
+DIST test_server-0.0.33.tar.gz 16491 BLAKE2B 
8c4f9ae1264b72e940b2e9d8db580ad077e37db2759af6992ee76b3146bfc6260b52dfa649423e74288d01b5090171a99ae66a2b96f986c0a998bbaef048fb53
 SHA512 
bf7b954a80954e0acfe9eb88dc506e141c9421ef38dcd94a95d0c054b38f088c5c855e1466b7d36d72c1737f34d8639dc456123ca848d567b2d087ff6f9bda00

diff --git a/dev-python/test_server/test_server-0.0.33.ebuild 
b/dev-python/test_server/test_server-0.0.33.ebuild
new file mode 100644
index ..c7736acb266f
--- /dev/null
+++ b/dev-python/test_server/test_server-0.0.33.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Server to test HTTP clients"
+HOMEPAGE="https://github.com/lorien/test_server 
https://pypi.org/project/test-server/;
+SRC_URI="https://github.com/lorien/test_server/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests pytest



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

2022-02-21 Thread Michał Górny
commit: 9921e8b53b529b8deefd19d7befc172e6a74a351
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:01:03 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9921e8b5

dev-python/boto3: Bump to 1.21.4

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

 dev-python/boto3/Manifest|  1 +
 dev-python/boto3/boto3-1.21.4.ebuild | 60 
 2 files changed, 61 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 526e4f153cf0..132531e502e2 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -7,3 +7,4 @@ DIST boto3-1.21.0.tar.gz 468664 BLAKE2B 
7d118b2d91a7d8fa38c27a218fc2eb8e8964f097
 DIST boto3-1.21.1.tar.gz 469079 BLAKE2B 
c2a30539709c7c9741e3a34d5d352a31a0997cfadc29bb3b86c32c602229077414485b77c58718f2a519a5bb2ec8a3d7bfe1d6ef2daf26a8a4ae3c804c636464
 SHA512 
a94d195cbcee2b18877502eca9a79f231519f63712c7522ede23357d1117885e1fd2cce91d3698527d7f19140e08d68dd7272ef1278b9cbad86c77d81aa2661b
 DIST boto3-1.21.2.tar.gz 469425 BLAKE2B 
a49c1280610bcb0564ad357570712224abdc032e807926be7bc0d0652503381b2b854e94ced12c95765f9c30ff62128ec0bff4d38d33e8a7a3d5a8d397de084b
 SHA512 
bcd578c8b0665fc2951897d67279a7075d451a47cad70b59047c1cf66e26fd07f9f90ff8c69f9bc21038042dc6398944c02ebcc355dc8750d0613a11a0c3a2c6
 DIST boto3-1.21.3.tar.gz 469833 BLAKE2B 
97efa041762cbb1b2f493195ca680a6c1631c6f599c631ec33939295d41df03ff1faae2d9178e60a34343a9b2fba33759cbd3d07222e8fabdc923e1a7dc8464f
 SHA512 
57552b96dad6694dc7df34a83fa3822843e9f912c92146e1d11e2bf66fc85c89624752207389a612fa672556a9a02d62af573cbc9c2e264a97e933eb7f18a728
+DIST boto3-1.21.4.tar.gz 470233 BLAKE2B 
3e6d8c5264ac66829e468633700e155ac935aae9fb148d892c90bb629699a4fd726f4e73aa399d98fafbffd71c215d141d682e49850f6d046a4513ab6dda8208
 SHA512 
2366cb0c415ee0497912a2369b3f3981562324556f5e7137d0b52069c63c778406802e2434bec122a047ac14dbdc44e51f6bc3c90fcee12d315aa30c21d45f0c

diff --git a/dev-python/boto3/boto3-1.21.4.ebuild 
b/dev-python/boto3/boto3-1.21.4.ebuild
new file mode 100644
index ..48ea5aa483a1
--- /dev/null
+++ b/dev-python/boto3/boto3-1.21.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-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="The AWS SDK for Python"
+HOMEPAGE="https://github.com/boto/boto3;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "" ]]; then
+   EGIT_REPO_URI="https://github.com/boto/boto3;
+   inherit git-r3
+   BOTOCORE_PV=${PV}
+else
+   SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+   # botocore is x.(y+3).z
+   BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
+fi
+
+RDEPEND="
+   >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+   >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs/source \
+   'dev-python/guzzle_sphinx_theme'
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # don't lock versions to narrow ranges
+   sed -e '/botocore/ d' \
+   -e '/jmespath/ d' \
+   -e '/s3transfer/ d' \
+   -i setup.py || die
+
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/

2022-02-21 Thread Michał Górny
commit: 4a63fcf87c3d2ef3e039b8f6531e16f2e6a0975e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:01:17 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a63fcf8

app-admin/awscli: Bump to 1.22.59

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

 app-admin/awscli/Manifest  |  1 +
 app-admin/awscli/awscli-1.22.59.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index e5d9fec02119..85cb89804b51 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -7,3 +7,4 @@ DIST awscli-1.22.55.tar.gz 2164540 BLAKE2B 
7e69d2810ba3a829522e4ada836f70d229ac6
 DIST awscli-1.22.56.tar.gz 2164531 BLAKE2B 
86ed7632aded1a5c3b18d2eabfbf5fd9954ef2d8f61ebf5c23e596452381a3915909d6fc93c92eaa5d58f02a27df994476fbc847b40984c141946e6f08933dd8
 SHA512 
fb4ad95f2990397fb1d83559e71dbebf1b4f2f52b46912da02bded1d486a61141c94dabc0f59ba2ffd724ef7e379f66113a71f2ea466e7a28cf6ac9582579004
 DIST awscli-1.22.57.tar.gz 2164852 BLAKE2B 
4387cd8a93972f23149c722aa03ce26f9d9fe8daa908d3d9db6e6e845265089a663d8b20f6cb7bd858f69ca29cbbda94813f58349921659534250177eb21dea6
 SHA512 
ad7912aa9bd2318b043796ffce4df42915e4af60ce85f76236ff9e9c1b06ef87a7acc45e560abcfc48c06ab9f14a9d3ebad12b9d02a02f66c9bbaccbbcc66100
 DIST awscli-1.22.58.tar.gz 2165016 BLAKE2B 
d7eec5a51a64d3a78555abfd4a3dd70a02b4e2c4399b57a023bf81603946cbbce3c0a5e49b02d90adfc74ea9d060f72d0350a9673abe855164aede6e35530085
 SHA512 
62e9eff1c8d0ad035566fb97bf26d52554cf314c35bf2277062aadcaa7d96a8c1cb949c85f61a79ace17821f5355d93aeb9f5692b8ca417e852fa4e3aa1325c9
+DIST awscli-1.22.59.tar.gz 2165629 BLAKE2B 
f4223e9095a76121a94345219057b94b830c80c233ebec8864110945d71317e94fe2f08f02e059816f1bdd9e1e2f4800e1f9770559bec4df51d5d39286e11bd0
 SHA512 
0efa161c976e6dd6168a7d8808298a196c0c6e3d4b54c9130efcf88179d6e6f78ae0a231a6c31e1615c84165ba33fffebefccd322442289537c9502102b5ee11

diff --git a/app-admin/awscli/awscli-1.22.59.ebuild 
b/app-admin/awscli/awscli-1.22.59.ebuild
new file mode 100644
index ..2fb60d145aa8
--- /dev/null
+++ b/app-admin/awscli/awscli-1.22.59.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-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 bash-completion-r1 distutils-r1
+
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="https://pypi.org/project/awscli/;
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/aws-cli-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# awscli 1.22.55 → botocore 1.24.0
+# so botocore is x.(y+2).(z-55)
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
+RDEPEND="
+   >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/rsa[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+   # strip overzealous upper bounds on requirements
+   sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   # integration tests require AWS credentials and Internet access
+   epytest tests/{functional,unit}
+}
+
+python_install_all() {
+   newbashcomp bin/aws_bash_completer aws
+
+   insinto /usr/share/zsh/site-functions
+   newins bin/aws_zsh_completer.sh _aws
+
+   distutils-r1_python_install_all
+
+   rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || 
die
+}



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

2022-02-21 Thread Michał Górny
commit: 7e4b2dd531e9d4724b70a6cb7fd210313a10ce04
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 21 21:00:47 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 21 21:36:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4b2dd5

dev-python/botocore: Bump to 1.24.4

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

 dev-python/botocore/Manifest   |  1 +
 dev-python/botocore/botocore-1.24.4.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 8167a58a6ab7..d76c4b00b097 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.24.0.tar.gz 8767222 BLAKE2B 
9cdcb7677544230f006783d5a666c39c0ec2
 DIST botocore-1.24.1.tar.gz 8768807 BLAKE2B 
649633afa85cab9fb248ed9907e2ea3e57aae7325f4f53271669fbb7fa3f6932ce693878905bfe09e1dd1102a05e4be9dec58f9d3f53778a759c5afd85be6e32
 SHA512 
192113e6d072897d6eead85d31f44ee3051ab4610718cbb7b49bfc1e1b884fda9b9f793445275d6ecd678fea12b789fa137c41d1effcafd2ab50cbce81a57927
 DIST botocore-1.24.2.tar.gz 8770474 BLAKE2B 
ed0f5920ae29bc5d51ca5d304f3cc13feb3ca45667d397f77e982d283f1b5551eccdbf41c0e274f56c59cca3398e47c6790d97374f189d4a9411107b0fd7490c
 SHA512 
93811544f756419d6a0a9f49dc836e8c580c7c8ab49f90a541f2f8a24203959976a974056a0953f4d137a19254059e25c356843fb5df91a6d752d23c004f0c34
 DIST botocore-1.24.3.tar.gz 8770454 BLAKE2B 
35c77a5a65a75844594673d3a1af23b087cf88ed7c61177a3f422d4261f907c9ccd1b3beb9eb6f67dcc23084b27078d49e34102ebaa2b868da8b19b1c6e677b4
 SHA512 
313a1a94b985641257b3ee6b7dbfab88fd28efbfcec2cee6e5826ee6e65b174892c9ad9afa2b46caa4b262feb1e731823875d8981c6bd092f5f423ad4cac9430
+DIST botocore-1.24.4.tar.gz 8775103 BLAKE2B 
c23256daab72fd60dbc9c3cb665816970bb168d6e63e0d53bc16dbda6cdeec30a87a864a6a3107f104c3e9d7aabdd1bbe5e43105a8fccad606cf5ac250282738
 SHA512 
73a717b454ce715446e75852b37207691118106e45fd0484101527adbb7e9062d78b200bb650e183bb1a40c0a4d9b0e1c9cc8621e5b5c2d9e7a5de6d46c34297

diff --git a/dev-python/botocore/botocore-1.24.4.ebuild 
b/dev-python/botocore/botocore-1.24.4.ebuild
new file mode 100644
index ..79a1cd5da0e2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.24.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-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="Low-level, data-driven core of boto 3"
+HOMEPAGE="https://github.com/boto/botocore;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "" ]]; then
+   EGIT_REPO_URI="https://github.com/boto/botocore;
+   inherit git-r3
+else
+   SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/jmespath[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
+)
+
+distutils_enable_sphinx docs/source \
+   'dev-python/guzzle_sphinx_theme'
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin deps
+   sed -i -e "s:>=.*':':" setup.py || die
+
+   # unbundle deps
+   rm -r botocore/vendored || die
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # rely on bundled six
+   tests/functional/test_six_imports.py::test_no_bare_six_imports
+   tests/functional/test_six_threading.py::test_six_thread_safety
+   )
+
+   epytest tests/{functional,unit}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-scheduler/

2022-02-21 Thread William Hubbs
commit: 1558a177839220c2031635e43b5f36c406448ff7
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:51 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1558a177

sys-cluster/kube-scheduler: 1.22.7 bump

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

 sys-cluster/kube-scheduler/Manifest|  1 +
 .../kube-scheduler/kube-scheduler-1.22.7.ebuild| 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.22.7.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.22.7.ebuild
new file mode 100644
index ..6deafd6db8c6
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.22.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+   acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-proxy/

2022-02-21 Thread William Hubbs
commit: 87f888c327d544b489c964d3f231c2d1bdf96727
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:51 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f888c3

sys-cluster/kube-proxy: 1.22.7 bump

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

 sys-cluster/kube-proxy/Manifest |  1 +
 sys-cluster/kube-proxy/kube-proxy-1.22.7.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.22.7.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.22.7.ebuild
new file mode 100644
index ..866b8b777f1f
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.22.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="net-firewall/conntrack-tools
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /var/log/${PN} /var/lib/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-controller-manager/

2022-02-21 Thread William Hubbs
commit: 4c173096dbf03124a705823245c27f95fc70d2f2
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:49 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c173096

sys-cluster/kube-controller-manager: 1.22.7 bump

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

 sys-cluster/kube-controller-manager/Manifest   |  1 +
 .../kube-controller-manager-1.22.7.ebuild  | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-controller-manager/Manifest 
b/sys-cluster/kube-controller-manager/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git 
a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.7.ebuild 
b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.7.ebuild
new file mode 100644
index ..3611bae7ae46
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+   acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/

2022-02-21 Thread William Hubbs
commit: e712159c77af6ffdaa35dc1a36b6a2ce5d761327
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:50 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e712159c

sys-cluster/kubelet: 1.22.7 bump

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

 sys-cluster/kubelet/Manifest  |  1 +
 sys-cluster/kubelet/kubelet-1.22.7.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubelet/kubelet-1.22.7.ebuild 
b/sys-cluster/kubelet/kubelet-1.22.7.ebuild
new file mode 100644
index ..3dc412ebab17
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.22.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   insinto /etc/kubernetes
+   newins "${FILESDIR}"/${PN}.env ${PN}.env
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/

2022-02-21 Thread William Hubbs
commit: bdc7baf17054a91d57fd26044b8b474c8450b435
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:50 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc7baf1

sys-cluster/kubectl: 1.22.7 bump

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

 sys-cluster/kubectl/Manifest  |  1 +
 sys-cluster/kubectl/kubectl-1.22.7.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubectl/kubectl-1.22.7.ebuild 
b/sys-cluster/kubectl/kubectl-1.22.7.ebuild
new file mode 100644
index ..f480c2f82844
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.22.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+DEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-apiserver/

2022-02-21 Thread William Hubbs
commit: b2748f48d2875d77c3108e1fa7e635d91de88ca2
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:49 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2748f48

sys-cluster/kube-apiserver: 1.22.7 bump

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

 sys-cluster/kube-apiserver/Manifest|  1 +
 .../kube-apiserver/kube-apiserver-1.22.7.ebuild| 40 ++
 2 files changed, 41 insertions(+)

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.22.7.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.22.7.ebuild
new file mode 100644
index ..19b4da1a49f7
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.22.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="
+   acct-group/kube-apiserver
+   acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubeadm/

2022-02-21 Thread William Hubbs
commit: d4d668f1a3318baccdb3d836065d6912b47c1b40
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 21:08:37 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 21:09:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d668f1

sys-cluster/kubeadm: 1.22.7 bump

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

 sys-cluster/kubeadm/Manifest  |  1 +
 sys-cluster/kubeadm/kubeadm-1.22.7.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 3b10864302ed..0e8b0ec4e629 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -1,5 +1,6 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
+DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 
6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064
 SHA512 
83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubeadm/kubeadm-1.22.7.ebuild 
b/sys-cluster/kubeadm/kubeadm-1.22.7.ebuild
new file mode 100644
index ..654b067fe403
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.22.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-dialup/tio/

2022-02-21 Thread Kurt Kanzenbach
commit: 33b020f73b1d18abb902d14d5a6744b367ef
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon Feb 21 21:05:35 2022 +
Commit: Kurt Kanzenbach  kmk-computers  de>
CommitDate: Mon Feb 21 21:05:35 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33b020f7

net-dialup/tio: Drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>

 net-dialup/tio/Manifest|  1 -
 net-dialup/tio/tio-1.32.ebuild | 18 --
 2 files changed, 19 deletions(-)

diff --git a/net-dialup/tio/Manifest b/net-dialup/tio/Manifest
index c220c6011..dac6f17ee 100644
--- a/net-dialup/tio/Manifest
+++ b/net-dialup/tio/Manifest
@@ -1,2 +1 @@
-DIST tio-1.32.tar.xz 88976 BLAKE2B 
d9f97e0c37326d5db2c6a7d681569738aced6ba45dc60d320bf5dc00db1d77b72474309d0b790ba6af1360cde145cda04ddbc2ba58f69cef1e2331906d04cc89
 SHA512 
6ec216ea8e60fe8fb09e3bc378d8178f0d27789ba876e5a763c1eeef7de064831143270e644e64658d3b9acaf3c1b406f1e3331acc4c8bee91fd56851b99941f
 DIST tio-1.35.tar.xz 1413192 BLAKE2B 
04d1d237187c854d767963d3dc80b572fbdf58f3668861a7b704a45664645782e77245cd2c3f9b64e0b829a8b08fb5d1b5c29a2b62e8fc134949752d97f64336
 SHA512 
e2ca85e189d218be4f61b0e1602e8bca5deaf93affcd2c25e1155bd25e1b31ee2d3b1ff7327225a74f3ad04d56bc5ccc18758c92947c9fb2059ebe8224659961

diff --git a/net-dialup/tio/tio-1.32.ebuild b/net-dialup/tio/tio-1.32.ebuild
deleted file mode 100644
index 33d2fa733..0
--- a/net-dialup/tio/tio-1.32.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1
-
-DESCRIPTION="Simple TTY terminal application"
-HOMEPAGE="https://tio.github.io/;
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz;
-
-SLOT="0"
-LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-src_configure() {
-   econf --with-bash-completion-dir="$(get_bashcompdir)"
-}



[gentoo-commits] repo/proj/guru:dev commit in: net-dialup/tio/

2022-02-21 Thread Kurt Kanzenbach
commit: 3b8428d3ec6f115589f86dda8c60b3e8e0fbb5b2
Author: Kurt Kanzenbach  kmk-computers  de>
AuthorDate: Mon Feb 21 21:04:59 2022 +
Commit: Kurt Kanzenbach  kmk-computers  de>
CommitDate: Mon Feb 21 21:04:59 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b8428d3

net-dialup/tio: Bump version to v1.35

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach  kmk-computers.de>

 net-dialup/tio/Manifest|  1 +
 net-dialup/tio/tio-1.35.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/net-dialup/tio/Manifest b/net-dialup/tio/Manifest
index e4ef49976..c220c6011 100644
--- a/net-dialup/tio/Manifest
+++ b/net-dialup/tio/Manifest
@@ -1 +1,2 @@
 DIST tio-1.32.tar.xz 88976 BLAKE2B 
d9f97e0c37326d5db2c6a7d681569738aced6ba45dc60d320bf5dc00db1d77b72474309d0b790ba6af1360cde145cda04ddbc2ba58f69cef1e2331906d04cc89
 SHA512 
6ec216ea8e60fe8fb09e3bc378d8178f0d27789ba876e5a763c1eeef7de064831143270e644e64658d3b9acaf3c1b406f1e3331acc4c8bee91fd56851b99941f
+DIST tio-1.35.tar.xz 1413192 BLAKE2B 
04d1d237187c854d767963d3dc80b572fbdf58f3668861a7b704a45664645782e77245cd2c3f9b64e0b829a8b08fb5d1b5c29a2b62e8fc134949752d97f64336
 SHA512 
e2ca85e189d218be4f61b0e1602e8bca5deaf93affcd2c25e1155bd25e1b31ee2d3b1ff7327225a74f3ad04d56bc5ccc18758c92947c9fb2059ebe8224659961

diff --git a/net-dialup/tio/tio-1.35.ebuild b/net-dialup/tio/tio-1.35.ebuild
new file mode 100644
index 0..ee8bbe93e
--- /dev/null
+++ b/net-dialup/tio/tio-1.35.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson bash-completion-r1
+
+DESCRIPTION="Simple TTY terminal application"
+HOMEPAGE="https://tio.github.io/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz;
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+src_configure() {
+   local emesonargs=(
+   -Dbashcompletiondir="$(get_bashcompdir)"
+   )
+
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/

2022-02-21 Thread William Hubbs
commit: 247d6b18a509c886596a27ef7dce4f4388fd187b
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:32:00 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:32:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247d6b18

sys-cluster/kubectl: 1.23.4 bump

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

 sys-cluster/kubectl/Manifest  |  1 +
 sys-cluster/kubectl/kubectl-1.23.4.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubectl/kubectl-1.23.4.ebuild 
b/sys-cluster/kubectl/kubectl-1.23.4.ebuild
new file mode 100644
index ..4139faa597f9
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.23.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+DEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-proxy/

2022-02-21 Thread William Hubbs
commit: f77dc1ca552eea6f14421f7e774d723d7334dc62
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:32:01 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:32:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77dc1ca

sys-cluster/kube-proxy: 1.23.4 bump

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

 sys-cluster/kube-proxy/Manifest |  1 +
 sys-cluster/kube-proxy/kube-proxy-1.23.4.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.4.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.23.4.ebuild
new file mode 100644
index ..4cb0309eb568
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.23.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="net-firewall/conntrack-tools
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /var/log/${PN} /var/lib/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/

2022-02-21 Thread William Hubbs
commit: 5bf7eada6bb61a63a1680f7f91f41f6036dc7c78
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:32:01 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:32:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf7eada

sys-cluster/kubelet: 1.23.4 bump

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

 sys-cluster/kubelet/Manifest  |  1 +
 sys-cluster/kubelet/kubelet-1.23.4.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubelet/kubelet-1.23.4.ebuild 
b/sys-cluster/kubelet/kubelet-1.23.4.ebuild
new file mode 100644
index ..30ce73901c03
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.23.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   systemd_dounit "${FILESDIR}"/${PN}.service
+   insinto /etc/kubernetes
+   newins "${FILESDIR}"/${PN}.env ${PN}.env
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-scheduler/

2022-02-21 Thread William Hubbs
commit: a4296579bd658ba2aaa30c88f0bac0715b3ebd34
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:32:02 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:32:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4296579

sys-cluster/kube-scheduler: 1.23.4 bump

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

 sys-cluster/kube-scheduler/Manifest|  1 +
 .../kube-scheduler/kube-scheduler-1.23.4.ebuild| 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.23.4.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.23.4.ebuild
new file mode 100644
index ..92d54579e007
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.23.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+   acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-apiserver/

2022-02-21 Thread William Hubbs
commit: 7a33226dc9c7df071f626c015baebd36de6e582a
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:31:59 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:31:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a33226d

sys-cluster/kube-apiserver: 1.23.4 bump

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

 sys-cluster/kube-apiserver/Manifest|  1 +
 .../kube-apiserver/kube-apiserver-1.23.4.ebuild| 40 ++
 2 files changed, 41 insertions(+)

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.23.4.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.23.4.ebuild
new file mode 100644
index ..f500b5c78822
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.23.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="
+   acct-group/kube-apiserver
+   acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-controller-manager/

2022-02-21 Thread William Hubbs
commit: 53ec75239ffd7454dd5d80c770ae4b80c4a058da
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:32:00 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:32:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ec7523

sys-cluster/kube-controller-manager: 1.23.4 bump

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

 sys-cluster/kube-controller-manager/Manifest   |  1 +
 .../kube-controller-manager-1.23.4.ebuild  | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/sys-cluster/kube-controller-manager/Manifest 
b/sys-cluster/kube-controller-manager/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git 
a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.4.ebuild 
b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.4.ebuild
new file mode 100644
index ..0d5f0abd650c
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+   acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/${PN}.logrotated ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubeadm/

2022-02-21 Thread William Hubbs
commit: 782c919b49e8b03e16e18186b84e55fdfa3acaf7
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 20:31:59 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 20:31:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782c919b

sys-cluster/kubeadm: 1.23.4 bump

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

 sys-cluster/kubeadm/Manifest  |  1 +
 sys-cluster/kubeadm/kubeadm-1.23.4.ebuild | 34 +++
 2 files changed, 35 insertions(+)

diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 88c58d62d12e..3b10864302ed 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -2,3 +2,4 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862
+DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B 
f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc1248b82af193775089
 SHA512 
1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98

diff --git a/sys-cluster/kubeadm/kubeadm-1.23.4.ebuild 
b/sys-cluster/kubeadm/kubeadm-1.23.4.ebuild
new file mode 100644
index ..c780fd079aea
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.23.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io;
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+   dobin _output/bin/${PN}
+   _output/bin/${PN} completion bash > ${PN}.bash || die
+   _output/bin/${PN} completion zsh > ${PN}.zsh || die
+   newbashcomp ${PN}.bash ${PN}
+   insinto /usr/share/zsh/site-functions
+   newins ${PN}.zsh _${PN}
+}



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

2022-02-21 Thread Zac Medico
commit: 5941c4574684f8c0da919e174d91cabc234c66e1
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 21 20:05:37 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 21 20:05:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5941c457

app-misc/yq: Remove old versions

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

 app-misc/yq/Manifest   |  3 ---
 app-misc/yq/yq-2.11.1.ebuild   | 48 --
 app-misc/yq/yq-2.12.0.ebuild   | 48 --
 app-misc/yq/yq-2.9.2-r1.ebuild | 41 
 4 files changed, 140 deletions(-)

diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest
index ae32646f3767..e8fb6586b1d4 100644
--- a/app-misc/yq/Manifest
+++ b/app-misc/yq/Manifest
@@ -1,5 +1,2 @@
-DIST yq-2.11.1.tar.gz 20660 BLAKE2B 
4b51652958121c16462304d21ebe545cca835b6c189a6d7550c7ea0ffc8b7088a02eb61ee412295d85d502a339ec3ccbc67b8dc12cd45a07246cbafa7d7feaf7
 SHA512 
a59a0b12ac70724bb1b857618a66b8fa38ecd35f37adce0495e74ef194f4547be8adce345f29644d43c3b32c0e680512bfcb527310e17746965f9c1db2b612c1
-DIST yq-2.12.0.tar.gz 20796 BLAKE2B 
a314b54628e1865df68dadcbec8e59e16c1e57205e2b9f2b364bb6bee91563dc3da30c1e3a7ac9e2656899ee8ad004600291a845f59fbe13356f0cfb69de3e79
 SHA512 
3d6e26b674e5496e3a60678fb5b0389a6d83f4fdb519b40f5e6092f1df0023bbfb0e3b5e95dfac9b44e6001b8b35d7104aeeea6c347862313e57cc579110178d
 DIST yq-2.13.0.tar.gz 21695 BLAKE2B 
e6d75cde2c298c19616647aeb14f1e34b1a68bb4db1b7e6f4e2619166ef10142ebd405d3c21492e4f5880c46a8d4ce22b08afec492e97102923e6b838e2d
 SHA512 
fd2722450606175b7d6674407c992f1f542b8b2309fcb33d4eb7d6e3dbc6dbc9e04b3dae7c4c649d814fdffaa18cbd50472672f1d1357fc58c5306de082b353a
 DIST yq-2.14.0.tar.gz 28030 BLAKE2B 
07e200524390e938705854c5d1ac4921fbc8f165cdbf8152e36124e52a1c51c70d6d711b67a3dac8c2bbf1f75040466e8d94505aa5f19e388a31bbcdc92e91bd
 SHA512 
77d5d9cefc70fae9f2606434e11c3b14facb68113f6f99017f87acc860684a1b7a94ecf01514e8fa85a6d9cc860df926e13d1ac5bec160e7d057074d758d1d34
-DIST yq-2.9.2.tar.gz 19177 BLAKE2B 
038d813679d3583eb863577f317d834f78f614d6be595c96601a06b40c3af5d9b04234381529012328a45984b183376e0647a6b09b8a87642f8e688e39ec7a7f
 SHA512 
a526407f4f34e9c2a0acccaf38207bbe328468419450efaf30171493123b7715c2e6dd6799679220b07bfa7bc9081ac5f758f833ddf05dfb5e1fe14286baf45c

diff --git a/app-misc/yq/yq-2.11.1.ebuild b/app-misc/yq/yq-2.11.1.ebuild
deleted file mode 100644
index 24689750a1e6..
--- a/app-misc/yq/yq-2.11.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
-HOMEPAGE="https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ 
https://pypi.org/project/yq/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   app-misc/jq
-   dev-python/argcomplete[${PYTHON_USEDEP}]
-   >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
-   dev-python/xmltodict[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/toml[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/yq-2.11.1-tests.patch"
-)
-
-python_prepare_all() {
-   sed -e 's:unittest.main():unittest.main(verbosity=2):' \
-   -i test/test.py || die
-
-   sed -r -i 's:[[:space:]]*"coverage",:: ; s:[[:space:]]*"flake8",::' \
-   setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   "${EPYTHON}" test/test.py https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ 
https://pypi.org/project/yq/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   app-misc/jq
-   dev-python/argcomplete[${PYTHON_USEDEP}]
-   >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-   dev-python/xmltodict[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
-   test? (
-   dev-python/wheel[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/yq-2.11.1-tests.patch"
-)
-
-python_prepare_all() {
-   sed -e 's:unittest.main():unittest.main(verbosity=2):' \
-   -i test/test.py || die
-
-   sed -r -i 's:[[:space:]]*"coverage",:: ; s:[[:space:]]*"flake8",::' \
-   setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   "${EPYTHON}" test/test.py https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ 
https://pypi.org/project/yq/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

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

2022-02-21 Thread Zac Medico
commit: a09a37d51b5b0ea1f69754ee88cb6ce7d832a3b8
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 21 20:04:34 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 21 20:04:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09a37d5

app-misc/yq: Bump to version 2.14.0

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

 app-misc/yq/Manifest |  1 +
 app-misc/yq/yq-2.14.0.ebuild | 48 
 2 files changed, 49 insertions(+)

diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest
index 4c38c5a8fade..ae32646f3767 100644
--- a/app-misc/yq/Manifest
+++ b/app-misc/yq/Manifest
@@ -1,4 +1,5 @@
 DIST yq-2.11.1.tar.gz 20660 BLAKE2B 
4b51652958121c16462304d21ebe545cca835b6c189a6d7550c7ea0ffc8b7088a02eb61ee412295d85d502a339ec3ccbc67b8dc12cd45a07246cbafa7d7feaf7
 SHA512 
a59a0b12ac70724bb1b857618a66b8fa38ecd35f37adce0495e74ef194f4547be8adce345f29644d43c3b32c0e680512bfcb527310e17746965f9c1db2b612c1
 DIST yq-2.12.0.tar.gz 20796 BLAKE2B 
a314b54628e1865df68dadcbec8e59e16c1e57205e2b9f2b364bb6bee91563dc3da30c1e3a7ac9e2656899ee8ad004600291a845f59fbe13356f0cfb69de3e79
 SHA512 
3d6e26b674e5496e3a60678fb5b0389a6d83f4fdb519b40f5e6092f1df0023bbfb0e3b5e95dfac9b44e6001b8b35d7104aeeea6c347862313e57cc579110178d
 DIST yq-2.13.0.tar.gz 21695 BLAKE2B 
e6d75cde2c298c19616647aeb14f1e34b1a68bb4db1b7e6f4e2619166ef10142ebd405d3c21492e4f5880c46a8d4ce22b08afec492e97102923e6b838e2d
 SHA512 
fd2722450606175b7d6674407c992f1f542b8b2309fcb33d4eb7d6e3dbc6dbc9e04b3dae7c4c649d814fdffaa18cbd50472672f1d1357fc58c5306de082b353a
+DIST yq-2.14.0.tar.gz 28030 BLAKE2B 
07e200524390e938705854c5d1ac4921fbc8f165cdbf8152e36124e52a1c51c70d6d711b67a3dac8c2bbf1f75040466e8d94505aa5f19e388a31bbcdc92e91bd
 SHA512 
77d5d9cefc70fae9f2606434e11c3b14facb68113f6f99017f87acc860684a1b7a94ecf01514e8fa85a6d9cc860df926e13d1ac5bec160e7d057074d758d1d34
 DIST yq-2.9.2.tar.gz 19177 BLAKE2B 
038d813679d3583eb863577f317d834f78f614d6be595c96601a06b40c3af5d9b04234381529012328a45984b183376e0647a6b09b8a87642f8e688e39ec7a7f
 SHA512 
a526407f4f34e9c2a0acccaf38207bbe328468419450efaf30171493123b7715c2e6dd6799679220b07bfa7bc9081ac5f758f833ddf05dfb5e1fe14286baf45c

diff --git a/app-misc/yq/yq-2.14.0.ebuild b/app-misc/yq/yq-2.14.0.ebuild
new file mode 100644
index ..4180eac4c6a2
--- /dev/null
+++ b/app-misc/yq/yq-2.14.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
+HOMEPAGE="https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ 
https://pypi.org/project/yq/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   app-misc/jq
+   dev-python/argcomplete[${PYTHON_USEDEP}]
+   >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+   dev-python/xmltodict[${PYTHON_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/yq-2.13.0-tests.patch"
+)
+
+python_prepare_all() {
+   sed -e 's:unittest.main():unittest.main(verbosity=2):' \
+   -i test/test.py || die
+
+   sed -r -i 's:[[:space:]]*"coverage",:: ; s:[[:space:]]*"flake8",::' \
+   setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   "${EPYTHON}" test/test.py 

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-scheduler/

2022-02-21 Thread William Hubbs
commit: 6964bc60ff2e3b1f3f40293ff1c92e562f2eba9e
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:35 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6964bc60

sys-cluster/kube-scheduler: remove 1.23.2

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

 sys-cluster/kube-scheduler/Manifest|  1 -
 .../kube-scheduler/kube-scheduler-1.23.2.ebuild| 39 --
 2 files changed, 40 deletions(-)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.23.2.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.23.2.ebuild
deleted file mode 100644
index 9987d1dc17a8..
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.23.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-DESCRIPTION="Kubernetes Scheduler"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-COMMON_DEPEND="acct-group/kube-scheduler
-   acct-user/kube-scheduler"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   !sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/${PN}.logrotated ${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubelet/

2022-02-21 Thread William Hubbs
commit: a47b617db8eacb6bb6ed5aa8dfe12b53d312bc3a
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:28 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47b617d

sys-cluster/kubelet: remove 1.23.2

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

 sys-cluster/kubelet/Manifest  |  1 -
 sys-cluster/kubelet/kubelet-1.23.2.ebuild | 37 ---
 2 files changed, 38 deletions(-)

diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kubelet/kubelet-1.23.2.ebuild 
b/sys-cluster/kubelet/kubelet-1.23.2.ebuild
deleted file mode 100644
index 07727f428aed..
--- a/sys-cluster/kubelet/kubelet-1.23.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-
-DESCRIPTION="Kubernetes Node Agent"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-RDEPEND="!sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test "
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/${PN}.logrotated ${PN}
-   systemd_dounit "${FILESDIR}"/${PN}.service
-   insinto /etc/kubernetes
-   newins "${FILESDIR}"/${PN}.env ${PN}.env
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-scheduler/

2022-02-21 Thread William Hubbs
commit: 390c42e1f07fa3103b2903195797dd27485990f1
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:57:26 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:57:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390c42e1

sys-cluster/kube-scheduler: remove 1.23.1

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

 sys-cluster/kube-scheduler/Manifest|  1 -
 .../kube-scheduler/kube-scheduler-1.23.1.ebuild| 39 --
 2 files changed, 40 deletions(-)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index 0924677e0660..f38fa7563345 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,6 +1,5 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.1.tar.gz 38170867 BLAKE2B 
edfcd8649995cf944225cf3bc276a7b7cac5ae055e4255319c924b1b80776d939c6630dbd4f074c2b606e16d5abc5c45e72a11b42dda428c8e29411521b63bf7
 SHA512 
95ccd27680cefa1f0e367259a373236866c85b8b0534bed364101b5177c718de0bcd6631136e84b910a2fce00f4c119aef043782228658f852d6753f6606c316
 DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.23.1.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.23.1.ebuild
deleted file mode 100644
index 9987d1dc17a8..
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.23.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-DESCRIPTION="Kubernetes Scheduler"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-COMMON_DEPEND="acct-group/kube-scheduler
-   acct-user/kube-scheduler"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   !sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/${PN}.logrotated ${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-apiserver/

2022-02-21 Thread William Hubbs
commit: 5613f40ad64dcd0ac71ffc0299d880df0d05bfea
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:18 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5613f40a

sys-cluster/kube-apiserver: remove 1.23.2

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

 sys-cluster/kube-apiserver/Manifest|  1 -
 .../kube-apiserver/kube-apiserver-1.23.2.ebuild| 40 --
 2 files changed, 41 deletions(-)

diff --git a/sys-cluster/kube-apiserver/Manifest 
b/sys-cluster/kube-apiserver/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild 
b/sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild
deleted file mode 100644
index 11b45ed397db..
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.23.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit bash-completion-r1 go-module systemd
-
-DESCRIPTION="Kubernetes API server"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-COMMON_DEPEND="
-   acct-group/kube-apiserver
-   acct-user/kube-apiserver"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   !sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/${PN}.logrotated ${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/

2022-02-21 Thread William Hubbs
commit: 56340d320177923acf1efd95042b43aff8178a56
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:25 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56340d32

sys-cluster/kubectl: remove 1.23.2

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

 sys-cluster/kubectl/Manifest  |  1 -
 sys-cluster/kubectl/kubectl-1.23.2.ebuild | 34 ---
 2 files changed, 35 deletions(-)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kubectl/kubectl-1.23.2.ebuild 
b/sys-cluster/kubectl/kubectl-1.23.2.ebuild
deleted file mode 100644
index 9187677535ee..
--- a/sys-cluster/kubectl/kubectl-1.23.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit bash-completion-r1 go-module
-
-DESCRIPTION="CLI to run commands against Kubernetes clusters"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-DEPEND="!sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   _output/bin/${PN} completion bash > ${PN}.bash || die
-   _output/bin/${PN} completion zsh > ${PN}.zsh || die
-   newbashcomp ${PN}.bash ${PN}
-   insinto /usr/share/zsh/site-functions
-   newins ${PN}.zsh _${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubeadm/

2022-02-21 Thread William Hubbs
commit: cf6d4aa9fb389f556ca936d1551c7f27437879f7
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:14 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6d4aa9

sys-cluster/kubeadm: remove 1.23.2

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

 sys-cluster/kubeadm/Manifest  |  1 -
 sys-cluster/kubeadm/kubeadm-1.23.2.ebuild | 34 ---
 2 files changed, 35 deletions(-)

diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kubeadm/kubeadm-1.23.2.ebuild 
b/sys-cluster/kubeadm/kubeadm-1.23.2.ebuild
deleted file mode 100644
index be9347c86f73..
--- a/sys-cluster/kubeadm/kubeadm-1.23.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit bash-completion-r1 go-module
-
-DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
-HOMEPAGE="https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-RDEPEND="!sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   _output/bin/${PN} completion bash > ${PN}.bash || die
-   _output/bin/${PN} completion zsh > ${PN}.zsh || die
-   newbashcomp ${PN}.bash ${PN}
-   insinto /usr/share/zsh/site-functions
-   newins ${PN}.zsh _${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-proxy/

2022-02-21 Thread William Hubbs
commit: 62ee9621fc3c68c0e9449fd37c4e713f3b00ef2e
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Feb 21 19:58:31 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Feb 21 19:58:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ee9621

sys-cluster/kube-proxy: remove 1.23.2

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

 sys-cluster/kube-proxy/Manifest |  1 -
 sys-cluster/kube-proxy/kube-proxy-1.23.2.ebuild | 35 -
 2 files changed, 36 deletions(-)

diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index f38fa7563345..88c58d62d12e 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -1,5 +1,4 @@
 DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 
45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094
 SHA512 
760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c
 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 
65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e
 SHA512 
d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
 DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 
2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58
 SHA512 
bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
-DIST kubernetes-1.23.2.tar.gz 38183896 BLAKE2B 
6b8287ec0f2661f2c704aee5c8eada748395aa49b17d260fbb78ce7d2da6ac02dcf7d40018d954768ba174f9387d289fc9f8dc4c2d5a58689877a667c6e367e3
 SHA512 
af67745f84efe1e340187e510d42db231bbeef29d59fae3408b8a560bf5a336d3afa21d4a6bdd6a748ebd018aae0b15edcb4ebda594367aae3f91bae173c3a98
 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 
56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2
 SHA512 
8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.2.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.23.2.ebuild
deleted file mode 100644
index 16d282f95217..
--- a/sys-cluster/kube-proxy/kube-proxy-1.23.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-DESCRIPTION="Kubernetes Proxy service"
-HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io;
-SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64"
-IUSE="hardened"
-
-RDEPEND="net-firewall/conntrack-tools
-   !sys-cluster/kubernetes"
-BDEPEND=">=dev-lang/go-1.17"
-
-RESTRICT+=" test"
-S="${WORKDIR}/kubernetes-${PV}"
-
-src_compile() {
-   CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-   emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
-}
-
-src_install() {
-   dobin _output/bin/${PN}
-   keepdir /var/log/${PN} /var/lib/${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/${PN}.logrotated ${PN}
-}



  1   2   3   >