summaryrefslogtreecommitdiff
path: root/community/squid
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/squid
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/squid')
-rw-r--r--community/squid/PKGBUILD38
1 files changed, 8 insertions, 30 deletions
diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD
index 72cf25647..e706a9343 100644
--- a/community/squid/PKGBUILD
+++ b/community/squid/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 100452 2013-11-04 12:13:15Z spupykin $
+# $Id: PKGBUILD 102758 2013-12-19 10:29:53Z 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.10
-pkgrel=1
+pkgver=3.4.1
+pkgrel=2
pkgdesc='Full-featured Web proxy cache server'
arch=('x86_64' 'i686')
url='http://www.squid-cache.org'
@@ -17,39 +17,15 @@ options=('emptydirs')
backup=('etc/squid/squid.conf'
'etc/squid/mime.conf')
install=$pkgname.install
-source=("http://www.squid-cache.org/Versions/v3/3.3/$pkgname-$pkgver.tar.bz2"
+source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2"
'squid.pam'
'squid.cron'
'squid.service')
-md5sums=('ff69d08818ee008f66666f79bb27b9ee'
+md5sums=('859cf167499d8a5430070dbde78c8eea'
'270977cdd9b47ef44c0c427ab9034777'
'a71425c4951f2e5b640d19e6a5048531'
'ceeb57c69ebb165676219222f109a24e')
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # gcc 4.6 doesn't support -fhuge-objects.
- sed '/^ HUGE_OBJECT_FLAG=/ s/"-fhuge-objects"//' -i configure
-
- # fix cache_dir, cache_dir size, and effective group.
- sed '/^DEFAULT_SWAP_DIR/ s@/cache@/cache/squid@' -i src/Makefile.in
- sed '/^#cache_dir/ s/100/256/
- /^NAME: cache_effective_group/ {n;n;s/none/proxy/}' -i src/cf.data.pre
-
- 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"
@@ -88,7 +64,9 @@ build() {
--enable-async-io \
--enable-truncate \
--enable-icap-client \
- --enable-ssl-crtd
+ --enable-ssl-crtd \
+ --disable-arch-native \
+ --disable-strict-error-checking
make
}