[arch-commits] Commit in postfix/trunk (PKGBUILD buildfix_db6.diff)

Gaetan Bisson bisson at nymeria.archlinux.org
Wed Aug 21 05:49:52 UTC 2013


    Date: Wednesday, August 21, 2013 @ 07:49:52
  Author: bisson
Revision: 193479

revert migration to Oracle's DB6

Modified:
  postfix/trunk/PKGBUILD
Deleted:
  postfix/trunk/buildfix_db6.diff

-------------------+
 PKGBUILD          |   10 ++--------
 buildfix_db6.diff |   11 -----------
 2 files changed, 2 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-21 02:11:50 UTC (rev 193478)
+++ PKGBUILD	2013-08-21 05:49:52 UTC (rev 193479)
@@ -5,7 +5,7 @@
 
 pkgname=postfix
 pkgver=2.10.1
-pkgrel=2
+pkgrel=1
 pkgdesc='Fast, easy to administer, secure mail server'
 url='http://www.postfix.org/'
 license=('custom')
@@ -14,12 +14,9 @@
          'libmariadbclient' 'postgresql-libs' 'sqlite' 'tinycdb')
 backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
 source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz"{,.sig}
-        'buildfix_db6.diff'
         'aliases.patch'
         'service')
-sha1sums=('3e236cf95a7439750e92d9ef5cd510c00e603eb2'
-          'SKIP'
-          '50663b218f59d5c16d523c8949dc4e736fb7da37'
+sha1sums=('3e236cf95a7439750e92d9ef5cd510c00e603eb2' 'SKIP'
           '5fc3de6c7df1e5851a0a379e825148868808318b'
           'dd12885d367bebaf0fc9d2e9823a7f82086b6ee9')
 
@@ -31,9 +28,6 @@
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 
-	# fix build with Berkeley DB 6.x - let's pray db format hasn't changed
-	patch -Np1 -i $srcdir/buildfix_db6.diff
-
 	make makefiles DEBUG='' CCARGS=' \
 		-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
 		-DHAS_LDAP \

Deleted: buildfix_db6.diff
===================================================================
--- buildfix_db6.diff	2013-08-21 02:11:50 UTC (rev 193478)
+++ buildfix_db6.diff	2013-08-21 05:49:52 UTC (rev 193479)
@@ -1,11 +0,0 @@
---- postfix-2.10.1/src/util/dict_db.c	2013-08-07 20:21:59.935379313 +0200
-+++ postfix-2.10.1/src/util/dict_db.c.new	2013-08-07 20:24:10.172473653 +0200
-@@ -693,7 +693,7 @@
- 	msg_fatal("set DB cache size %d: %m", dict_db_cache_size);
-     if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
- 	msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
--#if DB_VERSION_MAJOR == 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
-+#if DB_VERSION_MAJOR == 6 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
-     if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)
- 	FREE_RETURN(dict_surrogate(class, path, open_flags, dict_flags,
- 				   "open database %s: %m", db_path));




More information about the arch-commits mailing list