diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-11-15 14:34:01 +0000 |
commit | 28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch) | |
tree | b5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /testing/gdbm/PKGBUILD | |
parent | 3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff) |
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'testing/gdbm/PKGBUILD')
-rw-r--r-- | testing/gdbm/PKGBUILD | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/testing/gdbm/PKGBUILD b/testing/gdbm/PKGBUILD deleted file mode 100644 index b56c4a3b0..000000000 --- a/testing/gdbm/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# $Id: PKGBUILD 142050 2011-11-04 22:53:48Z stephane $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: judd <jvinet@zeroflux.org> - -pkgname=gdbm -pkgver=1.8.3 -pkgrel=9 -pkgdesc="GNU database library" -url="http://www.gnu.org/software/gdbm/gdbm.html" -license=('GPL') -arch=('i686' 'x86_64') -depends=('glibc' 'sh') -source=(ftp://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz - gdbm-1.8.3-zeroheaders.patch - gdbm-1.8.3-fhs.patch) -options=('!libtool' '!makeflags') -install=gdbm.install -md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1' - 'a2ed344be9258775bd718074cf2e4ec6' - '66a7c235416c136dc89efc7d03352514') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Prevent gdbm from storing uninitialized memory content - # to database files. This patch improves security, as the - # uninitialized memory might contain sensitive informations - # from other applications. - # https://bugzilla.redhat.com/show_bug.cgi?id=4457 - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208927 - patch -Np1 -i ../gdbm-1.8.3-zeroheaders.patch - - # Make gdbm buildable. - patch -Np1 -i ../gdbm-1.8.3-fhs.patch - - libtoolize --force --copy - aclocal - autoconf - - ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info - - # flock does not work on nfs, we use fcntl instead - # https://bugzilla.redhat.com/show_bug.cgi?id=477300 - echo "/* We use fcntl locking (POSIX) instead of flock (BSD) */" >> autoconf.h - echo "#undef HAVE_FLOCK" >> autoconf.h - - make prefix=/usr -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make prefix=$pkgdir/usr \ - manprefix=$pkgdir/usr/share/man \ - man3dir=$pkgdir/usr/share/man/man3 \ - infodir=$pkgdir/usr/share/info \ - install install-compat - - ln -sf gdbm/gdbm.h $pkgdir/usr/include -} |