aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2022-08-06 15:10:04 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2022-08-16 19:46:50 +0000
commita43703865a58f2c989b87ce6caf98ae84ab7a5e6 (patch)
tree79e1e5d2c4608ada76db1b011bc05a18902f64dd
parentb108b8734f8256503267fd05c48c7bc22f033beb (diff)
downloadports-a43703865a58f2c989b87ce6caf98ae84ab7a5e6.tar.gz
ports-a43703865a58f2c989b87ce6caf98ae84ab7a5e6.zip
security/headscale: Update to 0.16.2
- Unbreak build on i386 platform - Implement sample configuration (from Jeff Schmidt, in private email) PR: 265788 Approved by: Michael Muenz <m.muenz at gmail dot com> (maintainer) Co-authored-by: Jeff Schmidt <jeff.jschmidt@gmail.com>
-rw-r--r--security/headscale/Makefile7
-rw-r--r--security/headscale/distinfo10
2 files changed, 8 insertions, 9 deletions
diff --git a/security/headscale/Makefile b/security/headscale/Makefile
index 69422c915829..a7ec5ef862b1 100644
--- a/security/headscale/Makefile
+++ b/security/headscale/Makefile
@@ -1,5 +1,5 @@
PORTNAME= headscale
-PORTVERSION= 0.16.0
+PORTVERSION= 0.16.2
DISTVERSIONPREFIX= v
CATEGORIES= security
@@ -9,7 +9,6 @@ COMMENT= Mesh VPN that makes it easy to connect your devices
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= fails to compile: github.com/puzpuzpuz/xsync/issues/38
BROKEN_aarch64= fails to compile: modernc.org/libc
BROKEN_armv6= fails to compile: modernc.org/libc
BROKEN_armv7= fails to compile: modernc.org/libc
@@ -23,7 +22,7 @@ GO_MODULE= github.com/juanfont/headscale
GO_TARGET= ./cmd/headscale
-PLIST_FILES= ${ETCDIR}/config.yaml \
+PLIST_FILES= "@sample ${ETCDIR}/config.yaml.sample" \
"@dir /var/cache/${PORTNAME}" \
"@dir /var/db/${PORTNAME}" \
bin/${PORTNAME}
@@ -40,7 +39,7 @@ post-patch:
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/config-example.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/config.yaml
+ ${INSTALL_DATA} ${WRKSRC}/config-example.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/config.yaml.sample
${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
${MKDIR} ${STAGEDIR}/var/cache/${PORTNAME}
diff --git a/security/headscale/distinfo b/security/headscale/distinfo
index 2a155d23b179..3fe10f3eb4fb 100644
--- a/security/headscale/distinfo
+++ b/security/headscale/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1658744904
-SHA256 (go/security_headscale/headscale-v0.16.0/v0.16.0.mod) = d8d3f754a312f4653f43f296c721476003b1b9a699e83b46dae551ba572d969a
-SIZE (go/security_headscale/headscale-v0.16.0/v0.16.0.mod) = 6735
-SHA256 (go/security_headscale/headscale-v0.16.0/v0.16.0.zip) = b048f9bf92ec191b10eba34e7c8c440ca9609c72b917131d28ab1e3abdae9eeb
-SIZE (go/security_headscale/headscale-v0.16.0/v0.16.0.zip) = 461116
+TIMESTAMP = 1660544340
+SHA256 (go/security_headscale/headscale-v0.16.2/v0.16.2.mod) = 5a1e6a81c94588289a91ad0ed5afab20d2c472a7acaedbf5315bbfc267865bf9
+SIZE (go/security_headscale/headscale-v0.16.2/v0.16.2.mod) = 6809
+SHA256 (go/security_headscale/headscale-v0.16.2/v0.16.2.zip) = 38dba15361a7c3777d1a6f9cd483440c3883b8578827fe381bee7a516a07b650
+SIZE (go/security_headscale/headscale-v0.16.2/v0.16.2.zip) = 461736