/[smeserver]/smeserver-pdns_recursor/P/smeserver-pdns_recursor-0.0.1.configuration.patch
ViewVC logotype

Annotation of /smeserver-pdns_recursor/P/smeserver-pdns_recursor-0.0.1.configuration.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Aug 24 05:33:43 2006 UTC (18 years, 3 months ago) by charliebrady
Branch: MAIN
CVS Tags: HEAD
Thu Aug 24 01:33:28 2006                      Charlie Brady (charlieb)

See changelog
----------------------------------------------------------------------

1 charliebrady 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/createlinks mezzanine_patched_smeserver-pdns_recursor-0.0.1/createlinks
2     --- smeserver-pdns_recursor-0.0.1/createlinks 2006-08-22 23:04:09.000000000 -0400
3     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/createlinks 2006-08-24 01:29:57.000000000 -0400
4     @@ -1,4 +1,35 @@
5     -#! /usr/bin/perl
6     +#!/usr/bin/perl
7    
8     use strict;
9     use warnings;
10     +
11     +use esmith::Build::CreateLinks qw(:all);
12     +
13     +templates2events('/var/service/pdns_recursor/recursor.conf',
14     + qw(
15     + bootstrap-console-save
16     + console-save
17     + network-create
18     + network-delete
19     + domain-create
20     + domain-delete
21     + domain-modify
22     + dns-update
23     + ));
24     +
25     +foreach my $event (qw(
26     + console-save
27     + network-create
28     + network-delete
29     + domain-create
30     + domain-delete
31     + domain-modify
32     + dns-update
33     + ))
34     +{
35     + safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/pdns_recursor");
36     +}
37     +
38     +safe_symlink("daemontools", "root/etc/rc.d/init.d/pdns_recursor");
39     +safe_symlink("/var/service/pdns_recursor", "root/service/pdns_recursor");
40     +service_link_enhanced("pdns_recursor", "S55", "7");
41     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/status mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/status
42     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/status 1969-12-31 19:00:00.000000000 -0500
43     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/status 2006-08-23 23:48:39.000000000 -0400
44     @@ -0,0 +1 @@
45     +enabled
46     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/type mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/type
47     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/type 1969-12-31 19:00:00.000000000 -0500
48     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/db/configuration/defaults/pdns_recursor/type 2006-08-23 23:48:48.000000000 -0400
49     @@ -0,0 +1 @@
50     +service
51     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/etc/resolv.conf/25nameserver mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/etc/resolv.conf/25nameserver
52     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/etc/resolv.conf/25nameserver 1969-12-31 19:00:00.000000000 -0500
53     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/etc/resolv.conf/25nameserver 2006-08-24 00:00:15.000000000 -0400
54     @@ -0,0 +1 @@
55     +nameserver { "$LocalIP" }
56     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/allow-from mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/allow-from
57     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/allow-from 1969-12-31 19:00:00.000000000 -0500
58     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/allow-from 2006-08-24 00:35:49.000000000 -0400
59     @@ -0,0 +1,6 @@
60     +{
61     + my $ndb = esmith::NetworksDB->open_ro;
62     + my @locals = $ndb->local_access_spec();
63     + $OUT = "allow_from=";
64     + $OUT .= join(',', @locals);
65     +}
66     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/forward-zones mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/forward-zones
67     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/forward-zones 1969-12-31 19:00:00.000000000 -0500
68     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/forward-zones 2006-08-24 00:45:28.000000000 -0400
69     @@ -0,0 +1,17 @@
70     +{
71     + use esmith::DomainsDB;
72     + my $ddb = esmith::DomainsDB->open_ro;
73     + use esmith::NetworksDB;
74     + my $ndb = esmith::NetworksDB->open_ro;
75     + my $tinydns_ip = $tinydns{'ListenIP'} || "127.0.0.1";
76     +
77     + my @delegations = map {
78     + $_->key . "=" . ($_->prop('Nameserver') || $tinydns_ip)
79     + } $ddb->domains;
80     + my @reverse_delegations = map {
81     + $_->key . "=" . ($_->prop('Nameservers') || $tinydns_ip)
82     + } $ndb->domains;
83     +
84     + $OUT = "forward-zones=" .
85     + join(',', @delegations, @reverse_delegations);
86     +}
87     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/local-address mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/local-address
88     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/local-address 1969-12-31 19:00:00.000000000 -0500
89     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/local-address 2006-08-24 00:51:15.000000000 -0400
90     @@ -0,0 +1,3 @@
91     +{
92     + $OUT = "local-address=$LocalIP";
93     +}
94     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/serve-rfc1918 mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/serve-rfc1918
95     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/serve-rfc1918 1969-12-31 19:00:00.000000000 -0500
96     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/serve-rfc1918 2006-08-24 00:51:19.000000000 -0400
97     @@ -0,0 +1,3 @@
98     +{
99     + $OUT = "serve-rfc1918=yes";
100     +}
101     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setgid mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setgid
102     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setgid 1969-12-31 19:00:00.000000000 -0500
103     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setgid 2006-08-24 00:51:24.000000000 -0400
104     @@ -0,0 +1,3 @@
105     +{
106     + $OUT = "setgid=dnscache";
107     +}
108     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setuid mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setuid
109     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setuid 1969-12-31 19:00:00.000000000 -0500
110     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/setuid 2006-08-24 00:51:30.000000000 -0400
111     @@ -0,0 +1,3 @@
112     +{
113     + $OUT = "setuid=dnscache";
114     +}
115     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/trace mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/trace
116     --- smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/trace 1969-12-31 19:00:00.000000000 -0500
117     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/etc/e-smith/templates/var/service/pdns_recursor/recursor.conf/trace 2006-08-24 00:19:44.000000000 -0400
118     @@ -0,0 +1,4 @@
119     +{
120     + my $trace = $pdns_recursor{trace} || 'no';
121     + $OUT = "trace=$trace";
122     +}
123     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/log/run mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/log/run
124     --- smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/log/run 1969-12-31 19:00:00.000000000 -0500
125     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/log/run 2006-08-23 23:48:09.000000000 -0400
126     @@ -0,0 +1,6 @@
127     +#! /bin/sh
128     +
129     +exec \
130     + /usr/local/bin/setuidgid dnslog \
131     + /usr/local/bin/multilog t s5000000 \
132     + /var/log/pdns_recursor
133     diff -Nur -x '*.orig' -x '*.rej' smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/run mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/run
134     --- smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/run 1969-12-31 19:00:00.000000000 -0500
135     +++ mezzanine_patched_smeserver-pdns_recursor-0.0.1/root/var/service/pdns_recursor/run 2006-08-23 23:47:53.000000000 -0400
136     @@ -0,0 +1,3 @@
137     +#! /bin/sh
138     +
139     +exec pdns_recursor --daemon=no

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed