diff options
author | pi <pi@FreeBSD.org> | 2014-09-24 04:20:12 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-09-24 04:20:12 +0800 |
commit | 5c4b22a3a01d4000449f11410dfaf20eea20ea5e (patch) | |
tree | 231cf8568a7ec614ffe0afdcccc3724770b0a40e /dns | |
parent | 79e8678c09cde8e30a10a2cd3f4cdc5a97774827 (diff) | |
download | freebsd-ports-gnome-5c4b22a3a01d4000449f11410dfaf20eea20ea5e.tar.gz freebsd-ports-gnome-5c4b22a3a01d4000449f11410dfaf20eea20ea5e.tar.zst freebsd-ports-gnome-5c4b22a3a01d4000449f11410dfaf20eea20ea5e.zip |
dns/adns: include lucab's ipv6 patch, take maintainership
PR: 178364
Submitted by: Tatsuki Makino <tatsuki_makino@hotmail.com>
Diffstat (limited to 'dns')
-rw-r--r-- | dns/adns/Makefile | 38 | ||||
-rw-r--r-- | dns/adns/distinfo | 2 |
2 files changed, 32 insertions, 8 deletions
diff --git a/dns/adns/Makefile b/dns/adns/Makefile index ac3efa20f259..d157370a5659 100644 --- a/dns/adns/Makefile +++ b/dns/adns/Makefile @@ -3,27 +3,49 @@ PORTNAME= adns PORTVERSION= 1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://www.chiark.greenend.org.uk/~ian/adns/ftp/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= pi@FreeBSD.org COMMENT= Easy to use asynchronous-capable DNS client library and utilities +USES= gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= gmake LIBVERSION= 1 PLIST_SUB+= LIBVERSION="${LIBVERSION}" -DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README README.html TODO changelog +BUILD_DEPENDS+= gm4:${PORTSDIR}/devel/m4 +CFLAGS+= -Ds6_addr16=__u6_addr.__u6_addr16 +CFLAGS+= -Ds6_addr32=__u6_addr.__u6_addr32 +MAKE_FLAGS+= M4=gm4 +PATCH_SITES+= https://people.debian.org/~lucab/deb/adns/:ipv6patch +PATCHFILES+= adns-ipv6.patch:ipv6patch +PATCH_DIST_STRIP+= -p1 + +DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README \ + README.html TODO changelog -OPTIONS_DEFINE= DOCS +TOSTRIP= bin/adnsheloex \ + bin/adnsresfilter \ + bin/adnslogres \ + bin/adnshost \ + lib/libadns.so.1 + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT= DOCS + +.include <bsd.port.options.mk> post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/adnslogres ${STAGEDIR}${PREFIX}/bin/adnshost - @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) + +post-stage: +.for f in ${TOSTRIP} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} +.endfor .include <bsd.port.mk> diff --git a/dns/adns/distinfo b/dns/adns/distinfo index 49ee3f746462..820b5c5a7d73 100644 --- a/dns/adns/distinfo +++ b/dns/adns/distinfo @@ -1,2 +1,4 @@ SHA256 (adns-1.4.tar.gz) = 717b92a39117a5d8b04ea7c652c630659c6eecb35211129a8cee95e6524ca9fe SIZE (adns-1.4.tar.gz) = 252668 +SHA256 (adns-ipv6.patch) = 84adcc350ee9a3144e0b48fb12ad8f7e8f028a5316b7948e698acaf57afae2e4 +SIZE (adns-ipv6.patch) = 88709 |