pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/skopeo



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Sep  2 17:44:03 UTC 2024

Added Files:
        pkgsrc/sysutils/skopeo: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/skopeo/patches:
            patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go

Log Message:
Add skopeo 1.14.3

skopeo is a command line utility that performs various operations
on container images and image repositories.  It does not require
the user to be running as root to do most operations or a running
daemon.  It can work with OCI images as well as the original Docker
v2 images.

(Tested only on macOS)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/skopeo/DESCR \
    pkgsrc/sysutils/skopeo/Makefile pkgsrc/sysutils/skopeo/PLIST \
    pkgsrc/sysutils/skopeo/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/skopeo/patches/patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/skopeo/DESCR
diff -u /dev/null pkgsrc/sysutils/skopeo/DESCR:1.1
--- /dev/null   Mon Sep  2 17:44:03 2024
+++ pkgsrc/sysutils/skopeo/DESCR        Mon Sep  2 17:44:03 2024
@@ -0,0 +1,5 @@
+skopeo is a command line utility that performs various operations
+on container images and image repositories.  It does not require
+the user to be running as root to do most operations or a running
+daemon.  It can work with OCI images as well as the original Docker
+v2 images.
Index: pkgsrc/sysutils/skopeo/Makefile
diff -u /dev/null pkgsrc/sysutils/skopeo/Makefile:1.1
--- /dev/null   Mon Sep  2 17:44:03 2024
+++ pkgsrc/sysutils/skopeo/Makefile     Mon Sep  2 17:44:03 2024
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2024/09/02 17:44:03 maya Exp $
+
+DISTNAME=      skopeo-1.14.3
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=containers/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/containers/skopeo/
+COMMENT=       Tool for manipulating OCI containers
+LICENSE=       apache-2.0
+
+USE_TOOLS+=    gmake gsed pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../lang/go/version.mk"
+
+EGDIR=                 ${PREFIX}/share/examples
+PKG_SYSCONFSUBDIR=     containers
+
+CONF_FILES+=   ${EGDIR}/containers/policy.json ${PKG_SYSCONFDIR}/policy.json
+CONF_FILES+=   ${EGDIR}/containers/registries.d/default.yaml ${PKG_SYSCONFDIR}/registries.d/default.yaml
+
+MAKE_ENV+=     CONTAINERSCONFDIR=${EGDIR}/containers \
+               MANDIR=${PREFIX}/${PKGMANDIR}
+
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         post-configure
+SUBST_MESSAGE.fix-paths=       Substituting paths.
+SUBST_FILES.fix-paths=         vendor/github.com/containers/image/v5/signature/policy_paths_common.go
+SUBST_VARS.fix-paths+=         PKG_SYSCONFDIR
+
+TOOL_DEPENDS+= go-md2man-[0-9]*:../../textproc/go-md2man
+.include "../../security/gpgme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/skopeo/PLIST
diff -u /dev/null pkgsrc/sysutils/skopeo/PLIST:1.1
--- /dev/null   Mon Sep  2 17:44:03 2024
+++ pkgsrc/sysutils/skopeo/PLIST        Mon Sep  2 17:44:03 2024
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2024/09/02 17:44:03 maya Exp $
+bin/skopeo
+man/man1/skopeo-copy.1
+man/man1/skopeo-delete.1
+man/man1/skopeo-generate-sigstore-key.1
+man/man1/skopeo-inspect.1
+man/man1/skopeo-list-tags.1
+man/man1/skopeo-login.1
+man/man1/skopeo-logout.1
+man/man1/skopeo-manifest-digest.1
+man/man1/skopeo-standalone-sign.1
+man/man1/skopeo-standalone-verify.1
+man/man1/skopeo-sync.1
+man/man1/skopeo.1
+share/bash-completion/completions/skopeo
+share/examples/containers/policy.json
+share/examples/containers/registries.d/default.yaml
+share/fish/vendor_completions.d/skopeo.fish
+share/zsh/site-functions/_skopeo
Index: pkgsrc/sysutils/skopeo/distinfo
diff -u /dev/null pkgsrc/sysutils/skopeo/distinfo:1.1
--- /dev/null   Mon Sep  2 17:44:03 2024
+++ pkgsrc/sysutils/skopeo/distinfo     Mon Sep  2 17:44:03 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/09/02 17:44:03 maya Exp $
+
+BLAKE2s (skopeo-1.14.3.tar.gz) = 54cad77434cee5c7f4281d6a49cb48e7b3a35f5581c80d65184acea3586ed865
+SHA512 (skopeo-1.14.3.tar.gz) = 9a0ff46434d10d218d77653234620a007dc68892069d15ecb78c80026476409f67a2d35d9889e84a6e1a161142c0dfebc9c5d31461b01e6913dececa5605023d
+Size (skopeo-1.14.3.tar.gz) = 10564190 bytes
+SHA1 (patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go) = eaa0f35f2605db3403880b65ddffd19c0ec5c6e0

Index: pkgsrc/sysutils/skopeo/patches/patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go
diff -u /dev/null pkgsrc/sysutils/skopeo/patches/patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go:1.1
--- /dev/null   Mon Sep  2 17:44:03 2024
+++ pkgsrc/sysutils/skopeo/patches/patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go       Mon Sep  2 17:44:03 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-vendor_github.com_containers_image_v5_signature_policy__paths__common.go,v 1.1 2024/09/02 17:44:03 maya Exp $
+
+Use pkgsrc directories
+
+--- vendor/github.com/containers/image/v5/signature/policy_paths_common.go.orig        2024-05-30 16:55:38.205703869 +0000
++++ vendor/github.com/containers/image/v5/signature/policy_paths_common.go
+@@ -5,4 +5,4 @@ package signature
+ 
+ // builtinDefaultPolicyPath is the policy path used for DefaultPolicy().
+ // DO NOT change this, instead see systemDefaultPolicyPath above.
+-const builtinDefaultPolicyPath = "/etc/containers/policy.json"
++const builtinDefaultPolicyPath = "@PKG_SYSCONFDIR@/policy.json"



Home | Main Index | Thread Index | Old Index