summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/getuto/Manifest1
-rw-r--r--app-portage/getuto/getuto-1.7.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-portage/getuto/Manifest b/app-portage/getuto/Manifest
index 69c516e7de3b..ea70fc17661c 100644
--- a/app-portage/getuto/Manifest
+++ b/app-portage/getuto/Manifest
@@ -1,3 +1,4 @@
DIST getuto-1.5.tar.gz 9706 BLAKE2B cc31775c89d9beadd1ac32fa5596833e71d8e9aa2ea3229d7bdea4caf23de2e79c76bb74975e13953b6226f806fd547c76b38de71f1b4084dce1a92ce2c217bb SHA512 78da4ca097b87c05980895d3491722e739505e1ce0614fd39242255712e705c3e7455636b67e328980bbc15fe85e6826d6d4a1b1804670f219675a67f4999904
DIST getuto-1.6.tar.gz 9956 BLAKE2B 30ccbbe39993473a30bc6267c221ce23c78efa2b112ee1f2e65836f8b72f4e23f223a17c129293a2d3b5e1ca0c993960ef53905ca2af030e381a77c9e30fff5e SHA512 56277b0a64d31ff7e1637ec2288733c0a1c72045700b32c2d261e2d5ad854c1ae17c0f8e70f6080a008bb09fd0e8dcf8256aeb99615e446f4e6a441b9a1a088b
+DIST getuto-1.7.tar.gz 10096 BLAKE2B 952d5a8dca09dcecfc78e055c96b70c997c459767966631142f24ff8c0ce003b5520084aa0938971e61124fad2747c8457a79dadddf76858869fc1de8da9ecab SHA512 43ba49df85c32aaade2b08ca0bc2bdac9edfd4b363a85a84833a17a84fb87dcdb987625bd61862371025ad2b4c364a1fa8d93138bafd7abe4a99fdb2791b3e7b
DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7 SHA512 ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6
diff --git a/app-portage/getuto/getuto-1.7.ebuild b/app-portage/getuto/getuto-1.7.ebuild
new file mode 100644
index 000000000000..4778eb372c02
--- /dev/null
+++ b/app-portage/getuto/getuto-1.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Stand-alone gentoo install trust anchor generation tool"
+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 ~ia64 ~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/17.1/x86-64/virtual/libc/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}"/libc-1-r1-1.gpkg.tar "${S}" || die
+ fi
+}
+
+src_install() {
+ dobin getuto
+}