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

Eric Bélanger eric at archlinux.org
Sun Aug 21 04:54:25 UTC 2011


    Date: Sunday, August 21, 2011 @ 00:54:25
  Author: eric
Revision: 135982

upgpkg: squid 3.1.14-2

	Add libtool depends (close FS#24153)

Modified:
  squid/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-21 03:51:34 UTC (rev 135981)
+++ PKGBUILD	2011-08-21 04:54:25 UTC (rev 135982)
@@ -4,29 +4,32 @@
 
 pkgname=squid
 pkgver=3.1.14
-pkgrel=1
+pkgrel=2
 pkgdesc="A full-featured Web proxy cache server."
 arch=(i686 x86_64)
 url="http://www.squid-cache.org"
-depends=('openssl' 'pam' 'cron' 'perl')
+depends=('openssl' 'pam' 'cron' 'perl' 'libtool')
 makedepends=('libcap>=2.16')
 license=('GPL')
 backup=(etc/squid/squid.conf etc/squid/mime.conf etc/conf.d/squid)
 install=squid.install
 source=(http://www.squid-cache.org/Versions/v3/3.1/${pkgname}-${pkgver}.tar.bz2
         squid squid.conf.d squid.pam squid.cron squid-3.1.11-unused.patch)
-md5sums=('8f82a451b04c3bf3c29202c548d2f2dd' 'd213b0cc1db72b749bb8c88716fdab39'
-         '2383772ef94efddc7b920628bc7ac5b0' '270977cdd9b47ef44c0c427ab9034777'
-         '5e17df989e2a74e869790c066f61225b' '8e59089e4a8556fc18df51979f1cfbff')
+md5sums=('8f82a451b04c3bf3c29202c548d2f2dd'
+         'd213b0cc1db72b749bb8c88716fdab39'
+         '2383772ef94efddc7b920628bc7ac5b0'
+         '270977cdd9b47ef44c0c427ab9034777'
+         '5e17df989e2a74e869790c066f61225b'
+         '8e59089e4a8556fc18df51979f1cfbff')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}"/${pkgname}-${pkgver}
 
   # gcc 4.6 doesn't support -fhuge-objects.
   sed '/^    HUGE_OBJECT_FLAG=/ s/"-fhuge-objects"//' -i configure
   # fix compile errors with gcc 4.6
   # http://bugs.squid-cache.org/show_bug.cgi?id=3178
-  #patch -Np1 -i ${srcdir}/squid-3.1.11-unused.patch
+  #patch -Np1 -i "${srcdir}"/squid-3.1.11-unused.patch
 
   # fix cache_dir, cache_dir size, and effective group.
   sed '/^DEFAULT_SWAP_DIR/ s@/cache@/cache/squid@' -i src/Makefile.in
@@ -55,12 +58,12 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 
-  install -D -m755 ${srcdir}/squid ${pkgdir}/etc/rc.d/squid
-  install -D -m755 ${srcdir}/squid.cron ${pkgdir}/etc/cron.weekly/squid
-  install -D -m644 ${srcdir}/squid.conf.d ${pkgdir}/etc/conf.d/squid
-  install -D -m644 ${srcdir}/squid.pam ${pkgdir}/etc/pam.d/squid
+  install -D -m755 "${srcdir}"/squid "${pkgdir}"/etc/rc.d/squid
+  install -D -m755 "${srcdir}"/squid.cron "${pkgdir}"/etc/cron.weekly/squid
+  install -D -m644 "${srcdir}"/squid.conf.d "${pkgdir}"/etc/conf.d/squid
+  install -D -m644 "${srcdir}"/squid.pam "${pkgdir}"/etc/pam.d/squid
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list