From nobody Wed Nov 16 12:46:41 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NC2qP6lw9z4hqD8; Wed, 16 Nov 2022 12:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NC2qP63TMz4L6Q; Wed, 16 Nov 2022 12:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QRhonoNFz2/CCYhUKcs+eOngFCR+JFVq9hAMX5njg/w=; b=E/wBrBv69H5yZUnwgQ9TjBrWnssDkx21g8yoUwtaku5auQooWVtHKWV8Tr51yO8dmoysWj B17FLU5dYhysbUzRLe3Ru+A8O/KWSqQmR9rychAGH9K58osTsURD3+qQjMrBm7iAOYCqIU Y+eL2W225kn6w1DSZUYp6ViS0AXGgxmwSedrAvLxUUocz5JcL6HZzr5TylxAW5QQgblC3G IQpE1f7rnqIQc4UWa6eV8a510KRP1ldSNoJ95x1M79tgYYz8LYovihwdlTvHM+ZFuYnp4l jwkY9hv/+9bYJyw5pkfocwsaVkpV0h1oJ8mg4t0JVcw9dOj1senfU8hVzsjwJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668602801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QRhonoNFz2/CCYhUKcs+eOngFCR+JFVq9hAMX5njg/w=; b=FlWLWjmiy9pHoRfkk3TUIVw1raMyHuZHw45NpBBRFM+3Jupywr/2QvqcXuCRGeXReFwkfV t7cokoJQI6RjcdW6yhtd++n0Kr/RJox4JLmJEiPV8M/R1fiSBgg1+2sVVBZq0rXedL08Zl 1FmOigGEJPAUVIGrxz7CD/aRacyo3PWOl1EQOg86XNTE9lmV4wlTvGGIkVbdg5Ugx2YUZr 2x2X9w/xQ3RYfmmjE4eemVkwEfwOBdqTow7l7obLZQsxCaiXVZadvg+oAyhblGoJt8PRch 4RY+hcTH5jTFfMShcfPvOre73em7lQTDfE4D+vSCKOb74Eysk25s0LTxcLT4bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668602801; a=rsa-sha256; cv=none; b=JKEfKPelyNwj9U98fFnPSBxIcCig/zJfrnm9BIxOdeMU78v70Btt4+/Fb3xPaE9UtvRWUS uIX5XX/34uW12VxXIhk4N3Tek8vlUCe+Br7o60qNSQZnpYJWgVlaWdF+HJIhXbIvmqu0mX jOXHnqGMz5T2RRkW++wrucLKXQ8bbTLBuVU8CqMIxQ6ZuhpEF0Ylf0q9cGv4Aeik96cJei OhsX2F3YbjV7hg2UJhyFn7xaLA1Q9WDrFtE2rfzZZHcDF+qtiztTPL/kFK92GPNAvkadeU 3LnJPLI99E/DMt+O+4l9MVEmstGi3G7Nzi26CakkYuS9McYads3oM9ILuoL7UA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NC2qP5840z12km; Wed, 16 Nov 2022 12:46:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AGCkfGZ051858; Wed, 16 Nov 2022 12:46:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AGCkfPG051857; Wed, 16 Nov 2022 12:46:41 GMT (envelope-from git) Date: Wed, 16 Nov 2022 12:46:41 GMT Message-Id: <202211161246.2AGCkfPG051857@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: a521f78f6a37 - main - sysutils/skopeo: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a521f78f6a37e98a28da2dfd18db2948f1b18795 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=a521f78f6a37e98a28da2dfd18db2948f1b18795 commit a521f78f6a37e98a28da2dfd18db2948f1b18795 Author: Doug Rabson AuthorDate: 2022-11-16 12:46:31 +0000 Commit: Dave Cottlehuber CommitDate: 2022-11-16 12:46:31 +0000 sysutils/skopeo: new port Command line utility to inspect images and repositories directly on Docker registries without the need to pull them. PR: 267184 Reviewed by: arrowd Reviewed by: dch Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D37324 --- sysutils/Makefile | 1 + sysutils/skopeo/Makefile | 30 ++++++++++++++++++++++++++++++ sysutils/skopeo/distinfo | 3 +++ sysutils/skopeo/pkg-descr | 2 ++ sysutils/skopeo/pkg-plist | 16 ++++++++++++++++ 5 files changed, 52 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index c521a51ad61c..050c44b93fc4 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1328,6 +1328,7 @@ SUBDIR += signon-plugin-oauth2 SUBDIR += signon-qt5 SUBDIR += signon-ui + SUBDIR += skopeo SUBDIR += slack SUBDIR += sleuthkit SUBDIR += slst diff --git a/sysutils/skopeo/Makefile b/sysutils/skopeo/Makefile new file mode 100644 index 000000000000..82d251f4bf56 --- /dev/null +++ b/sysutils/skopeo/Makefile @@ -0,0 +1,30 @@ +PORTNAME= skopeo +DISTVERSIONPREFIX= v +DISTVERSION= 1.10.0 +CATEGORIES= sysutils + +MAINTAINER= dfr@FreeBSD.org +COMMENT= Inspect container images and repositories on registries +WWW= https://github.com/containers + +LICENSE= GPLv2 + +BUILD_DEPENDS= bash:shells/bash \ + curl:ftp/curl \ + go-md2man:textproc/go-md2man +LIB_DEPENDS= libgpgme.so:security/gpgme +RUN_DEPENDS= ${LOCALBASE}/etc/containers/containers.conf.sample:sysutils/containers-common + +USES= gmake go:modules,no_targets pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= containers +GH_PROJECT= skopeo + +do-install: + ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} -C ${WRKSRC} \ + DESTDIR=${STAGEDIR} GOCACHE=${WRKDIR}.gocache \ + GO=${GO_CMD} install-binary install-docs install-completions + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/containers/registries.d + ${INSTALL_DATA} ${WRKSRC}/default.yaml ${STAGEDIR}${PREFIX}/etc/containers/registries.d/default.yaml + +.include diff --git a/sysutils/skopeo/distinfo b/sysutils/skopeo/distinfo new file mode 100644 index 000000000000..839ad97f7b12 --- /dev/null +++ b/sysutils/skopeo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666523319 +SHA256 (containers-skopeo-v1.10.0_GH0.tar.gz) = c3d15ec25c028980b795a0ccdcd48296287b8467fe24a7bc319f5fc87378fe8c +SIZE (containers-skopeo-v1.10.0_GH0.tar.gz) = 6460856 diff --git a/sysutils/skopeo/pkg-descr b/sysutils/skopeo/pkg-descr new file mode 100644 index 000000000000..a1f5eb8a2977 --- /dev/null +++ b/sysutils/skopeo/pkg-descr @@ -0,0 +1,2 @@ +Command line utility to inspect images and repositories directly on Docker +registries without the need to pull them. diff --git a/sysutils/skopeo/pkg-plist b/sysutils/skopeo/pkg-plist new file mode 100644 index 000000000000..708fe0bcc58e --- /dev/null +++ b/sysutils/skopeo/pkg-plist @@ -0,0 +1,16 @@ +bin/skopeo +etc/containers/registries.d/default.yaml +share/bash-completion/completions/skopeo +share/fish/vendor_completions.d/skopeo.fish +share/man/man1/skopeo-copy.1.gz +share/man/man1/skopeo-delete.1.gz +share/man/man1/skopeo-inspect.1.gz +share/man/man1/skopeo-list-tags.1.gz +share/man/man1/skopeo-login.1.gz +share/man/man1/skopeo-logout.1.gz +share/man/man1/skopeo-manifest-digest.1.gz +share/man/man1/skopeo-standalone-sign.1.gz +share/man/man1/skopeo-standalone-verify.1.gz +share/man/man1/skopeo-sync.1.gz +share/man/man1/skopeo.1.gz +share/zsh/site-functions/_skopeo