svn commit: r356032 - head/dns/knot
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sun Jun 1 03:32:03 UTC 2014
Author: danilo
Date: Sun Jun 1 03:32:02 2014
New Revision: 356032
URL: http://svnweb.freebsd.org/changeset/ports/356032
QAT: https://qat.redports.org/buildarchive/r356032/
Log:
- Update from 1.4.3 to 1.4.6 [1]
- Add new options [2]
while here
- Add libtool to USES
- Silence mkdir and post-patch commands
Patch improved by Daniel Salzman <daniel.salzman at nic.cz> [2]
PR: ports/190370
Submitted by: Leo Vandewoestijne <freebsd at dns-lab.com> (maintainer) [1]
Modified:
head/dns/knot/Makefile
head/dns/knot/distinfo
Modified: head/dns/knot/Makefile
==============================================================================
--- head/dns/knot/Makefile Sun Jun 1 02:22:37 2014 (r356031)
+++ head/dns/knot/Makefile Sun Jun 1 03:32:02 2014 (r356032)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= knot
-DISTVERSION= 1.4.3
+DISTVERSION= 1.4.6
CATEGORIES= dns ipv6
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \
http://dns-lab.com/downloads/knot-dns/
@@ -16,7 +16,7 @@ BUILD_DEPENDS= bison:${PORTSDIR}/devel/b
flex>=2.5.35_1:${PORTSDIR}/textproc/flex
LIB_DEPENDS= liburcu.so:${PORTSDIR}/sysutils/liburcu
-USE_AUTOTOOLS= libtool
+USES= libtool
USE_LDCONFIG= yes
@@ -28,6 +28,15 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-storage=/var/db/knot
CONFIGURE_ARGS+=--with-rundir=/var/run/knot
+OPTIONS_DEFINE= FASTPARSER IDNA
+
+FASTPARSER_CONFIGURE_ENABLE= fastparser
+FASTPARSER_DESC= Fast zone parser (demanding compilation)
+
+IDNA_CONFIGURE_WITH= libidn
+IDNA_DESC= IDN support in knot utilities
+IDNA_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
+
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
@@ -41,15 +50,16 @@ GROUPS= knot
SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}"
post-patch:
- ${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \
+ @${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \
${WRKSRC}/src/Makefile.in
- ${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
+ @${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \
${WRKSRC}/src/Makefile.in
+ @${RM} -rf ${WRKSRC}/src/zscanner/scanner.c
post-install:
- ${MKDIR} ${STAGEDIR}${ETCDIR}
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/samples/knot.sample.conf ${STAGEDIR}${ETCDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
Modified: head/dns/knot/distinfo
==============================================================================
--- head/dns/knot/distinfo Sun Jun 1 02:22:37 2014 (r356031)
+++ head/dns/knot/distinfo Sun Jun 1 03:32:02 2014 (r356032)
@@ -1,2 +1,2 @@
-SHA256 (knot-1.4.3.tar.gz) = 9157008165194f1b657ade72021064e2191836d9c572c4672340f73e718e2fe9
-SIZE (knot-1.4.3.tar.gz) = 1367036
+SHA256 (knot-1.4.6.tar.gz) = 1bd338da2ba91d73d32550fe41e49b39f622cf152cbc045a2e94f3c3dc872027
+SIZE (knot-1.4.6.tar.gz) = 1321596
More information about the svn-ports-head
mailing list