mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
app-portage/getuto: Add from Gentoo
It's from Gentoo commit d3369589ad4adbbf8e0b7628c0ee47e626d75fe6.
This commit is contained in:
parent
afe1896d5b
commit
fac0e2df1d
3
sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest
vendored
Normal file
3
sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
DIST getuto-1.9.1.tar.gz 10220 BLAKE2B 4c756f36e9d1272ab194c65e75b6c4d47c248190029ce2b5fe6edb1253998aaa311dd1ae59f893200d1588a52d1bcb53376a32f279c841ae6b5cf5e5b0eeb163 SHA512 3f8e5359940fa5582bea8dc11f2a0846c3f6bdc555974f2f049d5c6ff282029b6393a8c6ae221d327376b4df05de492f44720de90f76f5e3deb436171507f0cb
|
||||
DIST getuto-1.9.tar.gz 10222 BLAKE2B a2a2ad64097166c86a299e32242edef88c8213b479d8a83399eece29c5f204f3362c48d29638347dde624913ceea4a3ec2bb7bf0936e3065c715ad13dd85caf9 SHA512 fc0e74f90d52dbf637e55d79f70397a71d20ece9f23d11989c152d140d2d08135eee9268bc726bf6504a6a45cf8572803471deb5d192378e6cb76d8f8c00499b
|
||||
DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7 SHA512 ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6
|
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.9.1.ebuild
vendored
Normal file
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.9.1.ebuild
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 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 ~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
|
||||
}
|
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.9.ebuild
vendored
Normal file
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.9.ebuild
vendored
Normal file
@ -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
|
||||
}
|
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-9999.ebuild
vendored
Normal file
50
sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-9999.ebuild
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 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 ~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
|
||||
}
|
13
sdk_container/src/third_party/portage-stable/app-portage/getuto/metadata.xml
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/app-portage/getuto/metadata.xml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dilfridge@gentoo.org</email>
|
||||
<name>Andreas K. Hüttel</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/projg2/getuto/issues/</bugs-to>
|
||||
<remote-id type="github">projg2/getuto</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user