[arch-commits] Commit in squid/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Dec 17 17:42:06 UTC 2013


    Date: Tuesday, December 17, 2013 @ 18:42:06
  Author: spupykin
Revision: 102703

upgpkg: squid 3.4.1-1

upd

Modified:
  squid/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++----------------------------
 1 file changed, 5 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-17 17:29:31 UTC (rev 102702)
+++ PKGBUILD	2013-12-17 17:42:06 UTC (rev 102703)
@@ -5,7 +5,7 @@
 # Contributor: Kevin Piche <kevin at archlinux.org>
 
 pkgname=squid
-pkgver=3.3.10
+pkgver=3.4.1
 pkgrel=1
 pkgdesc='Full-featured Web proxy cache server'
 arch=('x86_64' 'i686')
@@ -17,39 +17,15 @@
 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,8 @@
     --enable-async-io \
     --enable-truncate \
     --enable-icap-client \
-    --enable-ssl-crtd
+    --enable-ssl-crtd \
+    --disable-strict-error-checking
   make
 }
 




More information about the arch-commits mailing list