1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

dns/adns: include lucab's ipv6 patch, take maintainership

PR:		178364
Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com>
This commit is contained in:
Kurt Jaeger 2014-09-23 20:20:12 +00:00
parent 1a469623b4
commit 026aa27656
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369118
2 changed files with 32 additions and 8 deletions

View File

@ -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
OPTIONS_DEFINE= DOCS
DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README \
README.html TODO changelog
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>

View File

@ -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