diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile index 84d4cd0a1e3c..34b044b33c73 100644 --- a/dns/blocky/Makefile +++ b/dns/blocky/Makefile @@ -1,35 +1,35 @@ PORTNAME= blocky DISTVERSIONPREFIX= v DISTVERSION= 0.26 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast and lightweight DNS proxy as ad-blocker WWW= https://0xerr0r.github.io/blocky/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.24,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= 0xERR0R USE_RC_SUBR= blocky GO_MOD_DIST= github GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_TARGET= main.go:${PREFIX}/sbin/${PORTNAME} GO_BUILDFLAGS= -ldflags "-w -s \ -X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} \ -X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'` \ -X github.com/0xERR0R/blocky/util.Architecture=${ARCH}" SUB_FILES= pkg-message PLIST_FILES= "@sample etc/blocky-config.yml.sample" \ sbin/blocky post-install: ${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample .include diff --git a/net-mgmt/blackbox_exporter/Makefile b/net-mgmt/blackbox_exporter/Makefile index 81a52d5492ff..f0d9504dc264 100644 --- a/net-mgmt/blackbox_exporter/Makefile +++ b/net-mgmt/blackbox_exporter/Makefile @@ -1,39 +1,39 @@ PORTNAME= blackbox_exporter DISTVERSIONPREFIX= v DISTVERSION= 0.26.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= eduardo@FreeBSD.org COMMENT= Prometheus exporter for endpoints over HTTP(S), DNS, TCP and ICMP WWW= https://github.com/prometheus/blackbox_exporter LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe go:1.22,modules +USES= cpe go:modules CPE_VENDOR= prometheus USE_RC_SUBR= blackbox_exporter GO_MODULE= github.com/prometheus/blackbox_exporter SUB_FILES= pkg-message SUB_LIST= DISTVERSIONFULL=${DISTVERSIONFULL} USERS= prometheus GROUPS= prometheus PORTEXAMPLES= ${WRKSRC}/*.yml OPTIONS_DEFINE= EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DATADIR}/syslog.d \ ${STAGEDIR}${DATADIR}/newsyslog.conf.d ${INSTALL_DATA} ${PATCHDIR}/blackbox_exporter.syslog \ ${STAGEDIR}${DATADIR}/syslog.d/blackbox_exporter.conf ${INSTALL_DATA} ${PATCHDIR}/blackbox_exporter.newsyslog \ ${STAGEDIR}${DATADIR}/newsyslog.conf.d/blackbox_exporter.conf .include diff --git a/security/gopass/Makefile b/security/gopass/Makefile index 6a8b797b8c65..02432c04c287 100644 --- a/security/gopass/Makefile +++ b/security/gopass/Makefile @@ -1,59 +1,59 @@ PORTNAME= gopass DISTVERSIONPREFIX= v DISTVERSION= 1.15.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= eduardo@FreeBSD.org COMMENT= Rewrite of the pass password manager in Go WWW= https://www.gopass.pw/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 ONLY_FOR_ARCHS_REASON= upstream only supports ${ONLY_FOR_ARCHS} RUN_DEPENDS= git:devel/git \ gpg2:security/gnupg -USES= go:1.24,modules +USES= go:modules # Usage examples are in a separate repo USE_GITHUB= nodefault GH_TUPLE= gopasspw:password-store-example:8db75ba3b69c:password_store_example GO_MODULE= github.com/gopasspw/gopass GO_BUILDFLAGS= -ldflags "-X main.version=${DISTVERSION}" PORTDOCS= README.md docs/* PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-build: .for SHELL in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion ${SHELL} > ${WRKSRC}/${SHELL} .endfor post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC_password_store_example} && ${COPYTREE_SHARE} "README.md secrets templates" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/security/picocrypt/Makefile b/security/picocrypt/Makefile index ed6ac0cc3c65..1aa350b95238 100644 --- a/security/picocrypt/Makefile +++ b/security/picocrypt/Makefile @@ -1,48 +1,48 @@ PORTNAME= picocrypt DISTVERSION= 1.48 # Missing modules.txt, generate one with `go mod vendor` and place it in ${FILESDIR} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= eduardo@FreeBSD.org COMMENT= Small, simple, yet very secure encryption tool WWW= https://github.com/Picocrypt/Picocrypt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE ONLY_FOR_ARCHS= aarch64 amd64 mips64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= upstream only supports 64-bit # https://github.com/HACKERALERT/Picocrypt/issues/127 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz -USES= gl gnome go:1.24,modules pkgconfig xorg +USES= gl gnome go:modules pkgconfig xorg USE_GL= gl USE_GNOME= cairo gdkpixbuf gtk30 USE_XORG= x11 xau xcb xdmcp USE_GITHUB= yes GH_ACCOUNT= Picocrypt GH_PROJECT= Picocrypt GH_TUPLE= Picocrypt:dialog:78f7b909315b:picocrypt_dialog/vendor/github.com/Picocrypt/dialog \ Picocrypt:giu:fe90a482e6f2:picocrypt_giu/vendor/github.com/Picocrypt/giu \ Picocrypt:gl:767b58dbf936:picocrypt_gl/vendor/github.com/Picocrypt/gl \ Picocrypt:glfw:7b96bfdb8dd8:picocrypt_glfw_glfw/vendor/github.com/Picocrypt/glfw \ Picocrypt:imgui-go:d86b230f5fbb:picocrypt_imgui_go/vendor/github.com/Picocrypt/imgui-go \ Picocrypt:infectious:9f88c6307b39:picocrypt_infectious/vendor/github.com/Picocrypt/infectious \ Picocrypt:mainthread:496f638392b3:picocrypt_mainthread/vendor/github.com/Picocrypt/mainthread \ Picocrypt:serpent:9ad6ab254fd7:picocrypt_serpent/vendor/github.com/Picocrypt/serpent \ Picocrypt:w32:1183079d4d57:picocrypt_w32/vendor/github.com/Picocrypt/w32 \ Picocrypt:zxcvbn-go:d59695960527:picocrypt_zxcvbn_go/vendor/github.com/Picocrypt/zxcvbn-go \ golang:crypto:v0.37.0:golang_crypto/vendor/golang.org/x/crypto \ golang:sys:v0.32.0:golang_sys/vendor/golang.org/x/sys WRKSRC_SUBDIR= src PLIST_FILES= bin/${PORTNAME} pre-build: @${LN} -sf dlgs_linux.go \ ${WRKSRC}/vendor/github.com/Picocrypt/dialog/dlgs_${OPSYS:tl}.go ${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor/ .include diff --git a/sysutils/gomi/Makefile b/sysutils/gomi/Makefile index 987210a394a8..6b631710b4c6 100644 --- a/sysutils/gomi/Makefile +++ b/sysutils/gomi/Makefile @@ -1,36 +1,36 @@ PORTNAME= gomi DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Unix rm(1) command that can restore deleted files WWW= https://github.com/babarot/gomi LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.23,modules +USES= go:modules _BUILD_VERSION= ${DISTVERSIONFULL} _BUILD_REVISION= da44e9f _BUILD_DATE= $$(date +%Y-%m-%dT%H:%M:%SZ) GO_MODULE= github.com/babarot/gomi GO_BUILDFLAGS= -ldflags "\ -s -w \ -X main.version=${_BUILD_VERSION} \ -X main.revision=${_BUILD_REVISION} \ -X main.buildDate=${_BUILD_DATE}" PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/gomplate/Makefile b/sysutils/gomplate/Makefile index 0d386f64f17b..2a0f397c68ce 100644 --- a/sysutils/gomplate/Makefile +++ b/sysutils/gomplate/Makefile @@ -1,26 +1,26 @@ PORTNAME= gomplate DISTVERSIONPREFIX= v DISTVERSION= 4.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Command-line tool for rendering templates before executing binaries WWW= https://github.com/hairyhenderson/gomplate LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.24,modules +USES= go:modules GO_MODULE= github.com/hairyhenderson/gomplate/v4 GH_TAG_COMMIT= c325f78 GO_TARGET= ./cmd/gomplate GO_BUILDFLAGS= -ldflags "\ -w -s \ -X github.com/hairyhenderson/gomplate/v4/version.GitCommit=${GH_TAG_COMMIT} \ -X github.com/hairyhenderson/gomplate/v4/version.Version=${DISTVERSION}" PLIST_FILES= bin/gomplate .include diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile index 4a3165de6b8a..330865e9df23 100644 --- a/sysutils/kopia/Makefile +++ b/sysutils/kopia/Makefile @@ -1,29 +1,29 @@ PORTNAME= kopia DISTVERSIONPREFIX= v DISTVERSION= 0.19.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast and secure open-source backup/restore tool WWW= https://kopia.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.22,modules +USES= go:modules GO_MODULE= github.com/kopia/kopia GO_BUILDFLAGS= -ldflags "\ -X github.com/kopia/kopia/repo.BuildVersion=${DISTVERSION} \ -X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`"" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz post-build: ${GO_WRKDIR_BIN}/${PORTNAME} --log-dir="" --help-man > ${WRKSRC}/${PORTNAME}.1 post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile index 20d10d0c43ac..8b2da809e1f3 100644 --- a/sysutils/restic/Makefile +++ b/sysutils/restic/Makefile @@ -1,29 +1,29 @@ PORTNAME= restic DISTVERSIONPREFIX= v DISTVERSION= 0.18.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast, secure, efficient backup program WWW= https://restic.net/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.23,modules +USES= go:modules GO_MODULE= github.com/restic/restic GO_TARGET= ./cmd/${PORTNAME} PLIST_SUB= PORTNAME=${PORTNAME} post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL} -d ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_SCRIPT} ${WRKSRC}/doc/bash-completion.sh \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh ${INSTALL} -d ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ ${INSTALL_DATA} ${WRKSRC}/doc/zsh-completion.zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/x11/wallutils/Makefile b/x11/wallutils/Makefile index 3945f9a5b916..7ce493f69e15 100644 --- a/x11/wallutils/Makefile +++ b/x11/wallutils/Makefile @@ -1,73 +1,73 @@ PORTNAME= wallutils DISTVERSION= 5.12.9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 wayland MAINTAINER= eduardo@FreeBSD.org COMMENT= Utilities for handling monitors, resolutions, wallpapers and timed wallpapers WWW= https://github.com/xyproto/wallutils LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libX11.so:x11/libX11 -USES= go:1.22,modules +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= xyproto GH_TUPLE= antchfx:xmlquery:v1.3.8:antchfx_xmlquery/vendor/github.com/antchfx/xmlquery \ antchfx:xpath:v1.2.0:antchfx_xpath/vendor/github.com/antchfx/xpath \ anthonynsimon:bild:v0.14.0:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \ cpuguy83:go-md2man:v2.0.4:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ fatih:color:v1.17.0:fatih_color/vendor/github.com/fatih/color \ golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \ golang:image:v0.18.0:golang_image/vendor/golang.org/x/image \ golang:net:58aab5ef257a:golang_net/vendor/golang.org/x/net \ golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.16.0:golang_text/vendor/golang.org/x/text \ mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ russross:blackfriday:v2.1.0:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ stretchr:powerwalk:bceb9d014549:stretchr_powerwalk/vendor/github.com/stretchr/powerwalk \ urfave:cli:v1.22.15:urfave_cli/vendor/github.com/urfave/cli \ xyproto:env:v2.2.5:xyproto_env_v2/vendor/github.com/xyproto/env \ xyproto:heic:v1.0.0:xyproto_heic/vendor/github.com/xyproto/heic GL_TUPLE= https://gitlab.howett.net:go:plist:1454fab16a0642638feb0ae98c41f79eccb2a20a:go_plist/vendor/howett.net/plist GO_TARGET= ./cmd/getdpi \ ./cmd/lscollection \ ./cmd/lsmon \ ./cmd/lstimed \ ./cmd/lswallpaper \ ./cmd/setcollection \ ./cmd/setrandom \ ./cmd/settimed \ ./cmd/setwallpaper \ ./cmd/timedinfo \ ./cmd/vram \ ./cmd/wayinfo \ ./cmd/xinfo \ ./cmd/xml2stw \ ${NULL} PLIST_FILES= ${GO_TARGET:S,./cmd,bin,} \ share/man/man1/getdpi.1.gz \ share/man/man1/vram.1.gz OPTIONS_DEFINE= HEIF OPTIONS_DEFAULT= HEIF HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_USES= pkgconfig HEIF_VARS= GO_TARGET+=./cmd/heic2stw post-patch: # Respect PREFIX for wallpapers @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/cmd/heic2stw/main.go \ ${WRKSRC}/collections.go post-install: ${INSTALL_MAN} ${WRKSRC}/cmd/getdpi/getdpi.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/cmd/vram/vram.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include