Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1c041632c8613f32f20e7ed08f0bff8e1cde7d03

commit 1c041632c8613f32f20e7ed08f0bff8e1cde7d03
Author: Krisztian VASAS <i...@frugalware.org>
Date:   Fri Apr 1 12:07:56 2011 +0200

squid-3.1.11-1-x86_64
- version bump
- fixed up2date
- added tmpfiles.d config

diff --git a/source/network-extra/squid/FrugalBuild 
b/source/network-extra/squid/FrugalBuild
index 10d8a8a..e5c663e 100644
--- a/source/network-extra/squid/FrugalBuild
+++ b/source/network-extra/squid/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Miklos Vajna <vmik...@frugalware.org>

pkgname=squid
-pkgver=3.1.9
+pkgver=3.1.11
pkgrel=1
pkgdesc="Squid Web Proxy Cache"
url="http://www.squid-cache.org/";
@@ -11,12 +11,10 @@ rodepends=('dcron')
groups=('network-extra')
archs=('i686' 'x86_64')
backup=(etc/squid/{mime,msntauth,squid}.conf)
-up2date="lynx -dump $url/Versions/|grep -2 'Production'|sed -n 's/.* 
\([0-9]\.[0-9]\.[0-9]\) .*/\1/;$ p'"
+up2date="lynx -source -dump $url/Versions/ | grep -8 'Production' | sed -n 
's/.*>\(.*\)<.*/\1/;$ p'"
source=(http://www.squid-cache.org/Versions/v3/3.1/$pkgname-$pkgver.tar.bz2 \
rc.squid squid)
-sha1sums=('d80045c7ab0cadbaeafdcae42d9dd7d1861fc4c1' \
-          'f732ab92b6c301ac12cbb295e5c4b2e3bed36fb2' \
-          '53042dd86e482d4a6eff9e34ecb01352439c5026')
+signatures=("${source[0]}.asc" '' '')

build()
{
@@ -45,6 +43,11 @@ build()
Fexe /etc/cron.weekly/squid

Fsed 'allow manager localhost' 'allow localhost' $Fdestdir/etc/squid/squid.conf
+       Frm /var/run
+       Fmkdir /etc/tmpfiles.d
+       cat > $Fdestdir/etc/tmpfiles.d/squid.conf << EOF
+d $Flocalstatedir/run 0755 root root -
+EOF
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to