diff options
| author | Bernhard Froehlich <decke@FreeBSD.org> | 2025-09-27 12:23:43 +0000 |
|---|---|---|
| committer | Bernhard Froehlich <decke@FreeBSD.org> | 2025-09-27 12:23:43 +0000 |
| commit | c2991243dbb2dfc9f932d1560af12061ed998cf2 (patch) | |
| tree | a1dc5724ac6d2584b68e23849a6c40b0fe0c9767 | |
| parent | e69839abdb6016454e94f04a1927f01cf1e3e7a5 (diff) | |
sysutils/zli: Add new port
zli is a binary that implements a set of command line commands for interacting
with the zot registry server.
Reported by: dch@
Event: EuroBSDCon 2025
| -rw-r--r-- | sysutils/Makefile | 1 | ||||
| -rw-r--r-- | sysutils/zli/Makefile | 28 | ||||
| -rw-r--r-- | sysutils/zli/distinfo | 5 | ||||
| -rw-r--r-- | sysutils/zli/pkg-descr | 2 |
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1ee72e8eb6c0..8652b26f837a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1632,6 +1632,7 @@ SUBDIR += zetaback SUBDIR += zetaback-devel SUBDIR += zidrav + SUBDIR += zli SUBDIR += znapzend SUBDIR += zogftw SUBDIR += zot diff --git a/sysutils/zli/Makefile b/sysutils/zli/Makefile new file mode 100644 index 000000000000..b8917c94b856 --- /dev/null +++ b/sysutils/zli/Makefile @@ -0,0 +1,28 @@ +PORTNAME= zli +DISTVERSIONPREFIX=v +DISTVERSION= 2.1.8 +CATEGORIES= sysutils + +MAINTAINER= decke@FreeBSD.org +COMMENT= Command line tool for zot servers +WWW= https://zotregistry.dev/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= project-zot +GH_PROJECT= zot + +GO_MODULE= zotproject.dev/zot +GO_MOD_DIST= https://raw.githubusercontent.com/project-zot/zot/refs/tags/v${DISTVERSION}/ +GO_TARGET= ./cmd/zli +GO_BUILDFLAGS= -tags search -ldflags " \ + -X zotregistry.dev/zot/pkg/api/config.ReleaseTag=${DISTVERSION} \ + -X zotregistry.dev/zot/pkg/api/config.BinaryType=minimal \ + -X zotregistry.dev/zot/pkg/api/config.GoVersion=${GO_VERSION}" + +PLIST_FILES= bin/zli + +.include <bsd.port.mk> diff --git a/sysutils/zli/distinfo b/sysutils/zli/distinfo new file mode 100644 index 000000000000..156043acad85 --- /dev/null +++ b/sysutils/zli/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1758973640 +SHA256 (go/sysutils_zli/project-zot-zot-v2.1.8_GH0/go.mod) = 62e652f73d60e5edb6a8a0aacc3d3d5f907f16a5066799869348aef02075ac4c +SIZE (go/sysutils_zli/project-zot-zot-v2.1.8_GH0/go.mod) = 29780 +SHA256 (go/sysutils_zli/project-zot-zot-v2.1.8_GH0/project-zot-zot-v2.1.8_GH0.tar.gz) = cd04f1eebd1157d6e6041d5c4369c27d3b03c3eb6d3d8e8e34014bd24712e9b4 +SIZE (go/sysutils_zli/project-zot-zot-v2.1.8_GH0/project-zot-zot-v2.1.8_GH0.tar.gz) = 1215366 diff --git a/sysutils/zli/pkg-descr b/sysutils/zli/pkg-descr new file mode 100644 index 000000000000..167bf68ffb9d --- /dev/null +++ b/sysutils/zli/pkg-descr @@ -0,0 +1,2 @@ +zli is a binary that implements a set of command line commands for interacting +with the zot registry server. |
