Date: Wed, 5 Feb 2014 01:49:52 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342621 - in head/dns/dnsmasq-devel: . files Message-ID: <201402050149.s151nqW4068642@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Wed Feb 5 01:49:52 2014 New Revision: 342621 URL: http://svnweb.freebsd.org/changeset/ports/342621 QAT: https://qat.redports.org/buildarchive/r342621/ Log: Upgrade to test6, which adds DNSSEC validation and caching support. Note that this requires configuration (see dnsmasq.conf.example for hints) and has a few rough edges with regard to caching. Added: head/dns/dnsmasq-devel/files/patch-dnsmasq.conf.example (contents, props changed) Modified: head/dns/dnsmasq-devel/Makefile head/dns/dnsmasq-devel/distinfo head/dns/dnsmasq-devel/pkg-plist Modified: head/dns/dnsmasq-devel/Makefile ============================================================================== --- head/dns/dnsmasq-devel/Makefile Wed Feb 5 01:49:15 2014 (r342620) +++ head/dns/dnsmasq-devel/Makefile Wed Feb 5 01:49:52 2014 (r342621) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= dnsmasq -PORTVERSION= 2.69.0test3 -DISTVERSION= 2.69test3 +PORTVERSION= 2.69.0test6 +DISTVERSION= 2.69test6 CATEGORIES= dns ipv6 MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/test-releases/ PKGNAMESUFFIX= -devel @@ -24,12 +24,13 @@ USE_XZ= yes CFLAGS+= -Wall -Wno-unused-value MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" COPTS="${CFLAGS}" LIBS="${LDFLAGS}" RPM_OPT_FLAGS="${CPPFLAGS}" -OPTIONS_DEFINE= IPV6 DBUS NLS IDN LUA -OPTIONS_DEFAULT= IPV6 NLS +OPTIONS_DEFINE= IPV6 DBUS NLS IDN LUA DNSSEC +OPTIONS_DEFAULT= IPV6 NLS DNSSEC OPTIONS_EXCLUDE+= EXAMPLES NLS_DESC= National Language Support (NLS, enables IDN) IDN_DESC= International Domain Names (IDN) WITHOUT NLS LUA_DESC= Support lease-change scripts in LUA +DNSSEC_DESC= Enable DNSSEC caching and validation USES= shebangfix SHEBANG_FILES= contrib/dynamic-dnsmasq/dynamic-dnsmasq.pl \ contrib/dnslist/dnslist.pl @@ -65,6 +66,12 @@ CFLAGS+= -DHAVE_LUASCRIPT USE_LUA= 5.1 .endif +.if ${PORT_OPTIONS:MDNSSEC} +CFLAGS+= -DHAVE_DNSSEC +LIB_DEPENDS+= libnettle.so:${PORTSDIR}/security/nettle +LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp +.endif + USE_RC_SUBR= dnsmasq .include <bsd.port.pre.mk> @@ -89,7 +96,10 @@ pre-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${STAGEDIR}${PREFIX}/etc + ${REINPLACE_CMD} -i '' 's}%%PREFIX%%}${PREFIX}}' ${STAGEDIR}${PREFIX}/etc/dnsmasq.conf.example ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/man/man8 + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/trust-anchors.conf ${STAGEDIR}${DATADIR}/ .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} Modified: head/dns/dnsmasq-devel/distinfo ============================================================================== --- head/dns/dnsmasq-devel/distinfo Wed Feb 5 01:49:15 2014 (r342620) +++ head/dns/dnsmasq-devel/distinfo Wed Feb 5 01:49:52 2014 (r342621) @@ -1,2 +1,2 @@ -SHA256 (dnsmasq-2.69test3.tar.xz) = 9d5cd1242c26b42664ec392b0a84506b2f3a3e0b8604861d5727f116080b41d8 -SIZE (dnsmasq-2.69test3.tar.xz) = 436760 +SHA256 (dnsmasq-2.69test6.tar.xz) = 36d753a913bdfad658dfd558ffd2dca59defb0d1ea3df3a423d7af436bfdff2e +SIZE (dnsmasq-2.69test6.tar.xz) = 453140 Added: head/dns/dnsmasq-devel/files/patch-dnsmasq.conf.example ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsmasq-devel/files/patch-dnsmasq.conf.example Wed Feb 5 01:49:52 2014 (r342621) @@ -0,0 +1,13 @@ +--- ./dnsmasq.conf.example.orig 2014-02-04 21:20:35.000000000 +0100 ++++ ./dnsmasq.conf.example 2014-02-05 02:04:00.000000000 +0100 +@@ -20,6 +20,10 @@ + # Never forward addresses in the non-routed address spaces. + #bogus-priv + ++# Uncomment these to enable DNSSEC validation and caching: ++# (Requires dnsmasq to be built with DNSSEC option.) ++#conf-file=%%PREFIX%%/share/dnsmasq/trust-anchors.conf ++#dnssec + + # Uncomment this to filter useless windows-originated DNS requests + # which can trigger dial-on-demand links needlessly. Modified: head/dns/dnsmasq-devel/pkg-plist ============================================================================== --- head/dns/dnsmasq-devel/pkg-plist Wed Feb 5 01:49:15 2014 (r342620) +++ head/dns/dnsmasq-devel/pkg-plist Wed Feb 5 01:49:52 2014 (r342621) @@ -3,10 +3,12 @@ sbin/dnsmasq etc/dnsmasq.conf.example @exec if [ ! -f %D/etc/dnsmasq.conf ]; then cp -p %D/%F %B/dnsmasq.conf; fi man/man8/dnsmasq.8.gz +share/dnsmasq/trust-anchors.conf %%EXAMPLESDIR%%/dnslist/dhcp.css %%EXAMPLESDIR%%/dnslist/dnslist.pl %%EXAMPLESDIR%%/dnslist/dnslist.tt2 %%EXAMPLESDIR%%/dynamic-dnsmasq/dynamic-dnsmasq.pl +@dirrm share/dnsmasq @dirrm %%EXAMPLESDIR%%/dnslist @dirrm %%EXAMPLESDIR%%/dynamic-dnsmasq @dirrm %%EXAMPLESDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402050149.s151nqW4068642>