summaryrefslogtreecommitdiff
path: root/security/opendnssec/patches/patch-aa
blob: 7d52e71e442b56883dcb144f62d7ba522716b396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-aa,v 1.5 2012/05/23 10:09:21 pettai Exp $

--- conf/Makefile.in.orig	2012-05-09 18:50:03.000000000 +0000
+++ conf/Makefile.in
@@ -302,6 +302,7 @@ sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
 subdirs = @subdirs@
 sysconfdir = @sysconfdir@/opendnssec
+EGDIR=@EGDIR@
 target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
@@ -563,19 +564,19 @@ regress: $(RNG)
 		(echo "kasp.xml built")
 
 install-data-hook:
-	test -d ${DESTDIR}${sysconfdir} || mkdir -p ${DESTDIR}${sysconfdir}
-	test -f ${DESTDIR}${sysconfdir}/conf.xml || \
-		${INSTALL_DATA} -m 0640 conf.xml ${DESTDIR}${sysconfdir}
-	${INSTALL_DATA} -m 640 conf.xml ${DESTDIR}${sysconfdir}/conf.xml.sample
-	test -f ${DESTDIR}${sysconfdir}/zonelist.xml || \
-		${INSTALL_DATA} zonelist.xml ${DESTDIR}${sysconfdir}
-	${INSTALL_DATA} zonelist.xml ${DESTDIR}${sysconfdir}/zonelist.xml.sample
-	test -f ${DESTDIR}${sysconfdir}/zonefetch.xml || \
-		${INSTALL_DATA} -m 0640 zonefetch.xml ${DESTDIR}${sysconfdir}
-	${INSTALL_DATA} -m 640 zonefetch.xml ${DESTDIR}${sysconfdir}/zonefetch.xml.sample
-	test -f ${DESTDIR}${sysconfdir}/kasp.xml || \
-		${INSTALL_DATA} kasp.xml ${DESTDIR}${sysconfdir}
-	${INSTALL_DATA} kasp.xml ${DESTDIR}${sysconfdir}/kasp.xml.sample
+	test -d ${DESTDIR}${EGDIR} || mkdir -p ${DESTDIR}${EGDIR}
+	test -f ${DESTDIR}${EGDIR}/conf.xml || \
+		${INSTALL_DATA} -m 0640 conf.xml ${DESTDIR}${EGDIR}
+	${INSTALL_DATA} -m 640 conf.xml ${DESTDIR}${EGDIR}/conf.xml.sample
+	test -f ${DESTDIR}${EGDIR}/zonelist.xml || \
+		${INSTALL_DATA} zonelist.xml ${DESTDIR}${EGDIR}
+	${INSTALL_DATA} zonelist.xml ${DESTDIR}${EGDIR}/zonelist.xml.sample
+	test -f ${DESTDIR}${EGDIR}/zonefetch.xml || \
+		${INSTALL_DATA} -m 0640 zonefetch.xml ${DESTDIR}${EGDIR}
+	${INSTALL_DATA} -m 640 zonefetch.xml ${DESTDIR}${EGDIR}/zonefetch.xml.sample
+	test -f ${DESTDIR}${EGDIR}/kasp.xml || \
+		${INSTALL_DATA} kasp.xml ${DESTDIR}${EGDIR}
+	${INSTALL_DATA} kasp.xml ${DESTDIR}${EGDIR}/kasp.xml.sample
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.