commit:     0f0dfc155b0fac0fd2bb3ad607f609063714eb67
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 22:54:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 22:54:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0dfc15

app-portage/getuto: add 1.14

Sam James (1):
      test-getuto: binpkgs are compressed with xz now

Zen (6):
      getuto: fix 404 in tests by using 23.0 instead of 17.1
      getuto: extend the quiet arg to remove permission warnings
      getuto: remove no-permission-warning from the gpg.conf
      getuto: add missing QUIET_ARGS
      getuto: Update LASTRUNFILE on init
      getuto: Fix gpg cleanup by running separate kill commands

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-portage/getuto/Manifest           |  1 +
 app-portage/getuto/getuto-1.14.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-portage/getuto/Manifest b/app-portage/getuto/Manifest
index c4e5918dff2a..442b16691ee5 100644
--- a/app-portage/getuto/Manifest
+++ b/app-portage/getuto/Manifest
@@ -1,3 +1,4 @@
 DIST getuto-1.13.tar.gz 10758 BLAKE2B 
cf7412e6253f883c29a3d89048073d14f982e4bc708ebe11541e4273c69cdc3f1131b6b62484b3b4f1131a11dc541776368f4bfe4500f0ec01e24de9e925a69d
 SHA512 
111c60595dce79b3286afaa8d8485cb852d4d8a4ea5f0659ccde538a9ee8ccdb4d7d7251cce713b30e4f8a769891539bf6fdb52978b5f25df6536afb16dc8f2a
+DIST getuto-1.14.tar.gz 10801 BLAKE2B 
cbcbbdfa42a4dc1d1d0e6a0fe573c14a5937e5573c9332e7adae35931885964ef7e0e3c6c7229a1f27995b22feeb5d49bd80b56db73a242e210f726e35235224
 SHA512 
a796db7212df9cc723c05e93f9938697f2b593ce694668028c617a48bdf69a358db6687e34ff6a69fb379156b03cc4f06e1f5f7a743102f6ebe219fa468b5c09
 DIST getuto-23.0-libc-1-r1-1.gpkg.tar 20480 BLAKE2B 
a6f9284131690c39ff63a6046b19478a9f460d4115b1bd306d2996b631026fe9c4c4b2e3be23f30d2668794302d2a1686680738dd052a53e2d4c3ecb2a513070
 SHA512 
a692817ea63fb69c7cbb5e32fcba21e78bd87dd4e670d4c1ac9105e390ef63ea0f3660464e573adb28320b0a9cb0a78c52fe895ecdfd62a24986b1d79d2c692e
 DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B 
b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7
 SHA512 
ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6

diff --git a/app-portage/getuto/getuto-1.14.ebuild 
b/app-portage/getuto/getuto-1.14.ebuild
new file mode 100644
index 000000000000..288ed5ed1b96
--- /dev/null
+++ b/app-portage/getuto/getuto-1.14.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Standalone Gentoo gpg trust anchor generation tool for binpkgs"
+HOMEPAGE="https://github.com/projg2/getuto";
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/projg2/getuto";
+       inherit git-r3
+else
+       SRC_URI="
+               https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz
+       "
+       S=${WORKDIR}/${PN}-${P}
+
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+SRC_URI+=" test? ( 
https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar
 -> ${PN}-23.0-libc-1-r1-1.gpkg.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       app-crypt/gnupg
+       dev-libs/openssl
+       sec-keys/openpgp-keys-gentoo-release
+       sys-apps/gentoo-functions
+"
+
+src_unpack() {
+       if [[ ${PV} == 9999 ]] ; then
+               git-r3_src_unpack
+       else
+               # Don't mangle test data
+               unpack ${P}.tar.gz
+       fi
+
+       if use test ; then
+               cp "${DISTDIR}"/${PN}-23.0-libc-1-r1-1.gpkg.tar 
"${S}/libc-1-r1-1.gpkg.tar" || die
+       fi
+}
+
+src_install() {
+       dobin getuto
+}

Reply via email to