OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web, openpkg-src Date: 11-Nov-2002 17:17:54
Branch: HEAD Handle: 2002111116175301
Modified files:
openpkg-src/postfix postfix-db4.patch postfix.spec
openpkg-web news.txt
Log:
make Postfix finally working with Berkeley DB 4.1
Summary:
Revision Changes Path
1.3 +18 -1 openpkg-src/postfix/postfix-db4.patch
1.85 +1 -1 openpkg-src/postfix/postfix.spec
1.1991 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
Index: openpkg-src/postfix/postfix-db4.patch
============================================================
$ cvs diff -u -r1.2 -r1.3 postfix-db4.patch
--- openpkg-src/postfix/postfix-db4.patch 14 Oct 2002 18:02:22 -0000 1.2
+++ openpkg-src/postfix/postfix-db4.patch 11 Nov 2002 16:17:54 -0000 1.3
@@ -1,4 +1,3 @@
-diff -Naur postfix-1.1.11.orig/src/util/dict_db.c postfix-1.1.11/src/util/dict_db.c
--- postfix-1.1.11.orig/src/util/dict_db.c Mon Oct 14 18:54:26 2002
+++ postfix-1.1.11/src/util/dict_db.c Mon Oct 14 19:52:16 2002
@@ -520,8 +520,13 @@
@@ -15,3 +14,21 @@
if ((errno = db->fd(db, &dbfd)) != 0)
msg_fatal("get database file descriptor: %m");
#endif
+--- postfix-1.1.11.orig/src/global/mkmap_db.c.orig Mon Nov 20 19:05:25 2000
++++ postfix-1.1.11/src/global/mkmap_db.c Mon Nov 11 17:09:36 2002
+@@ -66,7 +66,15 @@
+ /*
+ * Fill in the generic members.
+ */
++#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
++ /* OpenPKG/RSE hack: lock source instead of target file because more
++ than one edge in Postfix really want the locked file to be created
++ and implicitly insist that the lock is not a dedicated file (for
++ instance it is not removed after closing, etc) */
++ mkmap->lock_file = concatenate(path, (char *) 0);
++#else
+ mkmap->lock_file = concatenate(path, ".db", (char *) 0);
++#endif
+ mkmap->open = db_open;
+
+ /*
Index: openpkg-src/postfix/postfix.spec
============================================================
$ cvs diff -u -r1.84 -r1.85 postfix.spec
--- openpkg-src/postfix/postfix.spec 14 Oct 2002 18:06:45 -0000 1.84
+++ openpkg-src/postfix/postfix.spec 11 Nov 2002 16:17:54 -0000 1.85
@@ -49,7 +49,7 @@
Group: Mail
License: IPL
Version: %{V_postfix}
-Release: 20021014
+Release: 20021111
# list of sources
Source0:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-%{V_postfix}.tar.gz
Index: openpkg-web/news.txt
============================================================
$ cvs diff -u -r1.1990 -r1.1991 news.txt
--- openpkg-web/news.txt 11 Nov 2002 13:42:57 -0000 1.1990
+++ openpkg-web/news.txt 11 Nov 2002 16:17:53 -0000 1.1991
@@ -1,3 +1,4 @@
+11-Nov-2002: Upgraded package: P<postfix-1.1.11-20021111>
11-Nov-2002: Upgraded package: P<db-4.1.24.6-20020916>
11-Nov-2002: Upgraded package: P<perl-xml-20021111-20021111>
11-Nov-2002: Upgraded package: P<imagemagick-5.5.1.6-20021111>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]