diff options
author | root <root@rshg054.dnsready.net> | 2011-08-22 23:14:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-22 23:14:28 +0000 |
commit | 64e290184042563a240e2d6d15c02e06703d00ee (patch) | |
tree | bf85f88c86a6315c8ed783e0f1492a56e3f3e51b /extra/squid | |
parent | e9a5c646563c984f362db1777f8c6bc7da63a4ab (diff) |
Mon Aug 22 23:14:28 UTC 2011
Diffstat (limited to 'extra/squid')
-rw-r--r-- | extra/squid/PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/extra/squid/PKGBUILD b/extra/squid/PKGBUILD index 0e7b97a7c..3a2dff799 100644 --- a/extra/squid/PKGBUILD +++ b/extra/squid/PKGBUILD @@ -1,32 +1,35 @@ -# $Id: PKGBUILD 131635 2011-07-13 01:26:21Z kevin $ +# $Id: PKGBUILD 135984 2011-08-21 04:56:14Z eric $ # Maintainer: Kevin Piche <kevin@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> 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 @@ build() { } 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 |