app-containers/skopeo: update to 1.25.1

* had to modify patch a little but that doesn't require r1 (revision)

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
Part-of: https://github.com/gentoo/gentoo/pull/47052
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Rahil Bhimjiani
2026-11-13 07:50:35 -08:00
committed by Zac Medico
parent f8527683cb
commit cbdc307986
4 changed files with 64 additions and 14 deletions
+1
View File
@@ -2,3 +2,4 @@ DIST skopeo-1.22.2.tar.gz 10327855 BLAKE2B f3c6d5eafe98c54b0e8f4b69d75472cfe4367
DIST skopeo-1.23.0.tar.gz 9433389 BLAKE2B 17f51bc19c45f8250830a111cae973947f76d204d5e92517466312f716692080b900163dec3969a0492b799eb462f5e07f652cdd6e8be51186735cd5d4cee7a0 SHA512 0985ac478b27bace31f5f2710bae44d214b90f160e61400d6d345e728779389103a3b9c4bcfd048f0d7d12d4dc7dcd8e0b2e20b1a8c18bdef652faa153fe0726
DIST skopeo-1.24.0.tar.gz 9837239 BLAKE2B 6f0ad8a5664ad818e88d5816fb844ca1264025f75ec187c29a2fd804a2a29fc6d4c66f9bb5db5ba7d42d68683f73455385bf05803714ff29095eccbccc0f2da6 SHA512 5c4ba7d1f4a86546fedd8aab0b69139e9376a158b62b1876aff695c65cd2d16bf7380bdf2d3d3ae691582bb2a8acb837d0f6f517161d3c95945995a57bc112d2
DIST skopeo-1.24.1.tar.gz 9849689 BLAKE2B 9dd6e1c860512f3fb606c7b1d9d41f44bb4f2490a8f2c202d09b3c470fee49ad4fc84db41c5164068662e1307d9d65268bd3e4450ddc2c71cce159d17b7da6d8 SHA512 707091114258c3a7a01494ba6f78097a21d9c92d51bf664ace839995f5a6b245a4c98df9bf18347f670362ebc777de48f472c33ed3a013622e88d900864a536e
DIST skopeo-1.25.1.tar.gz 10253631 BLAKE2B ae3636b64ed2482b4b4f3d8c0260b28c1a794244f269df617647ff20ef033c19351808b82378f544c7067faebb2a9b5639dcc9f63d4441ec4f39ad5b999de766 SHA512 2e7b50690db3806c853b376c2258afaae91a8411189a23795441d4782773bc2f7d525a1c1b8ea4d3db33c7607da3d5fbe06a429ec64b8a3613f038f3519a42b3
@@ -12,7 +12,6 @@ containers-common package which skopeo depends on. No need to install by skopeo
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
---
.cirrus.yml | 1 +
Makefile | 12 ------------
default-policy.json | 14 --------------
default.yaml | 28 ----------------------------
@@ -20,18 +19,6 @@ Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
delete mode 100644 default-policy.json
delete mode 100644 default.yaml
diff --git a/.cirrus.yml b/.cirrus.yml
index 366deccaa0..421f074cf1 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -160,6 +160,7 @@ ostree-rs-ext_task:
- dnf builddep -y skopeo
- make
- make install
+ - echo '{"default":[{"type":"insecureAcceptAnything"}],"transports":{"docker-daemon":{"":[{"type":"insecureAcceptAnything"}]}}}' > /etc/containers/policy.json
proxy_ostree_ext_build_script:
- git clone --depth 1 $EXT_REPO $EXT_REPO_HOME
- cd $EXT_REPO_HOME
diff --git a/Makefile b/Makefile
index ecc63c651f..8b60c91d2f 100644
--- a/Makefile
@@ -0,0 +1,62 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module linux-info
DESCRIPTION="Work with remote container images registries"
HOMEPAGE="https://github.com/podman-container-tools/skopeo"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/podman-container-tools/skopeo.git"
else
SRC_URI="https://github.com/podman-container-tools/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64"
fi
# main
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
SLOT="0"
IUSE="btrfs rootless selinux"
RESTRICT="test"
DEPEND="
>=app-crypt/gpgme-1.5.5:=
dev-db/sqlite:3
btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
rootless? ( sys-apps/shadow:= )
selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= )
"
RDEPEND="${DEPEND}
>=app-containers/container-libs-0.68.0
"
BDEPEND="
dev-go/go-md2man
>=dev-lang/go-1.26.0
"
PATCHES=( "${FILESDIR}"/handle-conflicts-with-c-libs-pr2173.patch )
pkg_setup() {
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
linux-info_pkg_setup
}
run_make() {
local emakeflags=(
BTRFS_BUILD_TAG="$(usex btrfs '' 'exclude_graphdriver_btrfs')"
LIBSUBID_BUILD_TAG="$(usex rootless 'libsubid' '')"
SQLITE_BUILD_TAG="libsqlite3"
PREFIX="${EPREFIX}/usr"
)
emake "${emakeflags[@]}" "$@"
}
src_compile() {
run_make
}
src_install() {
run_make "DESTDIR=${D}" install
}
+1 -1
View File
@@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
"
BDEPEND="
dev-go/go-md2man
>=dev-lang/go-1.25.7
>=dev-lang/go-1.26.0
"
PATCHES=( "${FILESDIR}"/handle-conflicts-with-c-libs-pr2173.patch )