[arch-commits] Commit in db/trunk (PKGBUILD db.install)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Jan 18 12:42:58 UTC 2009


    Date: Sunday, January 18, 2009 @ 07:42:58
  Author: andyrtr
Revision: 24560

upgpkg: db 4.7.25-2
    added upstream patches and fixed #12844

Modified:
  db/trunk/PKGBUILD
  db/trunk/db.install

------------+
 PKGBUILD   |   24 +++++++++++++++++++-----
 db.install |   24 ------------------------
 2 files changed, 19 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-01-18 11:41:49 UTC (rev 24559)
+++ PKGBUILD	2009-01-18 12:42:58 UTC (rev 24560)
@@ -3,19 +3,33 @@
 
 pkgname=db
 pkgver=4.7.25
-pkgrel=1
+pkgrel=2
 pkgdesc="The Berkeley DB embedded database system"
 arch=(i686 x86_64)
 license=('custom')
 url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
 groups=('base')
-depends=('gcc-libs' 'coreutils')
+depends=('gcc-libs')
 options=('!libtool')
-source=(http://download-uk.oracle.com/berkeley-db/db-$pkgver.tar.gz)
-install=(db.install)
-md5sums=('ec2b87e833779681a0c3a814aa71359e')
+source=(http://download-uk.oracle.com/berkeley-db/db-$pkgver.tar.gz
+	#post release upstream patches
+	# [#16406] Replication clients should be able to open a sequence.
+	http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.1
+	# [#16415] DB_ENV->lock_get may self deadlock if user defined locks are used and there is only one lock partition defined. 
+	http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.2
+	# [#16541] Fix for dd segfaults. 
+	http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.3)
+install=db.install
+md5sums=('ec2b87e833779681a0c3a814aa71359e'
+         '5fdf101259e5164dea1c8c86214fde38'
+         'bd410a11c71fee52fddb6aa2d8d4f80c'
+         '6fcd69f64f5b34bfe8f0a63cc2e402c1')
 
 build() {
+  cd ${srcdir}/$pkgname-$pkgver
+  patch -Np0 -i ${srcdir}/patch.4.7.25.1 || return 1
+  patch -Np0 -i ${srcdir}/patch.4.7.25.2 || return 1
+  patch -Np0 -i ${srcdir}/patch.4.7.25.3 || return 1
   cd ${srcdir}/$pkgname-$pkgver/build_unix
   ../dist/configure --prefix=/usr --enable-compat185 \
     --enable-shared --enable-static --enable-cxx

Modified: db.install
===================================================================
--- db.install	2009-01-18 11:41:49 UTC (rev 24559)
+++ db.install	2009-01-18 12:42:58 UTC (rev 24560)
@@ -1,29 +1,5 @@
-# This is a default template for a post-install scriptlet.  You can
-# remove any functions you don't need (and this header).
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_upgrade() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
 post_upgrade() {
   echo "ATTENTION DB PACKAGE:"
   echo  "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
 }
 
-# arg 1:  the old package version
-pre_remove() {
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove() {
-  /bin/true
-}
-
-op=$1
-shift
-$op $*
\ No newline at end of file




More information about the arch-commits mailing list