pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/knot v1.1.1 - Oct 31, 2012
details: https://anonhg.NetBSD.org/pkgsrc/rev/56ce7906622b
branches: trunk
changeset: 610768:56ce7906622b
user: pettai <pettai%pkgsrc.org@localhost>
date: Mon Nov 05 23:08:06 2012 +0000
description:
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:
net/knot/Makefile | 14 ++++++++------
net/knot/PLIST | 5 +++--
net/knot/distinfo | 8 ++++----
net/knot/files/knot.sh | 41 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 56 insertions(+), 12 deletions(-)
diffs (118 lines):
diff -r d6be5781ba18 -r 56ce7906622b net/knot/Makefile
--- a/net/knot/Makefile Mon Nov 05 22:44:10 2012 +0000
+++ b/net/knot/Makefile Mon Nov 05 23:08:06 2012 +0000
@@ -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@localhost
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 -r d6be5781ba18 -r 56ce7906622b net/knot/PLIST
--- a/net/knot/PLIST Mon Nov 05 22:44:10 2012 +0000
+++ b/net/knot/PLIST Mon Nov 05 23:08:06 2012 +0000
@@ -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 -r d6be5781ba18 -r 56ce7906622b net/knot/distinfo
--- a/net/knot/distinfo Mon Nov 05 22:44:10 2012 +0000
+++ b/net/knot/distinfo Mon Nov 05 23:08:06 2012 +0000
@@ -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 -r d6be5781ba18 -r 56ce7906622b net/knot/files/knot.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/knot/files/knot.sh Mon Nov 05 23:08:06 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index