This commit is contained in:
root 2009-11-02 02:16:14 -08:00
parent b6948c2951
commit d46dfd24d8
3 changed files with 15 additions and 22 deletions

View file

@ -1,36 +1,28 @@
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=db
pkgver=4.7.25
pkgver=4.8.24
_basever=4.8.24
pkgrel=1
pkgdesc="The Berkeley DB embedded database system"
arch=('arm')
license=('custom')
arch=(i686 x86_64 arm)
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
license=('custom')
groups=('base')
depends=('gcc-libs')
depends=('gcc-libs' 'sh')
options=('!libtool')
source=(http://download-uk.oracle.com/berkeley-db/db-$pkgver.tar.gz
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.1
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.2
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')
source=(http://download-uk.oracle.com/berkeley-db/db-${_basever}.tar.gz)
md5sums=('147afdecf438ff99ade105a5272db158')
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
cd ${srcdir}/$pkgname-${_basever}/build_unix
../dist/configure --prefix=/usr --enable-compat185 \
--enable-shared --enable-static --enable-cxx
make LIBSO_LIBS=-lpthread || return 1
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/docs
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 ${srcdir}/${pkgname}-${_basever}/LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

View file

@ -1,4 +1,5 @@
post_upgrade() {
echo "ATTENTION DB PACKAGE:"
echo "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
echo "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
}

View file

@ -10,7 +10,7 @@ license=('custom')
url="http://www.openldap.org/"
backup=(etc/openldap/ldap.conf)
depends=('libsasl' 'openssl>=0.9.8f')
makedepends=('tcp_wrappers')
makedepends=('tcp_wrappers' 'groff')
options=('!libtool')
source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz
ntlm.patch)