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

2023-07-02 Thread Robin H. Johnson
commit: 91218bb24ccb876394ba00664f7d3b280db32d63
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Jul  3 05:02:01 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Jul  3 05:02:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91218bb2

app-misc/ddccontrol: there are no real tests from upstream

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/830940

 app-misc/ddccontrol/ddccontrol-0.6.0.ebuild | 4 
 app-misc/ddccontrol/ddccontrol-0.6.1.ebuild | 4 
 2 files changed, 8 insertions(+)

diff --git a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild 
b/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
index c784c201fd5c..5324da6ba848 100644
--- a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
+++ b/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
@@ -14,6 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc gtk nls +pci static-libs"
 
+# Upstream doesn't seem to care about tests: failures for lack of translations,
+# and no real test targets.
+RESTRICT='test'
+
 RDEPEND="app-misc/ddccontrol-db
dev-libs/glib:2
dev-libs/libxml2:2

diff --git a/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild 
b/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
index c784c201fd5c..5324da6ba848 100644
--- a/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
+++ b/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
@@ -14,6 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc gtk nls +pci static-libs"
 
+# Upstream doesn't seem to care about tests: failures for lack of translations,
+# and no real test targets.
+RESTRICT='test'
+
 RDEPEND="app-misc/ddccontrol-db
dev-libs/glib:2
dev-libs/libxml2:2



[gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/files/, app-misc/ddcutil/

2023-07-01 Thread Robin H. Johnson
commit: 789ce62e3be2a78375b7173a8692bef3deb31ece
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Jul  1 23:12:16 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Jul  1 23:34:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789ce62e

app-misc/ddcutil: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-misc/ddcutil/Manifest  |   1 +
 app-misc/ddcutil/ddcutil-1.4.1.ebuild  | 119 +
 .../ddcutil/files/ddcutil-1.4.1-no-werror.patch|  14 +++
 3 files changed, 134 insertions(+)

diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index b8e49ee087d8..1e710d2da94f 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1,3 @@
 DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 
65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe
 SHA512 
0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
 DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 
1cb3b64961503416b85b792e1002ec67788f8cf7d622be1c4930808f99e16974ff57ed582d1d02a67580e3f4d92bef54b3669fd7378462bf4c98a3643d6786be
 SHA512 
93d69958b2e1dcb66ad700712742536179383c93f2ec1f746b6a6c78adfd6daa861275208850cc807e0c16a11ea84904cb13ceef512ca76e1daa910410303d41
+DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B 
ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f
 SHA512 
e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857

diff --git a/app-misc/ddcutil/ddcutil-1.4.1.ebuild 
b/app-misc/ddcutil/ddcutil-1.4.1.ebuild
new file mode 100644
index ..35f885477ff1
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-1.4.1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/";
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+SLOT="0/4"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+   dev-libs/glib:2
+   sys-apps/i2c-tools
+   virtual/udev
+   drm? ( x11-libs/libdrm )
+   usb-monitor? (
+   dev-libs/hidapi
+   virtual/libusb:1
+   sys-apps/usbutils
+   )
+   user-permissions? (
+   acct-group/i2c
+   usb-monitor? ( acct-group/video )
+   )
+   X? (
+   x11-libs/libXrandr
+   x11-libs/libX11
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-doc/doxygen[dot] )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-no-werror.patch
+)
+
+pkg_pretend() {
+   # This program needs /dev/ic2-* devices to communicate with the monitor.
+   CONFIG_CHECK="~I2C_CHARDEV"
+   ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to 
continue"
+   if use usb-monitor; then
+   CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+   ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+   ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+   fi
+
+   # Now do the actual checks setup above
+   check_extra_config
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   # FAILS: doxyfile: No such file or directory
+   # $(use_enable doc doxygen)
+   $(use_enable drm)
+   --enable-udev
+   $(use_enable usb-monitor usb)
+   --enable-lib
+   $(use_enable X x11)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+   if use user-permissions; then
+   udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+   if use usb-monitor; then
+   udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+   fi
+   fi
+}
+
+pkg_postinst() {
+   if use user-permissions; then
+   einfo "To allow non-root users access to the /dev/i2c-* 
devices, add those"
+   einfo "users to the i2c group: usermod -aG i2c user"
+   einfo "Restart the computer or reload the i2c-dev module to 
activate"
+   einfo "the new udev rule.&q

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

2023-07-01 Thread Robin H. Johnson
commit: 43e4bbc7ba35d82b8b36c438831a1860c1f91abc
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Jul  1 23:19:21 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Jul  1 23:38:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e4bbc7

app-misc/ddccontrol: bump

Remove sourceforge from metadata as it is not getting any updates
anymore.

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-misc/ddccontrol/Manifest| 1 +
 app-misc/ddccontrol/ddccontrol-0.6.0.ebuild | 2 +-
 .../ddccontrol/{ddccontrol-0.6.0.ebuild => ddccontrol-0.6.1.ebuild} | 2 +-
 app-misc/ddccontrol/metadata.xml| 1 -
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-misc/ddccontrol/Manifest b/app-misc/ddccontrol/Manifest
index ba3b09ea729d..e8e6f83e74ad 100644
--- a/app-misc/ddccontrol/Manifest
+++ b/app-misc/ddccontrol/Manifest
@@ -1 +1,2 @@
 DIST ddccontrol-0.6.0.tar.gz 180376 BLAKE2B 
d844f03ae4843a710a3a7143b1270656202c261b5e412822c49c2096c150052ddb6747b62f7c1d2404cffeb13af5ed604be915061b3fd339c8dcf66473bbd791
 SHA512 
49e857e8ef8f2ba87dc51056b9511ce55f3e6471222cd9171a324e2ee179b8c96a8f4d90c63bb379260ccc8e1d9653964f90748d6589d298ff2bbe6982efd3e2
+DIST ddccontrol-0.6.1.tar.gz 180407 BLAKE2B 
fba90502925320f3eb20e71498456e8b1135af9d67a78a74ec7b28d3d49a2841fcb77806a983c4231e8e97d07ef7fdf29b36145316f130ed8a529ef39ed4d104
 SHA512 
abc8940dcd651c25e1030bd4f5ae59774cfa08b22352a653140ec924cbcaa93855473385575636ec0cd51ea5f1871e2331ade592846eafddb7eae99f55ff1164

diff --git a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild 
b/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
index f69c03ac286d..c784c201fd5c 100644
--- a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
+++ b/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools
 
 DESCRIPTION="Control monitor parameters, like brightness, contrast, RGB color 
levels via DDC"
-HOMEPAGE="https://ddccontrol.sourceforge.net/";
+HOMEPAGE="https://github.com/ddccontrol/ddccontrol/";
 SRC_URI="https://github.com/ddccontrol/ddccontrol/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2+"

diff --git a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild 
b/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
similarity index 97%
copy from app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
copy to app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
index f69c03ac286d..c784c201fd5c 100644
--- a/app-misc/ddccontrol/ddccontrol-0.6.0.ebuild
+++ b/app-misc/ddccontrol/ddccontrol-0.6.1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools
 
 DESCRIPTION="Control monitor parameters, like brightness, contrast, RGB color 
levels via DDC"
-HOMEPAGE="https://ddccontrol.sourceforge.net/";
+HOMEPAGE="https://github.com/ddccontrol/ddccontrol/";
 SRC_URI="https://github.com/ddccontrol/ddccontrol/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2+"

diff --git a/app-misc/ddccontrol/metadata.xml b/app-misc/ddccontrol/metadata.xml
index ea7adc5a83f5..0351d3bbfd11 100644
--- a/app-misc/ddccontrol/metadata.xml
+++ b/app-misc/ddccontrol/metadata.xml
@@ -7,6 +7,5 @@
   
   
 ddccontrol/ddccontrol
-ddccontrol
   
 



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

2023-07-01 Thread Robin H. Johnson
commit: d5440bf06bc923f4fc0f2b29adc5b33569a0fd69
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Jul  1 23:30:50 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Jul  1 23:38:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5440bf0

app-misc/ddccontrol-db: bump

Remove sourceforge from metadata as it is not getting any updates
anymore.

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-misc/ddccontrol-db/Manifest | 1 +
 app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild| 2 +-
 .../{ddccontrol-db-20230223.ebuild => ddccontrol-db-20230627.ebuild}| 2 +-
 app-misc/ddccontrol-db/metadata.xml | 1 -
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-misc/ddccontrol-db/Manifest b/app-misc/ddccontrol-db/Manifest
index 60768e0b9236..f671fc666ed1 100644
--- a/app-misc/ddccontrol-db/Manifest
+++ b/app-misc/ddccontrol-db/Manifest
@@ -1 +1,2 @@
 DIST ddccontrol-db-20230223.tar.gz 112436 BLAKE2B 
2ea33abe318005b340481ea6973ecbf5e261dfdd5579ad016262d0e1ee5ef44e15d16600a88d0323810bed4bf062632406c305202296932dc2e71288a888b091
 SHA512 
303345137d9f5760d4ee10db75322a3be97fe4269eb469e4ff798fe69f60670b8408ca87d2b3ad10f47ccb1f33c99c3ce09a1294f60e66d429074df685ab1501
+DIST ddccontrol-db-20230627.tar.gz 118149 BLAKE2B 
addbe499c4021efd3114740100abc3bdbb0bbeb5519a77340e90f736e72d1ffe80996bdfe450e60a6bba78175ddf9fb2be162e399402ed306dbdd931f1760a4e
 SHA512 
efb1f1d407705e5baa3bc8924af4f7edb1ad05c36af5301a4d3053fa5aca4739d72091f00da4ec10ad0511ee1bfd148e75db66fd1c1a1e50e97d51679aa6ae64

diff --git a/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild 
b/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild
index 9e6c4cdf3377..c702318cfafa 100644
--- a/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild
+++ b/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools
 
 DESCRIPTION="DDCControl monitor database"
-HOMEPAGE="https://ddccontrol.sourceforge.net/";
+HOMEPAGE="https://github.com/ddccontrol/ddccontrol-db";
 SRC_URI="https://github.com/ddccontrol/ddccontrol-db/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2+"

diff --git a/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild 
b/app-misc/ddccontrol-db/ddccontrol-db-20230627.ebuild
similarity index 90%
copy from app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild
copy to app-misc/ddccontrol-db/ddccontrol-db-20230627.ebuild
index 9e6c4cdf3377..c702318cfafa 100644
--- a/app-misc/ddccontrol-db/ddccontrol-db-20230223.ebuild
+++ b/app-misc/ddccontrol-db/ddccontrol-db-20230627.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools
 
 DESCRIPTION="DDCControl monitor database"
-HOMEPAGE="https://ddccontrol.sourceforge.net/";
+HOMEPAGE="https://github.com/ddccontrol/ddccontrol-db";
 SRC_URI="https://github.com/ddccontrol/ddccontrol-db/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2+"

diff --git a/app-misc/ddccontrol-db/metadata.xml 
b/app-misc/ddccontrol-db/metadata.xml
index 8a3be9100b94..36c44e266b2f 100644
--- a/app-misc/ddccontrol-db/metadata.xml
+++ b/app-misc/ddccontrol-db/metadata.xml
@@ -4,6 +4,5 @@
   
   
 ddccontrol/ddccontrol-db
-ddccontrol
   
 



[ceph-users] Re: RadosGW strange behavior when using a presigned url generated by SDK PHP

2023-06-29 Thread Robin H. Johnson
On Fri, Jun 30, 2023 at 01:21:57AM -, Huy Nguyen wrote:
> Thanks for your reply,
> Yes, my setup is like the following:
> RGWs (port 8084) -> Nginx (80, 443)
> 
> So this why it make me confuse when :8084 appear with the domain.
> 
> And this behavior only occurs with PHP's generated url, not in Boto3
Put tcpdump or something else between nginx & RGW and capture the
transaction when using Boto3 vs PHP.

I'm relatively sure it's nginx adding it for you.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[gentoo-commits] proj/qa-scripts:master commit in: /

2023-06-29 Thread Robin H. Johnson
commit: d1dda423e1285e94fade299209e58f4434db35ee
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Jun 30 05:33:01 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Jun 30 05:33:01 2023 +
URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d1dda423

keyrings.inc.bash: ensure digests/packets present

Signed-off-by: Robin H. Johnson  gentoo.org>

 keyrings-export.bash |  4 +++-
 keyrings.inc.bash| 17 +
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/keyrings-export.bash b/keyrings-export.bash
index 92c0228..56e4e51 100755
--- a/keyrings-export.bash
+++ b/keyrings-export.bash
@@ -6,6 +6,8 @@
 # - requires keeping state to detect changes in keys, there is no usable mtime 
data in a key itself
 
 OUTPUT_DIR=${1:-.}
+# Ensure output is absolute
+OUTPUT_DIR=$(readlink -f "${OUTPUT_DIR}")
 BASEDIR="$(dirname "$0")"
 # shellcheck source=./keyrings.inc.bash
 source "${BASEDIR}"/keyrings.inc.bash
@@ -57,7 +59,7 @@ export_keys "${OUTPUT_DIR}"/keys/all-devs.gpg \
 for key in "${KEYRINGS[@]}" ; do
if [[ ! -L "${OUTPUT_DIR}"/${key}.gpg ]] ; then
# Compatibility symlink
-   ln -s "${OUTPUT_DIR}"/keys/${key}.gpg "${OUTPUT_DIR}"/${key}.gpg
+   ln -sf "${OUTPUT_DIR}"/keys/${key}.gpg 
"${OUTPUT_DIR}"/${key}.gpg
fi
 
if [[ $(date -u +%A) == Monday ]] ; then

diff --git a/keyrings.inc.bash b/keyrings.inc.bash
index 32fc03f..d2668e0 100644
--- a/keyrings.inc.bash
+++ b/keyrings.inc.bash
@@ -123,14 +123,15 @@ export_keys() {
 
# Check if the textual format has changed at all, and emit the new 
version
# if there are ANY changes at all.
-   if ! cmp -s "${DST}.packets.txt" "${TMP}.packets.txt"; then
-   chmod a+r "${TMP}"
-   mv -f "${TMP}" "${DST}"
-   mv -f "${TMP}.packets.txt" "${DST}.packets.txt"
-   mv -f "${TMP}.DIGESTS" "${DST}.DIGESTS"
-   fi
-   # Cleanup anyway
-   rm -f "${TMP}.packets.txt" "${TMP}"
+   cmp -s "${DST}.packets.txt" "${TMP}.packets.txt"
+   cmp_rc=$?
+   chmod a+r "${TMP}" "${TMP}.packets.txt" "${TMP}.DIGESTS"
+   for suffix in '' '.packets.txt' '.DIGESTS'; do
+   # If these file do not exist, or the cmp was different, move 
them.
+   [ ! -f "${DST}${suffix}" -o $cmp_rc -ne 0 ] && mv -f 
"${TMP}${suffix}" "${DST}${suffix}"
+   # Cleanup anyway
+   rm -f "${TMP}${suffix}"
+   done
 }
 
 # populate common variables



[gentoo-commits] proj/qa-scripts:master commit in: /

2023-06-29 Thread Robin H. Johnson
commit: 7112f5af5a5b681d6c8d39c2ff0cf27252fc81f3
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Jun 30 05:06:42 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Jun 30 05:06:51 2023 +
URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=7112f5af

keyrings-export.bash: fixup export

Signed-off-by: Robin H. Johnson  gentoo.org>

 keyrings-export.bash | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/keyrings-export.bash b/keyrings-export.bash
index b3234e2..92c0228 100755
--- a/keyrings-export.bash
+++ b/keyrings-export.bash
@@ -17,35 +17,44 @@ export -a NONCOMMITTING_DEVS=( $(grab_ldap_fingerprints -b 
"${DEV_BASE}" "${NONC
 export -a RETIRED_DEVS=( $(grab_ldap_fingerprints -b "${DEV_BASE}" 
"${RETIRED_RULE}") )
 export -a SYSTEM_KEYS=( $(grab_ldap_fingerprints -b "${SYSTEM_BASE}" 
"${NONCOMMIT_RULE}") )
 export -a INFRA_SYSTEM_KEYS=( $(grab_ldap_fingerprints -b "${SYSTEM_BASE}" 
"${INFRA_SYSTEM_RULE}") )
+export -a KEYRINGS=( )
 
 export_keys "${OUTPUT_DIR}"/keys/service-keys.gpg \
-   "${SYSTEM_KEYS[@]}"
+   "${SYSTEM_KEYS[@]}" \
+&& KEYRINGS+=( service-keys )
 
 export_keys "${OUTPUT_DIR}"/keys/infra-service-keys.gpg \
-"${INFRA_SYSTEM_KEYS[@]}"
+"${INFRA_SYSTEM_KEYS[@]}" \
+&& KEYRINGS+=( infra-service-keys )
 
 export_keys "${OUTPUT_DIR}"/keys/committing-devs.gpg \
-   "${COMMITTING_DEVS[@]}"
+   "${COMMITTING_DEVS[@]}" \
+&& KEYRINGS+=( committing-devs )
 
 export_keys "${OUTPUT_DIR}"/keys/active-devs.gpg \
"${COMMITTING_DEVS[@]}" \
-   "${NONCOMMITTING_DEVS[@]}"
+   "${NONCOMMITTING_DEVS[@]}" \
+&& KEYRINGS+=( active-devs )
 
 export_keys "${OUTPUT_DIR}"/keys/infra-devs.gpg \
-   "${INFRA_DEVS[@]}"
+   "${INFRA_DEVS[@]}" \
+&& KEYRINGS+=( infra-devs )
 
 export_keys "${OUTPUT_DIR}"/keys/retired-devs.gpg \
-   "${RETIRED_DEVS[@]}"
+   "${RETIRED_DEVS[@]}" \
+&& KEYRINGS+=( retired-devs )
 
 # Everybody together now
 export_keys "${OUTPUT_DIR}"/keys/all-devs.gpg \
"${SYSTEM_KEYS[@]}" \
+   "${INFRA_SYSTEM_KEYS[@]}" \
"${COMMITTING_DEVS[@]}" \
"${NONCOMMITTING_DEVS[@]}" \
"${INFRA_DEVS[@]}" \
-   "${RETIRED_DEVS[@]}"
+   "${RETIRED_DEVS[@]}" \
+&& KEYRINGS+=( all-devs )
 
-for key in service-keys committing-devs active-devs infra-devs retired-devs 
all-devs ; do
+for key in "${KEYRINGS[@]}" ; do
if [[ ! -L "${OUTPUT_DIR}"/${key}.gpg ]] ; then
# Compatibility symlink
ln -s "${OUTPUT_DIR}"/keys/${key}.gpg "${OUTPUT_DIR}"/${key}.gpg



[gentoo-commits] proj/qa-scripts:master commit in: /

2023-06-29 Thread Robin H. Johnson
commit: 6dd35cefc5fcaf0662708b5952038bce528979ff
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Jun 30 05:18:58 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Jun 30 05:18:58 2023 +
URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=6dd35cef

keyrings.inc.bash: ensure there is a checksum to verify the download for 
corruption (integrity only, not authenticity)

Signed-off-by: Robin H. Johnson  gentoo.org>

 keyrings.inc.bash | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/keyrings.inc.bash b/keyrings.inc.bash
index cc89de0..32fc03f 100644
--- a/keyrings.inc.bash
+++ b/keyrings.inc.bash
@@ -96,7 +96,8 @@ export_keys() {
DST="$1"
shift
setup_tmp
-   TMP="${GPG_TMPDIR}"/$(basename "${DST}")
+   BASENAME=$(basename "${DST}")
+   TMP="${GPG_TMPDIR}/${BASENAME}"
# Must not exist, otherwise GPG will give error
[[ -f "${TMP}" ]] && rm -f "${TMP}"
# 'gpg --export' returns zero if there was no error with the command 
itself
@@ -116,12 +117,17 @@ export_keys() {
echo "Unable to export keys to $DST: GPG failed to list packets"
exit 1
fi
+
+   # Ensure we have a checksum to verify the file.
+   rhash --bsd --sha256 --sha512 --blake2b "${TMP}" |sed 
"s,${TMP},${BASENAME},g" >"${TMP}.DIGESTS"
+
# Check if the textual format has changed at all, and emit the new 
version
# if there are ANY changes at all.
if ! cmp -s "${DST}.packets.txt" "${TMP}.packets.txt"; then
chmod a+r "${TMP}"
mv -f "${TMP}" "${DST}"
mv -f "${TMP}.packets.txt" "${DST}.packets.txt"
+   mv -f "${TMP}.DIGESTS" "${DST}.DIGESTS"
fi
# Cleanup anyway
rm -f "${TMP}.packets.txt" "${TMP}"



[ceph-users] Re: RadosGW strange behavior when using a presigned url generated by SDK PHP

2023-06-29 Thread Robin H. Johnson
On Thu, Jun 29, 2023 at 10:46:16AM -, Huy Nguyen wrote:
> Hi,
> I tried to generate a presigned url using SDK PHP, but it doesn't
> work. (I also tried to use boto3 with the same configures and the url
> works normally)
Do you have some sort of load-balancer in the setup? Either HAProxy,
Nginx, or something else.

If the port number isn't in the PHP script's output, by deduction it
must be coming from somewhere else. As a bug or misconfiguration.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: [gentoo-dev] A problem with updating my key (again)

2023-06-14 Thread Robin H. Johnson
On Tue, Jun 13, 2023 at 05:00:16PM +, Andrey Grozin wrote:
> Hi *,
> 
> My key was going to expire soon. So, as usual, I have prolonged it for the 
> next year (several days ago). I've sent it to the Gentoo keyserver. I've 
> checked that the fingerpring of my key in LDAP coinsides with the 
> fingerprint I see locally.
Hi Andrey,

As I wrote in the direct email to you, your new key is not present on
any of the three keyservers. You said you sent it to the keyserver, but
I don't see it there. Can you please confirm what you used to upload it?

It should be these steps:
https://wiki.gentoo.org/wiki/Project:Infrastructure/Generating_GLEP_63_based_OpenPGP_keys#Submit_the_new_key_to_the_keyserver

I have just verified that the steps work because I had to update the
expiry on my own keys, and the new expiry can be verified:
https://keys.gentoo.org/pks/lookup?search=robbat2&fingerprint=on&hash=on&op=vindex

You can check that it's present shortly after uploading again:
https://keys.gentoo.org/pks/lookup?search=grozin&fingerprint=on&hash=on&op=vindex

If the servers are out of sync, it can be seen as well (they are in sync
as I write this):
https://motmot.keys.gentoo.org/pks/lookup?search=grozin&fingerprint=on&hash=on&op=vindex
https://trogan.keys.gentoo.org/pks/lookup?search=grozin&fingerprint=on&hash=on&op=vindex
https://kookaburra.keys.gentoo.org/pks/lookup?search=grozin&fingerprint=on&hash=on&op=vindex

> It seems that the remote git has ignored the fact that my key has been 
> prolonged about 3 days ago. One year ago I had the same situation. Is 
> there any reliable way to inform this git hook about the prolongation of 
> my key?
After uploading updates to an existing key, you should need to wait at
most 20 minutes: the keyservers are exported to a keyring, that's hosted
on the qa-reports site, and that keyring is fetched frequently by other
hosts that have a need to verify keys.

If you upload a *new* primary key, you need update ldap (yourself) and
then to alert infra to re-sync the gitolite listing of permitted keys
for your user.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


Re: [gentoo-mirrors] Problem rsyncing the master mirror on experimental/amd64/binpkg/default/linux/17.1/x86-64/virtual/openssh

2023-06-07 Thread Robin H. Johnson
On Wed, Jun 07, 2023 at 07:04:08PM +, ALEX JAMES W ORANGE wrote:
> To whom it may concern,
>  I just started having some trouble rsyncing the 
> masterdistfiles-us.gentoo.org::gentoo mirror this morning.
I can't figure out why either, but I did just fix the perms.

Not clear where it came from, maybe a bad sync when we were low on disk
before.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/

2023-05-13 Thread Robin H. Johnson
commit: fa45011a0661cb54bc571effbd201aa86ccc9d80
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat May 13 16:33:16 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat May 13 16:36:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa45011a

net-libs/nodejs: fix c-ares dependency

nodejs requires ares_nameser.h, which is only installed starting in
c-ares-1.18. The header was present in 1.17, but not installed on the
system.

Signed-off-by: Robin H. Johnson  gentoo.org>

 net-libs/nodejs/nodejs-16.20.0.ebuild  | 2 +-
 net-libs/nodejs/nodejs-18.16.0.ebuild  | 2 +-
 net-libs/nodejs/nodejs-20.1.0.ebuild   | 2 +-
 net-libs/nodejs/nodejs-.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-libs/nodejs/nodejs-16.20.0.ebuild 
b/net-libs/nodejs/nodejs-16.20.0.ebuild
index 87c90ae65620..a974988795c1 100644
--- a/net-libs/nodejs/nodejs-16.20.0.ebuild
+++ b/net-libs/nodejs/nodejs-16.20.0.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND=">=app-arch/brotli-1.0.9:=
>=dev-libs/libuv-1.40.0:=
-   >=net-dns/c-ares-1.17.2:=
+   >=net-dns/c-ares-1.18.1:=
>=net-libs/nghttp2-1.41.0:=
sys-libs/zlib
system-icu? ( >=dev-libs/icu-67:= )

diff --git a/net-libs/nodejs/nodejs-18.16.0.ebuild 
b/net-libs/nodejs/nodejs-18.16.0.ebuild
index ac1eaed3d597..5d4b59b2eefd 100644
--- a/net-libs/nodejs/nodejs-18.16.0.ebuild
+++ b/net-libs/nodejs/nodejs-18.16.0.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND=">=app-arch/brotli-1.0.9:=
>=dev-libs/libuv-1.44.0:=
-   >=net-dns/c-ares-1.17.2:=
+   >=net-dns/c-ares-1.18.1:=
>=net-libs/nghttp2-1.41.0:=
sys-libs/zlib
system-icu? ( >=dev-libs/icu-67:= )

diff --git a/net-libs/nodejs/nodejs-20.1.0.ebuild 
b/net-libs/nodejs/nodejs-20.1.0.ebuild
index 8ebaa6db05d3..65b5e0972347 100644
--- a/net-libs/nodejs/nodejs-20.1.0.ebuild
+++ b/net-libs/nodejs/nodejs-20.1.0.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND=">=app-arch/brotli-1.0.9:=
>=dev-libs/libuv-1.44.0:=
-   >=net-dns/c-ares-1.17.2:=
+   >=net-dns/c-ares-1.18.1:=
>=net-libs/nghttp2-1.41.0:=
sys-libs/zlib
system-icu? ( >=dev-libs/icu-67:= )

diff --git a/net-libs/nodejs/nodejs-.ebuild 
b/net-libs/nodejs/nodejs-.ebuild
index 9277dca7ff05..737ed081751a 100644
--- a/net-libs/nodejs/nodejs-.ebuild
+++ b/net-libs/nodejs/nodejs-.ebuild
@@ -34,7 +34,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND=">=app-arch/brotli-1.0.9:=
>=dev-libs/libuv-1.44.0:=
-   >=net-dns/c-ares-1.17.2:=
+   >=net-dns/c-ares-1.18.1:=
>=net-libs/nghttp2-1.41.0:=
sys-libs/zlib
system-icu? ( >=dev-libs/icu-67:= )



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

2023-05-12 Thread Robin H. Johnson
commit: e5ce17d4814e276593fb90011c53d74a763ce7fa
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri May 12 16:09:02 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri May 12 16:10:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ce17d4

app-admin/puppet: v8 requires >=ruby-3.1 per upstream

Puppet8 throws an error on Ruby older than 3.1.0:
`Puppet 8.0.0 requires Ruby 3.1.0 or greater, found Ruby 3.0.6.`

Revbump so that anybody with 8.0.0 installed gets to see it and winds up
with a less broken system (otherwise Puppet is upgraded and stops
working as expected).

Reference: 
https://github.com/puppetlabs/puppet/commit/6f271c83544750184c481e160f4bdcad6ad8ef6b
Signed-off-by: Robin H. Johnson  gentoo.org>

 app-admin/puppet/{puppet-8.0.0-r1.ebuild => puppet-8.0.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/puppet/puppet-8.0.0-r1.ebuild 
b/app-admin/puppet/puppet-8.0.0-r2.ebuild
similarity index 99%
rename from app-admin/puppet/puppet-8.0.0-r1.ebuild
rename to app-admin/puppet/puppet-8.0.0-r2.ebuild
index 724598bff245..2e5cabc1c6fd 100644
--- a/app-admin/puppet/puppet-8.0.0-r1.ebuild
+++ b/app-admin/puppet/puppet-8.0.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby31"
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 RUBY_FAKEGEM_TASK_DOC="doc:all"
 RUBY_FAKEGEM_EXTRAINSTALL="locales"



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

2023-05-09 Thread Robin H. Johnson
commit: 5e117e5e5e04de053f606d74da4170d402d77492
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed May 10 00:24:44 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed May 10 00:25:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e117e5e

dev-perl/WWW-Curl: fix compile with curl-7.87+

Closes: https://bugs.gentoo.org/888559
Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-perl/WWW-Curl/Manifest   |  1 +
 dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild | 82 
 2 files changed, 83 insertions(+)

diff --git a/dev-perl/WWW-Curl/Manifest b/dev-perl/WWW-Curl/Manifest
index dd04f7a57762..41807eb27a51 100644
--- a/dev-perl/WWW-Curl/Manifest
+++ b/dev-perl/WWW-Curl/Manifest
@@ -1 +1,2 @@
+DIST WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch 1375 BLAKE2B 
af3809b0933d127e7f3d9b7992104cdd1334f05d94a0650f60965669c6b750253dc1b936cf7570cb2ab9ddde1820e32fe9553f8f40dd1055455d33d712907e0c
 SHA512 
2d8a32258c12cdc894da31374c751297e0875dd3469a5e9ba2b11efd96a7df3c39e0369eac5749e5f4746d37199440cb1c91e97c51c63c0e9b84850892b3b52f
 DIST WWW-Curl-4.17.tar.gz 50917 BLAKE2B 
6f07570fb0db535b506b8e4a879a05f1901d4c1a2c0fb8c775ae330fb3ea44c523d921494d30f9e02b8eb84e4a006eb53e8594bbce6615ad162090b0d422edfb
 SHA512 
bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6

diff --git a/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild 
b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild
new file mode 100644
index ..9a0567845594
--- /dev/null
+++ b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=SZBALINT
+DIST_VERSION=4.17
+inherit perl-module
+
+DESCRIPTION="Perl extension interface for libcurl"
+
+LICENSE="|| ( MPL-1.0 MPL-1.1 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="net-misc/curl"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+# https://rt.cpan.org/Public/Bug/Display.html?id=145992
+SRC_URI+="
+   
https://rt.cpan.org/Public/Ticket/Attachment/2423633/1093328/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch
+   "
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch
+   "${FILESDIR}"/${PN}-4.17-dotinc.patch
+   "${FILESDIR}"/${PN}-4.17-networktests.patch
+   "${FILESDIR}"/${PN}-4.17-RT117793.patch
+   "${FILESDIR}"/${PN}-4.17-RT130591.patch
+   "${FILESDIR}"/${PN}-4.17-RT132197.patch
+   "${DISTDIR}/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch"
+)
+
+src_prepare() {
+   perl-module_src_prepare
+   # Makefile.PL does some creative things parsing macros vs defines from 
curl
+   # build system
+   #
+   # However, it tends to be very fragile and needs lots of patching, so
+   # instead of multiple patches, make it a variable and hoist it to the
+   # ebuild.
+   #
+   # Use the modifier flags aax means we can write an easier to manage 
regex as well.
+   sed -i -r \
+   -e 
'/if.*=~.*(OBSOLETE|CURL_EXTERN|CURL_STRICTER)/s,/[^/]+/,/($ENV{_CURL_BUILD_SYM_EXCLUDE})/aax,g'
 \
+   "${S}/Makefile.PL"
+}
+
+# 
https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
+# /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/
+#
+# files/WWW-Curl-4.17-RT117793.patch
+# 
/(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/)
+#
+# files/WWW-Curl-4.17-RT130591.patch
+# 
/(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/
+#
+# https://rt.cpan.org/Public/Bug/Display.html?id=132197
+# 
/(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_|^CURL_WIN32\z|^CURLOPT\z)/
+#
+# 
https://src.fedoraproject.org/rpms/perl-WWW-Curl/blob/rawhide/f/WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch
+# 
/(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z)
+#
+# If you change this variable, you should probably be bumping the ebuild rev!
+export _CURL_BUILD_SYM_EXCLUDE='
+__000FORPATCH_WITH_LEADING_SPACE
+|^CURL_DEPRECATED\z
+|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z
+|^CURL_EXTERN
+|^CURL_IGNORE_DEPRECATION\z
+|^CURLINC_
+|^CURLOPTDEPRECATED\z
+|^CURLOPT\z
+|^CURL_STRICTER\z
+|^CURL_WIN32\z
+|_LASTENTRY\z
+|_LAST\z
+|OBSOLETE
+'
+
+PERL_RM_FILES=("t/meta.t" "t/pod-coverage.t" "t/pod.t")



[gentoo-commits] repo/gentoo:master commit in: sys-block/libzbd/

2023-05-09 Thread Robin H. Johnson
commit: 9275af293499b383b853bd0315f4f276ef93b89b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue May  9 21:03:11 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Tue May  9 21:03:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9275af29

sys-block/libzbd: bump

Closes: https://bugs.gentoo.org/905965
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/libzbd/Manifest|  1 +
 sys-block/libzbd/libzbd-2.0.4.ebuild | 41 
 sys-block/libzbd/metadata.xml|  3 +++
 3 files changed, 45 insertions(+)

diff --git a/sys-block/libzbd/Manifest b/sys-block/libzbd/Manifest
index eed130a2b77b..b84cdae1589b 100644
--- a/sys-block/libzbd/Manifest
+++ b/sys-block/libzbd/Manifest
@@ -1 +1,2 @@
 DIST libzbd-1.2.0.tar.gz 56107 BLAKE2B 
0b20ced5cb0abc6ac5d303a1b583b1a8c0b3c89936cf664dd227832d5a704f6665a82e0d1c7cf80c381400b4edcff6c9e0b192c10deaf00c89009b40edde8676
 SHA512 
d165640331c7a87c4660f3f707c0510fa7a21edd194e66e96abe6ad3698dc4652a6a673ac8ac1929b0f603df49c1621f398cfb81b7ab8f9dba6353fa9f05d94f
+DIST libzbd-2.0.4.tar.gz 97015 BLAKE2B 
a91528bb9d1c56eccd25e7a429aefb0ab32d489179343a01278c179ccead04ca250b2d0b107a85aced256f7629aa15e97160c62c6d916e657b60fbdc12178a6a
 SHA512 
7e8ca0ca6114aa777c1c90073c2ca8e426cdf3bbe5afbb2fc0171b5e165f6daa20bd13436e469af069f8a7162374a49563432cd489ce4483ad13542844c5bf28

diff --git a/sys-block/libzbd/libzbd-2.0.4.ebuild 
b/sys-block/libzbd/libzbd-2.0.4.ebuild
new file mode 100644
index ..bf32df5efe80
--- /dev/null
+++ b/sys-block/libzbd/libzbd-2.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Zoned block device manipulation library and tools"
+HOMEPAGE="https://github.com/westerndigitalcorporation/libzbd";
+SRC_URI="https://github.com/westerndigitalcorporation/${PN}/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+# Examples/tools are GPL-3+, library is LGPL-3+
+LICENSE="GPL-3+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="gtk"
+
+# PKG_CHECK_MODULES is only for GTK right now
+# 
https://github.com/westerndigitalcorporation/libzbd/blob/master/configure.ac#L71
+BDEPEND="gtk? ( virtual/pkgconfig )"
+DEPEND="
+   >=sys-kernel/linux-headers-4.13
+   gtk? ( x11-libs/gtk+:3 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable gtk gui) \
+   --disable-static
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sys-block/libzbd/metadata.xml b/sys-block/libzbd/metadata.xml
index 80d8dd5ae749..ed5be5f1dc61 100644
--- a/sys-block/libzbd/metadata.xml
+++ b/sys-block/libzbd/metadata.xml
@@ -9,4 +9,7 @@
chutz...@gentoo.org
Patrick McLean

+   
+   westerndigitalcorporation/libzbd
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSH-AuthorizedKeysFile/

2023-05-07 Thread Robin H. Johnson
commit: 7ecd4d38b953fda0ea6d963b1aae5ffdb10adb8f
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun May  7 23:08:57 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun May  7 23:09:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecd4d38

dev-perl/Net-SSH-AuthorizedKeysFile: revbump with improved patch for more 
keytypes

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-perl/Net-SSH-AuthorizedKeysFile/Manifest   |  1 +
 .../Net-SSH-AuthorizedKeysFile-0.180.0-r3.ebuild   | 32 ++
 2 files changed, 33 insertions(+)

diff --git a/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
index f241875585b2..46316575cf4d 100644
--- a/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
+++ b/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
@@ -1,2 +1,3 @@
 DIST Net-SSH-AuthorizedKeysFile-0.18.tar.gz 16413 BLAKE2B 
ee22c2b456a5b8ad98fb9648d86e106f04266ef132d079d512fe980c08cceecc06c3946ac4fa43ad8dddb47d266debf986db47e6a3b7d72d1d1bc999284a4989
 SHA512 
1ebb5f2faa9ab414e49b9c8e85c27c81f858bd18669ff5508fe4dd70e8980977348121034d69fb094fd75c3d8d2c686694092bf0c0db2bcecb7ba05d85fa8a4c
 DIST Net-SSH-AuthorizedKeysFile-0.180.0-r2-extra-keys.patch 35614 BLAKE2B 
bca23e3265897c3935f3976aaabd4fb084c5fe328d90db6e5fac3c6dfe416815d83ea92dd33f4268359f3d6f2563d4decfe0279ae23ad45b0036777c09e5183a
 SHA512 
b11e706c1b49cc9d0f42758d4815a420ddbf17ff1b5df61def65c9b21e7b3ba3cbbe1f6d2fa868e2cd64bf14ac2670ecabc5f2ab9c7bb02980e640b3aac98694
+DIST Net-SSH-AuthorizedKeysFile-0.180.0-r3-extra-keys-v2.patch 41851 BLAKE2B 
0d3679ffbb48c84141ef80f541bf965ab5b007b7c9ddff1d5518458e2fe781114f7269928a00e5f8e7aa40794cf2ef4a4852b11ba374b167366d7ab1b27cf04e
 SHA512 
7b941d2c58c1cee1684742e7d2fff09f3d934679c070894d769261e176f0cc9989915f4cc3f4af535c50afe5dd7aff17bad1418cf4c89496a238a95f88040cf5

diff --git 
a/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r3.ebuild
 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r3.ebuild
new file mode 100644
index ..2ee2dd098c57
--- /dev/null
+++ 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=MSCHILLI
+DIST_VERSION=0.18
+inherit perl-module
+
+DESCRIPTION="Read and modify ssh's authorized_keys files"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SRC_URI+=" 
https://github.com/mschilli/net-ssh-authorizedkeysfile-perl/pull/4.patch -> 
${PF}-extra-keys-v2.patch "
+PATCHES=(
+   "${DISTDIR}"/${PF}-extra-keys-v2.patch
+)
+
+RDEPEND="
+   virtual/perl-Digest-MD5
+   virtual/perl-File-Spec
+   >=dev-perl/Log-Log4perl-1.0.0
+   virtual/perl-Text-ParseWords
+"
+BDEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? (
+   virtual/perl-File-Temp
+   virtual/perl-Test-Simple
+   )
+"



Re: [Evergreen-dev] Git Repositories to Drop?

2023-05-05 Thread Robin H. Johnson via Evergreen-dev
On Fri, May 05, 2023 at 08:17:01AM -0400, Jason Stephenson via Evergreen-dev 
wrote:
> > Is there some way we can archive the old repositories instead of
> > simply deleting them, so that they still exist somewhere but don't
> > add clutter? As Jane says, it would be good to retain a record of
> > some of these projects.
> With our current set up, the best we can do is set repositories to a 
> read-only configuration.  They will still take up space on the server 
> and will have to be moved if we decide to keep them later.
> 
> We could move some of them to GitHub and set them as archived there. 
> This gets them off of our storage, and we would not have to deal with 
> them later.  I hesitate to do this because our future git hosting is 
> still undecided.
(Former BC Libraries person here, but I also run Gentoo Linux's
infrastructure team and we have a large Gitolite install, and had run
into capacity crunches before)

I don't trust that GitHub will always exist, so firstly export the repos
as a git-bundle (be sure to include all branches, tags), and then move
those single files into HTTP hosting somewhere - it's not
searchable/browsable, but they are preserved and easy enough to access
(wget https://.../foo.bundle && git clone foo.bundle)

Then, make a seperate org in GitHub and put the archive repos there -
seperate org because it's easier to lock it down, and declare "this
exists for archival purposes only".

-- 
Robin Hugh Johnson
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
___
Evergreen-dev mailing list
Evergreen-dev@list.evergreen-ils.org
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-dev


[gentoo-commits] repo/gentoo:master commit in: app-metrics/bind_exporter/

2023-05-04 Thread Robin H. Johnson
commit: 1bc6e33356514d468e3db1a54cc1675afff38547
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu May  4 18:25:53 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu May  4 18:26:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc6e333

app-metrics/bind_exporter: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/bind_exporter/Manifest |  2 +
 .../bind_exporter/bind_exporter-0.6.1.ebuild   | 59 ++
 2 files changed, 61 insertions(+)

diff --git a/app-metrics/bind_exporter/Manifest 
b/app-metrics/bind_exporter/Manifest
index 8a39f9d61057..9c17ec11501a 100644
--- a/app-metrics/bind_exporter/Manifest
+++ b/app-metrics/bind_exporter/Manifest
@@ -1 +1,3 @@
 DIST bind_exporter-0.3.0.tar.gz 1796507 BLAKE2B 
a79b9e0d159d3deb83f1a040325ad34bc0d4ae50b6af205dce4ebf8d7152ccbd4b7d46fda40bf76db953996ddf4237ca13058250478b08cca51b8bea08ccc31b
 SHA512 
762901a63a9493f852e5514429f55b10400931f0a77d2e11c7565e93e1ff759eb30d3bbc9278451bb9df358a983aa099bd55cf57241cf36187d2789c89a3852d
+DIST bind_exporter-0.6.1-vendor.tar.xz 1300068 BLAKE2B 
058f4f61ff9c403a5672390dd3944dec9a6b4b1dcf8ac7bcb6943494d43c116236e23f4b0437d5b2e91cb0d936377ba896740594d90b50ce99a61963713ab70c
 SHA512 
9fd880655ac9657d49c0d250b22e46c53a63c0a2d4097763ca8856da36f75527d515a4e4cde7dd68c2c5cbf4ea784c07d9bd5e38a01eeb2d308a585c31d5c19b
+DIST bind_exporter-0.6.1.tar.gz 48904 BLAKE2B 
ad2def162e0fac5e857328bb142bc20655d0d1ea4a9d90a3bd8d305a3d86f9247671ca92f90d5ccdcb1a8bd147ed56858a9782feeac019b87666b4b18b7219c1
 SHA512 
d710b7228587e12a101a1d626ec5e0290b0740074f3976eee02463165030b361d3b6df556ab949d632488582ef6d4a3197270afc197d6d756a99c16e55c5448c

diff --git a/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild 
b/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild
new file mode 100644
index ..6f9020afafd7
--- /dev/null
+++ b/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+GIT_COMMIT=c34ff3d6b4817f42e74b2b05b3797cf99683b4a9
+
+DESCRIPTION="Prometheus exporter for BIND"
+HOMEPAGE="https://github.com/prometheus-community/bind_exporter";
+SRC_URI="
+   
https://github.com/prometheus-community/bind_exporter/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
+   
https://dev.gentoo.org/~robbat2/distfiles/bind_exporter-${PV}-vendor.tar.xz
+   "
+
+LICENSE="Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND="acct-group/bind_exporter
+   acct-user/bind_exporter"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+   default
+   sed -i -e "/-s$/d" -e "s/{{.Revision}}/${GIT_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+   mkdir -p bin || die
+   promu build -v --prefix bin || die
+}
+
+src_test() {
+   emake test-flags= test
+}
+
+src_install() {
+   dobin bin/${PN}
+   dodoc {README,CHANGELOG}.md
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}
+
+pkg_postinst() {
+   elog "Make sure BIND was built with libxml2 support. You can check with 
the"
+   elog "following command: named -V | grep libxml2."
+   elog "Configure BIND to open a statistics channel. It's recommended to 
run"
+   elog "the bind_exporter next to BIND, so it's only necessary to open a 
port"
+   elog "locally."
+   elog ""
+   elog "statistics-channels {"
+   elog "inet 127.0.0.1 port 8053 allow { 127.0.0.1; };"
+   elog "};"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSH-AuthorizedKeysFile/

2023-04-29 Thread Robin H. Johnson
commit: bb540168744e6c8aef93bb46190797f0ce6a551d
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Apr 30 06:20:18 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Apr 30 06:20:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb540168

dev-perl/Net-SSH-AuthorizedKeysFile: import fix for more SSH key types, needed 
for gitolite-gentoo

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-perl/Net-SSH-AuthorizedKeysFile/Manifest   |  1 +
 .../Net-SSH-AuthorizedKeysFile-0.180.0-r2.ebuild   | 32 ++
 2 files changed, 33 insertions(+)

diff --git a/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
index d0f60bf80572..f241875585b2 100644
--- a/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
+++ b/dev-perl/Net-SSH-AuthorizedKeysFile/Manifest
@@ -1 +1,2 @@
 DIST Net-SSH-AuthorizedKeysFile-0.18.tar.gz 16413 BLAKE2B 
ee22c2b456a5b8ad98fb9648d86e106f04266ef132d079d512fe980c08cceecc06c3946ac4fa43ad8dddb47d266debf986db47e6a3b7d72d1d1bc999284a4989
 SHA512 
1ebb5f2faa9ab414e49b9c8e85c27c81f858bd18669ff5508fe4dd70e8980977348121034d69fb094fd75c3d8d2c686694092bf0c0db2bcecb7ba05d85fa8a4c
+DIST Net-SSH-AuthorizedKeysFile-0.180.0-r2-extra-keys.patch 35614 BLAKE2B 
bca23e3265897c3935f3976aaabd4fb084c5fe328d90db6e5fac3c6dfe416815d83ea92dd33f4268359f3d6f2563d4decfe0279ae23ad45b0036777c09e5183a
 SHA512 
b11e706c1b49cc9d0f42758d4815a420ddbf17ff1b5df61def65c9b21e7b3ba3cbbe1f6d2fa868e2cd64bf14ac2670ecabc5f2ab9c7bb02980e640b3aac98694

diff --git 
a/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r2.ebuild
 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r2.ebuild
new file mode 100644
index ..58b42837a3ff
--- /dev/null
+++ 
b/dev-perl/Net-SSH-AuthorizedKeysFile/Net-SSH-AuthorizedKeysFile-0.180.0-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=MSCHILLI
+DIST_VERSION=0.18
+inherit perl-module
+
+DESCRIPTION="Read and modify ssh's authorized_keys files"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SRC_URI+=" 
https://github.com/mschilli/net-ssh-authorizedkeysfile-perl/pull/3.patch -> 
${PF}-extra-keys.patch "
+PATCHES=(
+   "${DISTDIR}"/${PF}-extra-keys.patch
+)
+
+RDEPEND="
+   virtual/perl-Digest-MD5
+   virtual/perl-File-Spec
+   >=dev-perl/Log-Log4perl-1.0.0
+   virtual/perl-Text-ParseWords
+"
+BDEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? (
+   virtual/perl-File-Temp
+   virtual/perl-Test-Simple
+   )
+"



Re: [gentoo-dev] Re: EGO_SUM

2023-04-29 Thread Robin H. Johnson
On Fri, Apr 28, 2023 at 08:59:29AM +0200, Florian Schmaus wrote:
> On 27/04/2023 14.54, Michał Górny wrote:
> > On Thu, 2023-04-27 at 09:58 +0200, Florian Schmaus wrote:
> >> Disk space is cheap.
> > 
> > No, it's not.  Gentoo supports more hardware than your average PC with
> > beefy hard drive and/or possibility of installing one.  Let's not forget
> > that you need a ::gentoo checkout even on a system running purely
> > on binary packages.
> 
> You are right. Gentoo supports a broad range of hardware in many 
> dimensions, e.g., architecture, release date, and composition.
> 
> You seem to suggest that are Gentoo systems that can not handle the 
> additional disk space consumption of EGO_SUM Go-packages?
> 
> I can not imagine systems that are able to deal with the ~500 MiB 
> ::gentoo repository, but would break if the same repository would 
> contain 100 additional Go-packages with 200 KiB each.
> 
> Even under a "worst-case" assumption, where we would have 256 
> Go-packages with each having a 1 MiB package-directory size, any system 
> that can handle the current state of ::gentoo should be able to take the 
> additional 256 MiB (+ metadata).
This email ended up more rambling than I intended, but I wanted to get the data
out there, and enable us to look deeper at the problems and potential impacts
of the solutions.

Before the ideas and data I wanted to note the semi-conceptual ways to package
new things that have many dependency artifacts (package or distfile).

Distfile-heavy packages:

A package declares many distfile dependencies, but very few package
dependencies. The Manifest files in this case suffer a lot of
duplication - but the growth is mostly limited to ::gentoo (or
overlays).

Any change of a package that leads to slightly different Manifest file,
and while delta compression will reduce the growth factor, it's still
large (dropping a version, adding a version, adding a remotely-fetched patch.

Dependency-heavy packages:
--
A package declares many package dependencies, with the distfile growth
distributed over MANY packages. Major downside here is that
build-depends consume a lot more space & inodes to install all the
depends that are used for the ebuild, esp. when a given distfile might
be used for only one package. Want to build a complex Go-based package?
Debian/Ubuntu use this approach, and it shows might have to explicitly
package 70+ dependencies to get something you want packaged.
https://salsa.debian.org/go-team/packages/consul/-/blob/debian/sid/debian/control#L10-89
a quick back-of-napkin set of math show the Debian golang dep packages,
as of 22.04 LTS: ~30% are a dep for only one package; a further 30% are
a dep for only 2 packages.


With the above in mind, we see that it's not just the size of the Manifest, but
the combinatorial problem of Manifest revisions, with the saving roll of Git's
delta compression.

I pulled a Git listing of every Manifest blob that was larger than 64KiB
in Git history (excluding the historical conversion), and then go based
on those: 2718 blobs in total, taking up ~516MiB, 1600056 DIST entries,
for 166726 distinct distfiles.

I tried to break those distfiles down, based on filename patterns, or where
they occurred (sorted by number of distfiles here):
  76075 dist-tex (all in the tex category)
  33949 dist-mozilla (firefox*, thunderbird*)
  19314 dist-office 
  17802 dist-golang (*%2F@v%2F* files; 10160 .mod, 7642 .zip)
  10478 dist-rust (*.crate files)
   3630 dist-other
   1325 dist-jar-pom (*.jar, *.pom)
   1020 dist-tablebase-syzygy (distfiles for a specific package)
981 dist-kde (kde manifests that met the threshold)
980 dist-kernel-and-genpatches
749 dist-tessdata (again specific packages)
424 dist-bash (specific packages)
 166727 == total

The Rust & Golang counts *are* lower bounds, because it's not trivial to
take into account changes in packaging. However, the upper bound 
E.g. this distfile isn't immediately classifiable as Rust:
d3d12-rs-a990c93ec64eeab78f2292763d0715da9dba1d59.gh.tar.gz
To assume a worst case, assign the dist-other to the category of  your choice.

Ecosystems that are distfile-heavy, in order of Manifest sizes: TeX, Golang, 
Rust
Packages that are distfile-heavy: LibreOffice/OpenOffice, Firefox, Thunderbird

TeX has only a few packages, but the MOST distfiles.
dev-texlive/texlive-latexextra/Manifest peaked over 6MB with 15480 entries. For
all of Gentoo git history however, there have only been 19 revisions of that
Manifest. For all TeX packages, 286 revisions of Manifests over 37 packages.
Those 286 Manifest revisions clock in at ~94MB together before compression.

The Mozilla packages have the next most distfiles:
4 packages, 768 manifest revisions, but the largest single Manifest was only 
285519 bytes.
~88MB for all the manifest revision bytes together.

The office packages (app-office/libreoffice-l10n & app-office/openoffice-bin)
are similar to Mozi

[gentoo-commits] repo/gentoo:master commit in: app-emulation/ganeti-os-simpleimage/

2023-04-28 Thread Robin H. Johnson
commit: 2aa5121326365e40297d6b72af14b7459d46d967
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Apr 29 05:23:04 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Apr 29 05:29:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa51213

app-emulation/ganeti-os-simpleimage: new package for easier disk images in 
ganeti

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-emulation/ganeti-os-simpleimage/Manifest   |  1 +
 .../ganeti-os-simpleimage-0_p20221113.ebuild   | 39 ++
 app-emulation/ganeti-os-simpleimage/metadata.xml   | 11 ++
 3 files changed, 51 insertions(+)

diff --git a/app-emulation/ganeti-os-simpleimage/Manifest 
b/app-emulation/ganeti-os-simpleimage/Manifest
new file mode 100644
index ..01577c3e8385
--- /dev/null
+++ b/app-emulation/ganeti-os-simpleimage/Manifest
@@ -0,0 +1 @@
+DIST ganeti-os-simpleimage-07f67364e66b9f686a5b15d0c516310fcc3c7c9b.tar.gz 
10722 BLAKE2B 
7b9dfe0ba0f1c53ae61e5304b618e1f31ad08a93352b9781dd502bd27ca4426493eb3b61c4e751fe1787eb19c63ddf377a602a35a815042d5c8437ece991c5ba
 SHA512 
278f9430d28c542b25ce4fd449dc57b97bcd56c0fc8b2c7bfacf08cc090c81d74eca44c0cc57faa28576bdaa3b1a0011d8780e8246acf5993765eb8de741e667

diff --git 
a/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild 
b/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild
new file mode 100644
index ..b0858bcc0e55
--- /dev/null
+++ 
b/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+COMMIT=07f67364e66b9f686a5b15d0c516310fcc3c7c9b
+MY_PV=$COMMIT
+
+DESCRIPTION="Ganeti OS provider for simple images "
+HOMEPAGE="https://github.com/ganeti/instance-simpleimage";
+SRC_URI="https://github.com/ganeti/instance-simpleimage/archive/${MY_PV}.tar.gz
 -> ${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}/instance-simpleimage-${MY_PV}"
+
+src_install() {
+   # Config
+   keepdir /etc/ganeti/instance-simpleimage/default/
+   keepdir /etc/ganeti/instance-simpleimage/default/hooks
+   touch "${D}/etc/ganeti/instance-simpleimage/default/config"
+
+   insinto /usr/share/ganeti/os/simpleimage
+   doins ganeti_api_version parameters.list common.sh
+   exeinto /usr/share/ganeti/os/simpleimage
+   doexe create export import rename verify
+   # This is moved into /etc because sysadmins are expected to modify it, 
and
+   # add matching dirs for each variant in
+   # /etc/ganeti/instance-simpleimage/$VARIANT/
+   insinto /etc/ganeti/instance-simpleimage/
+   doins variants.list
+   dosym ../../../../../etc/ganeti/instance-simpleimage/variants.list \
+   /usr/share/ganeti/os/simpleimage/variants.list
+
+   # Docs
+   dodoc README.md
+   docinto example-hooks
+   dodoc example-hooks/debian-cloud-image-config
+}

diff --git a/app-emulation/ganeti-os-simpleimage/metadata.xml 
b/app-emulation/ganeti-os-simpleimage/metadata.xml
new file mode 100644
index ..10f9cbd5fa6a
--- /dev/null
+++ b/app-emulation/ganeti-os-simpleimage/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   robb...@gentoo.org
+   Robin H. Johnson
+   
+   
+   ganeti/instance-simpleimage
+   
+



[gentoo-commits] proj/elections:master commit in: council-202206/, completed/council-202206/

2023-04-19 Thread Robin H. Johnson
commit: 3c988b7699daf52cff364a6e9cf1778d58d9c6f8
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 22:31:04 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 22:44:44 2023 +
URL:https://gitweb.gentoo.org/proj/elections.git/commit/?id=3c988b76

Archive council-202206

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../council-202206}/Votify.pm  |   0
 .../council-202206}/ballot-council-202206  |   0
 .../council-202206}/election-details   |   0
 completed/council-202206/master-council-202206 | 622 +
 .../council-202206}/officials-council-202206   |   0
 .../council-202206}/start-council-202206   |   0
 .../council-202206}/stop-council-202206|   0
 .../council-202206}/voters-council-202206  |   0
 8 files changed, 622 insertions(+)

diff --git a/council-202206/Votify.pm b/completed/council-202206/Votify.pm
similarity index 100%
rename from council-202206/Votify.pm
rename to completed/council-202206/Votify.pm

diff --git a/council-202206/ballot-council-202206 
b/completed/council-202206/ballot-council-202206
similarity index 100%
rename from council-202206/ballot-council-202206
rename to completed/council-202206/ballot-council-202206

diff --git a/council-202206/election-details 
b/completed/council-202206/election-details
similarity index 100%
rename from council-202206/election-details
rename to completed/council-202206/election-details

diff --git a/completed/council-202206/master-council-202206 
b/completed/council-202206/master-council-202206
new file mode 100644
index 000..89420cd
--- /dev/null
+++ b/completed/council-202206/master-council-202206
@@ -0,0 +1,622 @@
+- confirmation 02b065ef -
+mgorny
+sam
+ajak jsmolic
+mattst88 dilfridge gyakovlev
+ulm
+_reopen_nominations
+williamh
+jstein
+patrick
+- confirmation 0382602a -
+patrick
+jstein ulm
+williamh
+_reopen_nominations
+gyakovlev dilfridge jsmolic mgorny sam mattst88 ajak
+- confirmation 05f294d3 -
+ulm
+sam
+dilfridge
+williamh
+mattst88
+mgorny
+ajak
+patrick
+gyakovlev
+jsmolic
+_reopen_nominations
+jstein
+- confirmation 0bc02d88 -
+sam
+mgorny
+dilfridge
+ulm
+patrick jstein williamh mattst88
+ajak
+gyakovlev jsmolic
+_reopen_nominations
+- confirmation 0e4b2fb4 -
+sam
+ajak mgorny
+gyakovlev
+ulm
+dilfridge
+williamh
+jstein patrick
+mattst88
+jsmolic
+_reopen_nominations
+- confirmation 0f7fceac -
+sam
+mgorny
+dilfridge jstein williamh ulm
+patrick jsmolic gyakovlev mattst88 ajak
+_reopen_nominations
+- confirmation 1440e7a3 -
+ulm sam
+patrick williamh
+ajak
+jsmolic gyakovlev jstein
+_reopen_nominations
+dilfridge mattst88
+mgorny
+- confirmation 1acb9100 -
+sam
+jsmolic
+gyakovlev
+mgorny
+mattst88
+dilfridge
+ajak
+ulm
+_reopen_nominations
+jstein
+williamh
+patrick
+- confirmation 1d3e6270 -
+jsmolic sam mgorny
+dilfridge
+ulm mattst88
+williamh
+ajak
+gyakovlev
+jstein patrick
+_reopen_nominations
+- confirmation 1de54690 -
+mattst88
+dilfridge
+sam
+jsmolic
+ajak
+jstein
+patrick
+williamh
+_reopen_nominations
+mgorny
+ulm
+gyakovlev
+- confirmation 1df0b772 -
+mgorny
+sam
+mattst88
+dilfridge
+gyakovlev
+ajak
+jsmolic
+williamh
+ulm
+_reopen_nominations
+jstein
+patrick
+- confirmation 26708657 -
+ajak
+dilfridge
+mgorny
+mattst88
+gyakovlev
+jsmolic
+sam
+ulm
+williamh
+jstein
+patrick
+_reopen_nominations
+- confirmation 27d20262 -
+williamh
+gyakovlev
+dilfridge
+ajak
+ulm
+patrick
+jstein
+sam
+jsmolic
+mgorny
+mattst88
+_reopen_nominations
+- confirmation 2f04def3 -
+sam dilfridge ulm
+mgorny mattst88 jsmolic
+jstein
+ajak
+gyakovlev williamh
+patrick _reopen_nominations
+- confirmation 311b4f88 -
+ulm
+sam
+dilfridge
+jstein
+mgorny
+ajak
+mattst88
+jsmolic
+gyakovlev
+_reopen_nominations
+patrick
+williamh
+- confirmation 32fc1c89 -
+sam mgorny mattst88 dilfridge
+gyakovlev ajak jsmolic ulm jstein
+_reopen_nominations
+patrick williamh
+- confirmation 333eb29b -
+ajak sam williamh gyakovlev
+jstein jsmolic mattst88 mgorny
+_reopen_nominations
+dilfridge
+ulm
+patrick
+- confirmation 3519c2fc -
+mgorny
+dilfridge
+sam
+mattst88
+jstein
+ulm
+williamh
+ajak
+jsmolic
+gyakovlev
+patrick
+- confirmation 395c70b2 -
+mgorny sam
+ulm williamh
+mattst88 dilfridge ajak jstein jsmolic
+gyakovlev patrick
+_reopen_nominations
+- confirmation 40b3a897 -
+jstein
+jsmolic
+patrick
+gyakovlev
+ajak
+ulm
+williamh
+_reopen_nominations
+sam
+mattst88
+dilfridge
+mgorny
+- confirmation 41e8c60a -
+patrick
+jstein
+jsmolic
+ulm
+williamh
+_reopen_nominations
+gyakovlev
+ajak
+mattst88
+dilfridge
+mgorny
+sam
+- confirmation 4bf8829a -

[gentoo-commits] proj/elections:master commit in: completed/trustees-202106/

2023-04-19 Thread Robin H. Johnson
commit: 0dcdffe2a947a2b6885350e564832dfd1a92cfd2
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 22:30:39 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 22:30:39 2023 +
URL:https://gitweb.gentoo.org/proj/elections.git/commit/?id=0dcdffe2

Archive trustees-202106

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../trustees-202106/casting-voters-trustees-202106 |  32 +
 completed/trustees-202106/master-trustees-202106   | 146 +
 2 files changed, 178 insertions(+)

diff --git a/completed/trustees-202106/casting-voters-trustees-202106 
b/completed/trustees-202106/casting-voters-trustees-202106
new file mode 100644
index 000..1d67c54
--- /dev/null
+++ b/completed/trustees-202106/casting-voters-trustees-202106
@@ -0,0 +1,32 @@
+ajak
+alicef
+antarus
+bircoph
+bman
+dabbott
+dilfridge
+dwfreed
+floppym
+hattya
+jmbsvicetto
+klondike
+kumba
+marecki
+mattst88
+mgorny
+mpagano
+neddyseagoon
+pinkbyte
+prometheanfire
+rich0
+robbat2
+sam
+shentino
+soap
+tamiko
+tomjbe
+ulm
+voyageur
+williamh
+zerochaos
+zlogene

diff --git a/completed/trustees-202106/master-trustees-202106 
b/completed/trustees-202106/master-trustees-202106
new file mode 100644
index 000..bed65b5
--- /dev/null
+++ b/completed/trustees-202106/master-trustees-202106
@@ -0,0 +1,146 @@
+- confirmation 021c0ec6 -
+antarus robbat2 alicef
+_reopen_nominations
+- confirmation 07d6a9e9 -
+antarus
+robbat2
+_reopen_nominations
+alicef
+- confirmation 0b32b7b5 -
+alicef antarus robbat2
+_reopen_nominations
+- confirmation 1baa48f0 -
+robbat2 antarus
+_reopen_nominations
+alicef
+- confirmation 1efbd015 -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation 255b83cc -
+robbat2
+antarus
+_reopen_nominations
+alicef
+- confirmation 266c46a5 -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation 2721a231 -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation 33761155 -
+alicef
+antarus
+robbat2
+_reopen_nominations
+- confirmation 34efaf36 -
+robbat2
+alicef
+antarus
+_reopen_nominations
+- confirmation 38c00b79 -
+robbat2 antarus
+_reopen_nominations
+alicef
+- confirmation 5e728e9e -
+robbat2
+antarus
+_reopen_nominations
+alicef
+- confirmation 63c125aa -
+robbat2
+_reopen_nominations
+antarus
+alicef
+- confirmation 6cbed605 -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation 74f900af -
+robbat2
+alicef
+_reopen_nominations
+antarus
+- confirmation 75c0c1ce -
+robbat2
+_reopen_nominations
+antarus
+alicef
+- confirmation 76d8b499 -
+robbat2
+_reopen_nominations
+- confirmation 8b8905fe -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation 8bbc8fee -
+robbat2
+antarus
+_reopen_nominations
+alicef
+- confirmation 8d956c1a -
+robbat2
+_reopen_nominations
+antarus
+alicef
+- confirmation 9105bec8 -
+alicef antarus robbat2
+_reopen_nominations
+- confirmation 98497592 -
+robbat2 antarus
+alicef
+_reopen_nominations
+- confirmation aa3050db -
+robbat2
+_reopen_nominations
+antarus
+alicef
+- confirmation b9d3177a -
+antarus
+robbat2
+alicef
+_reopen_nominations
+- confirmation c49115a2 -
+robbat2
+_reopen_nominations
+antarus
+alicef
+- confirmation cdba -
+robbat2
+antarus
+_reopen_nominations
+alicef
+- confirmation cecaf5b4 -
+robbat2 antarus
+alicef
+_reopen_nominations
+- confirmation d1878656 -
+antarus
+robbat2
+_reopen_nominations
+alicef
+- confirmation da4c46f5 -
+robbat2
+antarus
+alicef
+_reopen_nominations
+- confirmation e4c914a9 -
+robbat2 antarus alicef
+_reopen_nominations
+- confirmation f024a191 -
+robbat2
+antarus
+_reopen_nominations
+alicef
+- confirmation f90a7793 -
+robbat2
+antarus
+_reopen_nominations
+alicef



[gentoo-commits] proj/elections:master commit in: trustees-202108/, completed/trustees-202108/

2023-04-19 Thread Robin H. Johnson
commit: 553c015a253570df0017db807ce14440f6903697
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 22:30:50 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 22:31:47 2023 +
URL:https://gitweb.gentoo.org/proj/elections.git/commit/?id=553c015a

Archive trustees-202108

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../trustees-202108}/Votify.pm |   0
 .../trustees-202108}/ballot-trustees-202108|   0
 .../trustees-202108/casting-voters-trustees-202108 |  34 +
 .../trustees-202108}/election-details  |   0
 completed/trustees-202108/master-trustees-202108   | 152 +
 .../trustees-202108}/officials-trustees-202108 |   0
 .../trustees-202108}/start-trustees-202108 |   0
 .../trustees-202108}/stop-trustees-202108  |   0
 .../trustees-202108}/voters-trustees-202108|   0
 9 files changed, 186 insertions(+)

diff --git a/trustees-202108/Votify.pm b/completed/trustees-202108/Votify.pm
similarity index 100%
rename from trustees-202108/Votify.pm
rename to completed/trustees-202108/Votify.pm

diff --git a/trustees-202108/ballot-trustees-202108 
b/completed/trustees-202108/ballot-trustees-202108
similarity index 100%
rename from trustees-202108/ballot-trustees-202108
rename to completed/trustees-202108/ballot-trustees-202108

diff --git a/completed/trustees-202108/casting-voters-trustees-202108 
b/completed/trustees-202108/casting-voters-trustees-202108
new file mode 100644
index 000..14c8c45
--- /dev/null
+++ b/completed/trustees-202108/casting-voters-trustees-202108
@@ -0,0 +1,34 @@
+ajak
+alicef
+anarchy
+andrewammerlaan
+antarus
+bircoph
+bman
+dabbott
+dilfridge
+dwfreed
+eras
+grobian
+hattya
+jmbsvicetto
+klondike
+kumba
+lu_zero
+marecki
+mattst88
+mgorny
+mpagano
+neddyseagoon
+pinkbyte
+rich0
+robbat2
+sam
+shentino
+soap
+swift
+tomjbe
+tupone
+ulm
+wraeth
+zlogene

diff --git a/trustees-202108/election-details 
b/completed/trustees-202108/election-details
similarity index 100%
rename from trustees-202108/election-details
rename to completed/trustees-202108/election-details

diff --git a/completed/trustees-202108/master-trustees-202108 
b/completed/trustees-202108/master-trustees-202108
new file mode 100644
index 000..c51b792
--- /dev/null
+++ b/completed/trustees-202108/master-trustees-202108
@@ -0,0 +1,152 @@
+- confirmation 0478a92f -
+alicef
+soap _reopen_nominations
+anarchy
+- confirmation 0550998f -
+anarchy
+soap
+alicef
+_reopen_nominations
+- confirmation 0778d878 -
+soap
+_reopen_nominations
+anarchy
+alicef
+- confirmation 092a9011 -
+alicef
+soap
+_reopen_nominations
+anarchy
+- confirmation 23bf391d -
+alicef
+_reopen_nominations
+anarchy
+soap
+- confirmation 267630e7 -
+soap
+_reopen_nominations
+anarchy alicef
+- confirmation 34e44382 -
+soap
+anarchy
+_reopen_nominations
+alicef
+- confirmation 3693b2a1 -
+anarchy
+alicef
+soap
+_reopen_nominations
+- confirmation 4562e9da -
+anarchy
+soap
+_reopen_nominations
+alicef
+- confirmation 489a9627 -
+_reopen_nominations
+anarchy
+soap
+alicef
+- confirmation 57e1335b -
+soap anarchy
+_reopen_nominations
+alicef
+- confirmation 5916b092 -
+anarchy
+alicef
+soap
+_reopen_nominations
+- confirmation 5f0bbb96 -
+alicef
+soap
+anarchy
+_reopen_nominations
+- confirmation 66ea3a1b -
+anarchy
+alicef
+soap
+- confirmation 783cc1ab -
+soap
+alicef
+_reopen_nominations
+anarchy
+- confirmation 8b616171 -
+soap
+anarchy
+_reopen_nominations
+alicef
+- confirmation 8e711d55 -
+alicef
+anarchy soap
+_reopen_nominations
+- confirmation 90104292 -
+anarchy
+soap alicef _reopen_nominations
+- confirmation 9397bd45 -
+alicef soap
+_reopen_nominations
+anarchy
+- confirmation 9c106d28 -
+soap
+anarchy
+_reopen_nominations
+alicef
+- confirmation a4455164 -
+soap
+anarchy _reopen_nominations
+alicef
+- confirmation a52a7f1f -
+alicef
+anarchy
+soap
+_reopen_nominations
+- confirmation ad2a2e13 -
+_reopen_nominations anarchy soap alicef
+- confirmation b57ae2e7 -
+anarchy soap
+_reopen_nominations
+alicef
+- confirmation b5e136ad -
+_reopen_nominations alicef anarchy soap
+- confirmation baabe646 -
+alicef
+anarchy
+soap
+_reopen_nominations
+- confirmation bf751aec -
+alicef
+soap anarchy
+_reopen_nominations
+- confirmation c354ab85 -
+anarchy
+soap
+alicef
+_reopen_nominations
+- confirmation c3b3bd22 -
+soap
+anarchy
+alicef
+_reopen_nominations
+- confirmation c93c4610 -
+alicef
+soap
+anarchy
+_reopen_no

[gentoo-commits] proj/elections:master commit in: completed/basesystem-202205/, completed/council-202106/, ...

2023-04-19 Thread Robin H. Johnson
commit: 8ecd5ced5cfc267e2ad40fb4e78a1b513506ebad
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 22:40:44 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 22:44:44 2023 +
URL:https://gitweb.gentoo.org/proj/elections.git/commit/?id=8ecd5ced

Archive missing master ballots

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../basesystem-202108/master-basesystem-202108 |  29 +
 .../basesystem-202205/master-basesystem-202205 |  38 +
 completed/council-202106/master-council-202106 | 833 +
 completed/security-202108/master-security-202108   |  13 +
 4 files changed, 913 insertions(+)

diff --git a/completed/basesystem-202108/master-basesystem-202108 
b/completed/basesystem-202108/master-basesystem-202108
new file mode 100644
index 000..b24fff8
--- /dev/null
+++ b/completed/basesystem-202108/master-basesystem-202108
@@ -0,0 +1,29 @@
+- confirmation 2740b4f1 -
+dilfridge
+williamh
+- confirmation 2f29e9a4 -
+williamh
+dilfridge
+- confirmation 631fa7f0 -
+dilfridge
+williamh
+- confirmation 69b02d82 -
+dilfridge
+williamh
+- confirmation 73f74fa0 -
+dilfridge
+williamh
+- confirmation 952b2b80 -
+dilfridge
+williamh
+- confirmation a12da259 -
+dilfridge
+williamh
+- confirmation ea151a6e -
+dilfridge
+williamh
+- confirmation f2e1f2e1 -
+dilfridge
+- confirmation f589be40 -
+dilfridge
+williamh

diff --git a/completed/basesystem-202205/master-basesystem-202205 
b/completed/basesystem-202205/master-basesystem-202205
new file mode 100644
index 000..22dd5f6
--- /dev/null
+++ b/completed/basesystem-202205/master-basesystem-202205
@@ -0,0 +1,38 @@
+- confirmation 06a47f93 -
+sam
+chutzpah
+williamh
+- confirmation 1185625a -
+sam
+chutzpah
+williamh
+- confirmation 17acd928 -
+chutzpah
+sam williamh
+- confirmation 2da98306 -
+sam
+chutzpah williamh
+- confirmation 3f622962 -
+sam
+chutzpah
+williamh
+- confirmation 65fe5b35 -
+sam
+chutzpah
+williamh
+- confirmation 784803fa -
+sam
+chutzpah
+williamh
+- confirmation bc17411a -
+sam
+chutzpah
+williamh
+- confirmation de2a5174 -
+chutzpah
+williamh
+sam
+- confirmation f176a025 -
+sam
+chutzpah
+williamh

diff --git a/completed/council-202106/master-council-202106 
b/completed/council-202106/master-council-202106
new file mode 100644
index 000..e87b7f4
--- /dev/null
+++ b/completed/council-202106/master-council-202106
@@ -0,0 +1,833 @@
+- confirmation 00865b4e -
+sam
+marecki
+lu_zero
+williamh
+ulm
+mattst88
+whissi
+- confirmation 01871d38 -
+sam
+mgorny
+mattst88
+dilfridge
+williamh
+gyakovlev
+marecki
+_reopen_nominations
+ulm
+lu_zero
+zlogene
+zx2c4
+whissi
+slyfox
+patrick
+- confirmation 03273c39 -
+dilfridge
+ulm
+sam
+mattst88
+mgorny
+zx2c4
+lu_zero
+_reopen_nominations
+gyakovlev
+marecki
+slyfox
+whissi
+williamh
+patrick
+zlogene
+- confirmation 047b7018 -
+mattst88 mgorny williamh zx2c4
+sam slyfox whissi
+dilfridge zlogene ulm
+patrick lu_zero marecki gyakovlev
+_reopen_nominations
+- confirmation 0565688f -
+mgorny
+dilfridge
+sam
+whissi
+gyakovlev
+mattst88
+slyfox
+williamh
+ulm
+zlogene
+marecki
+_reopen_nominations
+patrick
+zx2c4
+lu_zero
+- confirmation 06952d48 -
+sam
+ulm
+mgorny
+mattst88
+williamh
+dilfridge
+whissi
+zlogene
+zx2c4 slyfox marecki lu_zero patrick gyakovlev
+_reopen_nominations
+- confirmation 07d1e360 -
+williamh
+sam
+ulm
+zlogene
+marecki
+gyakovlev
+slyfox
+dilfridge
+zx2c4
+whissi
+patrick
+lu_zero
+_reopen_nominations
+mattst88
+mgorny
+- confirmation 0afdb397 -
+ulm
+mgorny
+gyakovlev lu_zero mattst88 marecki
+dilfridge whissi williamh
+_reopen_nominations
+- confirmation 0cfbe191 -
+mattst88
+marecki
+gyakovlev
+mgorny
+zlogene
+dilfridge
+ulm
+slyfox
+williamh
+zx2c4
+sam
+patrick
+lu_zero
+whissi
+_reopen_nominations
+- confirmation 0e35af5a -
+sam
+dilfridge
+mattst88
+mgorny
+patrick
+marecki ulm
+gyakovlev
+williamh
+_reopen_nominations
+whissi slyfox zlogene zx2c4 lu_zero
+- confirmation 12b8d6db -
+ulm
+sam
+whissi
+gyakovlev
+mattst88
+slyfox
+mgorny
+_reopen_nominations
+dilfridge
+zx2c4
+patrick
+lu_zero
+williamh
+zlogene
+marecki
+- confirmation 217c057b -
+ulm
+williamh
+dilfridge
+_reopen_nominations
+sam
+gyakovlev
+zx2c4
+slyfox
+patrick
+marecki
+lu_zero
+zlogene
+mgorny
+mattst88
+whissi
+- confirmation 21cab287 -
+ulm dilfridge gyakovlev
+sam mattst88
+williamh
+zlogene whissi marecki patrick slyfox
+mgorny lu_zero zx2c4
+_reopen_nominations
+- confirmation

[gentoo-commits] proj/elections:master commit in: /

2023-04-19 Thread Robin H. Johnson
commit: ca7e83173e09bafdb5763df6fd50cec499b14a85
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 22:27:50 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 22:27:50 2023 +
URL:https://gitweb.gentoo.org/proj/elections.git/commit/?id=ca7e8317

Votify: handle empty control files, e.g. empty voters

Signed-off-by: Robin H. Johnson  gentoo.org>

 Votify.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Votify.pm b/Votify.pm
index 6f73954..49f21da 100644
--- a/Votify.pm
+++ b/Votify.pm
@@ -132,8 +132,9 @@ sub get_single_election_hashref {
 #print STDERR "Scan $fn\n";
 my @filenames = (sprintf("%s/%s", "$basedir/$election_name", $fn), 
sprintf("%s/%s-%s", "$basedir/$election_name", $fn, $election_name));
 #print STDERR Dumper(@filenames);
-my $filename = abs_path(List::Util::first { $_ && -r $_ && -s $_ && ! 
-d $_ } @filenames);
-$election{"${fn}file"} = $filename;
+my $filename = List::Util::first { $_ && -r $_ && -s $_ && ! -d $_ } 
@filenames;
+my $absfilename = abs_path($filename) if $filename;
+$election{"${fn}file"} = $absfilename if $absfilename;
 };
 #print Dumper(%election);
 $election{starttime} = grabfile_int($election{'startfile'});



[gentoo-commits] proj/netifrc:master commit in: net/

2023-04-19 Thread Robin H. Johnson
commit: baff1e37615921b37cfa166215d3d1c6531a81af
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 17:11:32 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 17:14:32 2023 +
URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=baff1e37

net/Makefile: include iwd

Signed-off-by: Robin H. Johnson  gentoo.org>

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

diff --git a/net/Makefile b/net/Makefile
index ee48294..58483cd 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -14,7 +14,7 @@ INC-Linux=adsl.sh apipa.sh arping.sh bonding.sh 
br2684ctl.sh bridge.sh \
ccwgroup.sh clip.sh ethtool.sh iproute2.sh ifplugd.sh ip6to4.sh 
\
ipppd.sh iwconfig.sh netplugd.sh pppd.sh pump.sh tuntap.sh 
udhcpc.sh \
vlan.sh macvlan.sh ip6rd.sh firewalld.sh dummy.sh hsr.sh 
l2tp.sh \
-   iw.sh wireguard.sh veth.sh dhclientv6.sh
+   iw.sh iwd.sh wireguard.sh veth.sh dhclientv6.sh
 
 SRCS-NetBSD= ifwatchd.sh.in
 INC-NetBSD=ifwatchd.sh



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

2023-04-19 Thread Robin H. Johnson
commit: a6c76fb426877a1dc516a81c2278aa94da2a9604
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Apr 19 17:11:12 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Apr 19 17:14:04 2023 +
URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=a6c76fb4

doc/net.example.Linux.in: add hsr examples

Signed-off-by: Robin H. Johnson  gentoo.org>

 doc/net.example.Linux.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index e59ce52..42b8071 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -193,6 +193,8 @@
 #hsr_slave1_hsr0=eth0
 #hsr_slave2_hsr0=eth1
 #hsr_supervision_hsr0=99 # Byte value
+#hsr_version_hsr0=1 # 0=2010 spec, 1=2012 spec
+#hsr_proto_hsr0=1 # 0=HSR standard, 1=Parallel Redundancy Protocol (PRP)
 
 #-
 # WIRELESS (802.11 support)



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

2023-04-13 Thread Robin H. Johnson
commit: 8f4850c90871718483ca66d7037dd777e4a98a6f
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Apr 14 02:54:48 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Apr 14 02:54:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4850c9

app-misc/solaar: bump

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/show_bug.cgi?id=904283

 app-misc/solaar/Manifest|  1 +
 app-misc/solaar/solaar-1.1.9.ebuild | 81 +
 2 files changed, 82 insertions(+)

diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest
index 962083fc97d1..f9dffd6048ea 100644
--- a/app-misc/solaar/Manifest
+++ b/app-misc/solaar/Manifest
@@ -4,3 +4,4 @@ DIST solaar-1.1.1.tar.gz 1418025 BLAKE2B 
c6fd053002727a372bf9672fc22c0acc123f814
 DIST solaar-1.1.2rc2.tar.gz 1462081 BLAKE2B 
b5bcf37f75631d39ac726b564bfd7f329f80e9931461fceb5ce7442113df50db82679dabfd08150a87ebe9a9de68aeb38a005e450c3e025c57e5f1219312
 SHA512 
65320d7193124d1444ecddf5a162e925f373c7c06d0e582af29b1c9d82ea16a32a69accd53f53568b228474691eacd5c0f16bce1bccef1e9a1846151e86dc203
 DIST solaar-1.1.3.tar.gz 1478166 BLAKE2B 
79bfe8a88cecfefc9795d65027f18df5d39c3d43df3e20d3b167bd41365a721ed670e5a60c883b10a2a4cf34d476536003f71d20882e4f30dca590edc441ddeb
 SHA512 
6175d72d8c13b23d0543728315a3d8b5ec506cbaafd821efda92398d640b127d8eb6742c4a22240dca08cdc1ba3ea00e824e2232e41b4fb88ad938dc0df270b8
 DIST solaar-1.1.8.tar.gz 1550947 BLAKE2B 
a33879e3c1b161d86c4c8a2c8edcc79eff285cb8937bf1e6621f3595ba5cf420e75fe700902b9f375698085bb929401154fa2bd25ae9663265e38c8406205bf6
 SHA512 
543c6257b36181813c9ed36747e53a15403da251fdd431c32525cada3ac88611da2c5f2a8212767ba3c7bb0071a3c2024f114805d9a33c761701bf958df29d85
+DIST solaar-1.1.9.tar.gz 1564119 BLAKE2B 
67161bdd2a59ff17cafcdc5399f9f0c072985df85b2d0408e54c8f4e4966c3602a2b62f93b90e56e80fb3c4cbd285de2bbcc87a7709bea06ee4394f42a16f52e
 SHA512 
42ea592aa8c4020be5e2ffd096de0bf6a7e6fdfac7eb2acd069c80084f88979398f779db6507b8b2cc4fd44c8a2ffce89024a42c161f130b4e1bd2c53e4e73a9

diff --git a/app-misc/solaar/solaar-1.1.9.ebuild 
b/app-misc/solaar/solaar-1.1.9.ebuild
new file mode 100644
index ..13ddbb755105
--- /dev/null
+++ b/app-misc/solaar/solaar-1.1.9.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit linux-info udev xdg distutils-r1
+
+DESCRIPTION="Linux Device Manager for Logitech Unifying Receivers and Paired 
Devices"
+HOMEPAGE="https://pwr-solaar.github.io/Solaar/";
+if [[ ${PV} =~ * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar";
+else
+   
SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> 
${P/_rc/rc}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~x86"
+   S="${WORKDIR}"/Solaar-${PV/_rc/rc}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc appindicator libnotify"
+
+RDEPEND="
+   acct-group/plugdev
+   $(python_gen_cond_dep '
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-evdev[${PYTHON_USEDEP}]
+   dev-python/python-xlib[${PYTHON_USEDEP}]
+   >=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+
+   ')
+   x11-libs/gtk+:3[introspection]
+   appindicator? ( dev-libs/libayatana-appindicator )
+   libnotify? ( x11-libs/libnotify[introspection] )"
+# libayatana-appindicator & libnotify are entirely optional and detected at 
runtime
+
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
+
+python_prepare_all() {
+   # don't autostart (bug #494608)
+   sed -i \
+   -e '/yield autostart_path/d' \
+   setup.py || die
+
+   sed -i -r \
+   -e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \
+   setup.py || die
+
+   # grant plugdev group rw access
+   sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || 
die
+
+   distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+
+   dodoc docs/devices.md ChangeLog.md
+   if use doc; then
+   dodoc -r docs/*
+   else
+   newdoc docs/index.md README.md
+   fi
+   udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules
+}
+
+pkg_postinst() {
+   udev_reload
+   xdg_pkg_postinst
+}
+
+pkg_postrm() {
+   udev_reload
+   xdg_pkg_postrm
+}



[gentoo-commits] proj/qa-scripts:master commit in: /

2023-04-13 Thread Robin H. Johnson
commit: ffa7706c877f8aafaa62ada3b45fcd56e5769ae8
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Apr 13 17:33:11 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Apr 13 17:33:11 2023 +
URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=ffa7706c

leaf-packages: pylint

Signed-off-by: Robin H. Johnson  gentoo.org>

 leaf-packages.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/leaf-packages.py b/leaf-packages.py
index 976cb31..448f7cf 100755
--- a/leaf-packages.py
+++ b/leaf-packages.py
@@ -8,7 +8,7 @@ import re
 import subprocess
 import sys
 
-method="pkgcore"
+METHOD="pkgcore"
 
 def main() -> None:
 if len(sys.argv) > 1:
@@ -21,7 +21,7 @@ def main() -> None:
 for ebuild in zero_in_degree:
 # Let the executor run function call
 # update_for_deps_of(ebuild, zero_in_degree)
-if method == "pkgcore":
+if METHOD == "pkgcore":
 executor.submit(update_for, ebuild, zero_in_degree, repo)
 else:
 executor.submit(update_for_deps_of, ebuild, zero_in_degree)



[gentoo-commits] proj/qa-scripts:master commit in: /

2023-04-13 Thread Robin H. Johnson
commit: 961117f0946067e19c77c1050ab90e634a0fccdd
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Apr 13 17:36:15 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Apr 13 17:36:15 2023 +
URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=961117f0

leaf-packages.py: make quieter

Signed-off-by: Robin H. Johnson  gentoo.org>

 leaf-packages.py | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/leaf-packages.py b/leaf-packages.py
index 448f7cf..1454eb8 100755
--- a/leaf-packages.py
+++ b/leaf-packages.py
@@ -9,6 +9,7 @@ import subprocess
 import sys
 
 METHOD="pkgcore"
+VERBOSE=int(os.getenv('VERBOSE') or os.getenv('V') or 0) # V=1..N to use
 
 def main() -> None:
 if len(sys.argv) > 1:
@@ -38,7 +39,9 @@ def update_for(ebuild: str, zero_in_degree: dict, repo: str) 
-> None:
 Reverse dependencies of the ebuild will be searched in the specified
 repository only.
 """
-print(f"Processing {ebuild} ...", file=sys.stderr)
+# This spams infra cronjobs, only enable if there is a problem
+if VERBOSE >= 1:
+print(f"Processing {ebuild} ...", file=sys.stderr)
 proc = subprocess.run(f'pquery --first --restrict-revdep ={ebuild} '
   f'--repo {repo} --raw --unfiltered',
   capture_output=True, text=True, shell=True)
@@ -89,7 +92,8 @@ def update_for_deps_of(ebuild: str, zero_in_degree: dict) -> 
None:
   capture_output=True, text=True, shell=True)
 return proc.stdout.splitlines()
 
-#print(f"Processing {ebuild} ...", file=sys.stderr)
+if VERBOSE >= 2:
+print(f"Processing {ebuild} ...", file=sys.stderr)
 
 # Get dependency specifications in the ebuild;
 # equivalent to dep_graph[ebuild] in the examples above



[gentoo-commits] repo/gentoo:master commit in: sys-block/fio/

2023-04-12 Thread Robin H. Johnson
commit: 92a873192905e6e10d6b37ea494e7c95e6d2
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Apr 13 05:53:08 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Apr 13 05:53:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a87319

sys-block/fio: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/fio/Manifest|   1 +
 sys-block/fio/fio-3.34.ebuild | 166 ++
 2 files changed, 167 insertions(+)

diff --git a/sys-block/fio/Manifest b/sys-block/fio/Manifest
index a942bd342da5..9a507fbd2a6d 100644
--- a/sys-block/fio/Manifest
+++ b/sys-block/fio/Manifest
@@ -1,2 +1,3 @@
 DIST fio-3.27.tar.bz2 960330 BLAKE2B 
7e7e01a5c1d6af13a6f87139e7738646cbc8f45ebc370d0c45b9efe1f93778613d374daafc6df459f988f27f2be54ff636235e1e5a92a4a6ecf9a60ed573d170
 SHA512 
9c5f2ab0c9ac24ab78dbc74fb6c5acd60f8189fdc618f4280992141b6c0abe1c235c373fee18ad0c803e7fb25d480f45aec56dc3be2e0d26d181b3418b179f99
 DIST fio-3.30.tar.bz2 6001772 BLAKE2B 
a4941cd415e6444bb9871274580efdf82281a1e52dc3caaa235f63176e3564fb1dc08e1e4586c555f9c25975d7e6220fe53209ed7218da713b9cb9135de0fc05
 SHA512 
1fb2ae9c28028147edabceff734fc41bf07ce504af98afdb0951920b724b15d647f2b0852262c177279ad6b4dbbf24be458db7f939d1c80069e0f8e7bc8aa10d
+DIST fio-3.34.tar.bz2 7049859 BLAKE2B 
297fef62098bc3bc5476ebc7794566172c182059ce35d57a84bf87f6cedf08f234371d363fd08570e675eef9fbc7eae8d79755826d4312d543a16a144b4afc3f
 SHA512 
912da2d7c7c4e0ad6c64a2e8c5254d23e5b6286c54d3ebf23d6bd2e0b5a9e4d2a53a75da3c807467b0fbe637b4ff23d64f1166fc45d6cce1d13d239f233548d0

diff --git a/sys-block/fio/fio-3.34.ebuild b/sys-block/fio/fio-3.34.ebuild
new file mode 100644
index ..110d723fece7
--- /dev/null
+++ b/sys-block/fio/fio-3.34.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9,10} )
+
+inherit python-r1 toolchain-funcs
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Jens Axboe's Flexible IO tester"
+HOMEPAGE="https://brick.kernel.dk/snaps/";
+SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="aio curl glusterfs gnuplot gtk io-uring nfs numa python rbd rdma static 
tcmalloc test zbc zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+   gnuplot? ( python )
+   io-uring? ( aio )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+# GTK+:2 does not offer static libaries.
+# xnvme
+# libblkio
+# pmem2
+LIB_DEPEND="aio? ( dev-libs/libaio[static-libs(+)] )
+   curl? (
+   net-misc/curl:=[static-libs(+)]
+   dev-libs/openssl:0=[static-libs(+)]
+   )
+   nfs? ( net-fs/libnfs:=[static-libs(+)] )
+   glusterfs? ( sys-cluster/glusterfs[static-libs(+)] )
+   gtk? ( dev-libs/glib:2[static-libs(+)] )
+   io-uring? ( sys-libs/liburing:=[static-libs(+)] )
+   numa? ( sys-process/numactl[static-libs(+)] )
+   rbd? ( sys-cluster/ceph[static-libs(+)] )
+   rdma? ( sys-cluster/rdma-core[static-libs(+)] )
+   tcmalloc? ( dev-util/google-perftools:=[static-libs(+)] )
+   zbc? ( >=sys-block/libzbc-5 )
+   zlib? ( sys-libs/zlib[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+   gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+   static? ( ${LIB_DEPEND} )
+   test? ( dev-util/cunit )"
+RDEPEND+="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/pandas[${PYTHON_USEDEP}]
+   )
+   gnuplot? ( sci-visualization/gnuplot )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/fio-2.2.13-libmtd.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
+
+   # Many checks don't have configure flags.
+   sed -i \
+   -e "s:\:$(tc-getPKG_CONFIG):" \
+   -e '/if compile_prog "" "-lzbc" "libzbc" *; *then/  '"s::if 
$(usex zbc true false) ; then:" \
+   -e '/if compile_prog "" "-lz" "zlib" *; *then/  '"s::if $(usex 
zlib true false) ; then:" \
+   -e '/if compile_prog "" "-laio" "libaio" *; *then/'"s::if 
$(usex aio true false) ; then:" \
+   -e '/if compile_prog "" "-lcunit" "CUnit" *; *then/'"s::if 
$(usex test true false) ; then:" \
+   configure || die
+}
+
+src_configure() {
+   chmod g-w "${T}"
+   # not a real conf

[gentoo-commits] repo/gentoo:master commit in: app-metrics/mysqld_exporter/

2023-03-31 Thread Robin H. Johnson
commit: 896b4ba126fad0b1563b180e69532ecd01f30980
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Apr  1 04:38:00 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Apr  1 04:38:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896b4ba1

app-metrics/mysqld_exporter: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/mysqld_exporter/Manifest   |  2 +
 app-metrics/mysqld_exporter/metadata.xml   |  4 +-
 .../mysqld_exporter-0.14.0_p20230328.ebuild| 94 ++
 3 files changed, 99 insertions(+), 1 deletion(-)

diff --git a/app-metrics/mysqld_exporter/Manifest 
b/app-metrics/mysqld_exporter/Manifest
index 856e1823df3b..a470a6d98450 100644
--- a/app-metrics/mysqld_exporter/Manifest
+++ b/app-metrics/mysqld_exporter/Manifest
@@ -2,4 +2,6 @@ DIST mysqld_exporter-0.12.1_p20200622.tar.gz 1640334 BLAKE2B 
fa52fd7474af548bc94
 DIST mysqld_exporter-0.14.0-vendor.tar.xz 1434948 BLAKE2B 
9bf1c9dc728aeae678ed42cf75e7dcca1758d1ace02159992c0e11b0c4942a6f5eacad86255225f9ffc023904731165bf7e8a845b9031306c21fa2796911790c
 SHA512 
0bc3735108be955b4056d23df9f9ed593f5e495afeec846944eb4b2c4731db45723e1a3904fb621a4ba7c80dd93eccbcfc02657863271c6c306cf94a54a5fafc
 DIST mysqld_exporter-0.14.0.tar.gz 100413 BLAKE2B 
7c995fd538c217964f4d7537961c3d16cb1d9250808832a90eaec251f20f52b5704f38a64b338067cbae2824ea07099a62e5c5083d76bceb9d3c00fed670e7e3
 SHA512 
91728055fd66d3ba2d8c6f48eac24dcdbe710e627cb3c28af100fec1656064aafedbcfcfcb8c2f164dab9c3870c1867728e33afd57889644b27ceaadf0c59629
 DIST mysqld_exporter-0.14.0_p20221209.tar.gz 103942 BLAKE2B 
c4184aea6aa3b750dfbba594725d82af6580bfe1424d1e8f9da19cbbec8c1e35f114da562a3c29799df9329df5a248bcf6788df2bdab9d0cc474eac187a395a4
 SHA512 
8ef068367259e643aba2295d1f087f09b0c61f1534421bfb8400d46c865750d6f115031b445f1f32864e3fb87c80462d4d755f657d289b9144dc7a030ff81b0a
+DIST mysqld_exporter-0.14.0_p20230328.tar.gz 92865 BLAKE2B 
490219444b14006a356fa423b21c851693cf97f9aa6a9d20e8ee732ae8af5aed07aeda04a3419aebe26051f00c60f5655c3479c4ec3d5a2c9c18b44218cdc3b4
 SHA512 
a12aeb676ba81732310599344292f8cd5680abd14d8b380ae2d57198530de1969a5712619eca195e5d7b65abf518de7877789f494a9a4fbcebf42e3c8e35dac8
 DIST mysqld_exporter-530e351d293dd632f31b80947f5ca420ef17adaf-vendor.tar.xz 
1441316 BLAKE2B 
8d023ff291c47f30dc6216a255f050591ea585e0c58ca484a8cdb2e0be125f7daabe570b93d786936b6ea59d3996e45210c3ef41932758d05c302bfef2656e81
 SHA512 
6224d96223b4e38e35626f627c2de1b8ac08294d127556d0c6e73978648296f9a99f21a1aa323053ab07d17642af54ab2d8243bb3d3a9c06919612256fdc32dc
+DIST mysqld_exporter-fad2c0ccd8c0df8fed91a81463e930e4485fdfee-vendor.tar.xz 
1473744 BLAKE2B 
64f4f9dfee04522dbebdc9682c2619cc0f5c63b0835cfca50a37d0cce542e6a926968e23fe94a13d2e76cfbf931026cdcff74823c6c464b1b2f551bf0c70a5cf
 SHA512 
aa10101fd5bc5a2fdef367c855f85d10ebb38b8a92969c5ebf786f011a287f9992559805b8ed24ea39da4db8aedbaf12893a2c6049ea7e90e989adf1ed13d79f

diff --git a/app-metrics/mysqld_exporter/metadata.xml 
b/app-metrics/mysqld_exporter/metadata.xml
index 3f68a9476d81..7fc6c5654241 100644
--- a/app-metrics/mysqld_exporter/metadata.xml
+++ b/app-metrics/mysqld_exporter/metadata.xml
@@ -1,7 +1,9 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   robb...@gentoo.org
+   

prometheus/mysqld_exporter


diff --git 
a/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0_p20230328.ebuild 
b/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0_p20230328.ebuild
new file mode 100644
index ..8a16a9c55685
--- /dev/null
+++ b/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0_p20230328.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+# uncomment the first setting of MY_PV for a normal release
+# MY_PV="v${PV/_rc/-rc.}"
+# set MY_PV to the full commit hash for a snapshot release
+MY_PV_HASH=fad2c0ccd8c0df8fed91a81463e930e4485fdfee
+: ${MY_PV_HASH_FOR_VENDOR:=${MY_PV_HASH}}
+if [[ -n "${MY_PV_HASH}" ]]; then
+   MY_PV=${MY_PV_HASH}
+   MYSQLD_EXPORTER_COMMIT=${MY_PV_HASH:0:8}
+   
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/${MY_PV}.tar.gz";
+else
+   MY_PV=$PV
+   MYSQLD_EXPORTER_COMMIT=
+   
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/refs/tags/v${PV}.tar.gz";
+fi
+MY_P=${PN}-${MY_PV}
+SRC_URI_VENDOR="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}-vendor.tar.xz";
+
+DESCRIPTION="Prometheus exporter for MySQL server metrics"
+HOMEPAGE="https://github.com/prometheus/mysqld_exporter";
+SRC_URI="
+   ${SRC_URI_UPSTREAM} -> ${P}.tar.gz
+   ${SRC_URI_VENDOR}
+   "
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="&qu

[gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/

2023-03-31 Thread Robin H. Johnson
commit: 130ba2d9472048b63d79050be8860eb3fa8e6a1b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Mar 31 21:15:53 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Mar 31 21:15:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130ba2d9

sys-block/thin-provisioning-tools: fix symbol stripping

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-block/thin-provisioning-tools/thin-provisioning-tools-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/sys-block/thin-provisioning-tools/thin-provisioning-tools-.ebuild 
b/sys-block/thin-provisioning-tools/thin-provisioning-tools-.ebuild
index 6d318a86a818..7b9e91492970 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-.ebuild
@@ -32,9 +32,9 @@ src_unpack() {
 }
 
 src_compile() {
-   emake V=
+   emake V= STRIP=true
 }
 
 src_install() {
-   emake V= DESTDIR="${D}" DATADIR="${ED}/usr/share" install
+   emake V= DESTDIR="${D}" DATADIR="${ED}/usr/share" STRIP=true install
 }



[gentoo-announce] Re: [gentoo-dev-announce] Gentoo Services Migration: Bugzilla, Forums, Wiki

2023-03-29 Thread Robin H. Johnson
On Wed, Mar 29, 2023 at 06:03:59AM +, Robin H. Johnson wrote:
> Hi!
> 
> This is a notification that multiple Gentoo services (bugzilla, forums,
> wiki) will be moving and temporarily offline possibly until sometime
> Saturday 2023/04/01.
> 
> We're aiming to keep the interruption much shorter, but the backup plan
> is a 3-4 day outage. Forums may have the longest outage, due to the age
> of the codebase.
Things are looking good that wiki & bugzilla have migrated cleanly,
however forums.gentoo.org will be down for an extended period.

Please continue to consult the status pages to see the Forums service
restore ETA.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-dev] Re: [gentoo-dev-announce] Gentoo Services Migration: Bugzilla, Forums, Wiki

2023-03-29 Thread Robin H. Johnson
On Wed, Mar 29, 2023 at 06:03:59AM +, Robin H. Johnson wrote:
> Hi!
> 
> This is a notification that multiple Gentoo services (bugzilla, forums,
> wiki) will be moving and temporarily offline possibly until sometime
> Saturday 2023/04/01.
> 
> We're aiming to keep the interruption much shorter, but the backup plan
> is a 3-4 day outage. Forums may have the longest outage, due to the age
> of the codebase.
Things are looking good that wiki & bugzilla have migrated cleanly,
however forums.gentoo.org will be down for an extended period.

Please continue to consult the status pages to see the Forums service
restore ETA.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-announce] Gentoo Services Migration: Bugzilla, Forums, Wiki

2023-03-28 Thread Robin H. Johnson
Hi!

This is a notification that multiple Gentoo services (bugzilla, forums,
wiki) will be moving and temporarily offline possibly until sometime
Saturday 2023/04/01.

We're aiming to keep the interruption much shorter, but the backup plan
is a 3-4 day outage. Forums may have the longest outage, due to the age
of the codebase.

For the duration, the sites will be covered by maintenance page that
serves only 503 errors.
https://infra-outage-info.gentoo.org/

Updates will be posted on https://infra-status.gentoo.org/

Why? A sponsor is decommissioning the physical hosting behind these
services. 

On behalf of Infra, I'd extend a thanks to that long-time sponsor:
Gossamer Threads, now part of Carbon60 [1], have hosted multiple Gentoo
services continuously since July 2009.

They are also donating some of the old hardware to Gentoo, and we hope
to be able to repurpose some of it.

Interested in Donating [2] to or Sponsoring Gentoo? [3][4]

[1] https://www.carbon60.com/?pk=gentoo
[2] https://www.gentoo.org/donate/
[3] https://wiki.gentoo.org/wiki/Project:Infrastructure/Sponsorship
[4] 
https://web.archive.org/web/20230329055428/https://wiki.gentoo.org/wiki/Project:Infrastructure/Sponsorship

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-dev] Gentoo Services Migration: Bugzilla, Forums, Wiki

2023-03-28 Thread Robin H. Johnson
Hi!

This is a notification that multiple Gentoo services (bugzilla, forums,
wiki) will be moving and temporarily offline possibly until sometime
Saturday 2023/04/01.

We're aiming to keep the interruption much shorter, but the backup plan
is a 3-4 day outage. Forums may have the longest outage, due to the age
of the codebase.

For the duration, the sites will be covered by maintenance page that
serves only 503 errors.
https://infra-outage-info.gentoo.org/

Updates will be posted on https://infra-status.gentoo.org/

Why? A sponsor is decommissioning the physical hosting behind these
services. 

On behalf of Infra, I'd extend a thanks to that long-time sponsor:
Gossamer Threads, now part of Carbon60 [1], have hosted multiple Gentoo
services continuously since July 2009.

They are also donating some of the old hardware to Gentoo, and we hope
to be able to repurpose some of it.

Interested in Donating [2] to or Sponsoring Gentoo? [3][4]

[1] https://www.carbon60.com/?pk=gentoo
[2] https://www.gentoo.org/donate/
[3] https://wiki.gentoo.org/wiki/Project:Infrastructure/Sponsorship
[4] 
https://web.archive.org/web/20230329055428/https://wiki.gentoo.org/wiki/Project:Infrastructure/Sponsorship

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


Re: [gentoo-dev] Last rites: dev-ruby/hiera-eyaml and dev-ruby/hiera-eyaml-gpg

2023-03-26 Thread Robin H. Johnson
On Sun, Mar 26, 2023 at 11:57:00PM +0200, David Seifert wrote:
> There's a pattern here of infra or packages added for infra rotting with
> unattended bugs or otherwise not meeting modern standards and then panic
> at the 11th hour when they're last-rited.
The *infra* packages here work fine, and pass their own tests.

> Python and Ruby packages especially *need* tests because of how brittle
> they are. An import can break because of a new or changed dependency,
> for example.
> 
> Instead of asking graaff to revert it, you should fix the package to
> work with modern Ruby implementations and get either its tests in full
> or a subset of its tests running (with a comment in the ebuild
> explaining the situation).
I explicitly said that hiera-eyaml & hiera-eyaml-gpg DO work with Ruby
3.2 even. It's only their test dependency, dev-util/aruba:0 that fails
it's own tests.

So you're implying that we are now responsible to fix the tests of every
package in our dependency tree, and you'll just remove all dependent
packages if we don't do that.

And if that's the case why didn't graaff mask dev-util/aruba:0 in
addition to hiera-eyaml & hiera-eyaml-gpg?

> It is _critical_ that we get into ruby31 or newer ASAP and graaff is
> doing hard work to get us there, especially because of the upcoming
> openssl EOL. Unmasking this would mean we have to keep ruby27 around for
> longer and can't focus efforts on newer Ruby.
I didn't say keep Ruby27 at all. hiera-eyaml in the tree WORKS on Ruby
3.0 & Ruby 3.1, and passes it's own testsuite.

The fix for Aruba:0 is just tweaking the cucumber tag syntax:
"~@foo" -> "not @foo"

I'll do the better fix anyway, making hiera-eyaml use aruba:2 instead, I
really just want better communication that we're now responsible for the
entire deptree's tests.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


Re: [gentoo-dev] Last rites: dev-ruby/hiera-eyaml and dev-ruby/hiera-eyaml-gpg

2023-03-26 Thread Robin H. Johnson
On Sun, Mar 26, 2023 at 09:57:36AM +0200, Hans de Graaff wrote:
> # Hans de Graaff  (2023-03-26)
> # Mask ruby27-only packages related to hiera-eyaml. These require a now
> # masked version of puppet and other obsolete ruby27-only test
> # dependencies. Masked for removal on 2023-04-26.
> dev-ruby/hiera-eyaml
> dev-ruby/hiera-eyaml-gpg
Infra needs these, please revert.

I can confirm that the package does work properly with both Ruby 3.0 & Ruby 3.1

The Puppet/Aruba/Cucumber deps are test-only.

Looking deeper, I think the https://github.com/voxpupuli/hiera-eyaml/actions/runs/4280324437/jobs/7451960271

The same CI run *also* shows aruba-0.6.2 installed on Ruby 3.2, and used
to test hiera-eyaml (hiera-eyaml has a tiny patch in master for Ruby 3.2
support).

Lastly, if I tweak aruba-0.6.2 and install it for Ruby 3.0 & Ruby 3.1
myself without FEATURES=tests on aruba, then the tests on hiera-eyaml &
hiera-eyaml-gpg ALSO pass.

So do we really remove packages because a 2nd-order test-only dependency
fails it's own tests? (aruba:0 failing tests on Ruby 3 being the only
reason I can see to remove stuff right now).

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-commits] proj/gentoo-mirrorstats:master commit in: /

2023-03-22 Thread Robin H. Johnson
commit: 005122b3fd5ec2dcabd1ce9a717937ab6950b1b0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Mar 22 17:44:06 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Mar 22 17:44:06 2023 +
URL:
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=005122b3

probe-mirmon: fix warning

Signed-off-by: Robin H. Johnson  gentoo.org>

 probe-mirmon | 1 +
 1 file changed, 1 insertion(+)

diff --git a/probe-mirmon b/probe-mirmon
index 233b6a3..cfade50 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -117,6 +117,7 @@ sub handle_rsync {
 sub munge_date {
no warnings 'numeric';  ## no critic 
(TestingAndDebugging::ProhibitNoWarnings)
my $timestr = shift;
+   return -1 if !$timestr;
my $timestamp = int($timestr);
my $year2020 = 1577836800;
my $year2038 = 2145916800;



[gentoo-commits] proj/gentoo-mirrorstats:master commit in: /

2023-03-22 Thread Robin H. Johnson
commit: fbfd5e0969fa94b51c4f73f13bf0f6d6e56e7440
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Mar 22 16:13:15 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Mar 22 16:13:15 2023 +
URL:
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=fbfd5e09

probe-mirmon: workaround: back to wget for FTP

Signed-off-by: Robin H. Johnson  gentoo.org>

 probe-mirmon | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/probe-mirmon b/probe-mirmon
index ff73776..a40be16 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -29,6 +29,11 @@ sub main {
   if ( $url =~ m,^rsync://, ) {
 handle_rsync( $timeout, $url );
   }
+  elsif ( $url =~ m,^ftp://, ) {
+   # Hacky, at some point CURL stopped returning the output here; just go 
back to wget for now.
+#handle_libcurl( $timeout, $url );
+handle_wget( $timeout, $url );
+  }
   else {
 handle_libcurl( $timeout, $url );
   }
@@ -44,6 +49,7 @@ sub handle_libcurl {
   $curl->setopt(CURLOPT_TIMEOUT, $timeout);
   $curl->setopt(CURLOPT_FTP_USE_EPSV, 1);
   $curl->setopt(CURLOPT_URL, $url);
+  $curl->setopt(CURLOPT_VERBOSE, 1) if $url =~ m,^ftp://,;
 
   # A filehandle, reference to a scalar or reference to a typeglob can be used 
here.
   my $response_body;



[gentoo-commits] proj/gentoo-mirrorstats:master commit in: /

2023-03-22 Thread Robin H. Johnson
commit: a8e55ea71ba5602d791561c105310a53566f0503
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Mar 22 16:29:34 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Mar 22 16:29:34 2023 +
URL:
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=a8e55ea7

probe-mirmon: cleanup

Signed-off-by: Robin H. Johnson  gentoo.org>

 probe-mirmon | 35 +++
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/probe-mirmon b/probe-mirmon
index a40be16..233b6a3 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -76,7 +76,15 @@ sub handle_wget {
   my ( $timeout, $url ) = @_;
   # TODO: replace this with native HTTP
   # TODO: munge the output!
-  exec {'/usr/bin/wget'} 'wget', qw( -q --passive-ftp -O - -T ), $timeout, 
'-t', 1, $url;
+  # kill -9 wget when it gets really stuck.
+  my $tmpdir = File::Tempdir->new();
+  my $dir= $tmpdir->name;
+  my $file   = $url;
+
+  $file =~ s/\W/_/g;# translate all non-letters to _
+  system {'/usr/bin/timeout'} qw(--preserve-status -s KILL -k ), ($timeout + 
1), ($timeout + 0.5),
+   'wget', qw( -q --passive-ftp -T ), $timeout, '-t', 1, '-O', 
"$dir/$file", $url;
+  slurp_and_output("$dir/$file");
 }
 
 sub handle_rsync {
@@ -90,20 +98,18 @@ sub handle_rsync {
 
   # https://stackoverflow.com/a/6331618/1583179
   my ($stdout, $stderr, $ret) = capture {
-  system '/usr/bin/rsync', qw( -q --no-motd --timeout ), $timeout, $url, 
"$dir/$file";
+  system {'/usr/bin/rsync'} qw( -q --no-motd --timeout ), $timeout, $url, 
"$dir/$file";
   };
+  #print "STDOUT: $stdout\n";
+  #print "STDERR $stderr\n";
+  #print "RET: $ret\n";
   if ($ret!=0) {
#warn "rsync failed, exit code $fail, $! $? $@\n";
#exit $ret;
exit 800;
   }
 
-  open my $fh, '<', "$dir/$file" or do {
-warn "Opening Downloaded timestamp Failed";
-exit 900; # rediculous exit code.
-  };
-
-  print munge_date(<$fh>);
+  slurp_and_output("$dir/$file");
   exit 0;
 
 }
@@ -123,3 +129,16 @@ sub munge_date {
}
return -1;
 }
+
+sub slurp_and_output {
+  my $filename = shift;
+  open my $fh, '<', $filename or do {
+warn "Opening Downloaded timestamp Failed";
+exit 900; # rediculous exit code.
+  };
+  my $line = <$fh>;
+  #print "RAW: $line\n";
+
+  print munge_date($line), "\n";
+  exit 0;
+}



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

2023-03-19 Thread Robin H. Johnson
commit: 3112229b867667dfa9c054ab5b38769f13400ecb
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Mar 19 19:09:33 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Mar 19 19:20:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3112229b

dev-ruby/puppet-resource_api: new package

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-ruby/puppet-resource_api/Manifest  |  1 +
 dev-ruby/puppet-resource_api/metadata.xml  | 15 +
 .../puppet-resource_api-1.8.16.ebuild  | 38 ++
 3 files changed, 54 insertions(+)

diff --git a/dev-ruby/puppet-resource_api/Manifest 
b/dev-ruby/puppet-resource_api/Manifest
new file mode 100644
index ..b8152ae5c105
--- /dev/null
+++ b/dev-ruby/puppet-resource_api/Manifest
@@ -0,0 +1 @@
+DIST puppet-resource_api-1.8.16.tar.gz 167691 BLAKE2B 
58aad4a73ef76fbccab580c1500b4af6a472f9bc9b7b0b1c592626abb837af6b34697194b5da884f87ce306f00f23d6f17ff7926e88ca2df3b0cd5770c819e9c
 SHA512 
b60575d0e4f87425d028429403dd5524e39cb5ffea338871f7c5296d7e632d4eebc6786bdb7005e5c1be5e962115903b11dc9645dacd4d040d3afa43606a3ea2

diff --git a/dev-ruby/puppet-resource_api/metadata.xml 
b/dev-ruby/puppet-resource_api/metadata.xml
new file mode 100644
index ..706558282ad9
--- /dev/null
+++ b/dev-ruby/puppet-resource_api/metadata.xml
@@ -0,0 +1,15 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   robb...@gentoo.org
+           Robin H. Johnson
+   
+   
+   r...@gentoo.org
+   Gentoo Ruby Project
+   
+   
+   puppetlabs/puppet-resource_api
+   
+

diff --git a/dev-ruby/puppet-resource_api/puppet-resource_api-1.8.16.ebuild 
b/dev-ruby/puppet-resource_api/puppet-resource_api-1.8.16.ebuild
new file mode 100644
index ..a8e6f8540789
--- /dev/null
+++ b/dev-ruby/puppet-resource_api/puppet-resource_api-1.8.16.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md HISTORY.md README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+# rspec tests have dependencies not packaged in Gentoo at this time:
+# puppetlabs_spec_helper
+# CFPropertyList
+# simplecov-console
+# spec-puppet
+# rubocop
+# rubocop-rspec
+# license_finder
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="This library provides a simple way to write new native resources 
for puppet."
+HOMEPAGE="https://rubygems.org/gems/puppet-resource_api 
https://github.com/puppetlabs/puppet-resource_api";
+LICENSE="MIT"
+# 2023/03/19: .gem does not contain specfiles, and lags behind GitHub releases.
+SRC_URI="https://github.com/puppetlabs/puppet-resource_api/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+   # the gemspec tries to system(git ls-files) but has a meaningful 
fallback, so just make it not run git.
+   sed -i -e '/git --help/s,git,false git,g' \
+   "${RUBY_FAKEGEM_GEMSPEC}" \
+   || die
+}
+
+ruby_add_rdepend ">=dev-ruby/hocon-1.0"



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

2023-03-19 Thread Robin H. Johnson
commit: 6f38c950345b755b43f988ef0e6300311a73273e
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Mar 19 17:13:38 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Mar 19 17:15:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f38c950

net-misc/s4cmd: tweak to support newer botocore automatically

Signed-off-by: Robin H. Johnson  gentoo.org>

 net-misc/s4cmd/Manifest  |  1 +
 net-misc/s4cmd/s4cmd-2.1.0-r1.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/net-misc/s4cmd/Manifest b/net-misc/s4cmd/Manifest
index b9594713d437..2f1d3e2af092 100644
--- a/net-misc/s4cmd/Manifest
+++ b/net-misc/s4cmd/Manifest
@@ -1 +1,2 @@
+DIST s4cmd-2.1.0-botocore-fix.patch 2449 BLAKE2B 
5158ded38f8e3417c090d274063a4eaa4f25cd5005c4bb8793cc639d3d87875f31d87464a8dbb44b5c1690570865cb01a0681f2e92edc46fa549828b91f30a0a
 SHA512 
ea889d069a86a1d1f7f5cf5b1f19a9d0b35527c3db5eecf9202cca742ad4442655169d8688fc4b290a1362a0a794ba8ac44abf697ea7830acf8e48b6c7998ef6
 DIST s4cmd-2.1.0.tar.gz 39312 BLAKE2B 
9d2d533273543153f2bad69362933315f65c5e70bd45c102e42b1b733989815239ae4d027ac08d658f03263bd9dd75f1f6db802b5f38ed3256da5e7c9f48558c
 SHA512 
05e930e2789ce8ab280dcdb2f08e4162930d946d2ed2e4f1c754c8b875375774779b73729151bd23d9bf3736bc48f7626fe53df66aff71dd11b32e90e9355470

diff --git a/net-misc/s4cmd/s4cmd-2.1.0-r1.ebuild 
b/net-misc/s4cmd/s4cmd-2.1.0-r1.ebuild
new file mode 100644
index ..6be09aed0ddd
--- /dev/null
+++ b/net-misc/s4cmd/s4cmd-2.1.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_10 )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 bash-completion-r1
+
+DESCRIPTION="Super S3 command line tool"
+HOMEPAGE="https://github.com/bloomreach/s4cmd";
+SRC_URI="https://github.com/bloomreach/s4cmd/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://github.com/bloomreach/s4cmd/pull/310.patch -> 
${P}-botocore-fix.patch "
+PATCHES=(
+   "${DISTDIR}/${P}-botocore-fix.patch"
+)
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/pytz[${PYTHON_USEDEP}]
+   dev-python/boto3[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_install() {
+   distutils-r1_src_install
+   dobashcomp data/bash-completion/s4cmd
+   rm -f "${D}"/usr/bin/s4cmd.py
+}



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/files/

2023-03-16 Thread Robin H. Johnson
commit: 37305aa8f6bd146c01c41ae9aca55b52c82c5193
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Mar  8 20:04:55 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Mar 16 16:39:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37305aa8

dev-vcs/git: cleanup patches

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../git/files/git-2.7.0-mediawiki-500pages.patch   | 46 --
 .../git/files/git-2.7.0-mediawiki-namespaces.patch | 97 --
 .../git/files/git-2.7.0-mediawiki-subpages.patch   | 48 ---
 3 files changed, 191 deletions(-)

diff --git a/dev-vcs/git/files/git-2.7.0-mediawiki-500pages.patch 
b/dev-vcs/git/files/git-2.7.0-mediawiki-500pages.patch
deleted file mode 100644
index 0ce706db99a6..
--- a/dev-vcs/git/files/git-2.7.0-mediawiki-500pages.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Searching for pages using the MediaWiki API returns at most 500 results
-(hi Patrick). To get a list of all pages in a larger wiki, we need to run
-repeated searches...
-
-Source: https://github.com/moy/Git-Mediawiki/issues/32
-Author: anarcat https://github.com/anarcat
-
-diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl 
b/contrib/mw-to-git/git-remote-mediawiki.perl
-index 8dd74a9..f2ce311 100755
 a/contrib/mw-to-git/git-remote-mediawiki.perl
-+++ b/contrib/mw-to-git/git-remote-mediawiki.perl
-@@ -259,16 +259,29 @@ sub get_mw_tracked_categories {
- sub get_mw_all_pages {
-   my $pages = shift;
-   # No user-provided list, get the list of pages from the API.
--  my $mw_pages = $mediawiki->list({
-+  my $query = {
-   action => 'query',
-   list => 'allpages',
-   aplimit => 'max'
--  });
--  if (!defined($mw_pages)) {
-+  };
-+  my $curpage;
-+  my $oldpage = '';
-+  while (1) {
-+  if (defined($curpage)) {
-+  if ($oldpage eq $curpage) {
-+  last;
-+  }
-+  $query->{apfrom} = $curpage;
-+  $oldpage = $curpage;
-+  }
-+  my $mw_pages = $mediawiki->list($query);
-+  if (!defined($mw_pages)) {
-   fatal_mw_error("get the list of wiki pages");
--  }
--  foreach my $page (@{$mw_pages}) {
-+  }
-+  foreach my $page (@{$mw_pages}) {
-   $pages->{$page->{title}} = $page;
-+  $curpage = $page->{title};
-+  }
-   }
-   return;
- }

diff --git a/dev-vcs/git/files/git-2.7.0-mediawiki-namespaces.patch 
b/dev-vcs/git/files/git-2.7.0-mediawiki-namespaces.patch
deleted file mode 100644
index 72ab2126fa9c..
--- a/dev-vcs/git/files/git-2.7.0-mediawiki-namespaces.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-source:
-https://gist.github.com/anarcat/f821fa285c6b8b6b16a5
-https://github.com/moy/Git-Mediawiki/issues/10
-
-
-From 147224cfe6143c44b16aec0bb6d6a506a6b96ced Mon Sep 17 00:00:00 2001
-From: Kevin 
-Date: Fri, 28 Aug 2015 15:53:37 -0500
-Subject: [PATCH] Add namespace support to git-mediawiki
-
-Signed-off-by: Kevin 

- contrib/mw-to-git/git-remote-mediawiki.perl | 34 +++--
- 1 file changed, 32 insertions(+), 2 deletions(-)
-
-diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl 
b/contrib/mw-to-git/git-remote-mediawiki.perl
-index 8dd74a9..662a5b5 100755
 a/contrib/mw-to-git/git-remote-mediawiki.perl
-+++ b/contrib/mw-to-git/git-remote-mediawiki.perl
-@@ -17,6 +17,7 @@ use Git;
- use Git::Mediawiki qw(clean_filename smudge_filename connect_maybe
-   EMPTY HTTP_CODE_OK);
- use DateTime::Format::ISO8601;
-+use Scalar::Util;
- use warnings;
- 
- # By default, use UTF-8 to communicate with Git and the user
-@@ -63,6 +64,10 @@ chomp(@tracked_pages);
- my @tracked_categories = split(/[ \n]/, run_git("config --get-all 
remote.${remotename}.categories"));
- chomp(@tracked_categories);
- 
-+# Just like @tracked_categories, but for MediaWiki namespaces.
-+my @tracked_namespaces = split(/[ \n]/, run_git("config --get-all 
remote.${remotename}.namespaces"));
-+chomp(@tracked_namespaces);
-+
- # Import media files on pull
- my $import_media = run_git("config --get --bool 
remote.${remotename}.mediaimport");
- chomp($import_media);
-@@ -256,6 +261,23 @@ sub get_mw_tracked_categories {
-   return;
- }
- 
-+sub get_mw_tracked_namespaces {
-+my $pages = shift;
-+foreach my $local_namespace (@tracked_namespaces) {
-+my $mw_pages = $mediawiki->list( {
-+action => 'query',
-+list => 'allpages',
-+apnamespace => get_mw_namespace_id($local_namespace),
-+aplimit => 'max' } )
-+|| die $mediawiki->{error}->{code} . ': '
-+. $mediawiki->{error}->{details} 

Re: [Evergreen-dev] Recommendations for Postgresql version for EG3.9 and 3.10?

2023-03-14 Thread Robin H. Johnson via Evergreen-dev
On Tue, Nov 22, 2022 at 02:03:21PM -0500, Jason Stephenson via Evergreen-dev 
wrote:
> > Maybe 11, but then that just gains me a year of bug fixes since PG 11 
> > will be out of support Nov 2023.  PG 14 would give me 4 years of 
> > support, but I don't know if it has been tested enough.
> 
> I've been using Pg 14 for all of my development and testing VMs with 
> Concerto for the past year with no real issues.  I also ran Pg 14 as my 
> main test instance with production data for a few months, again without 
> any noticeable issues.
> 
> I suggest giving Pg 14 a try in production. It's the only way that we're 
> really going to find all of the issues and someone has to go first.
> 
> I don't recommend Pg 11 through 13. While they have fewer changes, they 
> are also less well tested as far as I know.
> 
> I am working on getting Pg 15 compatibility going. In fact, I just ran 
> build-db.sh on Pg 15 to see what blows up.
Hi Jason,

I didn't see any results on your Pg 15 testing here.
Can you share with the list your results for Pg15+EG3.10 together?

(Also if extended testing on Pg14 revealed any other issues).

-- 
Robin Hugh Johnson
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85


signature.asc
Description: PGP signature
___
Evergreen-dev mailing list
Evergreen-dev@list.evergreen-ils.org
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-dev


[ceph-users] Re: 10x more used space than expected

2023-03-14 Thread Robin H. Johnson
On Tue, Mar 14, 2023 at 06:59:51PM +0100, Gaël THEROND wrote:
> Versioning wasn’t enabled, at least not explicitly and for the
> documentation it isn’t enabled by default.
> 
> Using nautilus.
> 
> I’ll get all the required missing information on tomorrow morning, thanks
> for the help!
> 
> Is there a way to tell CEPH to delete versions that aren’t current used one
> with radosgw-admin?
> 
> If not I’ll use the rest api no worries.
Nope, s3 API only.

You should also check for incomplete multiparts. For that, I recommend
using AWSCLI or boto directly. Specifically not s3cmd, because s3cmd
doesn't respect the  flag properly.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: 10x more used space than expected

2023-03-14 Thread Robin H. Johnson
On Tue, Mar 14, 2023 at 06:34:54PM +0100, Gaël THEROND wrote:
> Hi everyone, I’ve got a quick question regarding one of our RadosGW bucket.
> 
> This bucket is used to store docker registries, and the total amount of
> data we use is supposed to be 4.5Tb BUT it looks like ceph told us we
> rather use ~53Tb of data.
> 
> One interesting thing is, this bucket seems to shard for unknown reason as
> it is supposed to be disabled by default, but even taking that into account
> we’re not supposed to see such a massive amount of additional data isn’t it?
> 
> Here is the bucket stats of it:
> https://paste.opendev.org/show/bdWFRvNFtxyHnbPfXWu9/
At a glance, is versioning enabled?

And if so, are you pruning old versions?

Please share "radosgw-admin metadata get" for the bucket &
bucket-instance.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[gentoo-commits] repo/gentoo:master commit in: app-metrics/portage-exporter/, app-metrics/portage-exporter/files/

2023-03-07 Thread Robin H. Johnson
commit: e296d2dccc964091675d6b275ead7020ca8b7375
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Mar  8 01:00:45 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Mar  8 01:01:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e296d2dc

app-metrics/portage-exporter: new package

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/portage-exporter/Manifest  |  2 +
 .../portage-exporter/files/portage-exporter.confd  | 26 +++
 .../portage-exporter/files/portage-exporter.initd  | 49 
 app-metrics/portage-exporter/metadata.xml  | 14 ++
 .../portage-exporter-0_p20230307.ebuild| 52 ++
 5 files changed, 143 insertions(+)

diff --git a/app-metrics/portage-exporter/Manifest 
b/app-metrics/portage-exporter/Manifest
new file mode 100644
index ..f79a57b4631c
--- /dev/null
+++ b/app-metrics/portage-exporter/Manifest
@@ -0,0 +1,2 @@
+DIST portage-exporter-0_p20230307.tar.gz 32044 BLAKE2B 
23e590aba88bf071568e9643b22ec51d6fcaff11b5eb5ea1e66d39cf49468238cbb80a44a865ba7bbccb631540e33ab5a417201ec995227e84d122601c868fad
 SHA512 
1e3bd18cf44ad849b0ee0a2dc737f6d334ce9dd29d03f53a05298df2013be8c77a7ed66c3171cc6c765ad21ab7705fd747856d95ef3259cc83fac85544e81781
+DIST portage-exporter-ae39c6be10364896683ab1af0512ee8453bc153e-vendor.tar.xz 
784800 BLAKE2B 
600f207b15e54ab0f4c27691ce41efcdd3706bfc82c9170da3ebf2eb6283b5595bca08d7eebd3c7b5a6b2c7bcef704e70946e3fab63a537cf03ffa7dbe4a57a0
 SHA512 
e6e91296e8220d9fb34e0837714108d8806801d6799e49dc27b7dcaf8ddf39a92bff232ec3d616019ef5ae5c437bc81eee719ca658c299a35e8f1b165e38d3eb

diff --git a/app-metrics/portage-exporter/files/portage-exporter.confd 
b/app-metrics/portage-exporter/files/portage-exporter.confd
new file mode 100644
index ..3bd24a22a809
--- /dev/null
+++ b/app-metrics/portage-exporter/files/portage-exporter.confd
@@ -0,0 +1,26 @@
+# /etc/conf.d/portage-exporter
+
+# PID file
+#EXPORTER_PIDFILE="/run/${RC_SVCNAME}.pid"
+
+# The termination timeout (start-stop-daemon parameter "retry") ensures
+# that the service will be terminated within a given time (60 + 5 seconds
+# per default) when you are stopping the service.
+#EXPORTER_TERMTIMEOUT="TERM/60/KILL/5"
+
+# User to run exporter as
+#EXPORTER_USER="portage-exporter"
+
+# User group to run exporter as
+#EXPORTER_GROUP="portage-exporter"
+
+# You can use this configuration option to pass additional options to the
+# start-stop-daemon, see start-stop-daemon(8) for more details.
+# Per default we wait 1000ms after we have started the service to ensure
+# that the daemon is really up and running.
+#EXPORTER_SSDARGS="--wait 1000"
+
+# Exporter flags (passed via env)
+#SERVE_ADDRESS=":2112"
+#SERVE_PATH=/metrics
+VDB_UPDATE_INTERVAL=1800

diff --git a/app-metrics/portage-exporter/files/portage-exporter.initd 
b/app-metrics/portage-exporter/files/portage-exporter.initd
new file mode 100644
index ..9aa53f509a6e
--- /dev/null
+++ b/app-metrics/portage-exporter/files/portage-exporter.initd
@@ -0,0 +1,49 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus exporter for Portage packages"
+
+EXPORTER_FLAGS=${EXPORTER_FLAGS:-""}
+#EXPORTER_USER=${EXPORTER_USER:-"portage-exporter"}
+#EXPORTER_GROUP=${EXPORTER_GROUP:-"portage-exporter"}
+EXPORTER_PIDFILE=${EXPORTER_PIDFILE:-"/run/${RC_SVCNAME}.pid"}
+EXPORTER_SSDARGS=${EXPORTER_SSDARGS:-"--wait 1000"}
+EXPORTER_TERMTIMEOUT=${EXPORTER_TERMTIMEOUT:-"TERM/60/KILL/5"}
+
+command="/usr/bin/portage-exporter"
+command_args="${EXPORTER_FLAGS}"
+command_background="true"
+start_stop_daemon_args="${EXPORTER_SSDARGS}"
+start_stop_daemon_args="${start_stop_daemon_args} ${EXPORTER_USER:+--user 
}${EXPORTER_USER}"
+start_stop_daemon_args="${start_stop_daemon_args} ${EXPORTER_GROUP:+--group 
}${EXPORTER_GROUP}"
+
+getconfig() {
+   local key="$1"
+   local value_default="$2"
+   local value=
+
+   if service_started; then
+   value="$(service_get_value "${key}")"
+   fi
+
+   if [ -z "${value}" ]; then
+   # Value not explicitly set
+   echo "${value_default}"
+   else
+   echo "${value}"
+   fi
+
+   return 0
+}
+
+pidfile="$(getconfig pidfile ${EXPORTER_PIDFILE})"
+retry="$(getconfig retry ${EXPORTER_TERMTIMEOUT})"
+
+depend() {
+   after net.lo loopback
+}
+
+start_post() {
+   service_set_value retry "${EXPORTER_TERMTIMEOUT}"
+}

diff --git a/app-metrics/portage-exporter/metadata.xml 
b/app-metrics/portage-exporter/

[gentoo-mirrors] FYI - master rsync breakage

2023-03-04 Thread Robin H. Johnson
FYI, I accidentally broke the master rsync mirror w/ a glibc/openssl
upgrade issue.

Waiting on a support ticket because the sponsor's serial console remote
access system seems to be broken.

Depending on expected response time, may spin up an alternate system
instead.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-dev] FYI - master rsync breakage

2023-03-04 Thread Robin H. Johnson
FYI, I accidentally broke the master rsync mirror w/ a glibc/openssl
upgrade issue.

Waiting on a support ticket because the sponsor's serial console remote
access system seems to be broken.

Depending on expected response time, may spin up an alternate system
instead.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-commits] repo/gentoo:master commit in: app-office/ledger/

2023-03-03 Thread Robin H. Johnson
commit: 6b5b0742ab9b1f48c4ae03c577485c6870493ede
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Mar  3 15:18:38 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Mar  3 15:18:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5b0742

app-office/ledger: bump due to upstream regression

3.3.0 had a regression and upstream released a rapid 3.3.1.

Reference: 
https://groups.google.com/d/msgid/ledger-cli/ZAHS3GxA3j3FJpXL%40jirafa.cyrius.com
Signed-off-by: Robin H. Johnson  gentoo.org>

 app-office/ledger/Manifest | 2 +-
 app-office/ledger/{ledger-3.3.0.ebuild => ledger-3.3.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/ledger/Manifest b/app-office/ledger/Manifest
index 894a29ed1fa2..5f5bdbde34bb 100644
--- a/app-office/ledger/Manifest
+++ b/app-office/ledger/Manifest
@@ -1,2 +1,2 @@
 DIST ledger-3.2.1.tar.gz 790959 BLAKE2B 
a25b08f37c6bcf409fb60e0bcc6e11021515fe17f7eb6f23781bd7a7c16b58ac92d4684e5936901ed87f2f5be4df427bd95fe856f8e7eff1e2609329866de71a
 SHA512 
526c60cee354c9d2ead38cef3b89b349467e41fa3ec0927b51e7246a3352f19f0f81574211f20ba9bac5915590b870b9f9478a103ab661d3d9a10f41c52f4512
-DIST ledger-3.3.0.tar.gz 824584 BLAKE2B 
e5f5c63941025391f1e6431a5237c04c035700c7ea26e7a6b077d32195ad20ad120f001f3d630621ad702fa99491463f7235b8ab2fce6a77d4d815ce16c1be2a
 SHA512 
2de12b46dbc770dd615fbb8a3ad951102fdf63d0de0392361b4e8c1ef001f3f0b76911d92ec5d9ef79d6c486c9969c372f27eddc9f2e227388d4d9b7641f
+DIST ledger-3.3.1.tar.gz 825005 BLAKE2B 
72207dd53e8e8a201511cf9ca245c505e953fee4dc88e2be46753f4037be46dbd882ed94327f502622c1a23f332ddf9a94d2dfa60986fd82f192103612da6ca8
 SHA512 
6271f5beb0d0b9f157c06bf701f302b229bea1db5343f9d9239a8723039f248920d545bcc4fbea35646fdbcffb960f7830266b141a58ba88496ed34ee7d770a1

diff --git a/app-office/ledger/ledger-3.3.0.ebuild 
b/app-office/ledger/ledger-3.3.1.ebuild
similarity index 100%
rename from app-office/ledger/ledger-3.3.0.ebuild
rename to app-office/ledger/ledger-3.3.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/

2023-02-24 Thread Robin H. Johnson
commit: 34114705236b17afb9cd19e6a5f8e8dc37bae912
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Feb 25 05:45:06 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Feb 25 05:49:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34114705

dev-vcs/git: add 2.40.0_rc0, no keywords, passes tests

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-vcs/git/Manifest  |   3 +
 dev-vcs/git/git-2.40.0_rc0.ebuild | 657 ++
 2 files changed, 660 insertions(+)

diff --git a/dev-vcs/git/Manifest b/dev-vcs/git/Manifest
index 92cba20e6aee..48ac47c7085d 100644
--- a/dev-vcs/git/Manifest
+++ b/dev-vcs/git/Manifest
@@ -1,6 +1,9 @@
 DIST git-2.39.1.tar.xz 7160744 BLAKE2B 
5ebf583232da9f6a937ebba17858b9fa8b550e3d0d981ff5603f77673cce69bf9a3c1c18c61d4c5e6b2f629a8173eaef8a09c913961d175571e4e6b00d2b194d
 SHA512 
b1821a814947f01adf98206a7e9a01da9daa617b1192e8ef6968b05af8d874f028fb26b5f828a9c48f734ef2c276f4d23bdc898ba46fb7aaa96dbe68081037e9
 DIST git-2.39.2.tar.xz 7163224 BLAKE2B 
bcd9abdaf8ce626de7aec2da666395f80212772aa17516f903459d683597184efeeb1d6aad536e0bf722a9bf63df98549fdeaab5b0a48e5500faf83ebf5d7516
 SHA512 
fdca70bee19401c5c7a6d2f3d70bd80b6ba99f6a9f97947de31d4366ee3a78a18d5298abb25727ec8ef67131bca673e48dff2a5a050b6e032884ab04066b20cb
+DIST git-2.40.0.rc0.tar.xz 7179140 BLAKE2B 
275149105e27fa938d3769f29546a04fbea0daa10796933e9c50bc6a9c482fdb13dbe0f0f3bef3373fe98afeca7f4cc80c32cc5b38fdcdf60b7dc951a3fdaf61
 SHA512 
123d400cce9a66f7399fe9e74b79e8ec709b7ca45d4cf8296af27ad1b866fccebc6493cc056c08d4678d3720bace60193d55ff6014137965317c16e65536ac20
 DIST git-htmldocs-2.39.1.tar.xz 1504172 BLAKE2B 
64a73a2b04e99b0bf18ab2153076bcbae9c114a31c9ab998c5e068f0ce6c0f5140e9db79008b1b01688db6a6d53e84fde8b2319eb45394aa6bc2df361be78520
 SHA512 
9b67b0464acd5651ef5871f724c59c910195cdd7020ecdcadced6e8e1275269ee1ca5808881e67e908114cb4ef27c959320f1e3d718b6699d3761281b6179600
 DIST git-htmldocs-2.39.2.tar.xz 1505352 BLAKE2B 
8b60f9bae9585aab8782f38ff64391a9c8fddeed47d84a989b4f65db87c14e927d1d975fa5239435e921dbc74a75c600d6f0485defa1a235a66355c0f8d9060d
 SHA512 
fe0982e653784285bce7f158956892900ae9c88aa986261de4184e3349e34ee54f92d7280e143031b107872fc1729814489f6e355aa12dc415d724da65ec3716
+DIST git-htmldocs-2.40.0.rc0.tar.xz 1516032 BLAKE2B 
076dfa70832fedf4f39bbe321aa74b7928a70040858624026662dc686a4af051fc8206daaee6748d560153bf38972210fb24095439f176b979727df8674bbab4
 SHA512 
288084d6789f2544be5f9932e43f542cc785e99df9ef42252a9ba87159bec9e845bcb7594e7e6011cbba1f75285b74e48cba2e86c6c9299c95b439b0803de4ed
 DIST git-manpages-2.39.1.tar.xz 557012 BLAKE2B 
1a39a1192443eac0d12da059e0146d286272054192810d12f53f627bd341c3dc50bea2078cccac0d46c5e95502a1d669f072ab387e1662c890e5c38d46ad3f31
 SHA512 
4f1fdd7abf53dd60478ffc5f926777cd00446a3799ad9a2129814adfe7d3d63e13dd9bcdcea699fd139c9e134cf45857f0585ce2772e4fb93e4930c8f86a08bb
 DIST git-manpages-2.39.2.tar.xz 557080 BLAKE2B 
6b2dbb33f1041ba802582f529638b8b4574309efbf5af94add5c676efed7314743d5b326ec18a95ba85a4fe818e95913069717034a9863879e1d03ee32b839ba
 SHA512 
6326ff43564fc42ca0a424edd17896434e11c09ce21f4bfd4d4975aaaf7f2c0d823da0e89b267557b0b7799c342db88d84685d24f589f53edfe486208c1f15b1
+DIST git-manpages-2.40.0.rc0.tar.xz 562536 BLAKE2B 
1c41631408a9bea0d73dbc8df2242c3cbaf2330bc96f3e3020b10397568dc6e32b631d6ff0dd8026adc5c36398e44d88dcf773f49b706e446b93e84c94942081
 SHA512 
117c073c8a5d74edeb45e521761ce42d911c3f8dcc329a54a78d9078a81d4d1f9e8a1772d03f4196bc6b013fe092d0ea422ca43292399dd22c84813ddba7

diff --git a/dev-vcs/git/git-2.40.0_rc0.ebuild 
b/dev-vcs/git/git-2.40.0_rc0.ebuild
new file mode 100644
index ..fb287df0a1a8
--- /dev/null
+++ b/dev-vcs/git/git-2.40.0_rc0.ebuild
@@ -0,0 +1,657 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL=no
+
+# bug #329479: git-remote-testgit is not multiple-version aware
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale 
python-single-r1 systemd
+
+PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
+
+if [[ ${PV} == * ]]; then
+   EGIT_REPO_URI="https://git.kernel.org/pub/scm/git/git.git";
+
+   inherit git-r3
+   # Please ensure that all _four_  ebuilds get updated; they track 
the 4 upstream branches.
+   # See https://git-scm.com/docs/gitworkflows#_graduation
+   # In order of stability:
+   # -r0: maint
+   # -r1: master
+   # -r2: next
+   # -r3: seen
+   case ${PVR} in
+   ) EGIT_BRANCH=maint ;;
+   -r1) EGIT_BRANCH=master ;;
+   -r2) EGIT_BRANCH=next;;
+   -r3) EGIT_BRANCH=seen ;;
+   esac
+fi
+
+MY_PV="${PV/_rc/.rc}"
+MY_P="${PN}-${MY_PV}"
+
+DOC_VER="${MY_PV}"
+
+DESCRIPTION="Stupid content tracke

Re: Can you block this?

2023-02-23 Thread Robin H. Johnson
On Thu, Feb 23, 2023 at 06:48:14PM -0700, Bryan Arenal wrote:
> Hi there,
> 
> I’m seeing some traffic from what appears to be bad actors and am
> wanting to block them.  I see this in the existing config but being
> new to haproxy, it doesn’t seem like it’s configured correctly but I’m
> not sure:
> 
> frontend main
> bind :80
> acl bad_ip src
> acl bad_ip_proxy hdr_ip(X-Forwarded-For)
Off the top of my head, this should probably be:
acl bad_ip src -f /etc/haproxy/blocklist.lst
acl bad_ip_proxy hdr_ip(X-Forwarded-For) -f /etc/haproxy/blocklist.lst

> tcp-request connection reject if bad_ip || bad_ip_proxy
I'm not sure offhand about the processing order for the header case.

You might need BOTH:
tcp-request connection reject if bad_ip || bad_ip_proxy
http-request connection reject if bad_ip || bad_ip_proxy

Depending on the scale of the traffic, the one problem you'll have here is that 
HAProxy still has to process the problematic requests.

In that case I suggest writing a feedback loop that adds the bad IP to an ipset
set, to block the traffic before it gets to HAProxy, for some period of time.
The trigger for the loop can either be a tail on the logfile, or using some
variation of the set* functionality (set-acl, set-map, set-mark) and exporting
the data to ipset.

-- 
Robin Hugh Johnson
Pronouns   : They/he
E-Mail : robb...@orbis-terrarum.net


signature.asc
Description: PGP signature


[gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/

2023-02-12 Thread Robin H. Johnson
commit: 662ab2abb56e4a81f1d0053901fb1da466b34918
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Feb 12 23:38:51 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Feb 12 23:38:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=662ab2ab

net-nds/openldap: fix /run creation

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/836725

 net-nds/openldap/openldap-2.6.3-r7.ebuild | 2 ++
 net-nds/openldap/openldap-2.6.4-r1.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-nds/openldap/openldap-2.6.3-r7.ebuild 
b/net-nds/openldap/openldap-2.6.3-r7.ebuild
index dd5276bf5a17..dd199fb41605 100644
--- a/net-nds/openldap/openldap-2.6.3-r7.ebuild
+++ b/net-nds/openldap/openldap-2.6.3-r7.ebuild
@@ -344,6 +344,8 @@ src_prepare() {
 
sed -i \
-e "s:\$(localstatedir)/run:${EPREFIX}/run:" \
+   -e '/MKDIR.*.(DESTDIR)\/run/d' \
+   -e '/MKDIR.*.(DESTDIR).*.(runstatedir)/d' \
servers/slapd/Makefile.in || die 'adjusting slapd Makefile.in 
failed'
 
pushd build &>/dev/null || die "pushd build"

diff --git a/net-nds/openldap/openldap-2.6.4-r1.ebuild 
b/net-nds/openldap/openldap-2.6.4-r1.ebuild
index 51316d05feb1..836a5b52f960 100644
--- a/net-nds/openldap/openldap-2.6.4-r1.ebuild
+++ b/net-nds/openldap/openldap-2.6.4-r1.ebuild
@@ -359,6 +359,8 @@ src_prepare() {
 
sed -i \
-e "s:\$(localstatedir)/run:${EPREFIX}/run:" \
+   -e '/MKDIR.*.(DESTDIR)\/run/d' \
+   -e '/MKDIR.*.(DESTDIR).*.(runstatedir)/d' \
servers/slapd/Makefile.in || die 'adjusting slapd Makefile.in 
failed'
 
pushd build &>/dev/null || die "pushd build"



[ceph-users] Re: Generated signurl is accessible from restricted IPs in bucket policy

2023-02-09 Thread Robin H. Johnson
On Wed, Feb 08, 2023 at 03:07:20PM -, Aggelos Toumasis wrote:
> Hi there,
> 
> We noticed after creating a signurl that the bucket resources were
> accessible from IPs that were originally restricted from accessing
> them (using a bucket policy).  Using the s3cmd utility we confirmed
> that the Policy is correctly applied and you can access it only for
> the allowed IPs.
>
> Is this an expected behavior or do we miss something?
Can you share the bucket policy?

Also, are you using some reverse proxy in front of RGW, and if so: 
are both the proxy & RGW configured for the correct headers to agree on
the actual source IP.

IIRC depending how the policy is written, you have have either of:
- presigned URL || IP-check
- presigned URL && IP-check

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/, net-nds/openldap/files/

2023-02-09 Thread Robin H. Johnson
commit: bf339dafe9121c8d4bfe8e5eba6d07e7b08127a2
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Feb  9 23:47:49 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Feb  9 23:48:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf339daf

net-nds/openldap: tweak upgrade safety checks & default database backend for 2.6

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/893646

 net-nds/openldap/files/openldap-2.6.3-slapd-conf | 64 
 net-nds/openldap/openldap-2.6.3-r3.ebuild|  2 +-
 net-nds/openldap/openldap-2.6.3-r7.ebuild| 17 +--
 3 files changed, 79 insertions(+), 4 deletions(-)

diff --git a/net-nds/openldap/files/openldap-2.6.3-slapd-conf 
b/net-nds/openldap/files/openldap-2.6.3-slapd-conf
new file mode 100644
index ..4555c620c281
--- /dev/null
+++ b/net-nds/openldap/files/openldap-2.6.3-slapd-conf
@@ -0,0 +1,64 @@
+#
+# See slapd.conf(5) for details on configuration options.
+# This file should NOT be world readable.
+#
+include/etc/openldap/schema/core.schema
+
+# Define global ACLs to disable default read access.
+
+# Do not enable referrals until AFTER you have a working directory
+# service AND an understanding of referrals.
+#referral  ldap://root.openldap.org
+
+pidfile/run/openldap/slapd.pid
+argsfile   /run/openldap/slapd.args
+
+# Load dynamic backend modules:
+###INSERTDYNAMICMODULESHERE###
+
+# Sample security restrictions
+#  Require integrity protection (prevent hijacking)
+#  Require 112-bit (3DES or better) encryption for updates
+#  Require 63-bit encryption for simple bind
+# security ssf=1 update_ssf=112 simple_bind=64
+
+# Sample access control policy:
+#  Root DSE: allow anyone to read it
+#  Subschema (sub)entry DSE: allow anyone to read it
+#  Other DSEs:
+#  Allow self write access
+#  Allow authenticated users read access
+#  Allow anonymous users to authenticate
+#  Directives needed to implement policy:
+# access to dn.base="" by * read
+# access to dn.base="cn=Subschema" by * read
+# access to *
+#  by self write
+#  by users read
+#  by anonymous auth
+#
+# if no access controls are present, the default policy
+# allows anyone and everyone to read anything but restricts
+# updates to rootdn.  (e.g., "access to * by * read")
+#
+# rootdn can always read and write EVERYTHING!
+
+###
+# BDB database definitions
+###
+
+database   mdb
+suffix "dc=my-domain,dc=com"
+#  
+checkpoint 32  30 
+rootdn "cn=Manager,dc=my-domain,dc=com"
+# Cleartext passwords, especially for the rootdn, should
+# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
+# Use of strong authentication encouraged.
+rootpw secret
+# The database directory MUST exist prior to running slapd AND 
+# should only be accessible by the slapd and slap tools.
+# Mode 700 recommended.
+directory  /var/lib/openldap-data
+# Indices to maintain
+index  objectClass eq

diff --git a/net-nds/openldap/openldap-2.6.3-r3.ebuild 
b/net-nds/openldap/openldap-2.6.3-r3.ebuild
index fccec9c055ec..55df096bb65f 100644
--- a/net-nds/openldap/openldap-2.6.3-r3.ebuild
+++ b/net-nds/openldap/openldap-2.6.3-r3.ebuild
@@ -643,7 +643,7 @@ multilib_src_install() {
# use our config
rm "${ED}"/etc/openldap/slapd.conf
insinto /etc/openldap
-   newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf
+   newins "${FILESDIR}"/${PN}-2.6.3-slapd-conf slapd.conf
configfile="${ED}"/etc/openldap/slapd.conf
 
# populate with built backends

diff --git a/net-nds/openldap/openldap-2.6.3-r7.ebuild 
b/net-nds/openldap/openldap-2.6.3-r7.ebuild
index 0c699006bb9c..dd5276bf5a17 100644
--- a/net-nds/openldap/openldap-2.6.3-r7.ebuild
+++ b/net-nds/openldap/openldap-2.6.3-r7.ebuild
@@ -166,7 +166,7 @@ openldap_find_versiontags() {
openldap_found_tag=0
have_files=0
for each in ${openldap_datadirs[@]} ; do
-   CURRENT_TAGDIR="${ROOT}$(sed "s:\/::" <<< ${each})"
+   CURRENT_TAGDIR="${EROOT}$(sed "s:\/::" <<< ${each})"
CURRENT_TAG="${CURRENT_TAGDIR}/${OPENLDAP_VERSIONTAG}"
if [[ -d "${CURRENT_TAGDIR}" ]] && [[ "${openldap_found_tag}" 
== 0 ]] ; then
einfo "- Checking ${each}..."
@@ -232,7 +232,18 @@ openldap_find_versiontags() {
| awk 
'/libdb-/{gsub("^libdb-"

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

2023-02-07 Thread Robin H. Johnson
commit: 8cd0fa745bf3ae6325ee3a812e73de201e74c429
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Feb  8 01:11:06 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Feb  8 05:57:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd0fa74

dev-python/oauth2client: updates

- Patching to support Py3.8..Py3.11
- Exclude broken upstream contrib django & flask
- Convert nose -> pytest

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/718972

 dev-python/oauth2client/Manifest   |  1 +
 .../oauth2client/oauth2client-4.1.3-r3.ebuild  | 85 ++
 2 files changed, 86 insertions(+)

diff --git a/dev-python/oauth2client/Manifest b/dev-python/oauth2client/Manifest
index 4ad1dc297cab..d913489a234e 100644
--- a/dev-python/oauth2client/Manifest
+++ b/dev-python/oauth2client/Manifest
@@ -1 +1,2 @@
+DIST oauth2client-4.1.3-fixes-20230207.patch 21827 BLAKE2B 
c04886be0efad92fff75f0d78c5597bbc386939001f1fc5d094f96899bcc25bbd80c4e620cdf401a45c7ed48a8c83515adc98a190cecbbd345f55b78ca4a0257
 SHA512 
4d648aff20e56628c6fa916627851d7bb50f927c1cb1a056e115130e0aec128e7e2a5571b4a35a167bbcf01762669c22008cffd5530e0006846250d32b3f8093
 DIST oauth2client-4.1.3.tar.gz 185589 BLAKE2B 
6cd61448e0d55cef7f2ba640c8cbb50ac83e76d0993391eb0acb3e156f937fcdee80576c9d45d505235a9f266495069664ccbfafd649a4e2d7a0990517ee8cb6
 SHA512 
80f49e09a6dd6767307a2c278544926fbf20b4f55e4cf83563ac7a7c1043622bd3c8c7fcf6de62896b623ca8c7947b309a5e6bf2b7cb0fccff3ff7634386b287

diff --git a/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild 
b/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild
new file mode 100644
index ..fd404d1b6b8e
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-4.1.3-r3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for accessing resources protected by OAuth 2.0"
+HOMEPAGE="https://github.com/googleapis/oauth2client";
+SRC_URI="
+   
https://github.com/googleapis/oauth2client/archive/v${PV/_p/-post}.tar.gz -> 
${P}.tar.gz
+   
https://dev.gentoo.org/~robbat2/distfiles/oauth2client-4.1.3-fixes-20230207.patch
+   "
+S="${WORKDIR}"/${P/_p/-post}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+# This package supports 3 different crypto options, but tests ALL of them
+CRYPTO_A=">=dev-python/pycryptodome-2.6[${PYTHON_USEDEP}]"
+CRYPTO_B="dev-python/pyopenssl[${PYTHON_USEDEP}]"
+CRYPTO_C="(
+   >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
+   >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}]
+   >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
+   )"
+
+RDEPEND="
+   >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
+   >=dev-python/six-1.6.1[${PYTHON_USEDEP}]
+   || ( ${CRYPTO_A} ${CRYPTO_B} ${CRYPTO_C} )
+   dev-python/keyring[${PYTHON_USEDEP}]
+   !<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}]
+"
+
+# Not well-tested upstream, and broken:
+# django dev-python/django[${PYTHON_USEDEP}]
+# flask dev-python/flask[${PYTHON_USEDEP}]
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/sqlalchemy[${PYTHON_USEDEP}]
+   dev-python/fasteners[${PYTHON_USEDEP}]
+   ${CRYPTO_A}
+   ${CRYPTO_B}
+   ${CRYPTO_C}
+   )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+   "${DISTDIR}/oauth2client-4.1.3-fixes-20230207.patch"
+)
+
+src_prepare() {
+   default
+   # These contrib modules are broken upstream:
+   REMOVE=(
+   # django
+   "${S}"/oauth2client/contrib/django_util/
+   "${S}"/samples/django/
+   "${S}"/tests/contrib/django_util/
+   "${S}"/docs/source/oauth2client.contrib.django*
+   # flask
+   "${S}"/docs/source/oauth2client.contrib.flask_util.rst
+   "${S}"/oauth2client/contrib/flask_util.py
+   "${S}"/tests/contrib/test_flask_util.py
+   )
+   rm -rf "${REMOVE[@]}"
+}
+
+python_test() {
+   TEST_ARGS=(
+   # appengine - requires appengine
+   # django_util - requires django, contrib module broken upstream
+   # flash - requires flask, contrib module broken upstream
+   --ignore-glob='*appengine*'
+   )
+   epytest "${TEST_ARGS[@]}" || die "tests fail with ${EPYTHON}"
+}



Re: [gentoo-dev] Gentoo - Google Summer of Code (GSoC)

2023-02-06 Thread Robin H. Johnson
On Wed, Jan 11, 2023 at 08:33:35AM -0500, Yury German wrote:
> 2. Mentors.- Last year we got four slots allocated to us by Google and
> ran a successful project, we are looking for mentors to be able to
> help mentor the applicants, and run the projects. 
Yes, I'm willing to help mentor. I've mentored more than 5 students
between multiple projects over the lifetime of GSoC.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2023-01-22 Thread Robin H. Johnson
commit: 1b2bcb67e18ff9150bc5c7e758bc2d6d72e75ba9
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Jan 22 17:49:01 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Jan 22 17:50:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2bcb67

net-misc/openssh: avoid conflict between x509 patch and getentropy fix

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/891665

 net-misc/openssh/openssh-9.1_p1-r3.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-misc/openssh/openssh-9.1_p1-r3.ebuild 
b/net-misc/openssh/openssh-9.1_p1-r3.ebuild
index dbbb727af2ea..a11418a8dea0 100644
--- a/net-misc/openssh/openssh-9.1_p1-r3.ebuild
+++ b/net-misc/openssh/openssh-9.1_p1-r3.ebuild
@@ -126,7 +126,7 @@ PATCHES=(
"${FILESDIR}/${PN}-8.9_p1-allow-ppoll_time64.patch" #834019
"${FILESDIR}/${PN}-8.9_p1-gss-use-HOST_NAME_MAX.patch" #834044
"${FILESDIR}/${PN}-9.1_p1-build-tests.patch"
-   "${DISTDIR}"/${PN}-9.1_p1-getentropy.patch # 
https://bugzilla.mindrot.org/show_bug.cgi?id=3487
+   #"${DISTDIR}"/${PN}-9.1_p1-getentropy.patch # 
https://bugzilla.mindrot.org/show_bug.cgi?id=3487 # Conditionally applied below
"${DISTDIR}"/${PN}-9.1_p1-sandbox-writev.patch # 
https://bugzilla.mindrot.org/show_bug.cgi?id=3512
 )
 
@@ -168,6 +168,11 @@ src_prepare() {
# don't break .ssh/authorized_keys2 for fun
sed -i '/^AuthorizedKeysFile/s:^:#:' sshd_config || die
 
+   # openssh-9.1_p1: X509 patch includes a different fix for the 
getentropy bug
+   # will need removal in 9.2, because x509 will have to normalize onto
+   # upstream openssh fix.
+   use X509 || PATCHES+=( "${DISTDIR}/${PN}-9.1_p1-getentropy.patch" )
+
eapply "${PATCHES[@]}"
 
[[ -d ${WORKDIR}/patches ]] && eapply "${WORKDIR}"/patches



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

2023-01-21 Thread Robin H. Johnson
commit: 319e9c219f56e3cf54f432d9f9b12b8e9be9dc08
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Jan 21 21:55:16 2023 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Jan 21 21:55:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319e9c21

net-misc/openssh: backport getentropy & sandbox writev patches

Required on hosts where glibc has getentropy support but the kernel does
NOT have getentropy support.

Reference: https://bugzilla.mindrot.org/show_bug.cgi?id=3512
Reference: https://bugzilla.mindrot.org/show_bug.cgi?id=3487
Reference: https://bugs.gentoo.org/887405
Signed-off-by: Robin H. Johnson  gentoo.org>

 net-misc/openssh/Manifest |   2 +
 net-misc/openssh/openssh-9.1_p1-r3.ebuild | 518 ++
 2 files changed, 520 insertions(+)

diff --git a/net-misc/openssh/Manifest b/net-misc/openssh/Manifest
index 19c7a125738b..56efbafa3b3b 100644
--- a/net-misc/openssh/Manifest
+++ b/net-misc/openssh/Manifest
@@ -3,9 +3,11 @@ DIST openssh-8_5_P1-hpn-DynWinNoneSwitch-15.2.diff 51428 
BLAKE2B 370b88a7da7f148
 DIST openssh-8_5_P1-hpn-PeakTput-15.2.diff 2429 BLAKE2B 
849bf3c313719ab7a25c75e82d5dc5ac98365a038b2a66fe58d01eae5b20c258b94b5830e799d6909e75c69753cda05a910f3bdab9606fb7d5efa68e05f1
 SHA512 
c4a56fab55fabd1d902d45f235b603708d43f969920e45c9a57e557dccfa9cade2ec61f26d1ace938f6f73e79f17b12f119b5aea9166cbda8e3435b910500914
 DIST openssh-9.1_p1-X509-glue-13.5.patch.xz 1092 BLAKE2B 
19da945547472048d01a6ec26f28cba11afe1a0590a115582d1e21a852b6b66589b091ab4440d57952200522318aeffb7d9404e53f9532ae80e47685c24c4097
 SHA512 
96de9f59bacfd99aa9ef03362d55d88b3eea0acc57a11fb72e5c612bfb0f5e48455b0a0d0add9a8a5524b9d4701f47db1ff7859f1d3c2a12947b27292961cbd5
 DIST openssh-9.1_p1-X509-glue-14.0.1.patch.xz 1096 BLAKE2B 
cf5568982c9b2b69ee9f99f3e80459aed7b89f1350362e550ae8db3e5eee4a6d2e07879f962262a05c9745d39f34a3ae83792595c61f0ac287226ee9e0ec2a1b
 SHA512 
18c65c97cc8c436fa8e28c0ad9f0a3874f1fb745d75e0bfb76c180bc148ae14a5f6cc5c2b2fa7261d76a8e1234f28fe869bd7f64ed282bf39c88cc3f20932be5
+DIST openssh-9.1_p1-getentropy.patch 2818 BLAKE2B 
883cd035ec4aee7df9951d7da11bec5a8b9645c7e9225495bb8c86e7e07e89d7c989d32d4db7c46118e20a045e1a07c1bbf98726a69a41351968ce4b04b6779e
 SHA512 
5153a97116e0eed9d7d238478304991737ebb837e7253dd931390bfe287398760ef5134a801825e66d95dd9daf95ed9145a260e23b459b721bc27e628da1a6c0
 DIST openssh-9.1_p1-hpn-15.2-X509-14.0.1-glue.patch.xz 5536 BLAKE2B 
4629e62287f2bc36fe1eb830e4c47c5482e36650c1e725978e150e4f2a233d58b5bd1286024bdbef4d05586bb3e5d13c51fbd191dfe7429fdb06a278c564a777
 SHA512 
03467605b57ab3fb7ef2a9be175cf3708fa92234f3f0abfa74ea371c9ee90f2c01a3311022e282823c7bb67249d65aabf89f1574b917dc798c51847e57b0e33f
 DIST openssh-9.1_p1-hpn-15.2-X509-glue.patch.xz 5504 BLAKE2B 
776b467ddde16e268536c5632b028a32db22b26d7bc11e2a9fa6c8e29528be3eb781066d6b30fb2f561a73a24c34a29963fcd7c872aa92dc19d715d8ffbf2cbe
 SHA512 
aa753da5f75d90165f5922ead1dd495a15a4c581360d5862ec6f802caea54055da8e308c1919efa8e78b31a7ea082f8693dda0ab84ccee414c562ec062c50fb1
 DIST openssh-9.1_p1-hpn-15.2-glue.patch.xz 3840 BLAKE2B 
06fb14d8c6f52f1c6fae7971fc4da810c814d7b52063f8cc7e83356baa7ed70c84476c1d1cc896eba6d0d51813dc994e3c82278e66c04998431c8123a09fe7df
 SHA512 
99c88c08fb384336a9680629bc04a89121780d64ee8b03ac164c4e446cc30b865004292e98516b6f857bd75e1b4393291427c046ffcabc1578629e6075636cbf
+DIST openssh-9.1_p1-sandbox-writev.patch 819 BLAKE2B 
c2e4d507540e704b241ab9fb2c63774a2a5031879a746fcb65405f91ff8434ca1877509a5e87484dffc4b9d52da9d7f3b8e177cbbd75d9c632785ba269c3f86a
 SHA512 
ce491ad3ee02a9f455fdd7ab5cbf16d286f439205d557deb4ef3b9d7e092ef5e9b98e682bdc0e65804ee557581133353116d508c60b0ba4a18e2cdcd3aed6bf1
 DIST openssh-9.1p1+x509-13.5.diff.gz 1213948 BLAKE2B 
5663a1c865c80f590642bb855f7d7a17e71e0db099deb4cea5750cfe734bd506b70a1b266fccc2a58174ae2b1b96a7f1ced56382d5d7e741b07e46422b03f7e6
 SHA512 
70a1f12e98b8fa8170c208803ee482aea2fcf6b9e41ecada5fabaa0288ed5a32574f42a7b50718bb484978f3c65f50e55966c9f555a9de100dc8d695b9aec531
 DIST openssh-9.1p1+x509-14.0.1.diff.gz 1236304 BLAKE2B 
389e652a7cca4d7322d784e516a9454b0c6cb540a64aa47c0b14ac80bd9ad5aa7aa72a00dbc9024aa7c1186b19f2c62f179b8a6463085dd1bdde15fd44e451e5
 SHA512 
da754497f3f7d173b273f710dab2e7dbc5bf5257c95e661687ff4dd6b5e1c696ac031785850d9a9eb5669f728cbe4fe26d256a7cbd6f137ecadaf38f153770d1
 DIST openssh-9.1p1-sctp-1.2.patch.xz 6772 BLAKE2B 
8393c1ca5f0df7e4d490cef5c38d50d45da83a9c3f650e9af15d95825f9e682a6aaf6a0e85fc1704d41d6567aec8f0b34e43b20652e0141008ccdbe91426dfac
 SHA512 
6750394d0fb7b7f93a0e4f94204e53277cc341c5b2427130559e443557dbb95f2e85a71cfe8d40cfa17dd015b0f3880f79a1f868374e60e94e8385c9b45acec5

diff --git a/net-misc/openssh/openssh-9.1_p1-r3.ebuild 
b/net-misc/openssh/openssh-9.1_p1-r3.ebuild
new file mode 100644
index ..81d594053ea1
--- /dev/null
+++ b/net-misc/openssh/openssh-9.1_p1-r3.ebuild
@@ -0,0 +1,518 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under

Re: [gentoo-dev] Packages of zlogene up for grabs

2023-01-13 Thread Robin H. Johnson
On Fri, Jan 13, 2023 at 02:35:45PM +0100, Michał Górny wrote:
> app-admin/gopass
I've got use for this; but I don't need the extra parts.

> app-crypt/signing-party
Very useful, I'll take it.

> app-misc/evtest
Same

> mail-filter/procmail
I definitely need this, but I don't know about time to triage it.

> virtual/mta
Probably should go to base-system.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2022-12-29 Thread Robin H. Johnson
commit: 123ef41078b189fd97322e1238ed9bab60a6f653
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Dec 29 23:43:37 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Dec 29 23:44:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123ef410

sys-apps/less: bump beta & add live ebuild

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-apps/less/Manifest  |  2 +-
 sys-apps/less/{less-617.ebuild => less-618_beta.ebuild} | 12 +++-
 sys-apps/less/{less-617.ebuild => less-.ebuild} | 12 +++-
 3 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 0c602fcbaf77..8b826e5261fa 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -1,2 +1,2 @@
 DIST less-608.tar.gz 362346 BLAKE2B 
988940745fef1222c43b0bf4edec7cc7206ded0ac5d89d3faf4dab706a249913581c2fe7aa6063cf3d717176ed07b69299d3e791ba8a60358483fe9d1bf7f7c6
 SHA512 
7945b7f88921832ebb1b45fba8cbb449ee0133342796b654a52c146dfff3d84db18724ee84e53349eeea6017a0ebe2d8eb5366210275981dde7bb7190118fa66
-DIST less-617-beta.tar.gz 366906 BLAKE2B 
ccadbdefc33b2df416058cb065afc5e4f8278d49615bf1b25c47180539d080f29f574c4871d0424cc6413b70e7fab99799d4a2661ab8bbc1894526603b94dbff
 SHA512 
16365e79d0fa1e5c70a182e209a1ecc8c33242dcc973680f036ed09054dfd6910d63d79cb080cb1b2cffc5b7d8850666116ad7ee6de1db6140f2fd58ad00ad19
+DIST less-618-beta.tar.gz 365786 BLAKE2B 
b1957ab49059a2df14d8ba5daf1d8543adc4546c44b537d86959e2e1fe2df93f99ceb8ef47097b6f84f75f7740e161269b4e1d5dd263b8171212c87e650a02fe
 SHA512 
6197aa20c77a846e53b376aa63c2863242c40663e72213f66c3597bd8c38a9458163d0c9ba0ca7690574c07348bb7d3e108c3b50dbbedbc9e5707a14d946b280

diff --git a/sys-apps/less/less-617.ebuild b/sys-apps/less/less-618_beta.ebuild
similarity index 83%
copy from sys-apps/less/less-617.ebuild
copy to sys-apps/less/less-618_beta.ebuild
index cb210766d048..9add6f6c1d52 100644
--- a/sys-apps/less/less-617.ebuild
+++ b/sys-apps/less/less-618_beta.ebuild
@@ -5,6 +5,11 @@ EAPI=8
 WANT_AUTOMAKE=none
 WANT_LIBTOOL=none
 
+if [[ $PV ==  ]]; then
+   EGIT_REPO_URI="https://github.com/gwsw/less";
+   inherit git-r3
+fi
+
 inherit autotools
 
 # Releases are usually first a beta then promoted to stable if no
@@ -12,9 +17,12 @@ inherit autotools
 # the beta versions. It's okay to keyword beta versions if they fix
 # a serious bug, but otherwise try to avoid it.
 
+MY_PV=${PV/_beta/-beta}
+MY_P=${PN}-${MY_PV}
 DESCRIPTION="Excellent text file viewer"
 HOMEPAGE="http://www.greenwoodsoftware.com/less/";
-SRC_URI="http://www.greenwoodsoftware.com/less/${P}-beta.tar.gz";
+[ $PV !=  ] && 
SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz";
+S=${WORKDIR}/${MY_P/?beta}
 
 LICENSE="|| ( GPL-3 BSD-2 )"
 SLOT="0"
@@ -28,6 +36,8 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
default
+   # Per upstream README to prepare live build
+   [ $PV ==  ] && emake -f Makefile.aut distfiles
# Upstream uses unpatched autoconf-2.69, which breaks with clang-16.
# https://bugs.gentoo.org/870412
eautoreconf

diff --git a/sys-apps/less/less-617.ebuild b/sys-apps/less/less-.ebuild
similarity index 83%
rename from sys-apps/less/less-617.ebuild
rename to sys-apps/less/less-.ebuild
index cb210766d048..9add6f6c1d52 100644
--- a/sys-apps/less/less-617.ebuild
+++ b/sys-apps/less/less-.ebuild
@@ -5,6 +5,11 @@ EAPI=8
 WANT_AUTOMAKE=none
 WANT_LIBTOOL=none
 
+if [[ $PV ==  ]]; then
+   EGIT_REPO_URI="https://github.com/gwsw/less";
+   inherit git-r3
+fi
+
 inherit autotools
 
 # Releases are usually first a beta then promoted to stable if no
@@ -12,9 +17,12 @@ inherit autotools
 # the beta versions. It's okay to keyword beta versions if they fix
 # a serious bug, but otherwise try to avoid it.
 
+MY_PV=${PV/_beta/-beta}
+MY_P=${PN}-${MY_PV}
 DESCRIPTION="Excellent text file viewer"
 HOMEPAGE="http://www.greenwoodsoftware.com/less/";
-SRC_URI="http://www.greenwoodsoftware.com/less/${P}-beta.tar.gz";
+[ $PV !=  ] && 
SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz";
+S=${WORKDIR}/${MY_P/?beta}
 
 LICENSE="|| ( GPL-3 BSD-2 )"
 SLOT="0"
@@ -28,6 +36,8 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
default
+   # Per upstream README to prepare live build
+   [ $PV ==  ] && emake -f Makefile.aut distfiles
# Upstream uses unpatched autoconf-2.69, which breaks with clang-16.
# https://bugs.gentoo.org/870412
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-lvm-exporter/

2022-12-26 Thread Robin H. Johnson
commit: 20fae5eeb8e35dca6354bbbcd4944075b8d91066
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 26 23:12:10 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 26 23:12:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fae5ee

app-metrics/prometheus-lvm-exporter: ensure default in src_prepare

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild 
b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
index 5c2dff9bdaf0..0edb7138c79d 100644
--- a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
+++ b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
@@ -39,6 +39,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 PATCHES=( )
 
 src_prepare() {
+   default
sed -i -e '/kingpin.Flag.*\.*/s,/usr/sbin/lvm,/sbin/lvm,g' 
"${S}"/main.go || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-lvm-exporter/

2022-12-26 Thread Robin H. Johnson
commit: aa8f815b1fc1fd85dbadbf540f2e887414604366
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 26 23:10:30 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 26 23:10:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8f815b

app-metrics/prometheus-lvm-exporter: quick fix for merged-usr cases

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild 
b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
index 03455ab5fa66..5c2dff9bdaf0 100644
--- a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
+++ b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
@@ -38,6 +38,10 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 PATCHES=( )
 
+src_prepare() {
+   sed -i -e '/kingpin.Flag.*\.*/s,/usr/sbin/lvm,/sbin/lvm,g' 
"${S}"/main.go || die
+}
+
 src_compile() {
default
go build .



[gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-lvm-exporter/files/

2022-12-26 Thread Robin H. Johnson
commit: 92b74e54023deedd642ee744fda8e8ce8caa8204
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 26 23:07:13 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 26 23:07:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b74e54

app-metrics/prometheus-lvm-exporter: quick tweak of user/group

Signed-off-by: Robin H. Johnson  gentoo.org>

 .../prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd 
b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd
index a5f32875955c..1fa73569ac7b 100644
--- a/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd
+++ b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd
@@ -5,8 +5,8 @@
 description="Prometheus exporter for LVM metrics"
 
 EXPORTER_FLAGS=${EXPORTER_FLAGS:-""}
-EXPORTER_USER=${EXPORTER_USER:-"prometheus-lvm-exporter"}
-EXPORTER_GROUP=${EXPORTER_GROUP:-"prometheus-lvm-exporter"}
+#EXPORTER_USER=${EXPORTER_USER:-"prometheus-lvm-exporter"}
+#EXPORTER_GROUP=${EXPORTER_GROUP:-"prometheus-lvm-exporter"}
 EXPORTER_PIDFILE=${EXPORTER_PIDFILE:-"/run/${RC_SVCNAME}.pid"}
 EXPORTER_SSDARGS=${EXPORTER_SSDARGS:-"--wait 1000"}
 EXPORTER_TERMTIMEOUT=${EXPORTER_TERMTIMEOUT:-"TERM/60/KILL/5"}



[gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-lvm-exporter/, app-metrics/prometheus-lvm-exporter/files/

2022-12-26 Thread Robin H. Johnson
commit: f93a88f60cfe2809e33a5f340855b0458d5f38c7
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 26 23:03:52 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 26 23:04:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93a88f6

app-metrics/prometheus-lvm-exporter: new package

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/prometheus-lvm-exporter/Manifest   |  2 +
 .../files/prometheus-lvm-exporter.confd| 26 ++
 .../files/prometheus-lvm-exporter.initd| 49 ++
 app-metrics/prometheus-lvm-exporter/metadata.xml   | 10 
 .../prometheus-lvm-exporter-0.3.2.ebuild   | 59 ++
 5 files changed, 146 insertions(+)

diff --git a/app-metrics/prometheus-lvm-exporter/Manifest 
b/app-metrics/prometheus-lvm-exporter/Manifest
new file mode 100644
index ..d4c18baa4f35
--- /dev/null
+++ b/app-metrics/prometheus-lvm-exporter/Manifest
@@ -0,0 +1,2 @@
+DIST prometheus-lvm-exporter-0.3.2-vendor.tar.xz 1390560 BLAKE2B 
ab6fe8febeb972bf2a65dd05c6060bb584638dc4250f221353b7fcc3714cd5f56b8ef69c36fae67103bf57d66ca8000c70212fa3f82ed54ad7bcf0eaae63c822
 SHA512 
e320cdbe27841f69fad201e52a6b5a9acdd919b57c7e067506e6829e3cf11936a0ab21e817dedc6fa0c277ddae891412a10565d6dac8f859669e1a37cc760e86
+DIST prometheus-lvm-exporter-0.3.2.tar.gz 60790 BLAKE2B 
f6b79627e9114140cab72d34744e5667e1174dd2bc720866d398d48be03067a29e03305e8a22ef4d706b2261083ec6f108e6c8578b9e717bf7915f2412b3da41
 SHA512 
75f3cc65fc9196faff0796e9df85ea8f7e5d15a97e7e46d635802049ad11e499bc5f0fd0b6833d1028dc23435fb8d0c2523e7333fb76e291f3ff16e297c37973

diff --git 
a/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.confd 
b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.confd
new file mode 100644
index ..6bcabc1df256
--- /dev/null
+++ b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.confd
@@ -0,0 +1,26 @@
+# /etc/conf.d/prometheus-lvm-exporter
+
+# PID file
+#EXPORTER_PIDFILE="/run/${RC_SVCNAME}.pid"
+
+# The termination timeout (start-stop-daemon parameter "retry") ensures
+# that the service will be terminated within a given time (60 + 5 seconds
+# per default) when you are stopping the service.
+#EXPORTER_TERMTIMEOUT="TERM/60/KILL/5"
+
+# User to run exporter as
+#EXPORTER_USER="prometheus-lvm-exporter"
+
+# User group to run exporter as
+#EXPORTER_GROUP="prometheus-lvm-exporter"
+
+# You can use this configuration option to pass additional options to the
+# start-stop-daemon, see start-stop-daemon(8) for more details.
+# Per default we wait 1000ms after we have started the service to ensure
+# that the daemon is really up and running.
+#EXPORTER_SSDARGS="--wait 1000"
+
+# Exporter flags
+# See `prometheus-lvm-exporter --help` for more details
+EXPORTER_FLAGS="--log.level=info"
+#EXPORTER_FLAGS="${EXPORTER_FLAGS} --yourAdditionalFlag"

diff --git 
a/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd 
b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd
new file mode 100644
index ..a5f32875955c
--- /dev/null
+++ b/app-metrics/prometheus-lvm-exporter/files/prometheus-lvm-exporter.initd
@@ -0,0 +1,49 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus exporter for LVM metrics"
+
+EXPORTER_FLAGS=${EXPORTER_FLAGS:-""}
+EXPORTER_USER=${EXPORTER_USER:-"prometheus-lvm-exporter"}
+EXPORTER_GROUP=${EXPORTER_GROUP:-"prometheus-lvm-exporter"}
+EXPORTER_PIDFILE=${EXPORTER_PIDFILE:-"/run/${RC_SVCNAME}.pid"}
+EXPORTER_SSDARGS=${EXPORTER_SSDARGS:-"--wait 1000"}
+EXPORTER_TERMTIMEOUT=${EXPORTER_TERMTIMEOUT:-"TERM/60/KILL/5"}
+
+command="/usr/bin/prometheus-lvm-exporter"
+command_args="${EXPORTER_FLAGS}"
+command_background="true"
+start_stop_daemon_args="${EXPORTER_SSDARGS}"
+start_stop_daemon_args="${start_stop_daemon_args} ${EXPORTER_USER:+--user 
}${EXPORTER_USER}"
+start_stop_daemon_args="${start_stop_daemon_args} ${EXPORTER_GROUP:+--group 
}${EXPORTER_GROUP}"
+
+getconfig() {
+   local key="$1"
+   local value_default="$2"
+   local value=
+
+   if service_started; then
+   value="$(service_get_value "${key}")"
+   fi
+
+   if [ -z "${value}" ]; then
+   # Value not explicitly set
+   echo "${value_default}"
+   else
+   echo "${value}"
+   fi
+
+   return 0
+}
+
+pidfile="$(getconfig pidfile ${EXPORTER_PIDFILE})"
+retry="$(getconfig retry ${EXPORTER_TERMTIMEOUT})"
+
+depend() {
+   after net lvm lvm

[gentoo-commits] proj/netifrc:master commit in: net/

2022-12-25 Thread Robin H. Johnson
commit: d877a5aa5b105b17ced7be467fb4412a9ddd05aa
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Dec 25 19:14:04 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 25 19:14:04 2022 +
URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=d877a5aa

net/hsr: add Parallel Redundancy Protocol (PRP) support

Signed-off-by: Robin H. Johnson  gentoo.org>
Reference: https://github.com/gentoo/netifrc/pull/38

 net/hsr.sh | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net/hsr.sh b/net/hsr.sh
index f5a427f..cbe35e9 100644
--- a/net/hsr.sh
+++ b/net/hsr.sh
@@ -21,6 +21,8 @@ hsr_pre_start()
eval hsr_slave1=\$hsr_slave1_${IFVAR}
eval hsr_slave2=\$hsr_slave2_${IFVAR}
eval hsr_supervision=\$hsr_supervision_${IFVAR}
+   eval hsr_version=\$hsr_version_${IFVAR}
+   eval hsr_proto=\$hsr_proto_${IFVAR}
if [ -z "${hsr_slave1}" ] || [ -z "${hsr_slave2}" ]; then
eerror "HSR interfaces require two slave interfaces to be set"
return 1
@@ -35,7 +37,10 @@ hsr_pre_start()
fi
 
ebegin "Creating HSR interface ${IFACE}"
-   cmd="ip link add name "${IFACE}" type hsr slave1 ${hsr_slave1} slave2 
${hsr_slave2} ${hsr_supervision:+supervision }${hsr_supervision}"
+   cmd="ip link add name "${IFACE}" type hsr slave1 ${hsr_slave1} slave2 
${hsr_slave2}"
+   test -n "${hsr_supervision}" && cmd="${cmd} supervision 
${hsr_supervision}"
+   test -n "${hsr_version}" && cmd="${cmd} version ${hsr_version}"
+   test -n "${hsr_proto}" && cmd="${cmd} proto ${hsr_proto}"
veinfo $cmd
if $cmd ; then
eend 0 && _up && set_interface_type hsr



[gentoo-commits] proj/netifrc:master commit in: net/

2022-12-25 Thread Robin H. Johnson
commit: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747
Author: kmartin36  gtri  gatech  edu>
AuthorDate: Sat Dec 17 08:26:21 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 25 19:06:36 2022 +
URL:https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=bd8ff4aa

Adding the saved args to the stop command

Closes: https://bugs.gentoo.org/881039
Signed-off-by: Kevin Martin  gmail.com>
(cherry picked from commit 0e1c19959a6d82accdb57fa7a1f5b0036037a001)
Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://github.com/gentoo/netifrc/pull/41

 net/dhcpcd.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh
index 1e1bbe0..1380944 100644
--- a/net/dhcpcd.sh
+++ b/net/dhcpcd.sh
@@ -90,8 +90,8 @@ dhcpcd_stop()
eval opts=\$dhcp_${IFVAR}
[ -z "${opts}" ] && opts=${dhcp}
case " ${opts} " in
-   *" release "*) dhcpcd -k "${IFACE}" ;;
-   *) dhcpcd -x "${IFACE}" ;;
+   *" release "*) dhcpcd -k "${args}" "${IFACE}" ;;
+   *) dhcpcd -x "${args}" "${IFACE}" ;;
esac
[ -f "${argsfile}" ] && rm -f "${argsfile}"
eend $?



[gentoo-dev] Last rites: net-misc/valve

2022-12-25 Thread Robin H. Johnson
# Marco Scardovi  (2022-12-22)
# Per robbat2 request, I'm gonna treeclean it as we
# are actually the only one maintaining it.
# No update upstream, EAPI 6 and with a bug #687786
# As replacement, it is possible to use pv --rate-limit
# instead.
# Removal on 2023-01-21
net-misc/valve

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2022-12-25 Thread Robin H. Johnson
commit: a0aeda7f34ccd3ca19485f0a401b0092f444d4a7
Author: Marco Scardovi  icloud  com>
AuthorDate: Thu Dec 22 21:11:34 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 25 19:03:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aeda7f

package.mask: last-rite net-misc/valve

Per robbat2 request, I'm gonna treeclean it as we
are actually the only one maintaining it.
No update upstream, EAPI 6 and with a bug #687786
As replacement, it is possible to use pv --rate-limit instead.
Removal on 2023-01-21

Bug: https://bugs.gentoo.org/687786
Signed-off-by: Marco Scardovi  icloud.com>
(cherry picked from commit 5af576bc6b70100c77bb36c5bffa1980b0af36cf)
Signed-off-by: Robin H. Johnson  gentoo.org>

 profiles/package.mask | 9 +
 1 file changed, 9 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index d965d9578e10..9e1f66b8d2a0 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -57,6 +57,15 @@ app-portage/flaggie
 # No reverse dependencies. Removal in 30 days.
 dev-ruby/hiredis
 
+# Marco Scardovi  (2022-12-22)
+# Per robbat2 request, I'm gonna treeclean it as we
+# are actually the only one maintaining it.
+# No update upstream, EAPI 6 and with a bug #687786
+# As replacement, it is possible to use pv --rate-limit
+# instead.
+# Removal on 2023-01-21
+net-misc/valve
+
 # Ionen Wolkens  (2022-12-24)
 # Upstream dropped wxGTK support in >=games-emulation/pcsx2-1.7.3773,
 # and it now always requires Qt6. Masked given Qt6 is also masked in



[gentoo-commits] repo/gentoo:master commit in: app-metrics/mysqld_exporter/

2022-12-25 Thread Robin H. Johnson
commit: 3a6dfffd6364d7310a817bdb21ef7b7eb0c8e63b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Dec 25 18:57:25 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 25 18:58:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6dfffd

app-metrics/mysqld_exporter: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-metrics/mysqld_exporter/Manifest   |  4 +
 .../mysqld_exporter/mysqld_exporter-0.14.0.ebuild  | 93 ++
 .../mysqld_exporter-0.14.0_p20221209.ebuild| 93 ++
 3 files changed, 190 insertions(+)

diff --git a/app-metrics/mysqld_exporter/Manifest 
b/app-metrics/mysqld_exporter/Manifest
index c6370049095f..856e1823df3b 100644
--- a/app-metrics/mysqld_exporter/Manifest
+++ b/app-metrics/mysqld_exporter/Manifest
@@ -1 +1,5 @@
 DIST mysqld_exporter-0.12.1_p20200622.tar.gz 1640334 BLAKE2B 
fa52fd7474af548bc9429026d7c92bc543cff7f2e2f5e17007a52adc647d6d022a4ec9d099376cc469b4fdc8bab285e0e699a1b10938fc6b7a6704dcc1466a50
 SHA512 
ccac9a718214c9ab82362deeb81949cecaa6c2fc6567ef7e3d099ca2dbf8385cb9c498837e41ad0bcdf5ec2c9d82fd159792245b97e53c182a30917e80a20cf1
+DIST mysqld_exporter-0.14.0-vendor.tar.xz 1434948 BLAKE2B 
9bf1c9dc728aeae678ed42cf75e7dcca1758d1ace02159992c0e11b0c4942a6f5eacad86255225f9ffc023904731165bf7e8a845b9031306c21fa2796911790c
 SHA512 
0bc3735108be955b4056d23df9f9ed593f5e495afeec846944eb4b2c4731db45723e1a3904fb621a4ba7c80dd93eccbcfc02657863271c6c306cf94a54a5fafc
+DIST mysqld_exporter-0.14.0.tar.gz 100413 BLAKE2B 
7c995fd538c217964f4d7537961c3d16cb1d9250808832a90eaec251f20f52b5704f38a64b338067cbae2824ea07099a62e5c5083d76bceb9d3c00fed670e7e3
 SHA512 
91728055fd66d3ba2d8c6f48eac24dcdbe710e627cb3c28af100fec1656064aafedbcfcfcb8c2f164dab9c3870c1867728e33afd57889644b27ceaadf0c59629
+DIST mysqld_exporter-0.14.0_p20221209.tar.gz 103942 BLAKE2B 
c4184aea6aa3b750dfbba594725d82af6580bfe1424d1e8f9da19cbbec8c1e35f114da562a3c29799df9329df5a248bcf6788df2bdab9d0cc474eac187a395a4
 SHA512 
8ef068367259e643aba2295d1f087f09b0c61f1534421bfb8400d46c865750d6f115031b445f1f32864e3fb87c80462d4d755f657d289b9144dc7a030ff81b0a
+DIST mysqld_exporter-530e351d293dd632f31b80947f5ca420ef17adaf-vendor.tar.xz 
1441316 BLAKE2B 
8d023ff291c47f30dc6216a255f050591ea585e0c58ca484a8cdb2e0be125f7daabe570b93d786936b6ea59d3996e45210c3ef41932758d05c302bfef2656e81
 SHA512 
6224d96223b4e38e35626f627c2de1b8ac08294d127556d0c6e73978648296f9a99f21a1aa323053ab07d17642af54ab2d8243bb3d3a9c06919612256fdc32dc

diff --git a/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0.ebuild 
b/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0.ebuild
new file mode 100644
index ..b382ce4510de
--- /dev/null
+++ b/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+# uncomment the first setting of MY_PV for a normal release
+# MY_PV="v${PV/_rc/-rc.}"
+# set MY_PV to the full commit hash for a snapshot release
+MY_PV_HASH=
+if [[ -n "${MY_PV_HASH}" ]]; then
+   MY_PV=${MY_PV_HASH}
+   MYSQLD_EXPORTER_COMMIT=${MY_PV_HASH:0:8}
+   
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/${MY_PV}.tar.gz";
+else
+   MY_PV=${PV}
+   MYSQLD_EXPORTER_COMMIT=
+   
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/refs/tags/v${PV}.tar.gz";
+fi
+MY_P=${PN}-${MY_PV}
+SRC_URI_VENDOR="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}-vendor.tar.xz";
+
+DESCRIPTION="Prometheus exporter for MySQL server metrics"
+HOMEPAGE="https://github.com/prometheus/mysqld_exporter";
+SRC_URI="
+   ${SRC_URI_UPSTREAM} -> ${P}.tar.gz
+   ${SRC_URI_VENDOR}
+   "
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND="dev-util/promu"
+
+DEPEND="acct-group/mysqld_exporter
+   acct-user/mysqld_exporter"
+
+RDEPEND="${DEPEND}"
+
+# Comment this for a normal release.
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-skip-tests.patch )
+
+src_prepare() {
+   default
+
+   if [[ -n $MYSQLD_EXPORTER_COMMIT ]]; then
+   sed -i -e "s/{{.Revision}}/${MYSQLD_EXPORTER_COMMIT}/" 
.promu.yml || die
+   fi
+}
+
+src_compile() {
+   mkdir -p bin || die
+
+   promu build --prefix bin || die
+
+   # comment this for a normal release.
+   mv bin/${PN}-${MY_PV} bin/${PN} || die
+}
+
+src_install() {
+   dobin bin/*
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+
+   keepdir /var/lib/mysqld_exporter /var/log/mysqld_exporter
+   fowners ${PN}:${PN} /var/lib/mysqld_exporter /var/log/mysqld_exporter
+   fperms 0770 /var/lib/mysqld_exporter

Re: [gentoo-dev] pam: thoughts on modernizing pam_limits configuration that Gentoo ships with

2022-12-11 Thread Robin H. Johnson
Please do file a bug tracking this proposal, and reference the
discussion thread.

On Sun, Dec 11, 2022 at 09:28:14AM +0100, Piotr Karbowski wrote:
> What I'd like to do is to bump the limits.conf we ship with pam to
> following
> 
>  * hard nproc 16384
>  * soft nproc 16384
>  * hard nofile 16384
>  * soft nofile 16384
>
> Those are still reasonable defaults that are much more suitable the 
> modern systems. I can only see benefits in it and am unable to think 
> about the potential drawbacks of bumping *defaults*.
Drawbacks:
- The "*" would apply it to all users on a system, not just the
  interactive ones, and reduce overall security posture.
- Does this also need a sysctl change for raising fs.file-max?

With those in mind, how can we deploy these defaults for interactive
users, while still trying to maintain the good security posture overall?

- Is using "@users" instead of "*" good enough? (I think yes)
- Should it be limited to shiny logins on X or should it also take
  effect via remote logins? (conceptually yes, but I don't see a way to
  do it today within the scope of only pam_limits**)


** The closest other solution I can find is using a distinct limits.conf
for interactive logins, selected via pam.d trickery, and I don't like
that proposal.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/

2022-12-10 Thread Robin H. Johnson
commit: d7aff30faa0328c8cc4097d99ca88fa7b5e95b1b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Dec 11 07:04:35 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Dec 11 07:07:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aff30f

dev-vcs/git: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-vcs/git/Manifest  |   3 +
 dev-vcs/git/git-2.38.2.ebuild | 657 ++
 2 files changed, 660 insertions(+)

diff --git a/dev-vcs/git/Manifest b/dev-vcs/git/Manifest
index cc2b4305529e..08609f6ee343 100644
--- a/dev-vcs/git/Manifest
+++ b/dev-vcs/git/Manifest
@@ -1,9 +1,12 @@
 DIST git-2.37.4.tar.xz 6990080 BLAKE2B 
731ae7ff4247fd9d300b2b2b27074cce2d62b6333051bbdb161cdf644b4b40247963a978e1ed25a4f8fc9b544b52aa94ef97abf16db46ffcb688efab380efaec
 SHA512 
f13a25548f6463ee0c3e662819a4af13dfafa8d18108534aeaebafd9a36c84dbea913402d781f7bc1436560c9937d76fd78b39cafa5864f576a1278ed96a9a80
 DIST git-2.38.1.tar.xz 7088208 BLAKE2B 
50e4e9ef04d9eef7c10aba1f0d53d5d15f50ea9a8c344733e7a7865e2f2a833edb4f4b5882f47dd39389dfdedf22a813cfe3d35ab950d6543d21e0294ce17f2d
 SHA512 
e62ca6f54f01d2e4ccffb5f94e8e5cd2f3e098b766d909c694a8daf4d00d5cdeb9cc5ff8e9bc55d888406f292ba99433d334d4da9689c0ce5d7299a3c67c90e0
+DIST git-2.38.2.tar.xz 7090572 BLAKE2B 
80c72541c6cd7362ab5c8e92a2b81fbe80f5fcb3fac26680309ab30250a35f3bf3f1d613cc58bd570e52c81739a212969e28af4b7611ec8e08b8f15f5c9c4b8a
 SHA512 
797c1cee61ff07b6f8502b1819d9797282aa82e33d023dffb4d395376b7a621d518017eaf38d05c6e5aba1372f2731985c53fcb46d43168b67b5bc8febedc6bc
 DIST git-2.39.0.rc2.tar.xz 7146628 BLAKE2B 
a33e1bf569fc946a68071506e53b74dc9006c468df43b4cdfd776329b476034c8504cdf295d9c696a447cb3ed7f0aabb195bc24bd5397f3b708e98f9152f01cd
 SHA512 
31b6fda1fcbed027f20140066f77283bae1179da015fd01b3bee61ab4b313603b229b13b84680030ca65c4b9435133f209b9cc832caf9cff30824da816c3f687
 DIST git-htmldocs-2.37.4.tar.xz 1448376 BLAKE2B 
2414b2f18e3c75c377400623f9e804b6fd5623724834ce52d2680cc10839466d52a8407cac9ed0c8c5928d65058963fe62e9ae2e31f1b695ea3a6fc18ea1938a
 SHA512 
638feee014498af63ea083540b065778d3e3b7fdec9bb7f6e915bbc524e1525e0c4056f8af7d859376b60fcc936cb0ac1e6f83ff940e09f822dfa11570465db4
 DIST git-htmldocs-2.38.1.tar.xz 1479360 BLAKE2B 
72d33a04c94ccb250def2136a2967fd333f3704f8e525f065b508cee890058546fec4e5b1349285b83768a7bd1513c0fac8d9ca287e5e964e6f1ec0d055ef7de
 SHA512 
740da4546bdc0e9c4131e9dd0775662525aeb30a468fc4be63bb09c728da2903d479da5b7ef25d5ee029690ff5c9640de0271c7defcba1fadfa4a21f96d0aa8b
+DIST git-htmldocs-2.38.2.tar.xz 1479720 BLAKE2B 
270454b0692e9ef678ec5ba5a8bbf5b119230981a29928dd256c5851beb5db0db1c12084f091e57bf7cfe011a7c166f5e341be03d98fade7d848cd069fcf6f0e
 SHA512 
9e505f38658384381c22ff7b0502313b2ac842f89d2f8c27d3a03cb0a51fe23f06541fbdd0e5729a056baafc06689fa9faa40f74d8a456d00d5c5c7ef9b39dd0
 DIST git-htmldocs-2.39.0.rc2.tar.xz 1503264 BLAKE2B 
cc6e70fc6c7bf620c76da7f4651165cb2e06ae3c4c9dae9da6696a9bacb460d08629f837e9b62fa7be54ea1d7342894dc33bb12c5fff305627581130261f2c1f
 SHA512 
92bb44dc85ed878c1a11fffafae0b8889d03f48c1a7a7f2fd70797f0af1dd9ed33f14c1969247cc18e4671af90a57cf5d8786ef1e60a818c6e8b333fc33368fa
 DIST git-manpages-2.37.4.tar.xz 510016 BLAKE2B 
03cba56a27039547429eca6a3dfda600d2b1332a6b0da321a1abc8bb311b03e46c389fdbbd7aafc8b5863730e9417ebbd3195ce04408e3f229e646d134a2ac13
 SHA512 
8cf5ae54ae3e86929f375ea2d229ecda7d8b5c8a7f7fbe790334fcd38069285b58636320b1886030402ac9d46ed324c1d26784fff14077f661c43ef98b5f5ec7
 DIST git-manpages-2.38.1.tar.xz 553484 BLAKE2B 
991e7f3916106e346921f6ae281df803b663b7fb4584f98f48f61a121030db8e5a1a97ecb147bf1559408893d3c9692c58b2890ff5a5a00bd451d8f20b73efdb
 SHA512 
d2c75efc497ec62733be0ae0092a256dedb2a24b765e516218c9d96466aef34a0f2a118f68618ea457bf0fb39f5986c52022870116de974b21f541e0994c7d67
+DIST git-manpages-2.38.2.tar.xz 553556 BLAKE2B 
781b50a011d1c329fcdf3c01a94fecf5a388a03ca39e71aac07908e02982ed472d27a581184d894acbad441c945457c32dcb359ee0bcf70671af893e10c8bde4
 SHA512 
3214887045a6b3ff734794d67f17914324de401badae86ca40e16935f81cca183b3d762519922fa03a260dae218acc407896335ae96a17f433a3115e71512fbf
 DIST git-manpages-2.39.0.rc2.tar.xz 557304 BLAKE2B 
0db29a436c709b7cdb45abd5e10d26aba2136b5fa7a501b4313083780ece66d846cc4012b14061ed1f31f368c8407fde021cc092693a64763067fab852f2a7f4
 SHA512 
d30b27251de23053afe2c34ba7b18c8ab7beaf33278d3dcb90aec76147f289b3844eaa1da2dd08950f2398b8541f1538025ecd502b9efc37deadb9b3e8ddea17

diff --git a/dev-vcs/git/git-2.38.2.ebuild b/dev-vcs/git/git-2.38.2.ebuild
new file mode 100644
index ..f68fb68b1f50
--- /dev/null
+++ b/dev-vcs/git/git-2.38.2.ebuild
@@ -0,0 +1,657 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL=no
+
+# bug #329479: git-remote-testgit is not multiple-version aware
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocal

[gentoo-dev] Last-rites: sys-boot/mbr-gpt

2022-12-04 Thread Robin H. Johnson
# Robin H. Johnson  (2022-12-04)
# sys-boot/mbr-gpt was a bizzare package extremely sensitive to compiler &
# linker changes. I don't know of any remaining consumers other than one weird
# system I have.
# If you're a consumer: syslinux gptmbr was the successor to this approach,
# you'll need to replace the contents of your BIOS Boot Partition, because it's
# not a direct 1:1 change.
# Only upstream release in 2008. Removal in 30 days.
sys-boot/mbr-gpt

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2022-12-04 Thread Robin H. Johnson
commit: 6a98e5e60500a55da0bf7f74fa171636e4fe00af
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec  5 06:25:01 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec  5 06:25:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a98e5e6

profiles/package.mask: last-rite sys-boot/mbr-gpt

Signed-off-by: Robin H. Johnson  gentoo.org>

 profiles/package.mask | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 700bd7e057bd..44138e01920b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,16 @@
 
 #--- END OF EXAMPLES ---
 
+# Robin H. Johnson  (2022-12-04)
+# sys-boot/mbr-gpt was a bizzare package extremely sensitive to compiler &
+# linker changes. I don't know of any remaining consumers other than one weird
+# system I have.
+# If you're a consumer: syslinux gptmbr was the successor to this approach,
+# you'll need to replace the contents of your BIOS Boot Partition, because it's
+# not a direct 1:1 change.
+# Only upstream release in 2008. Removal in 30 days.
+sys-boot/mbr-gpt
+
 # Hans de Graaff  (2022-12-03)
 # ruby27-only package with no reverse dependencies.
 # Last release in 2019. Removal in 30 days.



[gentoo-commits] repo/gentoo:master commit in: sys-boot/mbr-gpt/

2022-12-04 Thread Robin H. Johnson
commit: 19b45d085c9fe12820eaa5d89eb9469a8d8b3bb3
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec  5 05:35:34 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec  5 05:36:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b45d08

sys-boot/mbr-gpt: add safety check

If the compiler/linker/objdump options make the mbr too large, bail out,
so nobody accidently wipes out the start of their drives with a large
MBR.

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild | 5 +
 sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild | 7 ++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild 
b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild
index 3073a1e1cfed..1b062d5e5648 100644
--- a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild
+++ b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild
@@ -44,6 +44,11 @@ src_prepare() {
 
 src_compile() {
emake CC="$(tc-getCC)"
+   # validate the size, it MUST fit into an MBR (440 bytes!)
+   size=$(stat --printf='%s' mbr)
+   if test $size -gt 440; then
+   die "Compiled MBR is too large! Must be at most 440 bytes, was 
$size"
+   fi
 }
 
 src_install() {

diff --git a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild 
b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild
index df636e06b770..9359c8200a24 100644
--- a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild
+++ b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild
@@ -27,7 +27,7 @@ QA_PRESTRIPPED="${QA_WX_LOAD}"
 QA_FLAGS_IGNORED="${QA_WX_LOAD}"
 
 # Don't strip it either; this binary reboots your host!
-RESTRICT="binchecks strip"
+RESTRICT="strip"
 
 src_prepare() {
default
@@ -46,6 +46,11 @@ src_prepare() {
 
 src_compile() {
emake CC="$(tc-getCC)"
+   # validate the size, it MUST fit into an MBR (440 bytes!)
+   size=$(stat --printf='%s' mbr)
+   if test $size -gt 440; then
+   die "Compiled MBR is too large! Must be at most 440 bytes, was 
$size"
+   fi
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-boot/mbr-gpt/

2022-12-04 Thread Robin H. Johnson
commit: f1de25303bd07f70781ec37d648b62fe7c1d3916
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec  5 05:19:25 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec  5 05:24:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1de2530

sys-boot/mbr-gpt: fix PHDR/LOAD mess

"PHDR segment not covered by LOAD segment", an error meaningless for MBR
code.

The solution is buried in binutils changelogs: --no-dynamic-linker for
obscure cases like this.

Reference: https://inbox.sourceware.org/binutils/20200222023739.GB5570  
bubble.grove.modra.org/T/#u
Closes: https://bugs.gentoo.org/870913
Closes: https://bugs.gentoo.org/709510
Closes: https://bugs.gentoo.org/722206
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild | 69 
 1 file changed, 69 insertions(+)

diff --git a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild 
b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild
new file mode 100644
index ..df636e06b770
--- /dev/null
+++ b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="An MBR that can handle BIOS-based boot on GPT"
+MY_P="${PN}_${PV}"
+HOMEPAGE="https://web.archive.org/web/20080704173538/http://aybabtu.com/mbr-gpt/";
+SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}.tar.gz";
+
+LICENSE="GPL-3"
+SLOT="0"
+# This should probably NEVER go to stable. It's crazy advanced dangerous magic.
+# It's also pure ASM, so not suitable for elsewhere anyway.
+# Please don't remove it, robbat2 has a box that depends on it for # booting!
+KEYWORDS="~amd64 ~x86"
+
+# It only depends on binutils/gcc/make, and doesn't link against libc even.
+DEPEND=""
+RDEPEND=""
+
+# It's a mostly an MBR block and it does use the executable stack.
+QA_WX_LOAD="usr/lib/${PN}/boot.elf"
+QA_PRESTRIPPED="${QA_WX_LOAD}"
+QA_FLAGS_IGNORED="${QA_WX_LOAD}"
+
+# Don't strip it either; this binary reboots your host!
+RESTRICT="binchecks strip"
+
+src_prepare() {
+   default
+
+   # Messy upstream
+   emake clean
+
+   # Need to build it 32-bit for the MBR
+   # Btw, no CFLAGS are respected, it's ASM!
+   #
+   # This is not meant to be used by a dynamic linker either! 
+   # 
https://inbox.sourceware.org/binutils/20200222023739.gb5...@bubble.grove.modra.org/T/#u
+   # Shows the --no-dynamic-linker option to ld
+   sed -i -e 's/-Wall/-Wall -m32 -Wl,--no-dynamic-linker/g' 
"${S}"/Makefile || die
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)"
+}
+
+src_install() {
+   # get_libdir is not correct here. We want this to go into a 32-bit 
library
+   # location.
+   insinto /usr/lib/${PN}
+   doins mbr
+
+   exeinto /usr/lib/${PN}
+   exeopts -m 700
+   doexe boot.elf
+
+   dodoc AUTHORS
+}
+
+pkg_postinst() {
+   einfo "See the instructions on the homepage, and make sure you know 
what"
+   einfo "you are doing before touching this. The mbr file does into your"
+   einfo "MBR, or alternatively you can do a creative reboot utilizing the"
+   einfo "boot.elf binary."
+}



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

2022-12-01 Thread Robin H. Johnson
commit: de75489d0f7b6acabc313146e3f2cb6769f5df09
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Dec  2 00:48:22 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Dec  2 00:50:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de75489d

net-analyzer/munin: fix annoying Date::Manip::DM5 cronspam

If you run munin every 5 mins from a cron, this spams cron logs every
time; upstream fixed it more than 8 years in master for another reason,
but never backported the fix.

Reference: 
https://groups.google.com/g/linux.debian.bugs.dist/c/qPscwQev_UU?pli=1
Reference: 
https://github.com/munin-monitoring/munin/commit/47a2ea75899a6395a80918d043a21d61fe712b44
Signed-off-by: Robin H. Johnson  gentoo.org>

 net-analyzer/munin/Manifest   |   1 +
 net-analyzer/munin/munin-2.0.69-r1.ebuild | 420 ++
 2 files changed, 421 insertions(+)

diff --git a/net-analyzer/munin/Manifest b/net-analyzer/munin/Manifest
index a9b904ac9c62..f4701d18726c 100644
--- a/net-analyzer/munin/Manifest
+++ b/net-analyzer/munin/Manifest
@@ -2,3 +2,4 @@ DIST munin-2.0.67-gentoo-1.tar.xz 3980 BLAKE2B 
5aae9c29befa761f797d362c90d810051
 DIST munin-2.0.67.tar.gz 2258670 BLAKE2B 
374b336403433d612b7998c77e6eb4f0eb68ffda4204ae6bc3c303f7667154c2ce606ffa27226c5644f3e6f71655c939b749da925136f59be4762891af49e2b1
 SHA512 
a8381491dfa15572438d9acda7a09feb0c3918ebe49e7bcfce5c172b36b4a5a0472bd6d06f5fad41270af0510b3fe115509d146f372df7fa47ed4aa1ec5f95d4
 DIST munin-2.0.69-gentoo-1.tar.xz 3980 BLAKE2B 
5aae9c29befa761f797d362c90d810051a7f3a5dc8250776ab6ae1659197d795dfb87274db66ff0a3deb4e10e14ced5b3765551a3f29357c436968a848f450ea
 SHA512 
b21d6590bb9e1da127066a06818f1f3157362762f80526e2231b926956959e62af575f38235f72326376dc21bba63f9767efa379f1f2558ca9b20ddf5395e851
 DIST munin-2.0.69.tar.gz 2258024 BLAKE2B 
2d270f6f67fc9a86a592e2b7cbcf4111d6ae40bf1928b0ad0adb99ad32384810e5768c17019f9163e8b22fd8524b28257df527df023db9c1ba333691b384dd74
 SHA512 
4976e394e046d3fe1cbb000acdf081060188517e09abcf8b60dd7c55e0e1cdf46e33d1760368cb1423dfb9286e397df2072a2c55ba8b79adeae4ea2303130667
+DIST munin-remove-Date-Manip-DM5.patch 3587 BLAKE2B 
fab1fb61607e83aac5cbd699c93015d77ca6e58d9734a5a6bc17af6c3c7695ddf4257104cd69db4d3b3e1d36bb1d66a1893ddb51bfc52d0a1dd2efb3ba32a9c0
 SHA512 
976d7a50de6437a26fa77917368ab604c1987f686030e097c200fe9ebebd08e5fae10c04640cadbfecef90eda76ba123cf303d2d671cefa78b09752d1f6757af

diff --git a/net-analyzer/munin/munin-2.0.69-r1.ebuild 
b/net-analyzer/munin/munin-2.0.69-r1.ebuild
new file mode 100644
index ..84e8a56bb83b
--- /dev/null
+++ b/net-analyzer/munin/munin-2.0.69-r1.ebuild
@@ -0,0 +1,420 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PATCHSET=1
+
+inherit java-pkg-opt-2 systemd tmpfiles
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Munin Server Monitoring Tool"
+HOMEPAGE="https://munin-monitoring.org/";
+SRC_URI="
+   https://github.com/munin-monitoring/munin/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   https://dev.gentoo.org/~graaff/munin/${P}-gentoo-${PATCHSET}.tar.xz
+   
https://github.com/munin-monitoring/munin/commit/47a2ea75899a6395a80918d043a21d61fe712b44.patch
 -> munin-remove-Date-Manip-DM5.patch
+   "
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="asterisk irc java ldap memcached minimal mysql postgres selinux ssl test 
cgi ipv6 syslog ipmi http dhcpd doc apache2"
+REQUIRED_USE="cgi? ( !minimal ) apache2? ( cgi )"
+RESTRICT="!test? ( test )"
+
+# Upstream's listing of required modules is NOT correct!
+# Some of the postgres plugins use DBD::Pg, while others call psql directly.
+# Some of the mysql plugins use DBD::mysql, while others call mysqladmin 
directly.
+# We replace the original ipmi plugins with the freeipmi_ plugin which at 
least works.
+DEPEND_COM="
+   acct-user/munin
+   acct-user/munin-async
+   acct-group/munin
+   dev-lang/perl:=[berkdb]
+   dev-perl/DBI
+   dev-perl/File-Copy-Recursive
+   dev-perl/List-MoreUtils
+   dev-perl/Log-Log4perl
+   dev-perl/Net-CIDR
+   dev-perl/Net-DNS
+   dev-perl/Net-Netmask
+   dev-perl/Net-SNMP
+   dev-perl/Net-Server[ipv6(-)?]
+   dev-perl/TimeDate
+   virtual/perl-Digest-MD5
+   virtual/perl-Getopt-Long
+   virtual/perl-MIME-Base64
+   virtual/perl-Storable
+   virtual/perl-Text-Balanced
+   virtual/perl-Time-HiRes
+   apache2? ( 
www-servers/apache[apache2_modules_cgi,apache2_modules_cgid,apache2_modules_rewrite]
 )
+   asterisk? ( dev-perl/Net-Telnet )
+   cgi? (
+   dev-perl/FCGI
+   dev-perl/CGI-Fast
+   )
+   dhcpd? (
+   >=net-misc/dhcp-3[server]
+   dev-perl/Net-IP
+   dev-perl/HT

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

2022-12-01 Thread Robin H. Johnson
commit: 45ef9f6e6a2ae027e7184770f32289d422b554f2
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Dec  2 00:29:15 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Dec  2 00:33:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ef9f6e

dev-util/catalyst: revbumps to drop python38 support, for stable snakeoil-0.10.3

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-util/catalyst/{catalyst-3.0.21.ebuild => catalyst-3.0.21-r1.ebuild} | 2 +-
 dev-util/catalyst/{catalyst-3.0.22.ebuild => catalyst-3.0.22-r1.ebuild} | 2 +-
 dev-util/catalyst/catalyst-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/catalyst/catalyst-3.0.21.ebuild 
b/dev-util/catalyst/catalyst-3.0.21-r1.ebuild
similarity index 98%
rename from dev-util/catalyst/catalyst-3.0.21.ebuild
rename to dev-util/catalyst/catalyst-3.0.21-r1.ebuild
index a2a90b57634d..0017e34636a4 100644
--- a/dev-util/catalyst/catalyst-3.0.21.ebuild
+++ b/dev-util/catalyst/catalyst-3.0.21-r1.ebuild
@@ -12,7 +12,7 @@ else
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 fi
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 ${SRC_ECLASS}

diff --git a/dev-util/catalyst/catalyst-3.0.22.ebuild 
b/dev-util/catalyst/catalyst-3.0.22-r1.ebuild
similarity index 98%
rename from dev-util/catalyst/catalyst-3.0.22.ebuild
rename to dev-util/catalyst/catalyst-3.0.22-r1.ebuild
index 282eccf985ea..fee73e953a7f 100644
--- a/dev-util/catalyst/catalyst-3.0.22.ebuild
+++ b/dev-util/catalyst/catalyst-3.0.22-r1.ebuild
@@ -12,7 +12,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 fi
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 ${SRC_ECLASS}

diff --git a/dev-util/catalyst/catalyst-.ebuild 
b/dev-util/catalyst/catalyst-.ebuild
index 494d05142502..81289d3b60f3 100644
--- a/dev-util/catalyst/catalyst-.ebuild
+++ b/dev-util/catalyst/catalyst-.ebuild
@@ -12,7 +12,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 fi
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 linux-info optfeature ${SRC_ECLASS}



Re: [gentoo-dev] Last rites: net-mail/metamail

2022-11-24 Thread Robin H. Johnson
On Thu, Nov 24, 2022 at 01:22:11AM +, Sam James wrote:
> # Pascal Jäger  (2022-11-24)
> # No maintainer, last release in 1994. Fails to build
> # with clang-16. Runtime crash in certain conditions.
> # Removal on 2022-12-23.
> # Bugs #549922 #713492 #731256 #875464 #882263
> # Removal Bug: #882631
> net-mail/metamail
Hi!

Some of the tooling in here is common in procmail recipes. While i'm not
sad to see metamail go, I suspect there might be some surprising
usecases that need fixing.

metamail used to be very common with procmail recipes.

Two binaries stand out, and if there's anybody who runs into this
removal being a problem, these are probably cases that could use fixes.

mimencode:
https://gist.github.com/robbat2/50f8c5b51fcb7f19271545f662d9ccd5#file-foo-procmailrc-L21-L40
This recipe had a bonus that it made the mail on disk possibly to
trivially grep, whereas if it was still base64, it wouldn't have
matched. Probably possible to replace with a simple script.

metasend:
Good way to send data/files from the commandline while controlling the
MIME structure. This was sometimes used to encapsulate an entire
incoming mail in procmail and resend it. Harder to replace.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2022-11-01 Thread Robin H. Johnson
commit: b125a0435c6ac1f605701c780124584ffd08f01d
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Nov  1 16:03:35 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Tue Nov  1 19:19:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b125a043

dev-libs/openssl: cleanup vulnerable

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-libs/openssl/openssl-3.0.5.ebuild | 338 --
 1 file changed, 338 deletions(-)

diff --git a/dev-libs/openssl/openssl-3.0.5.ebuild 
b/dev-libs/openssl/openssl-3.0.5.ebuild
deleted file mode 100644
index 83047974b399..
--- a/dev-libs/openssl/openssl-3.0.5.ebuild
+++ /dev/null
@@ -1,338 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
-inherit edo flag-o-matic linux-info toolchain-funcs multilib-minimal 
multiprocessing verify-sig
-
-DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer 
Security (TLS)"
-HOMEPAGE="https://www.openssl.org/";
-
-MY_P=${P/_/-}
-
-if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://github.com/openssl/openssl.git";
-
-   inherit git-r3
-else
-   SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
-   verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
-fi
-
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="Apache-2.0"
-SLOT="0/3" # .so version of libssl/libcrypto
-IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test 
tls-compression vanilla verify-sig weak-ssl-ciphers"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-   >=app-misc/c_rehash-1.7-r1
-   tls-compression? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
-"
-BDEPEND="
-   >=dev-lang/perl-5
-   sctp? ( >=net-misc/lksctp-tools-1.0.12 )
-   test? (
-   sys-apps/diffutils
-   sys-devel/bc
-   sys-process/procps
-   )
-   verify-sig? ( sec-keys/openpgp-keys-openssl )"
-
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-PDEPEND="app-misc/ca-certificates"
-
-MULTILIB_WRAPPED_HEADERS=(
-   /usr/include/openssl/configuration.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${P}-test-memcmp.patch
-)
-
-pkg_setup() {
-   if use ktls ; then
-   if kernel_is -lt 4 18 ; then
-   ewarn "Kernel implementation of TLS (USE=ktls) requires 
kernel >=4.18!"
-   else
-   CONFIG_CHECK="~TLS ~TLS_DEVICE"
-   ERROR_TLS="You will be unable to offload TLS to kernel 
because CONFIG_TLS is not set!"
-   ERROR_TLS_DEVICE="You will be unable to offload TLS to 
kernel because CONFIG_TLS_DEVICE is not set!"
-
-   linux-info_pkg_setup
-   fi
-   fi
-
-   [[ ${MERGE_TYPE} == binary ]] && return
-
-   # must check in pkg_setup; sysctl doesn't work with userpriv!
-   if use test && use sctp ; then
-   # test_ssl_new will fail with "Ensure SCTP AUTH chunks are 
enabled in kernel"
-   # if sctp.auth_enable is not enabled.
-   local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 
2>/dev/null)
-   if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 
1 ]] ; then
-   die "FEATURES=test with USE=sctp requires 
net.sctp.auth_enable=1!"
-   fi
-   fi
-}
-
-src_unpack() {
-   # Can delete this once test fix patch is dropped
-   if use verify-sig ; then
-   # Needed for downloaded patch (which is unsigned, which is fine)
-   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
-   fi
-
-   default
-}
-
-src_prepare() {
-   # Allow openssl to be cross-compiled
-   cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
-   chmod a+rx gentoo.config || die
-
-   # Keep this in sync with app-misc/c_rehash
-   SSL_CNF_DIR="/etc/ssl"
-
-   # Make sure we only ever touch Makefile.org and avoid patching a file
-   # that gets blown away anyways by the Configure script in src_configure
-   rm -f Makefile
-
-   if ! use vanilla ; then
-   PATCHES+=(
-   # Add patches which are Gentoo-specific customisations 
here
-   )
-   fi
-
-   default
-
-   if use test && use sctp && has network-sandbox ${FEATURES} ; then
-   einf

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

2022-11-01 Thread Robin H. Johnson
commit: b44348a1402e57617265926dd257161f5d15c7c5
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Nov  1 16:00:28 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Tue Nov  1 19:19:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44348a1

dev-libs/openssl: bump, non-security

Signed-off-by: Robin H. Johnson  gentoo.org>

 dev-libs/openssl/Manifest  |   2 +
 dev-libs/openssl/openssl-1.1.1s.ebuild | 339 +
 2 files changed, 341 insertions(+)

diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index f6ae5062d044..a30619fa0e5b 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -3,6 +3,8 @@ DIST openssl-1.0.2t-bindist-1.0.tar.xz 13872 BLAKE2B 
b2aade96a6e0ca6209a39e205b1
 DIST openssl-1.0.2u.tar.gz 5355412 BLAKE2B 
b2ff2a10e5851af5aca4093422a9a072c794e87b997263826c1c35910c040f695fac63decac5856cb49399ed03d410f97701d9fd4e1ebfbcacd8f3a74ce8bf57
 SHA512 
c455bb309e20e2c2d47fdc5619c734d107d5c8c38c1409903ce979acc120b0d5fa0312917c0aa0d630e402d092a703d4249643f36078e8528a3cafc9dac6ab32
 DIST openssl-1.1.1q.tar.gz 9864061 BLAKE2B 
fc8fd6a62dc291d0bda328a051e253175fb04442cc4b8f45d67c3a5027748a0fc5fb372d0483bc9024ae0bff119c4fac8f1e982a182612427696d6d09f5935f5
 SHA512 
cb9f184ec4974a3423ef59c8ec86b6bf523d5b887da2087ae58c217249da3246896fdd6966ee9c13aea9e6306783365239197e9f742c508a0e35e5744e3e085f
 DIST openssl-1.1.1q.tar.gz.asc 833 BLAKE2B 
9311abf47469c3802a84dc9b7427a168ba7717496960e6f84b04e4d9263dea1168493082937a06bcb6ef4169b2ed9b2f36084bbac15b5f7ca5b4c41041c4bab6
 SHA512 
03a41f29d1713c47bb300e01e36dbd048074076a6a3b9913e2fc9a1b56b726c038978f99e86f9a3e4ea39f72bd82a15965842f6d94210fa9d3474f6f0f68559e
+DIST openssl-1.1.1s.tar.gz 9868981 BLAKE2B 
ecd19eaf84dbc80448b51651abe52a89cc0052f024537959c4ebe61528988f235d661244fce6967159a876dd038c817bad19df742e828ca1cbae97ce6a4124bb
 SHA512 
2ef983f166b5e1bf456ca37938e7e39d58d4cd85e9fc4b5174a05f5c37cc5ad89c3a9af97a6919bcaab128a8a92e4bdc8a045e5d9156d90768da8f73ac67c5b9
+DIST openssl-1.1.1s.tar.gz.asc 858 BLAKE2B 
d95f0f80d460feac737f84ed629c45aaf5e453103ef202ec7d33cf33b89ad83a9007429433b10754b725d7963b1960e350b64e8bdfe569ad149e26bef462eeca
 SHA512 
aa6e5e940448297a90c46ba162f8e6ee324c2e202a9283328c31f996dc2259dd9f5f981d94d1cf1dd3cc73c44647b473602dacb857b9719bf066931b43b899e6
 DIST openssl-3.0.5.tar.gz 15074407 BLAKE2B 
7bf89e042417c003ef02a8bb1278590a52ce4a3d50f66795c66b750f90248840edb0d3352811cff708c7e65b77384142e316916a6c311f1d2b4747f44816
 SHA512 
782b0df3d0252468aa696bd74a3b661810499819c0df849aa9698ba0e06a845820dc856aac650fced4be234f1271e576d4317ac3ab1406cf0ffe087d695d20fe
 DIST openssl-3.0.5.tar.gz.asc 862 BLAKE2B 
24f1839227be7acec45eb6b748cea7be0b5e66b5cf745814861f7290670733936bf1af2c1dc9357439b31a2ca28f418880d63726d4be6fa994902ac95b51e401
 SHA512 
516da9ef291601400576adaba7271854af3caa23dc1d70116004360f580e4c28fe61d51e86477d341e4c5bf0ca5f98db8264581ed6cc2c8df124da83ad3e40be
 DIST openssl-3.0.7.tar.gz 15107575 BLAKE2B 
141881071fa62f056c514e7c653a61c59cc45fe951ec094041e23fb5e619133b7ebbfe31cd8203969c9d8842b8cbc10ec58da67cc181761a11c1cfdd0869df9a
 SHA512 
6c2bcd1cd4b499e074e006150dda906980df505679d8e9d988ae93aa61ee6f8c23c0fa369e2edc1e1a743d7bec133044af11d5ed57633b631ae479feb59e3424

diff --git a/dev-libs/openssl/openssl-1.1.1s.ebuild 
b/dev-libs/openssl/openssl-1.1.1s.ebuild
new file mode 100644
index ..5539a1b32d86
--- /dev/null
+++ b/dev-libs/openssl/openssl-1.1.1s.ebuild
@@ -0,0 +1,339 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
+inherit edo flag-o-matic toolchain-funcs multilib-minimal verify-sig
+
+MY_P=${P/_/-}
+DESCRIPTION="Full-strength general purpose cryptography library (including SSL 
and TLS)"
+HOMEPAGE="https://www.openssl.org/";
+SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
+   verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="openssl"
+SLOT="0/1.1" # .so version of libssl/libcrypto
+if [[ ${PV} != *_pre* ]] ; then
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~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"
+fi
+IUSE="+asm rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test 
tls-compression tls-heartbeat vanilla verify-sig weak-ssl-ciphers"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=app-misc/c_rehash-1.7-r1
+   tls-compression? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   >=dev-lang/perl-5
+   sctp? ( >=net-misc/lksctp-tools-1.0.12 )
+   test? (

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

2022-11-01 Thread Robin H. Johnson
commit: 4c40f1c782a71d48b194236040145c171190a25f
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Nov  1 15:47:50 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Tue Nov  1 15:48:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c40f1c7

dev-libs/openssl: security bump

Signed-off-by: Robin H. Johnson  gentoo.org>
Bug: https://bugs.gentoo.org/878269

 dev-libs/openssl/Manifest |   2 +
 dev-libs/openssl/openssl-3.0.7.ebuild | 337 ++
 2 files changed, 339 insertions(+)

diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index a411ae31d39e..f6ae5062d044 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -5,3 +5,5 @@ DIST openssl-1.1.1q.tar.gz 9864061 BLAKE2B 
fc8fd6a62dc291d0bda328a051e253175fb04
 DIST openssl-1.1.1q.tar.gz.asc 833 BLAKE2B 
9311abf47469c3802a84dc9b7427a168ba7717496960e6f84b04e4d9263dea1168493082937a06bcb6ef4169b2ed9b2f36084bbac15b5f7ca5b4c41041c4bab6
 SHA512 
03a41f29d1713c47bb300e01e36dbd048074076a6a3b9913e2fc9a1b56b726c038978f99e86f9a3e4ea39f72bd82a15965842f6d94210fa9d3474f6f0f68559e
 DIST openssl-3.0.5.tar.gz 15074407 BLAKE2B 
7bf89e042417c003ef02a8bb1278590a52ce4a3d50f66795c66b750f90248840edb0d3352811cff708c7e65b77384142e316916a6c311f1d2b4747f44816
 SHA512 
782b0df3d0252468aa696bd74a3b661810499819c0df849aa9698ba0e06a845820dc856aac650fced4be234f1271e576d4317ac3ab1406cf0ffe087d695d20fe
 DIST openssl-3.0.5.tar.gz.asc 862 BLAKE2B 
24f1839227be7acec45eb6b748cea7be0b5e66b5cf745814861f7290670733936bf1af2c1dc9357439b31a2ca28f418880d63726d4be6fa994902ac95b51e401
 SHA512 
516da9ef291601400576adaba7271854af3caa23dc1d70116004360f580e4c28fe61d51e86477d341e4c5bf0ca5f98db8264581ed6cc2c8df124da83ad3e40be
+DIST openssl-3.0.7.tar.gz 15107575 BLAKE2B 
141881071fa62f056c514e7c653a61c59cc45fe951ec094041e23fb5e619133b7ebbfe31cd8203969c9d8842b8cbc10ec58da67cc181761a11c1cfdd0869df9a
 SHA512 
6c2bcd1cd4b499e074e006150dda906980df505679d8e9d988ae93aa61ee6f8c23c0fa369e2edc1e1a743d7bec133044af11d5ed57633b631ae479feb59e3424
+DIST openssl-3.0.7.tar.gz.asc 858 BLAKE2B 
bd07a6f656cce817038743caf1131ef8d7a21bf587e706e32771ad9e09cb4821d21b71171a7fe7bb6bece95e9b06cea6d723aae9de8b62049b5a8316578500be
 SHA512 
9093a8a5a990f5f37bd95e7ca55f2371e59242be408ea7d9403bcfc9c8873c022237e13c0ec81881a20607ea46927887a895a82b6f50c6f423b4c54f9ef0cde1

diff --git a/dev-libs/openssl/openssl-3.0.7.ebuild 
b/dev-libs/openssl/openssl-3.0.7.ebuild
new file mode 100644
index ..518b44da5f56
--- /dev/null
+++ b/dev-libs/openssl/openssl-3.0.7.ebuild
@@ -0,0 +1,337 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/openssl.org.asc
+inherit edo flag-o-matic linux-info toolchain-funcs multilib-minimal 
multiprocessing verify-sig
+
+DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer 
Security (TLS)"
+HOMEPAGE="https://www.openssl.org/";
+
+MY_P=${P/_/-}
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/openssl/openssl.git";
+
+   inherit git-r3
+else
+   SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
+   verify-sig? ( mirror://openssl/source/${MY_P}.tar.gz.asc )"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+fi
+
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0/3" # .so version of libssl/libcrypto
+IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test 
tls-compression vanilla verify-sig weak-ssl-ciphers"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="
+   >=app-misc/c_rehash-1.7-r1
+   tls-compression? ( 
>=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
+"
+BDEPEND="
+   >=dev-lang/perl-5
+   sctp? ( >=net-misc/lksctp-tools-1.0.12 )
+   test? (
+   sys-apps/diffutils
+   sys-devel/bc
+   sys-process/procps
+   )
+   verify-sig? ( sec-keys/openpgp-keys-openssl )"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND="app-misc/ca-certificates"
+
+MULTILIB_WRAPPED_HEADERS=(
+   /usr/include/openssl/configuration.h
+)
+
+PATCHES=(
+)
+
+pkg_setup() {
+   if use ktls ; then
+   if kernel_is -lt 4 18 ; then
+   ewarn "Kernel implementation of TLS (USE=ktls) requires 
kernel >=4.18!"
+   else
+   CONFIG_CHECK="~TLS ~TLS_DEVICE"
+   ERROR_TLS="You will be unable to offload TLS to kernel 
because CONFIG_TLS is not set!"
+   ERROR_TLS_DEVICE="You will be unable to offload TLS to 
kernel bec

[gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/

2022-10-29 Thread Robin H. Johnson
commit: 4035f35583fab2b3f22c09d2f2894f4b8f20cee0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Oct 30 03:10:43 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Oct 30 04:35:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4035f355

sys-fs/multipath-tools: bump

Signed-off-by: Robin H. Johnson  gentoo.org>
Reference: https://bugs.gentoo.org/show_bug.cgi?id=878763

 sys-fs/multipath-tools/Manifest|  1 +
 .../multipath-tools/multipath-tools-0.9.3.ebuild   | 83 ++
 2 files changed, 84 insertions(+)

diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
index 480f8d568d21..da55c0c395c3 100644
--- a/sys-fs/multipath-tools/Manifest
+++ b/sys-fs/multipath-tools/Manifest
@@ -1,2 +1,3 @@
 DIST multipath-tools-0.8.9.tar.gz 534866 BLAKE2B 
b5ebf3c393f6b60e85678ac07378ae07056b6777409fc1bc4f4133cdd3f8c75a3d76f6e9342208df7fed8fe7812b089eba8f6b769e47e1dd6c8b7fd321bdbd30
 SHA512 
25f2a5d436af6a343804988cef45ca1574d4a981655a2b91563ddb89138619158befdf5af92d836a17c95d6dcf901072b614473c2129274e5dcdb1a1d64edb4d
 DIST multipath-tools-0.9.0.tar.gz 537311 BLAKE2B 
e7d4958d24d1e19da2b80be23585ad37f6b0c1b66dc1377014d825ddd2be10ea3b8c30162cb7a23b120427bf0c957c6cad8560018e1cb058c284f37afd5d50d4
 SHA512 
6c417f6d1d116fa43bedb9f77769ece9cbb7b35b78a9b3558c41df2360e52a65a07314b12ab7e4a7bbc867b9755250de9db96a2f7eb4a6a37f0b0b3f0bbc840e
+DIST multipath-tools-0.9.3.tar.gz 552442 BLAKE2B 
e2065119cdd68bd8c2b4420bd0de9ce370601597972dba32c076bfc4df6d0a1a65356454a2f96f95f27cf681387685edcbac2eb41258d4a7049a1ef62cdf0949
 SHA512 
4faa2ee5a96a9d5d752219931ebc885cb70ed6b022d45ede985ad7919c043a3aee166e6f126d32dffd187c5c32d5cbce91747d87d0b7e2f7f68b279583da

diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild 
b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
new file mode 100644
index ..937105680154
--- /dev/null
+++ b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info systemd toolchain-funcs udev
+
+DESCRIPTION="Device mapper target autoconfig"
+HOMEPAGE="http://christophe.varoqui.free.fr/";
+SRC_URI="https://github.com/opensvc/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/json-c:=
+   dev-libs/libaio
+   dev-libs/userspace-rcu:=
+   >=sys-fs/lvm2-2.02.45
+   >=virtual/libudev-232-r3
+   sys-libs/readline:=
+   systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+   test? ( dev-util/cmocka )"
+BDEPEND="virtual/pkgconfig"
+
+CONFIG_CHECK="~DM_MULTIPATH"
+
+PATCHES=( )
+
+src_prepare() {
+   default
+   # life is too short for some trivial patches
+   sed -r -i -e '/^(CPPFLAGS|CFLAGS)/s,:=,+=,' \
+   "${S}"/Makefile.inc || die
+}
+
+src_compile() {
+   tc-export CC
+
+   # LIBDM_API_FLUSH involves grepping files in /usr/include,
+   # so force the test to go the way we want #411337.
+   emake \
+   prefix="${EPREFIX}" \
+   LIB="$(get_libdir)" \
+   LIBDM_API_FLUSH=1 \
+   PKGCONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   dodir /sbin /usr/share/man/man{3,5,8}
+   emake \
+   DESTDIR="${D}" \
+   prefix="${EPREFIX}" \
+   LIB="$(get_libdir)" \
+   RUN=run \
+   unitdir="$(systemd_get_systemunitdir)" \
+   libudevdir='$(prefix)'/$(get_udevdir) \
+   pkgconfdir='$(prefix)/usr/$(LIB)/pkgconfig' \
+   install
+   einstalldocs
+
+   newinitd "${FILESDIR}"/multipathd-r1.rc multipathd
+   newinitd "${FILESDIR}"/multipath.rc multipath
+
+   find "${ED}" -type f -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   udev_reload
+
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   elog "If you need multipath on your system, you must"
+   elog "add 'multipath' into your boot runlevel!"
+   fi
+}
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/

2022-10-29 Thread Robin H. Johnson
commit: 9199809d660b52e6f4e960fc1bea889bea15cdaa
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Oct 30 04:35:20 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Oct 30 04:35:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9199809d

sys-fs/multipath-tools: bump

Signed-off-by: Robin H. Johnson  gentoo.org>
Reference: https://bugs.gentoo.org/show_bug.cgi?id=878763

 .../multipath-tools/multipath-tools-0.9.3.ebuild   | 27 +++---
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild 
b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
index 937105680154..74c4e010e73a 100644
--- a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
+++ b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit linux-info systemd toolchain-funcs udev
+inherit linux-info systemd toolchain-funcs udev tmpfiles
 
 DESCRIPTION="Device mapper target autoconfig"
 HOMEPAGE="http://christophe.varoqui.free.fr/";
@@ -34,7 +34,7 @@ PATCHES=( )
 src_prepare() {
default
# life is too short for some trivial patches
-   sed -r -i -e '/^(CPPFLAGS|CFLAGS)/s,:=,+=,' \
+   sed -r -i -e 
'/^(CPPFLAGS|CFLAGS)\>/s,^(CPPFLAGS|CFLAGS)\>[[:space:]]+:=,\1 := 
$(GENTOO_\1),' \
"${S}"/Makefile.inc || die
 }
 
@@ -44,23 +44,33 @@ src_compile() {
# LIBDM_API_FLUSH involves grepping files in /usr/include,
# so force the test to go the way we want #411337.
emake \
-   prefix="${EPREFIX}" \
+   prefix="${EPREFIX}/usr" \
LIB="$(get_libdir)" \
LIBDM_API_FLUSH=1 \
-   PKGCONFIG="$(tc-getPKG_CONFIG)"
+   PKGCONFIG="$(tc-getPKG_CONFIG)" \
+   GENTOO_CFLAGS="${CFLAGS}" \
+   GENTOO_CPPFLAGS="${CPPFLAGS}" \
+   FAKEVAR=1
 }
 
 src_install() {
-   dodir /sbin /usr/share/man/man{3,5,8}
+   dodir /sbin
+   # upstream makefile has terrible $(prefix) choices
emake \
-   DESTDIR="${D}" \
+   DESTDIR="${ED}" \
prefix="${EPREFIX}" \
LIB="$(get_libdir)" \
RUN=run \
unitdir="$(systemd_get_systemunitdir)" \
-   libudevdir='$(prefix)'/$(get_udevdir) \
-   pkgconfdir='$(prefix)/usr/$(LIB)/pkgconfig' \
+   libudevdir="${EPREFIX}/$(get_udevdir)" \
+   pkgconfdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig" \
+   GENTOO_CFLAGS="${CFLAGS}" \
+   GENTOO_CPPFLAGS="${CPPFLAGS}" \
install
+   rmdir "${ED}"/usr/include
+   rmdir "${ED}"/usr/share
+   mv "${ED}"/include "${ED}"/usr/include || die
+   mv "${ED}"/share "${ED}"/usr/share || die
einstalldocs
 
newinitd "${FILESDIR}"/multipathd-r1.rc multipathd
@@ -70,6 +80,7 @@ src_install() {
 }
 
 pkg_postinst() {
+   tmpfiles_process /usr/lib/tmpfiles.d/multipath.conf
udev_reload
 
if [[ -z ${REPLACING_VERSIONS} ]] ; then



[gentoo-commits] repo/gentoo:master commit in: media-libs/libva-intel-media-driver/

2022-10-29 Thread Robin H. Johnson
commit: a5726db8e032a9c8002fed97fbf7ef33357c17ce
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sun Oct 30 02:55:27 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sun Oct 30 02:57:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5726db8

media-libs/libva-intel-media-driver: IGFX_ALDERLAKE_N & other symbols added 
after gmmlib 22.0.0

libva-intel-media-driver configure does not check deps properly.

Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://bugs.gentoo.org/877203

 .../libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild | 2 +-
 .../libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild   | 2 +-
 .../libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild | 2 +-
 .../libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild | 2 +-
 .../libva-intel-media-driver/libva-intel-media-driver-.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
index 2a5644f6778d..24fb2ffb188a 100644
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.4.4.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-22.0.0:=
+DEPEND=">=media-libs/gmmlib-22.1.8:=
>=media-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild
index 54a280d5f2bf..92a6257bc1b1 100644
--- 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild
+++ 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.1.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-22.0.0:=
+DEPEND=">=media-libs/gmmlib-22.1.8:=
>=media-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
index 54a280d5f2bf..92a6257bc1b1 100644
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.3.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-22.0.0:=
+DEPEND=">=media-libs/gmmlib-22.1.8:=
>=media-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild
index 54a280d5f2bf..92a6257bc1b1 100644
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.4.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-22.0.0:=
+DEPEND=">=media-libs/gmmlib-22.1.8:=
>=media-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"

diff --git 
a/media-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild 
b/media-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
index a9c6b767ec77..aa9624b21204 100644
--- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-.ebuild
@@ -29,7 +29,7 @@ IUSE="+redistributable test X"
 
 RESTRICT="!test? ( test )"
 
-DEPEND=">=media-libs/gmmlib-22.0.0:=
+DEPEND=">=media-libs/gmmlib-22.1.8:=
>=media-libs/libva-2.14.0[X?]
 "
 RDEPEND="${DEPEND}"



Re: [gentoo-project] Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-10-29 Thread Robin H. Johnson
On Sat, Oct 29, 2022 at 02:26:29AM -0400, kuzetsa CatSwarm wrote:
> hi, this is just a quick check to see if the updated wording still 
> covers the discussion I had in -council on liberachat earlier this year.
> 
> last version I had in git repo or patch format was from july:
> 
> https://gist.githubusercontent.com/kuzetsa/f9ff15998c2ae75fcb777c5a4f56dde4/raw/4c3314045de4437a277a738b96ef302fcc07a27c/0001-glep-0076-clarify-name-policy.patch
> 
> just wanting to sign off on the finalized version, and confirm the 
> contributions I made weren't subjected to a regression during various 
> edits and bikeshed-adjacent tweaks, etc.
Please see the other branch of this email thread:
https://archives.gentoo.org/gentoo-project/message/3fa6adb018736835f3b0406d7377148e

Direct link to the proposed patch:
https://gitweb.gentoo.org/data/glep.git/commit/?h=glep76&id=139198d2e8560f8dfb32c8f4c34a3e49d628b184

To summarize the substantive changes since your version:
- people, not corporations
- improve the verification statement, because the Gentoo Foundation will
  cease to be a legal entity (merging into some umbrella).

Non-substantive:
- bikeshed about who gets to be in Authors.
- formatting

- Robin

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


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

2022-10-29 Thread Robin H. Johnson
commit: 261b72f05a316d2a9b860315af4b1316b328d7f3
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Oct 29 17:46:04 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Oct 29 17:51:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261b72f0

net-misc/curl: fix quiche dep, quiche_recv_info.to_len added in quiche-0.15.

Signed-off-by: Robin H. Johnson  gentoo.org>

 net-misc/curl/curl-7.85.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/curl/curl-7.85.0-r2.ebuild 
b/net-misc/curl/curl-7.85.0-r2.ebuild
index 8797ea5f657a..e3072f28ea27 100644
--- a/net-misc/curl/curl-7.85.0-r2.ebuild
+++ b/net-misc/curl/curl-7.85.0-r2.ebuild
@@ -58,7 +58,7 @@ RDEPEND="ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
net-libs/nghttp3[${MULTILIB_USEDEP}]
net-libs/ngtcp2[ssl,${MULTILIB_USEDEP}]
)
-   quiche? ( >=net-libs/quiche-0.3.0[${MULTILIB_USEDEP}] )
+   quiche? ( >=net-libs/quiche-0.15.0[${MULTILIB_USEDEP}] )
idn? ( net-dns/libidn2:0=[static-libs?,${MULTILIB_USEDEP}] )
adns? ( net-dns/c-ares:0=[${MULTILIB_USEDEP}] )
kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/, sys-fs/lvm2/files/

2022-10-27 Thread Robin H. Johnson
commit: f85aba8b222771e8cc87a6e75d0220cdb2717f78
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Thu Oct 27 17:13:09 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Thu Oct 27 17:13:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85aba8b

sys-fs/lvm2: fix hardcoded readelf

Signed-off-by: Robin H. Johnson  gentoo.org>
Close: https://bugs.gentoo.org/840628

 sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch | 25 +
 sys-fs/lvm2/lvm2-2.03.16.ebuild  |  3 +++
 2 files changed, 28 insertions(+)

diff --git a/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch 
b/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch
new file mode 100644
index ..b4d60c5825db
--- /dev/null
+++ b/sys-fs/lvm2/files/lvm2-2.03.16-readelf.patch
@@ -0,0 +1,25 @@
+diff -Nuar LVM2.2.03.16.orig/libdm/Makefile.in LVM2.2.03.16/libdm/Makefile.in
+--- LVM2.2.03.16.orig/libdm/Makefile.in2022-05-18 09:24:20.0 
-0700
 LVM2.2.03.16/libdm/Makefile.in 2022-10-27 10:09:29.283631020 -0700
+@@ -59,6 +59,10 @@
+ 
+ PROGS_CFLAGS = $(UDEV_CFLAGS)
+ 
++ifeq ($(strip $(READELF)),)
++READELF := readelf
++endif
++
+ device-mapper: $(TARGETS)
+ 
+ dm-tools.device-mapper: device-mapper
+@@ -71,8 +75,8 @@
+ # also the older symbol is built-in
+ .symver_check: $(LIB_SHARED)
+   @echo "[CHECK] $<"
+-  $(Q) if readelf -Ws $< | grep -q dm_stats_create_region@@; then \
+-  SYM=$$(readelf -Ws $< | grep dm_stats_create_region@DM_1_02_106); \
++  $(Q) if $(READELF) -Ws $< | grep -q dm_stats_create_region@@; then \
++  SYM=$$( $(READELF) -Ws $< | grep dm_stats_create_region@DM_1_02_106); \
+   if test -n "$$SYM"; then touch $@; \
+   else echo >&2 "Missing versioned symbols in $<"; false; fi; \
+   else touch $@; fi

diff --git a/sys-fs/lvm2/lvm2-2.03.16.ebuild b/sys-fs/lvm2/lvm2-2.03.16.ebuild
index 30a41a0a959c..d3922e5152cf 100644
--- a/sys-fs/lvm2/lvm2-2.03.16.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.16.ebuild
@@ -69,6 +69,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.03.14-r1-fopen-to-freopen.patch
"${FILESDIR}"/${PN}-2.03.14-r1-mallinfo.patch
"${FILESDIR}"/${PN}-2.03.14-freopen_n2.patch
+   "${FILESDIR}"/${PN}-2.03.16-readelf.patch
 )
 
 pkg_setup() {
@@ -162,6 +163,7 @@ src_configure() {
myeconfargs+=( --with-thin=none --with-cache=none )
fi
 
+   export READELF="$(tc-getREADELF)"
myeconfargs+=(
$(use_enable readline)
$(use_enable selinux)
@@ -184,6 +186,7 @@ src_configure() {
$(use_enable systemd notify-dbus)
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
CLDFLAGS="${LDFLAGS}"
+   READELF="${READELF}"
)
# Hard-wire this to bash as some shells (dash) don't know
# "-o pipefail" #682404



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/files/, sys-fs/lvm2/

2022-10-26 Thread Robin H. Johnson
commit: 5a38d92cc5ca6e989a8cb0daec006e299e01f27b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Oct 26 23:11:13 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Wed Oct 26 23:11:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a38d92c

sys-fs/lvm2: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-fs/lvm2/Manifest   |   1 +
 .../lvm2-2.03.16-dm_lvm_rules_no_systemd.patch |  11 +
 sys-fs/lvm2/lvm2-2.03.16.ebuild| 310 +
 3 files changed, 322 insertions(+)

diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest
index 040ecbb191f0..27b129ed6b96 100644
--- a/sys-fs/lvm2/Manifest
+++ b/sys-fs/lvm2/Manifest
@@ -1 +1,2 @@
 DIST LVM2.2.03.14.tgz 2639538 BLAKE2B 
806f5e9cb76a05febef6f8ce8cfc42c92927b9538f62a21029c5ffc426a4fd7c3f32709be08dbd8028b53891b1075d1d13cb3b0d7b1815071ee8eb927d8f3ed3
 SHA512 
6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d
+DIST LVM2.2.03.16.tgz 2658805 BLAKE2B 
05c6089adff0c61ff1281a05a917f75480ad4acc28cb0214a42589d206a61168f68de07891b9af9814ed7998f16aff6f29ba29b85b23de36f38bf3b5f27802c1
 SHA512 
084ba4080537359458db936637fc7f83bb9bfcf2de9f3660882551b5c31c7e9900c7d381b238ce1bb7629942c740c121f0dea5e404c302d31ed028b5c65efaa5

diff --git a/sys-fs/lvm2/files/lvm2-2.03.16-dm_lvm_rules_no_systemd.patch 
b/sys-fs/lvm2/files/lvm2-2.03.16-dm_lvm_rules_no_systemd.patch
new file mode 100644
index ..c4f74a49b8d0
--- /dev/null
+++ b/sys-fs/lvm2/files/lvm2-2.03.16-dm_lvm_rules_no_systemd.patch
@@ -0,0 +1,11 @@
+--- LVM2.2.03.16/udev/69-dm-lvm.rules.in.orig  2022-10-26 15:58:07.504434946 
-0700
 LVM2.2.03.16/udev/69-dm-lvm.rules.in   2022-10-26 16:01:52.122204592 
-0700
+@@ -80,7 +80,7 @@
+ # it's better suited to appearing in the journal.
+ 
+ IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete 
--vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}"
+-ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/systemd-run --no-block 
--property DefaultDependencies=no --unit 
lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay 
--autoactivation event $env{LVM_VG_NAME_COMPLETE}"
++ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints 
--autoactivation event $env{LVM_VG_NAME_COMPLETE}"
+ GOTO="lvm_end"
+ 
+ LABEL="lvm_end"

diff --git a/sys-fs/lvm2/lvm2-2.03.16.ebuild b/sys-fs/lvm2/lvm2-2.03.16.ebuild
new file mode 100644
index ..1068870be0ea
--- /dev/null
+++ b/sys-fs/lvm2/lvm2-2.03.16.ebuild
@@ -0,0 +1,310 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+TMPFILES_OPTIONAL=1
+inherit autotools linux-info systemd toolchain-funcs tmpfiles udev flag-o-matic
+
+DESCRIPTION="User-land utilities for LVM2 (device-mapper) software"
+HOMEPAGE="https://sourceware.org/lvm2/";
+SRC_URI="https://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
+   https://sourceware.org/pub/lvm2/old/${PN/lvm/LVM}.${PV}.tgz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="readline static static-libs systemd lvm2create-initrd sanlock selinux 
+udev +thin device-mapper-only"
+REQUIRED_USE="device-mapper-only? ( !lvm2create-initrd !sanlock !thin )
+   static? ( !systemd !udev )
+   static-libs? ( static !udev )
+   systemd? ( udev )"
+
+DEPEND_COMMON="
+   dev-libs/libaio[static-libs?]
+   static? ( dev-libs/libaio[static-libs] )
+   !static? ( dev-libs/libaio[static-libs?] )
+   readline? ( sys-libs/readline:0= )
+   sanlock? ( sys-cluster/sanlock )
+   systemd? ( >=sys-apps/systemd-205:0= )
+   udev? ( >=virtual/libudev-208:= )"
+# /run is now required for locking during early boot. /var cannot be assumed to
+# be available -- thus, pull in recent enough baselayout for /run.
+# This version of LVM is incompatible with cryptsetup <1.1.2.
+RDEPEND="${DEPEND_COMMON}
+   >=sys-apps/baselayout-2.2
+   >=sys-apps/util-linux-2.16
+   lvm2create-initrd? ( sys-apps/makedev )
+   !device-mapper-only? ( virtual/tmpfiles )
+   thin? ( >=sys-block/thin-provisioning-tools-0.3.0 )"
+# note: thin- 0.3.0 is required to avoid --disable-thin_check_needs_check
+DEPEND="${DEPEND_COMMON}
+   static? (
+   readline? ( sys-libs/readline[static-libs] )
+   selinux? ( sys-libs/libselinux[static-libs] )
+   >=sys-apps/util-linux-2.16[static-libs]
+   )"
+BDEPEND="
+   sys-devel/autoconf-archive
+   virtual/pkgconfig
+&q

[gentoo-dev] [PATCH v5] glep-0076: Require real name instead of legal name

2022-10-22 Thread Robin H. Johnson
On Sat, Oct 22, 2022 at 08:55:09AM +0200, Ulrich Mueller wrote:
> > How's the clarification now, making it clear those are the authors for
> > version 1.2?
> I'd still prefer a single list of acknowledgements in alphabetical
> order, without any of the authors included. (But I don't have a strong
> opinion, so if you absolutely want to have a separate paragraph for 1.2,
> then go ahead.)
Paragraph kept.

> However, can we please keep the authors list (in the header) as-is?
> If we're now going to include people for adding a single sentence or
> suggestion, then we'd also have to list several (all?) of the persons
> who are listed in the original acknowledgements.
Done.

> >> Another small point: Whitespace in the new section doesn't follow the
> >> style in the rest of the GLEP, which uses two blank lines before and one
> >> blank line after section headings, as well as two spaces at the end of
> >> every sentence. (This is also what GLEP 2 says.)
> 
> > Fixed - the blank lines were inconsistent in multiple places, but the
> > two spaces were correct.
> There shouldn't be double blank lines _after_ section headings (i.e.
> only a single blank line after "Specification" and "Rationale") [1].
Fixed.

Also reworded to not say "Gentoo Foundation"; but still document the
intent about when verification could take place.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
From 376c235e0c78020adc3b5f8fa43c4f474dea8f64 Mon Sep 17 00:00:00 2001
From: "Robin H. Johnson" 
Date: Sat, 22 Oct 2022 07:38:00 -0700
Subject: [PATCH v5] glep-0076: clarify name policy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Merge discussion results about improving the name policy.

Fix whitespace for GLEP2 style:
- two spaces at the end of every sentence
- section headings:
  - two blank lines before
  - one blank line after
  - one blank line for an empty section

Authorship for revision 1.2 changes: kuzetsa CatSwarm, Richard Freeman,
John Helmert III, Robin H. Johnson, Ulrich Müller, Alec Warner

Signed-off-by: Robin H. Johnson 
Reference: https://archives.gentoo.org/gentoo-project/message/c85b78ca69802522534ee8ab0804f665
Reference: https://archives.gentoo.org/gentoo-dev/message/7d1ad38a1d77ea5726520d2ec90cffe4
---
 glep-0076.rst | 32 +++-
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git glep-0076.rst glep-0076.rst
index 2216483..cdfa33e 100644
--- glep-0076.rst
+++ glep-0076.rst
@@ -8,10 +8,10 @@ Author: Richard Freeman ,
 Michał Górny 
 Type: Informational
 Status: Active
-Version: 1.1
+Version: 1.2
 Created: 2013-04-23
-Last-Modified: 2022-07-02
-Post-History: 2018-06-10, 2018-06-19, 2018-08-31, 2018-09-26
+Last-Modified: 2022-10-22
+Post-History: 2018-06-10, 2018-06-19, 2018-08-31, 2018-09-26, 2022-07-12, 2022-10-21, 2022-10-22
 Content-Type: text/x-rst
 ---
 
@@ -83,6 +83,7 @@ copyright in a file.
 Specification
 =
 
+
 Purpose / Scope
 ---
 
@@ -137,8 +138,7 @@ the Certificate of Origin by adding ::
 Signed-off-by: Name 
 
 to the commit message as a separate line.  The sign-off must contain
-the committer's legal name as a natural person, i.e., the name that
-would appear in a government issued document.
+the contributor's name as discussed in the next section.
 
 The following is the current Gentoo Certificate of Origin, revision 1:
 
@@ -180,6 +180,24 @@ indicated by adding ``(DCO-1.1)`` at the end of the ``Signed-off-by``
 line.  Using the Gentoo Certificate of Origin is strongly preferred.
 
 
+Contributor Name
+
+
+Contributors must sign off on contributions with their name as a natural
+person (not a corporation), that can be made public, and would pass
+copyright due diligence.
+
+Nothing further is required if the name matches a government issued
+document of the contributor.
+
+If the name does not match any government issued document, it must be a
+name that can be verified by simple records search, and/or attestable in
+a written statement, with a witnessed signature as before a notary.
+
+For the purposes of this policy, verification of the name will be deferred
+until such time as required by government action or legal proceedings.
+
+
 Copyright Attribution
 -
 
@@ -344,6 +362,10 @@ In particular, the authors would like to thank David Abbott,
 Roy Bamford, Kristian Fiskerstrand, Andreas K. Hüttel, Manuel Rüger,
 Matija Šuklje, Matthew Thode, and Alec Warner for their input.
 
+Version 1.2 contains contributions by kuzetsa CatSwarm, Richard
+Freeman, John Helmert III, Robin H. Johnson, Ulrich Müller, Alec
+Warner.
+
 
 References
 ==
-- 
2.38.1



signature.asc
Description: PGP signature


Re: [gentoo-project] Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-10-21 Thread Robin H. Johnson
On Sat, Oct 22, 2022 at 06:56:06AM +0200, Michał Górny wrote:
> On Fri, 2022-10-21 at 19:50 +0000, Robin H. Johnson wrote:
> > +For the purposes of this policy, the Gentoo Foundation will not request
> > +any verification of the name until such time as required by government
> > +action or legal proceedings.
> Given that we're talking about disbanding the Foundation, I'm not sure
> if it's a good idea to reference it specifically in new GLEPs. 
> Especially that to the best of my knowledge, Foundation doesn't really
> get involved in gating new contributors.
I'll be clear, I hope to set precedent for the successor organization.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


Re: [gentoo-project] Re: [gentoo-dev] [PATCH] glep-0076: Require real name instead of legal name

2022-10-21 Thread Robin H. Johnson
Find attached v4 of the patch, with all of the proposed changes
included.

On Wed, Jul 13, 2022 at 09:24:25AM +0200, Ulrich Mueller wrote:
> >>>>> On Wed, 13 Jul 2022, Robin H Johnson wrote:
> 
> > On Wed, Jul 13, 2022 at 02:26:43AM +0200, Ulrich Mueller wrote:
> >> The "natural person" part was lost in this change. It also doesn't
> >> reappear in the added section below. I think we don't want any corporate
> >> entities there (or at least that's what I had taken from the previous
> >> "Sony" discussion).
> > Will re-add to the name section.
Clarified to exclude corporations.

> > For this section, I had a further thought and feel this is cleaner:
> >  to the commit message as a separate line.  The sign-off must contain
> > -the committer's legal name as a natural person, i.e., the name that
> > -would appear in a government issued document.
> > +the contributor's name as discussed in the next section.
> 
> Good point, and much better. (In fact, in the previous version I
> wondered why "Name" would have a capital letter, until I realized that
> it referred to the example above.)
> 
> Also, with the new wording, you could say "contributor's name as a
> natural person" here, and leave the next section alone. Just as a
> suggestion, with no strong preference on my side.
Done.

> > The new text was substantially written by myself, with the great suggestion
> > from kuzetsa, and then everybody else contributed good edits to it.
> 
> So far we had followed the principle not to list authors in the
> acknowledgements (which is worded "the authors would like to thank").
> If we start adding them for revision 1.2, then we'd have to add more
> names to the existing list.
How's the clarification now, making it clear those are the authors for
version 1.2?

> > If you're happy to not take extra acknowledgement that this was for Rev 1.2,
> > I'll just tweak it to add kuzetsa to authors and ajak to thanks list.
> Please do. CCing rich0 and antarus, are you happy with this?

> 
> Another small point: Whitespace in the new section doesn't follow the
> style in the rest of the GLEP, which uses two blank lines before and one
> blank line after section headings, as well as two spaces at the end of
> every sentence. (This is also what GLEP 2 says.)
Fixed - the blank lines were inconsistent in multiple places, but the
two spaces were correct.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
From 35d447a3db1ecceaa6e2e5d20412e8079180c81e Mon Sep 17 00:00:00 2001
From: "Robin H. Johnson" 
Date: Fri, 21 Oct 2022 12:50:08 -0700
Subject: [PATCH v4] glep-0076: clarify name policy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Merge discussion results about improving the name policy.

Fix whitespace for GLEP2 style:
- section heading: Two blank lines before, one blank line
- two spaces at the end of every sentence

Authorship for revision 1.2 changes: kuzetsa CatSwarm, Richard Freeman,
John Helmert III, Robin H. Johnson, Ulrich Müller, Alec Warner

Signed-off-by: Robin H. Johnson 
Reference: https://archives.gentoo.org/gentoo-project/message/c85b78ca69802522534ee8ab0804f665
Reference: https://archives.gentoo.org/gentoo-dev/message/7d1ad38a1d77ea5726520d2ec90cffe4
---
 glep-0076.rst | 38 ++++++++--
 1 file changed, 32 insertions(+), 6 deletions(-)

diff --git glep-0076.rst glep-0076.rst
index 2216483..5863b84 100644
--- glep-0076.rst
+++ glep-0076.rst
@@ -5,13 +5,15 @@ Author: Richard Freeman ,
 Alice Ferrazzi ,
 Ulrich Müller ,
 Robin H. Johnson ,
-Michał Górny 
+Michał Górny ,
+John Helmert III ,
+kuzetsa CatSwarm 
 Type: Informational
 Status: Active
-Version: 1.1
+Version: 1.2
 Created: 2013-04-23
-Last-Modified: 2022-07-02
-Post-History: 2018-06-10, 2018-06-19, 2018-08-31, 2018-09-26
+Last-Modified: 2022-10-21
+Post-History: 2018-06-10, 2018-06-19, 2018-08-31, 2018-09-26, 2022-07-12, 2022-10-21
 Content-Type: text/x-rst
 ---
 
@@ -83,6 +85,7 @@ copyright in a file.
 Specification
 =
 
+
 Purpose / Scope
 ---
 
@@ -137,8 +140,7 @@ the Certificate of Origin by adding ::
 Signed-off-by: Name 
 
 to the commit message as a separate line.  The sign-off must contain
-the committer's legal name as a natural person, i.e., the name that
-would appear in a government issued document.
+the contributor's name as discussed in the next section.
 
 The following is the current Gentoo Certificate of Origin, revision 1:
 
@@ -1

[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/

2022-10-18 Thread Robin H. Johnson
commit: c16537f9b0375835920b82c9f506456dd3d47f44
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Oct 18 17:55:44 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Tue Oct 18 17:57:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16537f9

dev-vcs/git: bump for security: CVE 2022-39253, CVE 2022-39260

Signed-off-by: Robin H. Johnson  gentoo.org>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=877565

 dev-vcs/git/Manifest  |   9 +
 dev-vcs/git/git-2.35.5.ebuild | 641 +
 dev-vcs/git/git-2.37.4.ebuild | 647 +
 dev-vcs/git/git-2.38.1.ebuild | 657 ++
 4 files changed, 1954 insertions(+)

diff --git a/dev-vcs/git/Manifest b/dev-vcs/git/Manifest
index b18c0e647a26..dcefedeb85ca 100644
--- a/dev-vcs/git/Manifest
+++ b/dev-vcs/git/Manifest
@@ -1,9 +1,18 @@
 DIST git-2.35.1.tar.xz 6874520 BLAKE2B 
028ff97b47748871da145720d0d258a0dcf4acc60b10c787dee5703fcab5f6e621c5671ee9e7a25009e82a2830400f35fa232d88c62606a6687260c744680025
 SHA512 
926c6813ef61931e1a1c43dfd7b15e20dc5878c1752876bd08f039249c9ed09f20f096b2f01947de9c9522c942e9fa8c1363d7d31a488bbe3f93c0cff31fcbcb
+DIST git-2.35.5.tar.xz 6879940 BLAKE2B 
4e96108611db0cff8b6e74cd2265186a1f906580737462dbcd98efae355f9a62ca17d0530f83149443890dc9b4c4551e42c30274e4cff84f963399f83dadf62a
 SHA512 
f8fab6ca37d42eec74047b95edc1f83deeb6f1d61f7a7785b571bbc32f2615651fec67126900d98cc45d5ed892bbbc6ac5ea3cb7cbe3ebcd46775adbb58fcd67
 DIST git-2.37.3.tar.xz 6987464 BLAKE2B 
b672ed0a99532b2e2e69babbea9155e39f05590a76f55791ffed6ce4ef8b68d8e306a0a23819af26f34fcf3d16211c3a10ec58d86d81262f7a1261d0e51b1305
 SHA512 
9120050b01d8ac8d9f9e85f19cb84dc90c28f3beadc3ea94da94845f2eb5e35aa83eee8447a7ecef5190b8eb5d01be621be2e82bb3020e51e05037cd1fa9b58f
+DIST git-2.37.4.tar.xz 6990080 BLAKE2B 
731ae7ff4247fd9d300b2b2b27074cce2d62b6333051bbdb161cdf644b4b40247963a978e1ed25a4f8fc9b544b52aa94ef97abf16db46ffcb688efab380efaec
 SHA512 
f13a25548f6463ee0c3e662819a4af13dfafa8d18108534aeaebafd9a36c84dbea913402d781f7bc1436560c9937d76fd78b39cafa5864f576a1278ed96a9a80
 DIST git-2.38.0.tar.xz 7086664 BLAKE2B 
800f46dc08b5a4df7437e07c7c9c23c29a3bfcbcc624e482590bbd15c046691922799e7d8650ef0b10825363b57060211f4692a639f095dcc1c6dcf0c43d726d
 SHA512 
5c475d25b40a01cc62be28478b9b5a1b0cedf91c3e007d4869019a25bdc980b5ef9b761e7ee02d7c581bff6c7dbf2696a624431a718dcd976bad34a3f2be5cb6
+DIST git-2.38.1.tar.xz 7088208 BLAKE2B 
50e4e9ef04d9eef7c10aba1f0d53d5d15f50ea9a8c344733e7a7865e2f2a833edb4f4b5882f47dd39389dfdedf22a813cfe3d35ab950d6543d21e0294ce17f2d
 SHA512 
e62ca6f54f01d2e4ccffb5f94e8e5cd2f3e098b766d909c694a8daf4d00d5cdeb9cc5ff8e9bc55d888406f292ba99433d334d4da9689c0ce5d7299a3c67c90e0
 DIST git-htmldocs-2.35.1.tar.xz 1410148 BLAKE2B 
68c3d12341271b861f42135bd4bd6e68ebcc6466931d383378b49aac42f77187f3fadc237974349cb0b50e4c5fb7a8ab185114341dd3012d159e420405d9ef91
 SHA512 
52a40644a7cd38caddecc43182863ca2f456644fff918ed4c8f826cbf269352c73d6bdc9119d25fcf537bc2fa38750791013329e4b0e32c8d14f0769dab85804
+DIST git-htmldocs-2.35.5.tar.xz 1412776 BLAKE2B 
a76fafacd1f27f6c9e1acbf14a6b924228f1a66b0d69a7e533213aad3e3bacd38a353fb163fcfa3e5eca2a2c5396b4b9f1d34fbd27c3bbe002a8cebd3e3416c5
 SHA512 
4eca490371d4ba3c917a93f5f1d4a0ccb047ab177bb0080d91db0ba524895923ad7aaf61cd6bf404817d0d17fe7dfca687f44f3e8117df3b0f57dd3d5972d8ef
 DIST git-htmldocs-2.37.3.tar.xz 1447620 BLAKE2B 
4efb86fb5431fd96ec4bcad7ecd9d5ae1d3f81f57f17dab4d8343948758f66b549b2442330b20cdb4ecd96f2029f4e7a376de5561fd9eda70acc46d2cffd7090
 SHA512 
ecc483a1fecf8c056a57e14a59950dc8a00f7940453dd5e2ccfd8dab966a9fee47178a7bbf8988e2c9a67ea6d84ffc33be790c49f812fb0ba661b57b7ff7b6ef
+DIST git-htmldocs-2.37.4.tar.xz 1448376 BLAKE2B 
2414b2f18e3c75c377400623f9e804b6fd5623724834ce52d2680cc10839466d52a8407cac9ed0c8c5928d65058963fe62e9ae2e31f1b695ea3a6fc18ea1938a
 SHA512 
638feee014498af63ea083540b065778d3e3b7fdec9bb7f6e915bbc524e1525e0c4056f8af7d859376b60fcc936cb0ac1e6f83ff940e09f822dfa11570465db4
 DIST git-htmldocs-2.38.0.tar.xz 1478392 BLAKE2B 
d90dff60ed0acbf4b86049c06bc2978839906ebcc6aa6a12d8e78408bb79f8f62f38431f58bff18afec69ba99953de9d3815ddc270c3381b7ce7ea62980d9287
 SHA512 
460720021db8cef9125f9dfdfea54af05986b658958346d68e5dd8b6b13cb21797b3d6393888fb31b509d76b1e722f6e646bc5857daee507fa410dada4273924
+DIST git-htmldocs-2.38.1.tar.xz 1479360 BLAKE2B 
72d33a04c94ccb250def2136a2967fd333f3704f8e525f065b508cee890058546fec4e5b1349285b83768a7bd1513c0fac8d9ca287e5e964e6f1ec0d055ef7de
 SHA512 
740da4546bdc0e9c4131e9dd0775662525aeb30a468fc4be63bb09c728da2903d479da5b7ef25d5ee029690ff5c9640de0271c7defcba1fadfa4a21f96d0aa8b
 DIST git-manpages-2.35.1.tar.xz 497284 BLAKE2B 
2d0d633320982243316575cc278df6c6a9ef181bf45ea9c1c8288e2677e4e71a33af96bada9bd90b03310be7dd33f2762b6b95489e267e2c191dcc7d1a715fe

[gentoo-commits] repo/gentoo:master commit in: sys-fs/mtd-utils/

2022-10-07 Thread Robin H. Johnson
commit: d9dacb2e13ec979bc4eb445a00de6210cc54f90b
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Oct  7 18:52:22 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Oct  7 18:52:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dacb2e

sys-fs/mtd-utils: bump

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-fs/mtd-utils/Manifest   |  1 +
 sys-fs/mtd-utils/mtd-utils-2.1.5.ebuild | 47 +
 2 files changed, 48 insertions(+)

diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest
index 3cfa8f44043b..c78afb52f29c 100644
--- a/sys-fs/mtd-utils/Manifest
+++ b/sys-fs/mtd-utils/Manifest
@@ -1 +1,2 @@
 DIST mtd-utils-2.1.4.tar.bz2 630365 BLAKE2B 
0538ecb90cd1215662cc8493d07e743e067218c1ae1ce09f40343a1ab13f5318d5e198d622a0d69acb2d677cdd3415880689c42afa41877730ff6a546c2b318f
 SHA512 
4010a7b25cf32df2de02b8efbbe91c49789e3963618df7461e4bf64a8c588440c55f17c750a7d2df34367a732b0fefc487ee052129a5aa6a44a0023b714dface
+DIST mtd-utils-2.1.5.tar.bz2 640309 BLAKE2B 
94dfd37c10d2759c2fe0b2a7565e2a2aeafdfcaaba2ab9eddc5de2d77658f2702f25004609698585c170839f4e4b685e99004918f1e20cf1ced6925680215427
 SHA512 
625ee12baf38401c60f6c22d53ed649710417f8d03c6c2217cee890478954e22261428fbf11c713493fb6b7d452ed5af44b0dc9c58133f7b4f52e369353a62c3

diff --git a/sys-fs/mtd-utils/mtd-utils-2.1.5.ebuild 
b/sys-fs/mtd-utils/mtd-utils-2.1.5.ebuild
new file mode 100644
index ..2a257eabb439
--- /dev/null
+++ b/sys-fs/mtd-utils/mtd-utils-2.1.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)"
+HOMEPAGE="https://git.infradead.org/?p=mtd-utils.git;a=summary";
+SRC_URI="https://infraroot.at/pub/mtd/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+IUSE="+lzo xattr +zstd"
+
+DEPEND="
+   sys-apps/util-linux:=
+   sys-libs/zlib:=
+   lzo? ( dev-libs/lzo:= )
+   xattr? ( sys-apps/acl )
+   zstd? ( app-arch/zstd:= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( jffsX-utils/device_table.txt ubifs-utils/mkfs.ubifs/README )
+
+PATCHES=(
+   #"${FILESDIR}"/${P}-glibc-2.36.patch
+)
+
+src_prepare() {
+   default
+   sed -i '/if test.*then/s: == : = :' configure || die
+}
+
+src_configure() {
+   econf \
+   $(use_with lzo) \
+   $(use_with xattr) \
+   $(use_with zstd)
+}
+
+src_install() {
+   default
+   doman \
+   jffsX-utils/mkfs.jffs2.1 \
+   ubi-utils/ubinize.8
+}



[gentoo-commits] repo/gentoo:master commit in: net-nds/nsscache/

2022-09-10 Thread Robin H. Johnson
commit: 3c8d7e6a7eb3851c79c9699bce6a34a4bd8a79a3
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Sat Sep 10 21:12:29 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Sat Sep 10 21:12:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8d7e6a

net-nds/nsscache: bump, needs more testing before ~keywording

Signed-off-by: Robin H. Johnson  gentoo.org>

 net-nds/nsscache/Manifest|  1 +
 net-nds/nsscache/nsscache-0.39-r1.ebuild | 66 +
 net-nds/nsscache/nsscache-0.47.ebuild| 72 
 3 files changed, 139 insertions(+)

diff --git a/net-nds/nsscache/Manifest b/net-nds/nsscache/Manifest
index 6686a51026c0..e7b222c0c8a1 100644
--- a/net-nds/nsscache/Manifest
+++ b/net-nds/nsscache/Manifest
@@ -1,2 +1,3 @@
 DIST nsscache-0.30-r3-gentoo-authorized-keys-command.py 11974 BLAKE2B 
4272bab8d85ef0f39c8b26fd035009d3c77dd629fd7853e0072232393d329af1885ce44c4877d7718a37154661d9c85bb1f5276463875f9dfbbd023106d9d15a
 SHA512 
b660a6ae19e6e42efbb07d0a368704706b0a0bd1bf0b2c84855f0d1c00d4cda80872432f5a25384d0c27e99bf60072beb12975bcfa0201b52fa040d0e6bc2da2
 DIST nsscache-0.39.tar.gz 127896 BLAKE2B 
8383ca53ee5cf2f84e4485722d35598b624005bb32073696a23daa1061c0b057d26333cdee9c97cedcb99daa8c61362719d80b01b216c163a327cd4edeabeefd
 SHA512 
f93cec949302f21bc5989ab3192302a32349ee4ae98e2f05f169cca8a16a821f39857cb0fff52c7b54552828684b4723d22e44f97525a01577ab89bd159e0376
+DIST nsscache-0.47.tar.gz 126225 BLAKE2B 
f238d4a6565038420dee7359edadf348a0e5fb581b8238b23d3835cc10ad9676917bfa6573c6a1d462d7afee36398954744ff2d498b4c1ed3459666b3aa6ad5c
 SHA512 
94cd9a62169146f1e10f78476a950dfc708b6c2063cffed3617bbfa9c43aaf134b1f038a94079df408e168877d32f07b64b61f048d34fed283828cc75e7dd2cf

diff --git a/net-nds/nsscache/nsscache-0.39-r1.ebuild 
b/net-nds/nsscache/nsscache-0.39-r1.ebuild
new file mode 100644
index ..7f30d2de2a53
--- /dev/null
+++ b/net-nds/nsscache/nsscache-0.39-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="commandline tool to sync directory services to local cache"
+HOMEPAGE="https://github.com/google/nsscache";
+SCRIPT_A='nsscache-0.30-r3-gentoo-authorized-keys-command.py'
+SRC_URI="
+   https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> 
${P}.tar.gz
+   https://dev.gentoo.org/~robbat2/${SCRIPT_A}";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="berkdb nsscache s3"
+RESTRICT="test" # requires network
+
+DEPEND="
+   dev-python/ldap3[${PYTHON_USEDEP}]
+   dev-python/pycurl[${PYTHON_USEDEP}]
+   berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )
+   s3? ( dev-python/boto3[${PYTHON_USEDEP}] )"
+RDEPEND="${DEPEND}
+   nsscache? ( >=sys-auth/libnss-cache-0.10 )"
+
+S="${WORKDIR}/${PN}-version-${PV}"
+
+python_prepare_all() {
+   sed -i \
+   -e "/setup_requires/s,'pytest-runner',,g" \
+   -e '/tests_require/s,\[.*\],[],g' \
+   setup.py || die
+   sed -i \
+   -e '/test=pytest/d' \
+   setup.cfg || die
+   sed -i \
+   -e '/pytest/d' \
+   requirements.txt || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile() {
+   distutils-r1_python_compile --verbose
+}
+
+python_install() {
+   distutils-r1_python_install
+
+   python_scriptinto /usr/libexec/nsscache
+   python_newexe "${DISTDIR}"/"${SCRIPT_A}" authorized-keys-command.py
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+
+   doman nsscache.1 nsscache.conf.5
+   dodoc THANKS nsscache.cron CONTRIBUTING.md README.md
+
+   keepdir /var/lib/nsscache
+}

diff --git a/net-nds/nsscache/nsscache-0.47.ebuild 
b/net-nds/nsscache/nsscache-0.47.ebuild
new file mode 100644
index ..9d67d529c0be
--- /dev/null
+++ b/net-nds/nsscache/nsscache-0.47.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="commandline tool to sync directory services to local cache"
+HOMEPAGE="https://github.com/google/nsscache";
+SCRIPT_A='nsscache-0.30-r3-gentoo-authorized-keys-command.py'
+SRC_URI="
+   https://github.com/google/nsscache/archive/version/${PV}.tar.gz -> 
${P}.tar.gz
+   https://dev.gentoo.org/~robbat2/${SCRIPT_A}";
+
+LICENSE="GPL-2"
+SLOT="0"
+#KEYWORDS="~amd64 ~x86"
+KEYWORDS="" # pending infra testing
+IUSE

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

2022-08-26 Thread Robin H. Johnson
commit: a193f003c17f56cef1ce60b68afdf7f2810f1668
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Fri Aug 26 14:34:43 2022 +
Commit:     Robin H. Johnson  gentoo  org>
CommitDate: Fri Aug 26 14:35:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a193f003

app-admin/gopass: bump, read upstream release notes for breaking changes to hotp

Signed-off-by: Robin H. Johnson  gentoo.org>

 app-admin/gopass/Manifest |  51 +++
 app-admin/gopass/gopass-1.14.4.ebuild | 263 ++
 2 files changed, 314 insertions(+)

diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index 1e28193f462c..61f0489b8190 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -43,15 +43,23 @@ DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0-beta.3.mod 40 
BLAKE2B bd9471e49922b
 DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0-beta.3.zip 84404 BLAKE2B 
8e04457aa65ff295afde6913b152a5294f5e8b2d8c081e4ca89f78cddd9f5013c8528d417877a8eba11ce0ceac885ff968a96777499abfaa3110f0405c27f3ed
 SHA512 
7fb52e1050f25d41d32022a8ab6a7f6bbbcedd47e4fc435311b3c498ea575831a754b9a3ded66dfd8d8d22f768877039285d7093f9e08328574182f3fd07b7fd
 DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0-rc.1.mod 40 BLAKE2B 
895e3b61e3e272387257e288b70e2a7d461c0de2ed2284e1909ac2bf2eedf841246e175ed848174ec510c53ae207d801cff7a39c560fd2b0c0b4dc08c67f4856
 SHA512 
2a56ce66f7ba29cd8f975014291690c2f929738a4a8b93529c2c367c0236b767f92e4f6dfda9fe1fdf981926302d7ab26665f7d64b022a22e5305aea693ad2dc
 DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0-rc.1.zip 47154 BLAKE2B 
7cbd8e554ff4d2e93b60a81fe77d051b60255f24339fda1be3e644c737b44a1db665e9076193b6c914b6561b29f7d377680a96c15de1970859714abfa08e2dee
 SHA512 
1f008db632f373f72d0be54c2b5669668e8bbfd124f2a56fc6b8368eb89bcd55d2e5669bed6362fe6bfb055016c80002394a7b3a92f33d0fb9d9c11d42be4c61
+DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0.mod 40 BLAKE2B 
895e3b61e3e272387257e288b70e2a7d461c0de2ed2284e1909ac2bf2eedf841246e175ed848174ec510c53ae207d801cff7a39c560fd2b0c0b4dc08c67f4856
 SHA512 
2a56ce66f7ba29cd8f975014291690c2f929738a4a8b93529c2c367c0236b767f92e4f6dfda9fe1fdf981926302d7ab26665f7d64b022a22e5305aea693ad2dc
+DIST filippo.io%2Fedwards25519%2F@v%2Fv1.0.0.zip 48930 BLAKE2B 
6c07f4db0c698292593c13d8bc6b58905b145c21a4fcd2ffac36be4fcd04226ba01a31a517b8628c68f16afc82ed87d11613ad978fbb5987d55620ddf40ff045
 SHA512 
620fd5866637206e1dbcd1f5bd58275a24743d0dfcfa82ea631b679ea65e02992b67dff311ba31a3138d4c013787387d1e8e9f6a584e96118944567eae9259f4
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.4.1.mod 43 BLAKE2B 
e00572fff0f57c166be62ec93eacb189f004073581077cded1cb443b17c3e03cd1b2db37f0b7a504deb287b6515dd32648678d2ae763d6b6fbd7206a9bdcf30b
 SHA512 
0e8cdda81300811f629bce3a9307de05450036f750f8c3c0cd5b70854f8f95bd962ce99bfe1325c8d1bf562a5b7b94afb9e9fd2dbe4dcc45325fac6e27471102
 DIST 
github.com%2F!burnt!sushi%2Fxgb%2F@v%2Fv0.0.0-20160522181843-27f122750802.mod 
33 BLAKE2B 
d234bf9be3dd919cb1f8d33750a24dca68c90fea110fd0ff62f0dba86d2ebbfc66d55fea62745b6383c5607bc91cfd78c9d2cf12df251397e85995c04707caa2
 SHA512 
dbfa64ac31b25fdbff12110c6f9815abfde65f281e40852e7165499a2cefb6656c74fe0b82f0f018304daa02b83b421e9c15654efabad39787c69c1b2996a79d
 DIST 
github.com%2F!proton!mail%2Fgo-crypto%2F@v%2Fv0.0.0-20220407094043-a94812496cf5.mod
 112 BLAKE2B 
ef3083d3a65268fbd1db1c571a909b250b2b13dea588358f6b958e7ad1fdf1b4e4e9fb3f2494d4f6ba75d347b113a626f07b59dd1cfc72e0a9e37916dfb39a0f
 SHA512 
67d2f173895329e13a7a17d91e95557b55b199c6d7df7466ca8395d4fcc4f6ad123cb798e01bc136b2b3bd2dd9229d3db43f01021b4d38695554fc8b01dbe545
 DIST 
github.com%2F!proton!mail%2Fgo-crypto%2F@v%2Fv0.0.0-20220407094043-a94812496cf5.zip
 356580 BLAKE2B 
40ef221cb49438cd438fb9bb74156aab4ddbc76fbd384912a99274ae45702719ec5ec3ef2b629bd43861b251a692f0f0c6547765048d1771ba83ed1650029690
 SHA512 
dfeb27b4cc303fce05650fcf25b6d91f1535e5c1417e1940a200ec509ad69ab999a0952c050cffebe301229c7ed31b1ec89d1a9989a1c3a9ca5a39f6b7d67376
+DIST 
github.com%2F!proton!mail%2Fgo-crypto%2F@v%2Fv0.0.0-20220730123233-d6ffb7692adf.mod
 165 BLAKE2B 
3b1c885a2b1b8a9a712e0fce3b782a21fc58e1ccc370c4601da5fb42d6746ca943c46c249e00a9924d465821cf1e310f71a2ca3e34645151e1aab3c2e5789a59
 SHA512 
bad488a2884acabcbadc581a09b0814dabef467b14f9b8d3c5b4ced8084e567c0198845a41d678df304f4113793637450f058cf4bc6cf6c132d23ecc473491eb
+DIST 
github.com%2F!proton!mail%2Fgo-crypto%2F@v%2Fv0.0.0-20220730123233-d6ffb7692adf.zip
 358837 BLAKE2B 
bd6f332a20f5ccdc3817da74657493ee1a9ffb6710fb93bc5794ea96d089a5b1c9fbd0d5fbb96a73dea82dc89b8470d16771b984419aca689ead500f96fc2a7

Re: [gentoo-dev] Last rites: various more revdep-less Haskell packages

2022-08-22 Thread Robin H. Johnson
On Sun, Aug 21, 2022 at 03:23:46AM +0100, Sam James wrote:
> # hololeap  (2022-08-21)
> # Monolithic mask for dev-haskell/* packages which have no reverse 
> dependencies,
> # are broken, or severely out of date. The aim is to have the Haskell overlay
> # (::haskell) be the place for development packages and only have packages
> # needed for end-user applications in ::gentoo, as the status quo has
> # proven to be unsustainable. More up-to-date versions of these packages
> # are available in ::haskell.
This subset are needed for Ganeti, which I'd really like to get back
into the main tree (I'm talking w/ upstream about newer Py3 versions).

Normal usage:
ganeti-3.0.2-r2.ebuild: >=dev-haskell/hslogger-1.1.4:0= 
=dev-haskell/regex-pcre-0.94.2:0= 
=dev-haskell/snap-core-1.0.0:0=
ganeti-3.0.2-r2.ebuild: >=dev-haskell/snap-server-1.0.0:0=

USE=test:
ganeti-3.0.2-r2.ebuild: dev-haskell/haddock:0=
ganeti-3.0.2-r2.ebuild: dev-util/shelltestrunner

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136



<    1   2   3   4   5   6   7   8   9   10   >