summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-09-24 09:54:30 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-09-24 09:54:30 +0000
commit70a8113a1e48cbae12981392549f62c15ef4fe14 (patch)
tree2f43a7f47b278e67bca061297d4f7051f3b10055
parent- Update to 0.8.1 (diff)
net/scamper: Update to 20200923
Changelog: https://mailman.caida.org/pipermail/scamper-announce/2020-September/000021.html Two new options are available now: HOIHO and UPTIME. PR: 249559 Submitted by: mjl@luckie.org.nz
Notes
Notes: svn path=/head/; revision=549914
-rw-r--r--net/scamper/Makefile19
-rw-r--r--net/scamper/distinfo6
-rw-r--r--net/scamper/pkg-plist4
3 files changed, 23 insertions, 6 deletions
diff --git a/net/scamper/Makefile b/net/scamper/Makefile
index 383cd826bea1..f91043e825b3 100644
--- a/net/scamper/Makefile
+++ b/net/scamper/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
PORTNAME= scamper
-DISTVERSION= 20200717
+DISTVERSION= 20200923
CATEGORIES= net
-MASTER_SITES= http://www.caida.org/tools/measurement/scamper/code/
+MASTER_SITES= https://www.caida.org/tools/measurement/scamper/code/
DISTNAME= ${PORTNAME}-cvs-${PORTVERSION}
MAINTAINER= mjl@luckie.org.nz
@@ -13,8 +13,21 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool ssl
-GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= HOIHO UPTIME
+OPTIONS_SUB= yes
+
+HOIHO_DESC= Install sc_hoiho
+UPTIME_DESC= Install sc_uptime
+
+HOIHO_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
+HOIHO_USES= localbase:ldflags
+HOIHO_CONFIGURE_WITH= pcre2 sc_hoiho
+
+UPTIME_USES= localbase:ldflags sqlite:3
+UPTIME_CONFIGURE_WITH= sc_uptime
+
.include <bsd.port.mk>
diff --git a/net/scamper/distinfo b/net/scamper/distinfo
index b3dfec31f859..e6317f16a5e7 100644
--- a/net/scamper/distinfo
+++ b/net/scamper/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594940403
-SHA256 (scamper-cvs-20200717.tar.gz) = adaabbc4f480d1d85e3c0414b1d7f47918f686451a452bfa7e1f21c8c99210b2
-SIZE (scamper-cvs-20200717.tar.gz) = 1873657
+TIMESTAMP = 1600829286
+SHA256 (scamper-cvs-20200923.tar.gz) = dc9988d9a696152b5066f9d52dfc24cb898275b5c22a9f420cb901115901c324
+SIZE (scamper-cvs-20200923.tar.gz) = 1885843
diff --git a/net/scamper/pkg-plist b/net/scamper/pkg-plist
index a979ba8b0e7b..a909bbc726f5 100644
--- a/net/scamper/pkg-plist
+++ b/net/scamper/pkg-plist
@@ -5,6 +5,7 @@ bin/sc_attach
bin/sc_bdrmap
bin/sc_erosprober
bin/sc_filterpolicy
+%%HOIHO%%bin/sc_hoiho
bin/sc_ipiddump
bin/sc_pinger
bin/sc_prefixscan
@@ -15,6 +16,7 @@ bin/sc_tbitblind
bin/sc_tbitpmtud
bin/sc_tracediff
bin/sc_ttlexp
+%%UPTIME%%bin/sc_uptime
bin/sc_warts2csv
bin/sc_warts2json
bin/sc_warts2pcap
@@ -33,6 +35,7 @@ man/man1/sc_attach.1.gz
man/man1/sc_bdrmap.1.gz
man/man1/sc_erosprober.1.gz
man/man1/sc_filterpolicy.1.gz
+%%HOIHO%%man/man1/sc_hoiho.1.gz
man/man1/sc_ipiddump.1.gz
man/man1/sc_pinger.1.gz
man/man1/sc_prefixscan.1.gz
@@ -43,6 +46,7 @@ man/man1/sc_tbitblind.1.gz
man/man1/sc_tbitpmtud.1.gz
man/man1/sc_tracediff.1.gz
man/man1/sc_ttlexp.1.gz
+%%UPTIME%%man/man1/sc_uptime.1.gz
man/man1/sc_warts2csv.1.gz
man/man1/sc_warts2json.1.gz
man/man1/sc_warts2pcap.1.gz