diff options
Diffstat (limited to 'community/squid/PKGBUILD')
-rw-r--r-- | community/squid/PKGBUILD | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD index 396e514a3..54a864ffc 100644 --- a/community/squid/PKGBUILD +++ b/community/squid/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 91502 2013-05-23 10:15:09Z spupykin $ +# $Id: PKGBUILD 93361 2013-07-02 09:44:06Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Mark Coolen <mark.coolen@gmail.com> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Kevin Piche <kevin@archlinux.org> pkgname=squid -pkgver=3.3.5 -pkgrel=2 +pkgver=3.3.6 +pkgrel=1 pkgdesc='Full-featured Web proxy cache server' arch=('x86_64' 'i686' 'mips64el') url='http://www.squid-cache.org' depends=('openssl' 'pam' 'cron' 'perl' 'libltdl') -makedepends=('libcap') +makedepends=('libcap' 'krb5') license=('GPL') options=('emptydirs') backup=('etc/squid/squid.conf' @@ -21,12 +21,12 @@ source=("http://www.squid-cache.org/Versions/v3/3.3/$pkgname-$pkgver.tar.bz2" 'squid.pam' 'squid.cron' 'squid.service') -md5sums=('c7991aa8528034af0e21a69edf26e41b' +md5sums=('8dff6c8e9f46722fc62131364f0eeac6' '270977cdd9b47ef44c0c427ab9034777' 'a71425c4951f2e5b640d19e6a5048531' 'ceeb57c69ebb165676219222f109a24e') -build() { +prepare() { cd "$srcdir/$pkgname-$pkgver" # gcc 4.6 doesn't support -fhuge-objects. @@ -39,6 +39,20 @@ build() { sed -i '1,1i#include <errno.h>' helpers/external_acl/file_userip/ext_file_userip_acl.cc + for i in \ + helpers/basic_auth/DB \ + helpers/log_daemon/DB \ + helpers/negotiate_auth/kerberos \ + helpers/external_acl/SQL_session; \ + do + echo -e "#!/bin/sh\nexit 0" >$i/config.test + chmod 0755 $i/config.test + done +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ |