summaryrefslogtreecommitdiff
path: root/net/knot/patches
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2012-10-02 22:40:07 +0000
committerpettai <pettai@pkgsrc.org>2012-10-02 22:40:07 +0000
commit5213dafa261945001a41637e05f9186ad8986c54 (patch)
treeac67e049dfdbd30015b054c3e027979671d8d9a6 /net/knot/patches
parentba25df56c6f06ebdc49e8183931fcf771ffdff4d (diff)
downloadpkgsrc-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/knot/patches')
-rw-r--r--net/knot/patches/patch-Makefile.in15
-rw-r--r--net/knot/patches/patch-samples_Makefile.in29
2 files changed, 44 insertions, 0 deletions
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