Index: head/dns/knot2/Makefile =================================================================== --- head/dns/knot2/Makefile (revision 393684) +++ head/dns/knot2/Makefile (revision 393685) @@ -1,73 +1,73 @@ # Created by: Leo Vandewoestijne # $FreeBSD$ PORTNAME= knot -DISTVERSION= 2.0.0-rc1 +DISTVERSION= 2.0.0 CATEGORIES= dns ipv6 MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ http://dns-lab.com/downloads/knot-dns/ PKGNAMESUFFIX= 2 MAINTAINER= freebsd@dns-lab.com COMMENT= High performance authoritative-only DNS server LICENSE= GPLv3 LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ libjansson.so:${PORTSDIR}/devel/jansson \ liblmdb.so:${PORTSDIR}/databases/lmdb \ libnettle.so:${PORTSDIR}/security/nettle \ liburcu.so:${PORTSDIR}/sysutils/liburcu CONFLICTS= knot-1.* knot1-[0-6].* USES= alias libtool pkgconfig tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rundir=/var/run/knot \ --with-storage=/var/db/knot \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig .if defined(BATCH) || defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --disable-silent-rules .endif INSTALL_TARGET= install-strip USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message USERS= knot GROUPS= knot SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS OPTIONS_DEFINE= DNSTAP FASTPARSER IDN DNSTAP_DESC= dnstap support (see dnstap.info) DNSTAP_CONFIGURE_ENABLE= dnstap DNSTAP_LIB_DEPENDS= libfstrm.so:${PORTSDIR}/devel/fstrm \ libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c FASTPARSER_DESC= Fast zone parser (demanding compilation) FASTPARSER_CONFIGURE_ENABLE= fastparser IDN_CONFIGURE_WITH= libidn IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn post-patch: @${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\@|' \ ${WRKSRC}/src/Makefile.in @${RM} -rf ${WRKSRC}/src/zscanner/scanner.c post-install: ${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \ ${STAGEDIR}${ETCDIR}/knot.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include Index: head/dns/knot2/distinfo =================================================================== --- head/dns/knot2/distinfo (revision 393684) +++ head/dns/knot2/distinfo (revision 393685) @@ -1,2 +1,2 @@ -SHA256 (knot-2.0.0-rc1.tar.xz) = 885e1de703bf4afb50c96c2fc246732714d042d7e6b4b5cfa46f42a9d923a1bc -SIZE (knot-2.0.0-rc1.tar.xz) = 946644 +SHA256 (knot-2.0.0.tar.xz) = 28b2277647f618ea7edba741fd6685a8b1fc17d3a178b48f4ca7f2a43359998f +SIZE (knot-2.0.0.tar.xz) = 947200 Index: head/dns/knot2/files/pkg-message.in =================================================================== --- head/dns/knot2/files/pkg-message.in (revision 393684) +++ head/dns/knot2/files/pkg-message.in (revision 393685) @@ -1,17 +1,27 @@ ###################################################################### To start using Knot DNS, you should complete the following tasks: cp %%ETCDIR%%/knot.conf.sample %%ETCDIR%%/knot.conf $EDITOR %%ETCDIR%%/knot.conf + sysrc knot_enable=YES sysrc knot_config=%%ETCDIR%%/knot.conf service knot start Traditional (pre-FreeBSD 9.2) method, for last three commands: echo knot_enable=\"YES\" >> /etc/rc.conf echo knot_config=\"%%PREFIX%%/etc/knot/knot.conf\" >> /etc/rc.conf %%PREFIX%%/etc/rc.d/knot start + +###################################################################### + + When upgrading from a previous version of Knot, + the configuration syntax changed changed severely. + + Please consult the documentation: + - man knot.conf + - https://www.knot-dns.cz/docs/2.0/html/configuration.html ######################################################################