]> git.pld-linux.org Git - packages/pdns.git/commitdiff
- updated to 2.9.15
authorzergin <zergin@pld-linux.org>
Wed, 21 Jan 2004 18:18:59 +0000 (18:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- contains dirty hack for proccessing config file - trailing blank
  characters need to be deleted
- note for LDAP users: ldap-port is now depricated, insted use
  ldap-serwer=serwer_address:serwer_port

Changed files:
    pdns.spec -> 1.25

pdns.spec

index 3bdfe06f80af180db63f412546c16edf7b3daf35..196190cf0a592f371da73218d7bdad2627b0aaec 100644 (file)
--- a/pdns.spec
+++ b/pdns.spec
@@ -1,23 +1,23 @@
 Summary:       PowerDNS is a Versatile Database Driven Nameserver
 Summary(pl):   PowerDNS to wielofunkcyjny serwer nazw korzystaj¹cy z relacyjnych baz danych
 Name:          pdns
-Version:       2.9.13
-Release:       2
+Version:       2.9.15
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
-# Source0-md5: ffd80b49f553cbaaa089a02a90df7729
+# Source0-md5: 3465694b9638c29f19a25dd5b0a77559
 Source1:       http://downloads.powerdns.com/documentation/%{name}.pdf
 # Source1-md5: 0d71bf412024d04d6a0fca10f2714c22
 Source2:       http://downloads.powerdns.com/documentation/%{name}.txt
 Source3:       %{name}.init
 Source4:       %{name}.conf
 Source5:       %{name}.sysconfig
-Patch0:                %{name}-sqlload.patch
+Patch0:                %{name}-unistd.patch
 URL:           http://www.powerdns.com/
 BuildRequires: bison
 BuildRequires: flex
-BuildRequires: libpq++-devel
+BuildRequires: libpq++-static
 BuildRequires: libstdc++-devel
 BuildRequires: mysql-devel
 BuildRequires: zlib-devel
@@ -110,9 +110,10 @@ CPPFLAGS="-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=\"\""
        --with-socketdir=/var/run \
        --with-dynmodules="gmysql gpgsql pipe ldap" \
        --with-modules="" \
-       --with-pgsql-includes=%{_includedir} \
        --enable-mysql \
        --enable-pgsql \
+       --with-pgsql-lib=/usr/lib \
+       --with-pgsql-includes=%{_includedir} \
        --enable-ldap \
        --disable-static
 
@@ -154,6 +155,12 @@ else
 fi
 
 %post
+# dirty hack so the config file is processed correctly, and server does not respawn
+TMP=`mktemp /tmp/pdns.install-tmp.XXXXXX`
+sed 's/^ *//g' /etc/pdns/pdns.conf > $TMP
+cp /etc/pdns/pdns.conf /etc/pdns/pdns.conf.rpmsave
+mv $TMP /etc/pdns/pdns.conf
+
 /sbin/chkconfig --add pdns
 if [ -f /var/lock/subsys/pdns ]; then
        /etc/rc.d/init.d/pdns restart >&2
This page took 0.123642 seconds and 4 git commands to generate.