aboutsummaryrefslogtreecommitdiffstats
path: root/dns/wdns
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2017-01-04 12:43:36 +0800
committertruckman <truckman@FreeBSD.org>2017-01-04 12:43:36 +0800
commit3fde6746ac2429185b9d850a2f659ca7e32969e3 (patch)
tree7aebc0e6f4a6c90dbae83bea4cafa384d3eaa3c4 /dns/wdns
parenta1a4892e6db95ad86f3cc9589067b6059f673ccd (diff)
downloadfreebsd-ports-gnome-3fde6746ac2429185b9d850a2f659ca7e32969e3.tar.gz
freebsd-ports-gnome-3fde6746ac2429185b9d850a2f659ca7e32969e3.tar.zst
freebsd-ports-gnome-3fde6746ac2429185b9d850a2f659ca7e32969e3.zip
Upgrade dns/wdns to version 0.9.1:
* t/: Fix format specifiers for size_t in some tests. * Add README.md. * Don't install the compiled example programs. Optionally install source code for example programs under ${EXAMPLESDIR}. Define TEST_TARGET. Sponsored by: Farsight Security, Inc.
Diffstat (limited to 'dns/wdns')
-rw-r--r--dns/wdns/Makefile11
-rw-r--r--dns/wdns/distinfo5
-rw-r--r--dns/wdns/pkg-plist6
3 files changed, 13 insertions, 9 deletions
diff --git a/dns/wdns/Makefile b/dns/wdns/Makefile
index 8814ee2bb081..9f3b036a1c3e 100644
--- a/dns/wdns/Makefile
+++ b/dns/wdns/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wdns
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.1
CATEGORIES= dns
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
@@ -15,5 +15,14 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake libtool pathfix pkgconfig
INSTALL_TARGET= install-strip
+TEST_TARGET= check
+
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFAULT= EXAMPLES
+PORTEXAMPLES= *
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/dns/wdns/distinfo b/dns/wdns/distinfo
index c3d47a916bdb..f6b3c5d65214 100644
--- a/dns/wdns/distinfo
+++ b/dns/wdns/distinfo
@@ -1,2 +1,3 @@
-SHA256 (wdns-0.9.0.tar.gz) = 081ec58967cb9807ee24df3a52173e19c0eb1b1fcac45f8c569ce12abdf9c0cc
-SIZE (wdns-0.9.0.tar.gz) = 384516
+TIMESTAMP = 1483493909
+SHA256 (wdns-0.9.1.tar.gz) = 2b75d231c001869b4d139a8c66997a7ebc69ef1df510eeee61b3947208ae7419
+SIZE (wdns-0.9.1.tar.gz) = 364921
diff --git a/dns/wdns/pkg-plist b/dns/wdns/pkg-plist
index fd2d15063b68..f0a384b8d4b5 100644
--- a/dns/wdns/pkg-plist
+++ b/dns/wdns/pkg-plist
@@ -1,9 +1,3 @@
-bin/wdns-dump-file
-bin/wdns-dump-pcap
-bin/wdns-test-deserialize-rrset
-bin/wdns-test-downcase-rrset
-bin/wdns-test-print-message
-bin/wdns-test-serialize-rrset
include/wdns.h
lib/libwdns.a
lib/libwdns.so