1 |
xmw 12/07/05 12:21:40 |
2 |
|
3 |
Added: donutsd.confd dnssec-tools-1.13-dtinitconf.patch |
4 |
rollerd.initd donutsd.initd rollerd.confd |
5 |
Log: |
6 |
Version bump to correct paths and add runlevel scripts (thanks lorem_ipsum) |
7 |
|
8 |
(Portage version: 2.1.11.4/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-dns/dnssec-tools/files/donutsd.confd |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/donutsd.confd?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/donutsd.confd?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: donutsd.confd |
17 |
=================================================================== |
18 |
# Copyright 1999-2012 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/files/donutsd.confd,v 1.1 2012/07/05 12:21:40 xmw Exp $ |
21 |
|
22 |
DONUTSD_CMD="donutsd" |
23 |
DONUTSD_CONFPATH="/etc/dnssec-tools/donutsd.db" |
24 |
DONUTSD_PID="/var/run/donutsd.pid" |
25 |
DONUTSD_OPTS="" |
26 |
|
27 |
|
28 |
|
29 |
|
30 |
1.1 net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch |
31 |
|
32 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: dnssec-tools-1.13-dtinitconf.patch |
36 |
=================================================================== |
37 |
--- dnssec-tools-1.13/tools/scripts/dtinitconf |
38 |
+++ dnssec-tools-1.13/tools/scripts/dtinitconf |
39 |
@@ -59,7 +59,9 @@ |
40 |
my @COMMON_BINDLOCS = |
41 |
( |
42 |
"/usr/local/sbin", |
43 |
+ "/usr/local/bin", |
44 |
"/usr/sbin", |
45 |
+ "/usr/bin", |
46 |
); |
47 |
|
48 |
# |
49 |
@@ -421,8 +423,8 @@ |
50 |
|
51 |
$admin = $opts{'admin'} || dnssec_tools_default("admin"); |
52 |
|
53 |
- $binddir = $opts{'binddir'}; |
54 |
- $dtdir = $opts{'dtdir'}; |
55 |
+ $binddir = $opts{'binddir'} || 'path'; |
56 |
+ $dtdir = $opts{'dtdir'} || 'path'; |
57 |
# $viewimg = $opts{'viewimage'} || dnssec_tools_default("viewimage"); |
58 |
|
59 |
$outfile = $opts{'outfile'} || getconffile(); |
60 |
|
61 |
|
62 |
|
63 |
1.1 net-dns/dnssec-tools/files/rollerd.initd |
64 |
|
65 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/rollerd.initd?rev=1.1&view=markup |
66 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/rollerd.initd?rev=1.1&content-type=text/plain |
67 |
|
68 |
Index: rollerd.initd |
69 |
=================================================================== |
70 |
#!/sbin/runscript |
71 |
# Copyright 1999-2012 Gentoo Foundation |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/files/rollerd.initd,v 1.1 2012/07/05 12:21:40 xmw Exp $ |
74 |
|
75 |
start() { |
76 |
ebegin "Starting DNSSEC control daemon" |
77 |
"${ROLLERD_CMD}" --rrfile "${ROLLERD_RRFILE}" \ |
78 |
-directory "${ROLLERD_KRFDIR}" ${ROLLERD_OPTS} |
79 |
eend $? "failed to start rollerd" |
80 |
} |
81 |
|
82 |
stop() { |
83 |
ebegin "stoping rollerd" |
84 |
/usr/bin/rollctl -halt |
85 |
eend $? "failed to stop rollerd" |
86 |
} |
87 |
|
88 |
|
89 |
|
90 |
1.1 net-dns/dnssec-tools/files/donutsd.initd |
91 |
|
92 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/donutsd.initd?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/donutsd.initd?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: donutsd.initd |
96 |
=================================================================== |
97 |
#!/sbin/runscript |
98 |
# Copyright 1999-2012 Gentoo Foundation |
99 |
# Distributed under the terms of the GNU General Public License v2 |
100 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/files/donutsd.initd,v 1.1 2012/07/05 12:21:40 xmw Exp $ |
101 |
|
102 |
depend() { |
103 |
need mta |
104 |
} |
105 |
|
106 |
start() { |
107 |
ebegin "Starting the DNSSEC monitoring daemon" |
108 |
start-stop-daemon --start --pidfile ${DONUTSD_PIDFILE} --make-pidfile --background --exec ${DONUTSD_CMD} -- -i ${DONUTSD_CONFPATH} ${DONUTSD_OPTS} |
109 |
eend $? "failed to start donutsd" |
110 |
} |
111 |
|
112 |
stop() { |
113 |
ebegin "Stopping donutsd" |
114 |
start-stop-daemon --stop --pidfile ${DONUTSD_PIDFILE} |
115 |
eend $? "Failed to stop donutsd" |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
1.1 net-dns/dnssec-tools/files/rollerd.confd |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/rollerd.confd?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-tools/files/rollerd.confd?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: rollerd.confd |
126 |
=================================================================== |
127 |
# Copyright 1999-2012 Gentoo Foundation |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/files/rollerd.confd,v 1.1 2012/07/05 12:21:40 xmw Exp $ |
130 |
|
131 |
ROLLERD_CMD="rollerd" |
132 |
ROLLERD_RRFILE="/etc/dnssec-tools/dnssec-tools.rollrec" |
133 |
ROLLERD_KRFDIR="/var/bind/pri" |
134 |
ROLLERD_OPTS="" |