diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-01 03:32:02 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-01 03:32:02 +0000 |
commit | e0c326635890aabc27561f2b938e4453994ea51e (patch) | |
tree | 0f36eef8b41afeff161a0735b104c9b8aee39601 /dns/knot | |
parent | fe56ba39e837ebe0f13a582a90c20a348373e195 (diff) | |
download | ports-e0c326635890aabc27561f2b938e4453994ea51e.tar.gz ports-e0c326635890aabc27561f2b938e4453994ea51e.zip |
- 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@nic.cz> [2]
PR: ports/190370
Submitted by: Leo Vandewoestijne <freebsd@dns-lab.com> (maintainer) [1]
Notes
Notes:
svn path=/head/; revision=356032
Diffstat (limited to 'dns/knot')
-rw-r--r-- | dns/knot/Makefile | 22 | ||||
-rw-r--r-- | dns/knot/distinfo | 4 |
2 files changed, 18 insertions, 8 deletions
diff --git a/dns/knot/Makefile b/dns/knot/Makefile index 0fb3abb11344..10944922b24c 100644 --- a/dns/knot/Makefile +++ b/dns/knot/Makefile @@ -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/bison \ 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> diff --git a/dns/knot/distinfo b/dns/knot/distinfo index 756cc10f7f4a..8da5d3f2608a 100644 --- a/dns/knot/distinfo +++ b/dns/knot/distinfo @@ -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 |