summaryrefslogtreecommitdiff
path: root/www/webhook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/webhook/Makefile')
-rw-r--r--www/webhook/Makefile29
1 files changed, 20 insertions, 9 deletions
diff --git a/www/webhook/Makefile b/www/webhook/Makefile
index 3dfa04bb550f..26e8133836ec 100644
--- a/www/webhook/Makefile
+++ b/www/webhook/Makefile
@@ -1,6 +1,6 @@
PORTNAME= webhook
-PORTVERSION= 2.8.0
-PORTREVISION= 27
+DISTVERSION= 2.8.2
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= stb@lassitu.de
@@ -13,28 +13,39 @@ LICENSE_COMB= multi
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= adnanh
-GH_TUPLE= golang:sys:v0.5.0:golang_sys/vendor/golang.org/x/sys_
+GH_TUPLE= Microsoft:go-winio:v0.6.2:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \
+ clbanning:mxj:v2.7.0:clbanning_mxj_v2/vendor/github.com/clbanning/mxj/v2 \
+ coreos:go-systemd:v22.5.0:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \
+ dustin:go-humanize:v1.0.1:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
+ fsnotify:fsnotify:v1.7.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+ ghodss:yaml:v1.0.0:ghodss_yaml/vendor/github.com/ghodss/yaml \
+ go-check:check:41f04d3bba15:go_check_check/vendor/gopkg.in/check.v1 \
+ go-chi:chi:v5.0.12:go_chi_chi_v5/vendor/github.com/go-chi/chi/v5 \
+ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
+ gofrs:uuid:v5.0.0:gofrs_uuid_v5/vendor/github.com/gofrs/uuid/v5 \
+ golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \
+ google:go-cmp:v0.6.0:google_go_cmp/vendor/github.com/google/go-cmp \
+ gorilla:mux:v1.8.1:gorilla_mux/vendor/github.com/gorilla/mux \
+ kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty
USE_RC_SUBR= webhook
GO_TARGET= :${PREFIX}/sbin/webhook
-PLIST_FILES= "@sample etc/webhook.yaml.sample" sbin/webhook
+PLIST_FILES= "@sample etc/webhook.yaml.sample" \
+ sbin/webhook
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
-DAEMONARGS= -S -l \$${webhook_facility} -s \$${webhook_priority} -t \$${name}
+DAEMONARGS= -S -l \$${webhook_facility} -s \$${webhook_priority} -t \
+ \$${name}
.else
DAEMONARGS= -f
.endif
SUB_LIST+= DAEMONARGS="${DAEMONARGS}"
-pre-patch:
- ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
- ${MV} ${WRKSRC}/vendor/golang.org/x/sys_ ${WRKSRC}/vendor/golang.org/x/sys
-
post-install:
${INSTALL_DATA} ${FILESDIR}/webhook.yaml ${STAGEDIR}${PREFIX}/etc/webhook.yaml.sample