]> git.pld-linux.org Git - packages/pdns.git/commitdiff
- up to 2.9.19, rel 0.1
authorMarcin Winkler <qurczak@gmail.com>
Thu, 17 Nov 2005 18:10:52 +0000 (18:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- works but backend not tested

Changed files:
    pdns-int16.patch -> 1.1
    pdns.spec -> 1.48

pdns-int16.patch [new file with mode: 0644]
pdns.spec

diff --git a/pdns-int16.patch b/pdns-int16.patch
new file mode 100644 (file)
index 0000000..1b59d30
--- /dev/null
@@ -0,0 +1,36 @@
+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 );
index 8e6d2df2e5879492514b81f49f26be02a73ca31c..4e2e9292b440641b6221c979774f195c92afdffc 100644 (file)
--- a/pdns.spec
+++ b/pdns.spec
@@ -1,12 +1,12 @@
 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
@@ -15,8 +15,11 @@ Source4:     %{name}.conf
 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
@@ -103,7 +106,9 @@ LDAP.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+# remove this ??
+#%patch1 -p1
+%patch2 -p1
 cp %{SOURCE1} .
 cp %{SOURCE2} .
 
This page took 0.096451 seconds and 4 git commands to generate.