summaryrefslogtreecommitdiff
path: root/net/knot
diff options
context:
space:
mode:
authorpettai <pettai>2012-11-05 23:08:06 +0000
committerpettai <pettai>2012-11-05 23:08:06 +0000
commit3848ae56fc186827554e653100064b2a8eeaf67b (patch)
tree51a7b01c8c97e04264ab9f094e8fafca1e337305 /net/knot
parentd031d7153b87b5875d7a880e9f7bf0a86185a3a9 (diff)
downloadpkgsrc-3848ae56fc186827554e653100064b2a8eeaf67b.tar.gz
v1.1.1 - Oct 31, 2012
--------------------- Bugfixes: * Fixed assertion failing when asking directly for a wildcard name. v1.1.1-rc1 - Oct 23, 2012 ------------------------- Bugfixes: * Crash after IXFR in certain cases when adding RRSIG in an IXFR. * Fixed behaviour when incoming IXFR removes a zone cut. Previously occluded names now become properly visible. Previously lead to a crash when the server was asked for the previously occluded name. * Fixed handling of zero-length strings in text zone dump. Caused the compilation to fail. * Fixed TSIG algorithm name comparison - the names should be in canonical form. * Fixed handling unknown RR types with type less than 251. Features: * Improved compression of packets. Out-of-zone dnames present in RDATA were not compressed. * Slave zones are now automatically refreshed after startup. * Proper response to IXFR/UDP query (returns SOA in Authority section).
Diffstat (limited to 'net/knot')
-rw-r--r--net/knot/Makefile14
-rw-r--r--net/knot/PLIST5
-rw-r--r--net/knot/distinfo8
-rwxr-xr-xnet/knot/files/knot.sh41
4 files changed, 56 insertions, 12 deletions
diff --git a/net/knot/Makefile b/net/knot/Makefile
index d96fc321842..5ac6c9e1619 100644
--- a/net/knot/Makefile
+++ b/net/knot/Makefile
@@ -1,24 +1,26 @@
-# $NetBSD: Makefile,v 1.2 2012/10/23 17:18:31 asau Exp $
+# $NetBSD: Makefile,v 1.3 2012/11/05 23:08:06 pettai Exp $
#
-DISTNAME= knot-1.1.0
+DISTNAME= knot-1.1.1
CATEGORIES= net
-MASTER_SITES= http://public.nic.cz/files/knot-dns/
+MASTER_SITES= https://secure.nic.cz/files/knot-dns/
+FETCH_USING= curl
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.knot-dns.cz/
COMMENT= Knot (auth) DNS server
LICENSE= gnu-gpl-v3
-BUILD_DEFS+= VARBASE
+BUILD_DEFS+= VARBASE
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}/knot
-CONFIGURE_ARGS+= --localstatedir=${VARBASE}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}/knot
USE_LIBTOOL= yes
USE_TOOLS+= flex gmake
+RCD_SCRIPTS= knot
EGDIR= ${PREFIX}/share/examples/knot
KNOT_SYSCONFDIR= ${PKG_SYSCONFDIR}/knot
diff --git a/net/knot/PLIST b/net/knot/PLIST
index 89629a61a60..3685b531095 100644
--- a/net/knot/PLIST
+++ b/net/knot/PLIST
@@ -1,15 +1,16 @@
-@comment $NetBSD: PLIST,v 1.1 2012/10/02 22:40:07 pettai Exp $
+@comment $NetBSD: PLIST,v 1.2 2012/11/05 23:08:06 pettai Exp $
libexec/knot-zcompile
libexec/unittests
libexec/unittests-libknot
libexec/unittests-libknot-realdata
libexec/unittests-xfr
libexec/unittests-zcompile
-man/man8/knot.conf.8
+man/man5/knot.conf.5
man/man8/knotc.8
man/man8/knotd.8
sbin/knotc
sbin/knotd
share/examples/knot/example.com.zone
share/examples/knot/knot.sample.conf
+share/examples/rc.d/knot
@pkgdir etc/knot
diff --git a/net/knot/distinfo b/net/knot/distinfo
index 7515a38a540..00ff5a24d7c 100644
--- a/net/knot/distinfo
+++ b/net/knot/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2012/10/02 22:40:07 pettai Exp $
+$NetBSD: distinfo,v 1.2 2012/11/05 23:08:06 pettai Exp $
-SHA1 (knot-1.1.0.tar.gz) = ceaff16fc2b06d93f0620a02723959d6906f9a29
-RMD160 (knot-1.1.0.tar.gz) = 78ab73479026ae9e934fc64eb244c3d107d79855
-Size (knot-1.1.0.tar.gz) = 1180069 bytes
+SHA1 (knot-1.1.1.tar.gz) = e5b2bb4739584314c1bc69d6d66c06847d4e9978
+RMD160 (knot-1.1.1.tar.gz) = cd77e9ee3f59b21cc60afe26af250510741177a9
+Size (knot-1.1.1.tar.gz) = 1198563 bytes
SHA1 (patch-Makefile.in) = 881002789bd888392d10cde9b128210e752f4223
SHA1 (patch-samples_Makefile.in) = 3cebc5bcdf799eaf2cba57513b421cf6f273e961
diff --git a/net/knot/files/knot.sh b/net/knot/files/knot.sh
new file mode 100755
index 00000000000..04e5a201085
--- /dev/null
+++ b/net/knot/files/knot.sh
@@ -0,0 +1,41 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: knot.sh,v 1.1 2012/11/05 23:08:06 pettai Exp $
+#
+# PROVIDE: knot
+# REQUIRE: NETWORKING syslogd
+# BEFORE: DAEMON
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="knot"
+rcvar=${name}
+command="@PREFIX@/sbin/knotc"
+command_args=""
+pidfile="@VARBASE@/knot/${name}.pid"
+start_precmd="knot_precmd"
+extra_commands="restart reload"
+start_cmd="$command -w start"
+stop_cmd="$command -w stop"
+restart_cmd="$command restart"
+reload_cmd="$command reload"
+status_cmd="$command running"
+
+knot_precmd()
+{
+ if [ ! -d @VARBASE@/run/knot ]; then
+ @MKDIR@ @VARBASE@/run/knot
+ @CHMOD@ 0750 @VARBASE@/run/knot
+ @CHOWN@ root:wheel @VARBASE@/run/knot
+ fi
+}
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ echo -n " ${name}"
+ ${command} ${knot_flags} ${command_args}
+fi