From 7b4f6e66437eb6af84bb03cd5fe090eb8d4999d5 Mon Sep 17 00:00:00 2001 From: abveritas Date: Sun, 16 Dec 2012 16:59:46 +0000 Subject: [PATCH] apr & apr-util update for sed/apache build issue --- apr-util/PKGBUILD | 6 +++--- apr/PKGBUILD | 31 +++++++++++++++++-------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/apr-util/PKGBUILD b/apr-util/PKGBUILD index c397065a9..dd2958485 100644 --- a/apr-util/PKGBUILD +++ b/apr-util/PKGBUILD @@ -4,16 +4,16 @@ # maintainer abveritas@chakra-project.org pkgname=apr-util -pkgver=1.4.1 +pkgver=1.5.1 pkgrel=1 pkgdesc="The Apache Portable Runtime" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://apr.apache.org/" depends=('apr' 'gdbm' 'expat' 'db' 'libldap' 'unixodbc') options=('!libtool') license=('APACHE') source=("http://www.apache.org/dist/apr/apr-util-${pkgver}.tar.bz2") -md5sums=('52b31b33fb1aa16e65ddaefc76e41151') +md5sums=('9c1db8606e520f201c451ec9a0b095f6') build() { cd "${srcdir}/apr-util-${pkgver}" diff --git a/apr/PKGBUILD b/apr/PKGBUILD index 28ec19516..e8542cc2e 100644 --- a/apr/PKGBUILD +++ b/apr/PKGBUILD @@ -1,34 +1,37 @@ # # Core Packages for Chakra, part of chakra-project.org # -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf +# maintainer abveritas[at]chakra-project[dot]org> pkgname=apr -pkgver=1.4.5 -pkgrel=2 +pkgver=1.4.6 +pkgrel=1 pkgdesc="The Apache Portable Runtime" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://apr.apache.org/" -depends=('util-linux-ng>=2.16') +depends=('util-linux') options=('!libtool') license=('APACHE') -source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2) -md5sums=('daf5487c82dd7bec9c005c96f8cb01b1') - -md5sums=('8b53f5a5669d0597f2da889a2f576eb6') +source=("http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2") +md5sums=('ffee70a111fd07372982b0550bbb14b7') build() { cd "${srcdir}/apr-${pkgver}" - export apr_cv_accept4=no + ./configure --prefix=/usr --includedir=/usr/include/apr-1 \ --with-installbuilddir=/usr/share/apr-1/build \ --enable-nonportable-atomics \ --with-devrandom=/dev/urandom make +} + +check() { + cd "${srcdir}/apr-${pkgver}" + make -j1 check +} + +package() { + cd "${srcdir}/apr-${pkgver}" make DESTDIR="${pkgdir}" install }