--- /dev/null
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc pdns-2.9.19/modules/ldapbackend/ldapbackend.cc
+--- pdns-2.9.19-orig/modules/ldapbackend/ldapbackend.cc 2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/ldapbackend.cc 2005-11-16 17:22:33.000000000 +0000
+@@ -429,7 +429,7 @@
+ continue;
+ }
+
+- rr.priority = (uint16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
++ rr.priority = (u_int16_t) strtoul( (content.substr( 0, first )).c_str(), &endptr, 10 );
+ if( *endptr != '\0' )
+ {
+ L << Logger::Warning << m_myname << " Invalid " << attrname << " without priority for " << m_qname << ": " << content << endl;
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc pdns-2.9.19/modules/ldapbackend/powerldap.cc
+--- pdns-2.9.19-orig/modules/ldapbackend/powerldap.cc 2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/powerldap.cc 2005-11-16 17:22:59.000000000 +0000
+@@ -2,7 +2,7 @@
+
+
+
+-PowerLDAP::PowerLDAP( const string& host, uint16_t port, bool tls )
++PowerLDAP::PowerLDAP( const string& host, u_int16_t port, bool tls )
+ {
+ int protocol = LDAP_VERSION3;
+
+diff -Naur pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh pdns-2.9.19/modules/ldapbackend/powerldap.hh
+--- pdns-2.9.19-orig/modules/ldapbackend/powerldap.hh 2005-09-03 18:12:43.000000000 +0000
++++ pdns-2.9.19/modules/ldapbackend/powerldap.hh 2005-11-16 17:23:23.000000000 +0000
+@@ -69,7 +69,7 @@
+ typedef map<string, vector<string> > sentry_t;
+ typedef vector<sentry_t> sresult_t;
+
+- PowerLDAP( const string& host = "127.0.0.1", uint16_t port = LDAP_PORT, bool tls = false );
++ PowerLDAP( const string& host = "127.0.0.1", u_int16_t port = LDAP_PORT, bool tls = false );
+ ~PowerLDAP();
+
+ void getOption( int option, int* value );
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.18
-Release: 2
+Version: 2.9.19
+Release: 0.1
License: GPL
Group: Networking/Daemons
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
-# Source0-md5: bcfb0573311e80dbeff0bb16f2764363
+# Source0-md5: 30c96878b56845329cca5b8a351277b4
Source1: http://downloads.powerdns.com/documentation/%{name}.pdf
# Source1-md5: f183b5bec39e40f8c55c19afc3a3f933
Source2: http://downloads.powerdns.com/documentation/%{name}.txt
Source5: %{name}.sysconfig
Patch0: %{name}-configure.patch
Patch1: %{name}-strbind.patch
+Patch2: %{name}-int16.patch
URL: http://www.powerdns.com/
BuildRequires: bison
+BuildRequires: boost-devel
+BuildRequires: boost-ref-devel
BuildRequires: flex
BuildRequires: libstdc++-devel
BuildRequires: libpq++-devel
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+# remove this ??
+#%patch1 -p1
+%patch2 -p1
cp %{SOURCE1} .
cp %{SOURCE2} .