diff options
author | pettai <pettai@pkgsrc.org> | 2012-10-02 22:40:07 +0000 |
---|---|---|
committer | pettai <pettai@pkgsrc.org> | 2012-10-02 22:40:07 +0000 |
commit | 5213dafa261945001a41637e05f9186ad8986c54 (patch) | |
tree | ac67e049dfdbd30015b054c3e027979671d8d9a6 /net | |
parent | ba25df56c6f06ebdc49e8183931fcf771ffdff4d (diff) | |
download | pkgsrc-5213dafa261945001a41637e05f9186ad8986c54.tar.gz |
Knot DNS is a high-performance authoritative-only DNS server
which supports all key features of the domain name system including
zone transfers, dynamic updates and DNSSEC.
Diffstat (limited to 'net')
-rw-r--r-- | net/knot/DESCR | 3 | ||||
-rw-r--r-- | net/knot/Makefile | 42 | ||||
-rw-r--r-- | net/knot/PLIST | 15 | ||||
-rw-r--r-- | net/knot/distinfo | 7 | ||||
-rw-r--r-- | net/knot/patches/patch-Makefile.in | 15 | ||||
-rw-r--r-- | net/knot/patches/patch-samples_Makefile.in | 29 |
6 files changed, 111 insertions, 0 deletions
diff --git a/net/knot/DESCR b/net/knot/DESCR new file mode 100644 index 00000000000..df2a406fdce --- /dev/null +++ b/net/knot/DESCR @@ -0,0 +1,3 @@ +Knot DNS is a high-performance authoritative-only DNS server +which supports all key features of the domain name system including +zone transfers, dynamic updates and DNSSEC. diff --git a/net/knot/Makefile b/net/knot/Makefile new file mode 100644 index 00000000000..736e78926b5 --- /dev/null +++ b/net/knot/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1 2012/10/02 22:40:07 pettai Exp $ +# + +DISTNAME= knot-1.1.0 +CATEGORIES= net +MASTER_SITES= http://public.nic.cz/files/knot-dns/ + +MAINTAINER= pettai@NetBSD.org +HOMEPAGE= http://www.knot-dns.cz/ +COMMENT= Knot (auth) DNS server +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +BUILD_DEFS+= VARBASE + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --prefix=${PREFIX:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}/knot +CONFIGURE_ARGS+= --localstatedir=${VARBASE} + +USE_LIBTOOL= yes +USE_TOOLS+= flex gmake + +EGDIR= ${PREFIX}/share/examples/knot +KNOT_SYSCONFDIR= ${PKG_SYSCONFDIR}/knot + +SUBST_CLASSES+= paths +SUBST_FILES.paths= ${WRKSRC}/samples/Makefile.in +SUBST_STAGE.paths= post-patch +SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},' + +CONF_FILES= ${EGDIR}/knot.sample.conf \ + ${KNOT_SYSCONFDIR}/knot.sample.conf +CONF_FILES+= ${EGDIR}/example.com.zone \ + ${KNOT_SYSCONFDIR}/example.com.zone + +INSTALLATION_DIRS= ${EGDIR} ${KNOT_SYSCONFDIR} +OWN_DIRS+= ${VARBASE}/knot + +.include "../../devel/userspace-rcu/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/knot/PLIST b/net/knot/PLIST new file mode 100644 index 00000000000..89629a61a60 --- /dev/null +++ b/net/knot/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2012/10/02 22:40:07 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/man8/knotc.8 +man/man8/knotd.8 +sbin/knotc +sbin/knotd +share/examples/knot/example.com.zone +share/examples/knot/knot.sample.conf +@pkgdir etc/knot diff --git a/net/knot/distinfo b/net/knot/distinfo new file mode 100644 index 00000000000..7515a38a540 --- /dev/null +++ b/net/knot/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2012/10/02 22:40:07 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 (patch-Makefile.in) = 881002789bd888392d10cde9b128210e752f4223 +SHA1 (patch-samples_Makefile.in) = 3cebc5bcdf799eaf2cba57513b421cf6f273e961 diff --git a/net/knot/patches/patch-Makefile.in b/net/knot/patches/patch-Makefile.in new file mode 100644 index 00000000000..5560588e728 --- /dev/null +++ b/net/knot/patches/patch-Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.in,v 1.1 2012/10/02 22:40:07 pettai Exp $ + +Ignore .texi docs, as NetBSDs makeinfo isn't UTF-8 compatible + +--- Makefile.in.orig 2012-10-02 21:11:22.000000000 +0000 ++++ Makefile.in +@@ -227,7 +227,7 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + ACLOCAL_AMFLAGS = -I m4 +-SUBDIRS = src samples doc ++SUBDIRS = src samples + all: all-recursive + + .SUFFIXES: diff --git a/net/knot/patches/patch-samples_Makefile.in b/net/knot/patches/patch-samples_Makefile.in new file mode 100644 index 00000000000..4b3b4c2b9c7 --- /dev/null +++ b/net/knot/patches/patch-samples_Makefile.in @@ -0,0 +1,29 @@ +$NetBSD: patch-samples_Makefile.in,v 1.1 2012/10/02 22:40:07 pettai Exp $ + +Fix sysconfdir + sample conf snippet + +--- samples/Makefile.in.orig 2012-10-02 21:43:47.000000000 +0000 ++++ samples/Makefile.in +@@ -167,6 +167,7 @@ sbindir = @sbindir@ + sharedstatedir = @sharedstatedir@ + srcdir = @srcdir@ + sysconfdir = @sysconfdir@ ++EGDIR=@EGDIR@ + target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ +@@ -374,10 +375,10 @@ knot.sample.conf: Makefile + knot.sample.conf: knot.sample.conf.in + + install-data-local: knot.sample.conf +- [ -d $(DESTDIR)/$(sysconfdir) ] || \ +- $(INSTALL) -d $(DESTDIR)/$(sysconfdir) +- [ -f $(DESTDIR)/$(sysconfdir)/knot.sample.conf ] || \ +- $(INSTALL_DATA) knot.sample.conf example.com.zone $(DESTDIR)/$(sysconfdir) ++ [ -d $(DESTDIR)/$(EGDIR) ] || \ ++ $(INSTALL) -d $(DESTDIR)/$(EGDIR) ++ [ -f $(DESTDIR)/$(EGDIR)/knot.sample.conf ] || \ ++ $(INSTALL_DATA) knot.sample.conf example.com.zone $(DESTDIR)/$(EGDIR) + + clean-local: + rm -f knot.sample.conf |