Index: head/dns/knot2/Makefile =================================================================== --- head/dns/knot2/Makefile (revision 403454) +++ head/dns/knot2/Makefile (revision 403455) @@ -1,79 +1,79 @@ # Created by: Leo Vandewoestijne # $FreeBSD$ PORTNAME= knot -DISTVERSION= 2.0.1 +DISTVERSION= 2.0.2 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= libfstrm.so:${PORTSDIR}/devel/fstrm \ 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= libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c # XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from # `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which # should contain "$libfstrm_CFLAGS $libprotobuf_c_CFLAGS" set by configure # script, provide it here explicitly as patching those files would result # in higher line count. Ideally this bug should be fixed upstream. DNSTAP_CPPFLAGS= -I${LOCALBASE}/include 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 403454) +++ head/dns/knot2/distinfo (revision 403455) @@ -1,2 +1,2 @@ -SHA256 (knot-2.0.1.tar.xz) = 183bac1f23cb3996731c8161889ff5c1e2f99b9a6d8690390a2a23af433d6ce6 -SIZE (knot-2.0.1.tar.xz) = 958560 +SHA256 (knot-2.0.2.tar.xz) = 0418a22f9e801503993b3c872f2403bf73eab5ef7266128789b0531b41ea0c7e +SIZE (knot-2.0.2.tar.xz) = 958800 Index: head/dns/knot2/files/knot.in =================================================================== --- head/dns/knot2/files/knot.in (revision 403454) +++ head/dns/knot2/files/knot.in (revision 403455) @@ -1,54 +1,54 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: knot # REQUIRE: SERVERS cleanvar # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable knot: # # knot_enable="YES": Set to NO by default. # Set it to YES to enable knot. -# knot_config="": Set to /usr/local/etc/knot/knot.conf +# knot_config="": Set to %%PREFIX%%/etc/knot/knot.conf # by default. . /etc/rc.subr name=knot rcvar=knot_enable load_rc_config ${name} : ${knot_enable:=NO} : ${knot_config="%%PREFIX%%/etc/knot/knot.conf"} command=%%PREFIX%%/sbin/knotd command_args="-c ${knot_config} -d" control=%%PREFIX%%/sbin/knotc pidfile=/var/run/knot/knot.pid required_files=${knot_config} extra_commands=reload reload_cmd="${name}_reload" start_precmd="${name}_prestart" knot_prestart() { if [ ! -d /var/run/knot ]; then install -d -o %%USERS%% -g %%GROUPS%% /var/run/knot fi if [ ! -d /var/db/knot ]; then install -d -o %%USERS%% -g %%GROUPS%% /var/db/knot fi ${control} -c ${knot_config} checkconf } knot_reload() { echo "Reloading ${name}." ${control} -c ${knot_config} reload } run_rc_command "$1"