]> git.pld-linux.org Git - packages/pdnsd.git/commitdiff
- Release 3. Works as caching dns server for local queries by default. auto/th/pdnsd-1_2_5-3
authorMateusz Korniak <matkor@pld-linux.org>
Tue, 1 May 2007 10:19:44 +0000 (10:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdnsd-query_roots_in_default_conf.patch -> 1.1
    pdnsd.spec -> 1.62

pdnsd-query_roots_in_default_conf.patch [new file with mode: 0644]
pdnsd.spec

diff --git a/pdnsd-query_roots_in_default_conf.patch b/pdnsd-query_roots_in_default_conf.patch
new file mode 100644 (file)
index 0000000..fccd546
--- /dev/null
@@ -0,0 +1,43 @@
+--- pdnsd-1.2.5/doc/pdnsd.conf.in.query_roots_in_default_conf.patch    2007-05-01 12:13:57.000000000 +0200
++++ pdnsd-1.2.5/doc/pdnsd.conf.in      2007-05-01 12:14:36.000000000 +0200
+@@ -10,13 +10,14 @@
+                               # machines on your network to query pdnsd.
+       status_ctl = on;
+ #     paranoid=on;
+-#     query_method=tcp_udp;   # pdnsd must be compiled with tcp
++      query_method=tcp_udp;   # pdnsd must be compiled with tcp
+                               # query support for this to work.
+       min_ttl=15m;       # Retain cached entries at least 15 minutes.
+       max_ttl=1w;        # One week.
+       timeout=10;        # Global timeout option (10 seconds).
+ }
++/*
+ # The following section is most appropriate for fixed connections to the Internet.
+ server {
+       label= "myisp";
+@@ -30,6 +31,7 @@
+       purge_cache=off;   # Keep stale cache entries in case the ISP's
+                          # DNS servers go offline.
+ }
++*/
+ /*
+ # The following section is more appropriate for dial-up connections.
+@@ -47,7 +49,6 @@
+ }
+ */
+-/*
+ # This section is meant for resolving from root servers.
+ server {
+       label = "root-servers";
+@@ -75,7 +76,7 @@
+       policy = included;
+       preset = off;
+ }
+-*/
++
+ source {
+       owner=localhost;
index 264e2e237e3724f894d2a95ead0189af6ac3187f..f4e5eb7709861bedca4dbf01e7d9babc3ae109a2 100644 (file)
@@ -3,7 +3,7 @@ Summary:        A caching dns proxy for small networks or dialin accounts
 Summary(pl.UTF-8):     DNS proxy serwer dla małej sieci lub jednostki z połączeniem dialup
 Name:          pdnsd
 Version:       1.2.5
-Release:       2
+Release:       3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://www.phys.uu.nl/~rombouts/pdnsd/releases/%{name}-%{version}-%{par}.tar.gz
@@ -12,6 +12,7 @@ Source1:      %{name}.init
 Source2:       %{name}.sysconfig
 Patch0:                %{name}-threads_signals.patch
 Patch1:                %{name}-ac_am.patch
+Patch2:                %{name}-query_roots_in_default_conf.patch
 # Old URL:     http://home.t-online.de/home/Moestl/
 URL:           http://www.phys.uu.nl/~rombouts/pdnsd.html
 BuildRequires: autoconf
@@ -50,6 +51,7 @@ dialup).
 %setup -q
 #%patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 %build
 rm -fr src/rc
This page took 0.068612 seconds and 4 git commands to generate.