OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 02-Apr-2003 17:59:59
Branch: HEAD Handle: 2003040216595801
Added files:
openpkg-src/postfix postfix.patch
Modified files:
openpkg-src/postfix postfix.spec
openpkg-web news.txt
Log:
get rid of deprecated OpenLDAP calls - next postfix release SHOULD fix
this
Summary:
Revision Changes Path
1.1 +23 -0 openpkg-src/postfix/postfix.patch
1.123 +5 -1 openpkg-src/postfix/postfix.spec
1.3929 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postfix/postfix.patch
============================================================================
$ cvs diff -u -r0 -r1.1 postfix.patch
--- /dev/null 2003-04-02 17:59:59.000000000 +0200
+++ postfix.patch 2003-04-02 17:59:59.000000000 +0200
@@ -0,0 +1,23 @@
+--- src/util/dict_ldap.c.dist Wed Apr 2 17:31:29 2003
++++ src/util/dict_ldap.c Wed Apr 2 17:37:22 2003
+@@ -400,20 +400,6 @@
+ myname, dict_ldap->ldapsource);
+ }
+ }
+-#else
+-
+- rc = ldap_enable_cache(dict_ldap->ld, dict_ldap->cache_expiry,
+- dict_ldap->cache_size);
+- if (rc != LDAP_SUCCESS) {
+- msg_warn
+- ("%s: Unable to configure cache for %s: %d (%s) -- continuing",
+- myname, dict_ldap->ldapsource, rc, ldap_err2string(rc));
+- } else {
+- if (msg_verbose)
+- msg_info("%s: Caching enabled for %s",
+- myname, dict_ldap->ldapsource);
+- }
+-
+ #endif
+ }
+ if (msg_verbose)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/postfix/postfix.spec
============================================================================
$ cvs diff -u -r1.122 -r1.123 postfix.spec
--- openpkg-src/postfix/postfix.spec 20 Mar 2003 14:05:36 -0000 1.122
+++ openpkg-src/postfix/postfix.spec 2 Apr 2003 15:59:59 -0000 1.123
@@ -38,7 +38,7 @@
Group: Mail
License: IPL
Version: %{V_postfix}
-Release: 20030320
+Release: 20030402
# package options
%option with_tls no
@@ -53,6 +53,7 @@
Source4: fsl.postfix
Source5: rc.postfix
Patch0: pflogsumm.patch
+Patch1: postfix.patch
# build information
Prefix: %{l_prefix}
@@ -104,6 +105,9 @@
# apply pflogsumm patch
( cd pflogsumm-%{V_pflogsumm}; %{l_patch} -p0 <%{SOURCE pflogsumm.patch} )
+
+ # drop deprecated openldap API
+ %patch1
%build
# configure Postfix (hard-core part I)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3928 -r1.3929 news.txt
--- openpkg-web/news.txt 2 Apr 2003 14:39:35 -0000 1.3928
+++ openpkg-web/news.txt 2 Apr 2003 15:59:58 -0000 1.3929
@@ -1,3 +1,4 @@
+02-Apr-2003: Upgraded package: P<postfix-2.0.7-20030402>
02-Apr-2003: Upgraded package: P<ksh-20021221-20030117>
02-Apr-2003: Upgraded package: P<rt-3.0.0-20030402>
02-Apr-2003: Upgraded package: P<perl-xml-20030402-20030402>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]