aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Holm <hdholm@alumni.iastate.edu>2022-02-09 21:58:10 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2022-02-09 22:06:51 +0000
commit21ea51a6ef6e711990ca91e5000d05a28bba345d (patch)
treeb72bf12d0cfcbec422e051eaab881ab0f48cd207
parent32621c81fd6fa7edff608945679b5c91faa00b26 (diff)
downloadports-21ea51a6ef6e711990ca91e5000d05a28bba345d.tar.gz
ports-21ea51a6ef6e711990ca91e5000d05a28bba345d.zip
security/tang: Update to v11
Changelog: https://github.com/latchset/tang/releases/tag/v11 Fixes CVE-2021-4076 PR: 260574
-rw-r--r--security/tang/Makefile11
-rw-r--r--security/tang/distinfo6
-rw-r--r--security/tang/pkg-plist1
3 files changed, 7 insertions, 11 deletions
diff --git a/security/tang/Makefile b/security/tang/Makefile
index d916a0645df5..d0fbf1e892d5 100644
--- a/security/tang/Makefile
+++ b/security/tang/Makefile
@@ -1,6 +1,7 @@
PORTNAME= tang
-DISTVERSION= 10
+DISTVERSION= 11
CATEGORIES= security
+MASTER_SITES= https://github.com/latchset/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= hdholm@alumni.iastate.edu
COMMENT= Tang is a small daemon for binding data to the presence of a network
@@ -16,13 +17,7 @@ BUILD_DEPENDS= a2x:textproc/asciidoc \
${LOCALBASE}/libdata/pkgconfig/jose.pc:net/jose \
socat:net/socat
-USES= compiler:c11 meson ninja pkgconfig
-USE_GITHUB= yes
-GH_ACCOUNT= latchset
-GH_TAGNAME= v10
-USE_LDCONFIG= yes
-
-INSTALL_TARGET= install-strip
+USES= compiler:c11 meson pkgconfig tar:xz
post-install:
${MKDIR} -m 0700 ${STAGEDIR}/var/db/tang
diff --git a/security/tang/distinfo b/security/tang/distinfo
index acc4a39838f3..1c170bcf182b 100644
--- a/security/tang/distinfo
+++ b/security/tang/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620421972
-SHA256 (latchset-tang-10-v10_GH0.tar.gz) = 168ceee00bcf1da3d4e595285947fdcd5822b2e4e5cdb4b0e69b450b2cac2ba6
-SIZE (latchset-tang-10-v10_GH0.tar.gz) = 36469
+TIMESTAMP = 1642307478
+SHA256 (tang-11.tar.xz) = ef5d3ae56030f20c290594b9be89ad9ec469dd385676595e1c7a2bfdc3f45d8f
+SIZE (tang-11.tar.xz) = 34048
diff --git a/security/tang/pkg-plist b/security/tang/pkg-plist
index 746dacbd853c..c134d734bdd3 100644
--- a/security/tang/pkg-plist
+++ b/security/tang/pkg-plist
@@ -1,4 +1,5 @@
libexec/tangd
+man/man1/tangd-rotate-keys.1.gz
man/man1/tang-show-keys.1.gz
man/man8/tang.8.gz
libexec/tangd-keygen