Package Details: db4.5 4.5.20-2

Git Clone URL: https://aur.archlinux.org/db4.5.git (read-only, click to copy)
Package Base: db4.5
Description: The Berkeley DB embedded database system 4.5
Upstream URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html
Licenses: custom:db4.5
Submitter: Allan
Maintainer: jorge_barroso
Last Packager: jorge_barroso
Votes: 121
Popularity: 0.000000
First Submitted: 2010-10-03 02:10
Last Updated: 2015-06-15 19:24

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

johan.thoren commented on 2011-03-26 19:54

==> Retrieving Sources...
-> Found db-4.5.20.tar.gz
-> Downloading patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720...
--2011-03-26 20:52:17-- https://api.opensuse.org/public/source/openSUSE:Factory/libdb-4_5/patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720
Resolving api.opensuse.org... 195.135.221.33
Connecting to api.opensuse.org|195.135.221.33|:443... failed: Connection refused.
==> ERROR: Failure while downloading patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720
Aborting...
==> ERROR: Makepkg was unable to build db4.5.

bhedrich commented on 2010-10-20 15:21

Working PKGBUILD: http://aur.pastebin.com/1CKdbm2F

bhedrich commented on 2010-10-20 15:20

# $Id: PKGBUILD 49850 2009-08-16 18:49:10Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=db4.5
pkgver=4.5.20
pkgrel=3
pkgdesc="The Berkeley DB embedded database system 4.5"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
depends=('gcc-libs')
options=('!libtool' '!makeflags')
source=(http://download-uk.oracle.com/berkeley-db/db-${pkgver}.tar.gz
'https://api.opensuse.org/public/source/openSUSE:Factory/libdb-4_5/patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720'
'https://api.opensuse.org/public/source/openSUSE:Factory/libdb-4_5/patch.4.5.20.2?rev=fe92790d74f3a3b7d082cb22b7187720'
)
md5sums=('b0f1c777708cb8e9d37fb47e7ed3312d'
'a571e239b9041d7990df287cbc59ad6f'
'b7a7086a067ba116f5a8464362c9a9a7')

build() {
cd "${srcdir}/db-${pkgver}"
patch -Np0 -i "${srcdir}/patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720" || return 1
patch -Np0 -i "${srcdir}/patch.4.5.20.2?rev=fe92790d74f3a3b7d082cb22b7187720" || return 1

cd build_unix
../dist/configure --prefix=/usr --enable-compat185 \
--enable-shared --disable-static --enable-cxx || return 1
make LIBSO_LIBS=-lpthread || return 1
make prefix="${pkgdir}/usr" \
includedir="${pkgdir}/usr/include/db4.5" install || return 1

rm -rf "${pkgdir}/usr/docs"
rm -f "${pkgdir}/usr/lib"/libdb{,_cxx}.so
rm -f "${pkgdir}/usr/lib"/libdb{,_cxx}-4.so

cd "${pkgdir}/usr/bin"
for i in *; do
mv ${i} db4.5_${i/db_/} || return 1
done
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/db-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

Anonymous comment on 2010-10-17 15:54

patch.4.5.20.1
https://api.opensuse.org/public/source/openSUSE:Factory/libdb-4_5/patch.4.5.20.1?rev=fe92790d74f3a3b7d082cb22b7187720&
patch.4.5.20.2
https://api.opensuse.org/public/source/openSUSE:Factory/libdb-4_5/patch.4.5.20.2?rev=fe92790d74f3a3b7d082cb22b7187720&

csgeek commented on 2010-10-16 15:25

http://pastie.org/1225801

Patches don't exist on Oracle's servers anymore. Updated the md5sum, this worked for me. PKGBUILD on pastie

robcat commented on 2010-10-04 15:06

Both the patch files don't pass the md5sum check

Allan commented on 2010-10-03 02:10

Removed from [extra]