Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 20:20:13 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369118 - head/dns/adns
Message-ID:  <201409232020.s8NKKDJn091568@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Sep 23 20:20:12 2014
New Revision: 369118
URL: http://svnweb.freebsd.org/changeset/ports/369118
QAT: https://qat.redports.org/buildarchive/r369118/

Log:
  dns/adns: include lucab's ipv6 patch, take maintainership
  
  PR:		178364
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com>

Modified:
  head/dns/adns/Makefile
  head/dns/adns/distinfo

Modified: head/dns/adns/Makefile
==============================================================================
--- head/dns/adns/Makefile	Tue Sep 23 20:18:01 2014	(r369117)
+++ head/dns/adns/Makefile	Tue Sep 23 20:20:12 2014	(r369118)
@@ -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
+
+TOSTRIP=	bin/adnsheloex \
+		bin/adnsresfilter \
+		bin/adnslogres \
+		bin/adnshost \
+		lib/libadns.so.1
 
-OPTIONS_DEFINE=	DOCS
+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>

Modified: head/dns/adns/distinfo
==============================================================================
--- head/dns/adns/distinfo	Tue Sep 23 20:18:01 2014	(r369117)
+++ head/dns/adns/distinfo	Tue Sep 23 20:20:12 2014	(r369118)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409232020.s8NKKDJn091568>