[-]
[+]
|
Deleted |
pdns-recursor.changes
|
@@ -1,97 +0,0 @@
--------------------------------------------------------------------
-Fri May 22 05:04:54 UTC 2020 - Local OBS User <cs@linux-administrator.com>
-
-- update to 4.1.16 (security)
-* See https://doc.powerdns.com/recursor/changelog/4.1.html#change-4.1.16
-
--------------------------------------------------------------------
-Thu Oct 4 12:53:26 UTC 2018 - Local OBS User <cs@linux-administrator.com>
-
-- update to version 4.1.4
-
--------------------------------------------------------------------
-Thu Jan 19 15:12:19 UTC 2017 - cs@linux-administrator.com
-
-- update to version 3.7.4
-* See https://doc.powerdns.com/md/changelog/#changelog-recursor-3.7.4
-
--------------------------------------------------------------------
-Wed Jun 10 17:40:25 UTC 2015 - cs@linux-administrator.com
-
-- update to version 3.7.3
-* See https://doc.powerdns.com/md/changelog/#changelog-recursor-3.7.3
-
--------------------------------------------------------------------
-Mon Apr 27 10:01:14 UTC 2015 - cs@linux-administrator.com
-
-- update to version 3.7.2
-* See https://doc.powerdns.com/md/changelog/#changelog-recursor-3.7.2
-
--------------------------------------------------------------------
-Mon Mar 9 10:54:39 UTC 2015 - cs@linux-administrator.com
-
-- update to version 3.7.1
-* See https://doc.powerdns.com/md/changelog/#changelog-recursor-3.7.1
-
--------------------------------------------------------------------
-Wed Nov 19 21:16:48 UTC 2014 - cs@linux-administrator.com
-
-- update to version 3.6.2
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.6.2
-
--------------------------------------------------------------------
-Fri Sep 26 20:55:13 UTC 2014 - cs@linux-administrator.com
-
-- update to version 3.6.1
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.6.1
-
--------------------------------------------------------------------
-Tue Jul 8 07:27:35 UTC 2014 - cs@linux-administrator.com
-
-- update to version 3.6.0
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.6.0
-
--------------------------------------------------------------------
-Thu Sep 19 14:50:42 UTC 2013 - cs@linux-administrator.com
-
-- update to version 3.5.3
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5.3
-
--------------------------------------------------------------------
-Sat Jun 8 09:26:09 UTC 2013 - cs@linux-administrator.com
-
-- update to version 3.5.2
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5.2
-
--------------------------------------------------------------------
-Sat May 4 12:56:23 UTC 2013 - cs@linux-administrator.com
-
-- update to version 3.5.1
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5.1
-
--------------------------------------------------------------------
-Wed May 1 08:32:00 UTC 2013 - cs@linux-administrator.com
-
-- update to version 3.5
-* See http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5
-
--------------------------------------------------------------------
-Sun Dec 23 11:03:28 UTC 2012 - cs@linux-administrator.com
-
-- update to version 3.3.1
-
--------------------------------------------------------------------
-Thu Jan 20 22:13:32 UTC 2011 - cs@linux-administrator.com
-
-- fix init script for non suse builds
-
--------------------------------------------------------------------
-Mon Jan 17 22:36:46 UTC 2011 - cs@linux-administrator.com
-
-- update to release 3.3
- - This version fixes a number of small but persistent issues
- - Rounds off the IPv6 support
- - Add an important feature for many users of the Lua scripts
- - Scalability on Solaris 10 has been improved
- - Compilation on RHEL5 has been fixed
-
|
[-]
[+]
|
Deleted |
pdns-recursor.spec
^
|
@@ -1,176 +0,0 @@
-#
-# spec file for package pdns-recursor
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-%{?!rhel:%define rhel 0}
-%if 0%{?rhel} == 5
-%define hardening no
-%else
-%define hardening yes
-%endif
-Version: 4.1.16
-Name: pdns-recursor
-Release: 105
-%define pkg_version %{version}
-#
-Group: Productivity/Networking/DNS/Servers
-License: GPL v2 or later
-#
-%define home %{_var}/lib/pdns
-%define _localstatedir %{_var}/run/pdns
-BuildRequires: boost-devel gcc-c++ openssl-devel
-%if %{!?_without_lua:1}%{?_without_lua:0}
-BuildRequires: lua-devel >= 5.1
-Requires: lua >= 5.1
-%if 0%{?suse_version}
-%define lua_libs_config LUA_LIBS_CONFIG=-llua
-%define cxx_boost CXXFLAGS=-I./boost_1_39_0/
-%else
-%define lua_libs_config LUA_LIBS_CONFIG=-llua-5.1
-%define cxx_boost CXXFLAGS=-I./boost_1_39_0/
-%endif
-%endif
-%if 0%{?suse_version}
-BuildRequires: pwdutils
-Requires: pwdutils
-%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1210 || 0%{?sles_version} >= 12 || 0%{?rhel} >= 7
-BuildRequires: systemd
-%{?systemd_requires}
-%define has_systemd 1
-%endif
-%if 0%{?suse_version}
-PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd
-%endif
-#
-Url: http://www.powerdns.com/
-Source: http://downloads.powerdns.com/releases/%{name}-%{pkg_version}.tar.bz2
-Source1: pdns-recursor.init
-Source2: recursor.conf
-Source3: boost_1_39_0.tar.bz2
-Source4: pdns-recursor.cron
-Patch1: pdns-recursor-3.7.0-disable-secpoll.patch
-#Patch2: pdns-recursor-init-rh.patch
-#
-Summary: Modern, advanced and high performance recursing/non authoritative nameserver
-Provides: powerdns-recursor
-
-%description
-PowerDNS Recursor is a non authoritative/recursing DNS server. Use this
-package if you need a dns cache for your network.
-
-
-
-Authors:
---------
- http://www.powerdns.com
-
-%prep
-%setup -n %{name}-%{pkg_version} -a 3
-%patch1 -p2 -b .disable-secpoll
-##patch2
-%build
-export HARDENING=%{hardening}
-%{cxx_boost} %configure --sysconfdir=/etc/pdns --localstatedir=/var/run/pdns
-%{cxx_boost} %__make clean
-%if %{!?_without_lua:1}%{?_without_lua:0}
-%{cxx_boost} LUA=1 LUA_CPPFLAGS_CONFIG= %{lua_libs_config} OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all
-%else
-CXXFLAGS=-I./boost_1_39_0/ OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all
-%endif
-
-%install
-%{__install} -Dd -m 0755 %{buildroot}{%{home},%{_localstatedir}}
-STRIP_BINARIES=0 %__make DESTDIR=%{buildroot} install SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}"
-%{__install} -D -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/pdns/recursor.conf
-%if 0%{?has_systemd}
-%{__install} -D -m 0644 contrib/systemd-pdns-recursor.service %{buildroot}%{_unitdir}/pdns-recursor.service
-rm -rf %{buildroot}%{_sysconfdir}/init.d/%{name}
-%else
-%if 0%{?suse_version}
-%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name}
-%else
-%{__install} -D -m 0755 pdns-recursor.init.d %{buildroot}%{_sysconfdir}/init.d/%{name}
-%endif
-%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
-%endif
-%{__install} -m 0755 -d %{buildroot}%{_datadir}/%{name}
-cp -R rrd %{buildroot}%{_datadir}/%{name}/
-%{__install} -d %{buildroot}%{_sysconfdir}/cron.d/
-%{__install} -p %{SOURCE4} %{buildroot}%{_sysconfdir}/cron.d/%{name}
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%pre
-/usr/sbin/groupadd -r pdns &>/dev/null || :
-/usr/sbin/useradd -o -g pdns -s /bin/false -r -c "pdns" -d %{home} pdns &>/dev/null || :
-
-%if 0%{?has_systemd}
-%service_add_pre pdns-recursor.service
-%endif
-
-%post
-%if 0%{?suse_version}
-%{fillup_and_insserv pdns-recursor}
-%endif
-%if 0%{?has_systemd}
-%service_add_post pdns-recursor.service
-%endif
-if [ "$1" == "1" ]; then
- cd %{_datadir}/%{name}/rrd
- ./create >/dev/null 2>&1 || :
-fi
-
-%preun
-%if 0%{?suse_version}
-%stop_on_removal pdns-recursor
-%endif
-%if 0%{?has_systemd}
-%service_del_preun pdns-recursor.service
-%endif
-
-%postun
-%if 0%{?suse_version}
-%restart_on_update pdns-recursor
-%insserv_cleanup
-%endif
-%if 0%{?has_systemd}
-%service_del_postun pdns-recursor.service
-%endif
-
-%files
-%defattr (-,root,root,-)
-%dir %{_sysconfdir}/pdns/
-%config(noreplace) %{_sysconfdir}/pdns/recursor.conf
-%config %{_sysconfdir}/pdns/recursor.conf-dist
-%config %attr(644,root,root) %{_sysconfdir}/cron.d/%{name}
-%if 0%{?has_systemd}
-%{_unitdir}/pdns-recursor.service
-%else
-%{_sysconfdir}/init.d/%{name}
-%{_sbindir}/rcpdns-recursor
-%endif
-%{_sbindir}/pdns_recursor
-%{_sbindir}/rec_control
-%{_mandir}/man1/pdns_recursor.1*
-%{_mandir}/man1/rec_control.1*
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/rrd
-%{_datadir}/%{name}/rrd/update
-%{_datadir}/%{name}/rrd/create
-%{_datadir}/%{name}/rrd/makegraphs
-%{_datadir}/%{name}/rrd/index.html
-%doc README COPYING
-%dir %{home}
-%dir %{_localstatedir}
-
-%changelog
|
[-]
[+]
|
Deleted |
371_372.diff
^
|
@@ -1,278 +0,0 @@
-diff -uNr pdns-recursor-3.7.1/build-scripts/redhat/pdns-recursor-test.spec pdns-recursor-3.7.2/build-scripts/redhat/pdns-recursor-test.spec
---- pdns-recursor-3.7.1/build-scripts/redhat/pdns-recursor-test.spec 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/build-scripts/redhat/pdns-recursor-test.spec 2015-04-21 15:02:57.000000000 +0200
-@@ -9,7 +9,7 @@
- Epoch: 0
- Group: System Environment/Daemons
- License: GPL
--Source: http://downloads.powerdns.com/releases/%{name}-3.7.1.tar.bz2
-+Source: http://downloads.powerdns.com/releases/%{name}-3.7.2.tar.bz2
-
- BuildRequires: boost-devel >= 1.39.0
- BuildRequires: lua-devel >= 5.3
-@@ -20,7 +20,7 @@
- PowerDNS recursor
-
- %prep
--%setup -q -n %{name}-3.7.1
-+%setup -q -n %{name}-3.7.2
-
- %build
- %configure
-diff -uNr pdns-recursor-3.7.1/config.h pdns-recursor-3.7.2/config.h
---- pdns-recursor-3.7.1/config.h 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/config.h 2015-04-21 15:02:57.000000000 +0200
-@@ -1,4 +1,4 @@
- #define RECURSOR
--#define VERSION "3.7.1"
-+#define VERSION "3.7.2"
- #define DIST_HOST "jenkins@autotest.powerdns.com"
- #define HAVE_BOOST 1
-diff -uNr pdns-recursor-3.7.1/configure pdns-recursor-3.7.2/configure
---- pdns-recursor-3.7.1/configure 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/configure 2015-04-21 15:02:57.000000000 +0200
-@@ -1,6 +1,10 @@
- #!/bin/sh
- set -e
-
-+if [ "$HARDENING" = "" ]; then
-+ HARDENING="yes"
-+fi
-+
- if [ "$CXX" = "" ]; then
- CXX="g++"
- fi
-@@ -46,8 +50,8 @@
- EOF
-
- # test for PIE
-- if $CXX $src -c -o a.out -fPIE -DPIE; then
-- if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out; then
-+ if $CXX $src -c -o a.out -fPIE -DPIE 2>/dev/null; then
-+ if [ "$STATIC" != "semi" ] && [ "$STATIC" != "full" ] && $CXX -pie -o a2.out a.out 2>/dev/null; then
- CF_PIE="-fPIE -DPIE"
- LD_PIE="-pie"
- fi
-@@ -69,7 +73,9 @@
- rm -f $src a.out a2.out
- }
-
--test_flags
-+if [ "$HARDENING" != "no" ]; then
-+ test_flags
-+fi
-
- sed -e "s/@LD_RELRO@/$LD_RELRO/g" -e "s/@LD_PIE@/$LD_PIE/g" -e "s/@CF_PIE@/$CF_PIE/g" -e "s/@CF_FORTIFY@/$CF_FORTIFY/g" -e "s/@CF_STACK@/$CF_STACK/g" < Makefile.in > Makefile
-
-diff -uNr pdns-recursor-3.7.1/contrib/systemd-pdns-recursor.service pdns-recursor-3.7.2/contrib/systemd-pdns-recursor.service
---- pdns-recursor-3.7.1/contrib/systemd-pdns-recursor.service 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/contrib/systemd-pdns-recursor.service 2015-04-21 15:02:57.000000000 +0200
-@@ -1,7 +1,8 @@
- [Unit]
- Description=PowerDNS recursing nameserver
- Documentation=man:pdns_recursor(1) man:rec_control(1)
--Wants=network-online.target
-+Wants=network-online.target nss-lookup.target
-+Before=nss-lookup.target
- After=network-online.target
-
- [Service]
-diff -uNr pdns-recursor-3.7.1/dnsparser.cc pdns-recursor-3.7.2/dnsparser.cc
---- pdns-recursor-3.7.1/dnsparser.cc 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/dnsparser.cc 2015-04-21 15:02:57.000000000 +0200
-@@ -455,9 +455,10 @@
-
- void PacketReader::getLabelFromContent(const vector<uint8_t>& content, uint16_t& frompos, string& ret, int recurs)
- {
-- if(recurs > 1000) // the forward reference-check below should make this test 100% obsolete
-+ if(recurs > 100) // the forward reference-check below should make this test 100% obsolete
- throw MOADNSException("Loop");
- // it is tempting to call reserve on ret, but it turns out it creates a malloc/free storm in the loop
-+ int pos = frompos;
- for(;;) {
- unsigned char labellen=content.at(frompos++);
-
-@@ -470,7 +471,7 @@
- uint16_t offset=256*(labellen & ~0xc0) + (unsigned int)content.at(frompos++) - sizeof(dnsheader);
- // cout<<"This is an offset, need to go to: "<<offset<<endl;
-
-- if(offset >= frompos-2)
-+ if(offset >= pos)
- throw MOADNSException("forward reference during label decompression");
- return getLabelFromContent(content, offset, ret, ++recurs);
- }
-diff -uNr pdns-recursor-3.7.1/iputils.cc pdns-recursor-3.7.2/iputils.cc
---- pdns-recursor-3.7.1/iputils.cc 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/iputils.cc 2015-04-21 15:02:57.000000000 +0200
-@@ -115,6 +115,7 @@
- return false;
- }
-
-+// FIXME: this function is unused, and using it could reduce some code duplication
- int sendfromto(int sock, const char* data, int len, int flags, const ComboAddress& from, const ComboAddress& to)
- {
- struct msghdr msgh;
-@@ -133,11 +134,15 @@
- if(from.sin4.sin_family) {
- addCMsgSrcAddr(&msgh, cbuf, &from);
- }
-+ else {
-+ msgh.msg_control=NULL;
-+ }
- return sendmsg(sock, &msgh, flags);
- }
-
- // be careful: when using this for receive purposes, make sure addr->sin4.sin_family is set appropriately so getSocklen works!
- // be careful: when using this function for *send* purposes, be sure to set cbufsize to 0!
-+// be careful: if you don't call addCMsgSrcAddr after fillMSGHdr, make sure to set msg_control to NULL
- void fillMSGHdr(struct msghdr* msgh, struct iovec* iov, char* cbuf, size_t cbufsize, char* data, size_t datalen, ComboAddress* addr)
- {
- iov->iov_base = data;
-diff -uNr pdns-recursor-3.7.1/pdns_recursor.cc pdns-recursor-3.7.2/pdns_recursor.cc
---- pdns-recursor-3.7.1/pdns_recursor.cc 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/pdns_recursor.cc 2015-04-21 15:02:57.000000000 +0200
-@@ -688,6 +688,8 @@
- fillMSGHdr(&msgh, &iov, cbuf, 0, (char*)&*packet.begin(), packet.size(), &dc->d_remote);
- if(dc->d_local.sin4.sin_family)
- addCMsgSrcAddr(&msgh, cbuf, &dc->d_local);
-+ else
-+ msgh.msg_control=NULL;
- sendmsg(dc->d_socket, &msgh, 0);
- if(!SyncRes::s_nopacketcache && !variableAnswer ) {
- t_packetCache->insertResponsePacket(string((const char*)&*packet.begin(), packet.size()),
-@@ -961,6 +963,9 @@
- if(destaddr.sin4.sin_family) {
- addCMsgSrcAddr(&msgh, cbuf, &destaddr);
- }
-+ else {
-+ msgh.msg_control=NULL;
-+ }
- sendmsg(fd, &msgh, 0);
-
- if(response.length() >= sizeof(struct dnsheader)) {
-diff -uNr pdns-recursor-3.7.1/README pdns-recursor-3.7.2/README
---- pdns-recursor-3.7.1/README 2015-02-12 11:16:00.000000000 +0100
-+++ pdns-recursor-3.7.2/README 2015-04-21 15:02:57.000000000 +0200
-@@ -2,7 +2,9 @@
- -------------
- For full details, please read:
-
-- http://doc.powerdns.com/built-in-recursor.html
-+ https://doc.powerdns.com/md/recursor/
-+
-+Here follow some brief notes that may be useful to get you going.
-
- COMPILING
- ---------
-@@ -14,76 +16,29 @@
- You only need to download it, there is no need to compile.
-
- On most modern UNIX distributions, you can simply install 'boost' or
--'boost-dev' or 'boost-devel'. If you don't have that option, or don't want
--to use it, try:
--
--1) head to http://sourceforge.net/project/showfiles.php?group_id=7586 and
--download the latest boost tar.bz2 or tar.gz, perhaps from:
--http://downloads.sourceforge.net/project/boost/boost/1.39.0/boost_1_39_0.tar.bz2?use_mirror=ovh
--(use the first link if this one doesn't work)
--
--2) untar it:
--
--$ tar xjf boost_1_39_0.tar.bz2
--
--3) Compile the PowerDNS recursor using:
--
--$ CXXFLAGS=-I./boost_1_39_0/ ./configure
--$ CXXFLAGS=-I./boost_1_39_0/ make clean
--$ CXXFLAGS=-I./boost_1_39_0/ make all
--(the 'clean' is needed to have make pick up the new boost)
--
--4) Run ./pdns_recursor and you should be set!
--
--5) (g)make install
--
--(use gmake on many BSD variant and Solaris, regular make on Linux)
-+'boost-dev' or 'boost-devel'. Otherwise, just download boost, and point the
-+compiler at the right directory using CPPFLAGS.
-
- OPTIONAL LUA SCRIPTING
- ----------------------
|
[-]
[+]
|
Deleted |
pdns-recursor-3.3-strip.patch
^
|
@@ -1,13 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -54,10 +54,8 @@
- install: all
- -mkdir -p $(DESTDIR)/$(SBINDIR)
- mv pdns_recursor $(DESTDIR)/$(SBINDIR)
-- strip $(DESTDIR)/$(SBINDIR)/pdns_recursor
- mkdir -p $(DESTDIR)/$(BINDIR)
- mv rec_control $(DESTDIR)/$(BINDIR)
-- strip $(DESTDIR)/$(BINDIR)/rec_control
- -mkdir -p $(DESTDIR)/$(CONFIGDIR)
- $(DESTDIR)/$(SBINDIR)/pdns_recursor --config > $(DESTDIR)/$(CONFIGDIR)/recursor.conf-dist
- -mkdir -p $(DESTDIR)/usr/share/man/man1
|
[-]
[+]
|
Deleted |
pdns-recursor-3.3_config.patch
^
|
@@ -1,9 +0,0 @@
---- config.h.orig 2010-03-06 13:10:44.000000000 +0100
-+++ config.h 2010-03-08 07:04:56.000000000 +0100
-@@ -1,4 +1,4 @@
--#define SYSCONFDIR "/etc/powerdns/"
--#define LOCALSTATEDIR "/var/run/"
-+#define SYSCONFDIR "/etc/pdns/"
-+#define LOCALSTATEDIR "/var/run/pdns"
- #define VERSION "3.2"
- #define RECURSOR
|
[-]
[+]
|
Deleted |
pdns-recursor-3.7.0-disable-secpoll.patch
^
|
@@ -1,11 +0,0 @@
---- a/pdns/pdns_recursor.cc
-+++ b/pdns/pdns_recursor.cc
-@@ -2304,7 +2304,7 @@
- ::arg().set("max-total-msec", "Maximum total wall-clock time per query in milliseconds, 0 for unlimited")="7000";
-
- ::arg().set("include-dir","Include *.conf files from this directory")="";
-- ::arg().set("security-poll-suffix","Domain name from which to query security update notifications")="secpoll.powerdns.com.";
-+ ::arg().set("security-poll-suffix","Domain name from which to query security update notifications")="";
-
- ::arg().setCmd("help","Provide a helpful message");
- ::arg().setCmd("version","Print version string");
|
[-]
[+]
|
Deleted |
pdns-recursor-init-rh.patch
^
|
@@ -1,38 +0,0 @@
---- pdns-recursor.init.d.orig 2011-01-20 23:58:11.527523104 +0100
-+++ pdns-recursor.init.d 2011-01-20 23:59:08.827170729 +0100
-@@ -13,7 +13,7 @@
-
- doPC()
- {
-- ret=`$BINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null`
-+ ret=`$SBINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null`
- }
-
-
-@@ -22,7 +22,7 @@
-
- case "$1" in
- status)
-- if test "$NOTRUNNING" = "0"
-+ if [ "$NOTRUNNING" == "0" ]
- then
- echo "running"
- else
-@@ -32,7 +32,7 @@
-
- stop)
- echo -n "Stopping PowerDNS recursing nameserver: "
-- if test "$NOTRUNNING" = "0"
-+ if [ "$NOTRUNNING" == "0" ]
- then
- doPC quit
- echo $ret
-@@ -50,7 +50,7 @@
-
- start)
- echo -n "Starting PowerDNS recursing nameserver: "
-- if test "$NOTRUNNING" = "0"
-+ if [ "$NOTRUNNING" == "0" ]
- then
- echo "already running"
- else
|
|
Deleted |
boost_1_39_0.tar.bz2
^
|
|
Deleted |
pdns-recursor-3.7.1.tar.bz2
^
|
|
Deleted |
pdns-recursor-3.7.2.tar.bz2
^
|
|
Deleted |
pdns-recursor-3.7.3.tar.bz2
^
|
|
Deleted |
pdns-recursor-3.7.4.tar.bz2
^
|
|
Deleted |
pdns-recursor-4.1.16.tar.bz2
^
|
|
Deleted |
pdns-recursor-4.1.4.tar.bz2
^
|
[-]
[+]
|
Deleted |
pdns-recursor.cron
^
|
@@ -1,2 +0,0 @@
-*/1 * * * * root cd /usr/share/pdns-recursor/rrd/ ; ./update >/dev/null 2>&1
-*/1 * * * * root cd /usr/share/pdns-recursor/rrd/ ; ./makegraphs >/dev/null 2>&1
|
[-]
[+]
|
Deleted |
pdns-recursor.init
^
|
@@ -1,278 +0,0 @@
-#! /bin/sh
-# Copyright (c) 1995-2004 SUSE Linux AG, Nuernberg, Germany.
-# All rights reserved.
-#
-# Author: Marcus Rueckert
-# Please send feedback to http://bugs.opensuse.org
-#
-# /etc/init.d/pdns-recursor
-# and its symbolic link
-# /(usr/)sbin/rcpdns-rcursor
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
-# Template system startup script for some example service/daemon PDNS_RECURSOR
-#
-# LSB compatible service control script; see http://www.linuxbase.org/spec/
-#
-# Note: This template uses functions rc_XXX defined in /etc/rc.status on
-# UnitedLinux (UL) based Linux distributions. If you want to base your
-# script on this template and ensure that it works on non UL based LSB
-# compliant Linux distributions, you either have to provide the rc.status
-# functions from UL or change the script to work without them.
-#
-### BEGIN INIT INFO
-# Provides: PDNS_RECURSOR
-# Required-Start: $syslog $remote_fs
-# Should-Start: $time ypbind sendmail
-# Required-Stop: $syslog $remote_fs
-# Should-Stop: $time ypbind sendmail
-# Default-Start: 3 5
-# Default-Stop: 0 1 2 6
-# Short-Description: pdns-recursor is a fast dns-cache
-# Description: pdns-recursor is a fast dns-cache
-### END INIT INFO
-#
-# Any extensions to the keywords given above should be preceeded by
-# X-VendorTag- (X-UnitedLinux- X-SuSE- for us) according to LSB.
-#
-# Notes on Required-Start/Should-Start:
-# * There are two different issues that are solved by Required-Start
-# and Should-Start
-# (a) Hard dependencies: This is used by the runlevel editor to determine
-# which services absolutely need to be started to make the start of
-# this service make sense. Example: nfsserver should have
-# Required-Start: $portmap
-# Also, required services are started before the dependent ones.
-# The runlevel editor will warn about such missing hard dependencies
-# and suggest enabling. During system startup, you may expect an error,
-# if the dependency is not fulfilled.
-# (b) Specifying the init script ordering, not real (hard) dependencies.
-# This is needed by insserv to determine which service should be
-# started first (and at a later stage what services can be started
-# in parallel). The tag Should-Start: is used for this.
-# It tells, that if a service is available, it should be started
-# before. If not, never mind.
-# * When specifying hard dependencies or ordering requirements, you can
-# use names of services (contents of their Provides: section)
-# or pseudo names starting with a $. The following ones are available
-# according to LSB (1.1):
-# $local_fs all local file systems are mounted
-# (most services should need this!)
-# $remote_fs all remote file systems are mounted
-# (note that /usr may be remote, so
-# many services should Require this!)
-# $syslog system logging facility up
-# $network low level networking (eth card, ...)
-# $named hostname resolution available
-# $netdaemons all network daemons are running
-# The $netdaemons pseudo service has been removed in LSB 1.2.
-# For now, we still offer it for backward compatibility.
-# These are new (LSB 1.2):
-# $time the system time has been set correctly
-# $portmap SunRPC portmapping service available
-# UnitedLinux extensions:
-# $ALL indicates that a script should be inserted
-# at the end
-# * The services specified in the stop tags
-# (Required-Stop/Should-Stop)
-# specify which services need to be still running when this service
-# is shut down. Often the entries there are just copies or a subset
-# from the respective start tag.
-# * Should-Start/Stop are now part of LSB as of 2.0,
-# formerly SUSE/Unitedlinux used X-UnitedLinux-Should-Start/-Stop.
-# insserv does support both variants.
-# * X-UnitedLinux-Default-Enabled: yes/no is used at installation time
-# (%fillup_and_insserv macro in %post of many RPMs) to specify whether
-# a startup script should default to be enabled after installation.
-# It's not used by insserv.
-#
-# Note on runlevels:
-# 0 - halt/poweroff 6 - reboot
-# 1 - single user 2 - multiuser without network exported
-# 3 - multiuser w/ network (text mode) 5 - multiuser w/ network and X11 (xdm)
-#
-# Note on script names:
-# http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/scrptnames.html
-# A registry has been set up to manage the init script namespace.
-# http://www.lanana.org/
-# Please use the names already registered or register one or use a
-# vendor prefix.
-
-
-# Check for missing binaries (stale symlinks should not happen)
-# Note: Special treatment of stop for LSB conformance
-PDNS_RECURSOR_BIN=/usr/sbin/pdns_recursor
-test -x $PDNS_RECURSOR_BIN || { echo "$PDNS_RECURSOR_BIN not installed";
- if [ "$1" = "stop" ]; then exit 0;
- else exit 5; fi; }
-
-# Check for existence of needed config file and read it
-#PDNS_RECURSOR_CONFIG=/etc/sysconfig/pdns
-#test -r $PDNS_RECURSOR_CONFIG || { echo "$PDNS_RECURSOR_CONFIG not existing";
-# if [ "$1" = "stop" ]; then exit 0;
-# else exit 6; fi; }
-
-# Read config
-#. $PDNS_RECURSOR_CONFIG
-
-# Source LSB init functions
-# providing start_daemon, killproc, pidofproc,
-# log_success_msg, log_failure_msg and log_warning_msg.
-# This is currently not used by UnitedLinux based distributions and
-# not needed for init scripts for UnitedLinux only. If it is used,
-# the functions from rc.status should not be sourced or used.
-#. /lib/lsb/init-functions
-
-# Shell functions sourced from /etc/rc.status:
-# rc_check check and set local and overall rc status
-# rc_status check and set local and overall rc status
-# rc_status -v be verbose in local rc status and clear it afterwards
-# rc_status -v -r ditto and clear both the local and overall rc status
-# rc_status -s display "skipped" and exit with status 3
-# rc_status -u display "unused" and exit with status 3
-# rc_failed set local and overall rc status to failed
-# rc_failed <num> set local and overall rc status to <num>
-# rc_reset clear both the local and overall rc status
-# rc_exit exit appropriate to overall rc status
-# rc_active checks whether a service is activated by symlinks
-. /etc/rc.status
-
-# Reset status of this service
-rc_reset
-
-# Return values acc. to LSB for all commands but status:
-# 0 - success
-# 1 - generic or unspecified error
-# 2 - invalid or excess argument(s)
-# 3 - unimplemented feature (e.g. "reload")
-# 4 - user had insufficient privileges
-# 5 - program is not installed
-# 6 - program is not configured
-# 7 - program is not running
-# 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl)
-#
-# Note that starting an already running service, stopping
-# or restarting a not-running service as well as the restart
-# with force-reload (in case signaling is not supported) are
-# considered a success.
-
-case "$1" in
- start)
- echo -n "Starting pdns recursor "
- ## Start daemon with startproc(8). If this fails
- ## the return value is set appropriately by startproc.
- /sbin/startproc -q $PDNS_RECURSOR_BIN
-
- # Remember status and be verbose
- rc_status -v
- ;;
- stop)
- echo -n "Shutting down pdns recursor "
- ## Stop daemon with killproc(8) and if this fails
- ## killproc sets the return value according to LSB.
-
- /sbin/killproc -TERM $PDNS_RECURSOR_BIN
-
- # Remember status and be verbose
- rc_status -v
- ;;
- try-restart|condrestart)
- ## Do a restart only if the service was active before.
- ## Note: try-restart is now part of LSB (as of 1.9).
- ## RH has a similar command named condrestart.
- if test "$1" = "condrestart"; then
- echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
- fi
- $0 status
|
|
Deleted |
ready
^
|
[-]
[+]
|
Deleted |
recursor.conf
^
|
@@ -1,115 +0,0 @@
-## turn on to do AAAA additional processing (slow)
-##
-#aaaa-additional-processing=off
-
-##
-## If set, only allow these comma separated netmasks to recurse
-##
-## By default it only allows queries from
-##
-## 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12
-##
-#allow-from=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12
-
-##
-## switch to chroot jail
-##
-chroot=/var/lib/pdns
-
-##
-## Timeout in seconds when talking to TCP clients
-##
-#client-tcp-timeout=2
-
-##
-## Operate as a daemon
-##
-#daemon=yes
-
-##
-## Which domains we only accept delegations from
-##
-#delegation-only=
-
-##
-## If set, fork the daemon for possible double performance
-##
-#fork=no
-
-##
-## If set, load root hints from this file
-##
-#hint-file=
-
-##
-## IP addresses to listen on, separated by spaces or commas
-##
-## By default it only listens on 127.0.0.1. If you want to serve
-## for more than one host you should change this.
-##
-#local-address=127.0.0.1
-
-##
-## port to listen on
-##
-#local-port=53
-
-##
-## If we should log rather common errors
-##
-#log-common-errors=yes
-
-##
-## If set, maximum number of entries in the main cache
-##
-#max-cache-entries=0
-
-##
-## Maximum number of simultaneous TCP clients
-##
-#max-tcp-clients=128
-
-##
-## If set, maximum number of TCP sessions per client (IP address)
-##
-#max-tcp-per-client=0
-
-##
-## Source IP address for sending queries
-##
-#query-local-address=0.0.0.0
-
-##
-## Source port address for sending queries, defaults to random
-##
-#query-local-port=12345
-
-##
-## Suppress logging of questions and answers
-##
-#quiet=yes
-
-##
-## If set, change group id to this gid for more security
-##
-setgid=pdns
-
-##
-## If set, change user id to this uid for more security
-##
-setuid=pdns
-
-##
-## If set, only use a single socket for outgoing queries
-##
-#single-socket=off
-
-##
-## If non-zero, assume spoofing after this many near misses
-##
-#spoof-nearmiss-max=20
-
-##
-## if we should output heaps of logging
-##
-#trace=off
|