# Description: A full-featured web proxy cache # URL: http://www.squid-cache.org # Maintainer: Juergen Daubert, jue at crux dot nu name=squid version=3.2.1 release=2 source=(http://www.squid-cache.org/Versions/v3/3.2/$name-$version.tar.bz2 \ squid) build () { cd $name-$version ./configure --prefix=/usr \ --mandir=/usr/man \ --sysconfdir=/etc/squid \ --libexecdir=/usr/lib/squid \ --localstatedir=/var \ --datadir=/usr/share/squid \ --with-logdir=/var/log/squid \ --with-pidfile=/var/run/squid.pid \ --with-swapdir=/var/squid \ --with-default-user=squid \ --enable-linux-netfilter \ --enable-storeio=ufs,aufs,diskd,rock \ --with-large-files \ --with-pthreads \ --with-aufs-threads=16 \ --disable-auto-locale make all make DESTDIR=$PKG install rm -r $PKG/{usr/include,var/run} find $PKG/usr/share/squid/errors/* -prune ! -name templates | xargs rm -r install -d -m 0700 -o squid -g squid $PKG/var/{log/squid,squid} install -D -m 755 $SRC/squid $PKG/etc/rc.d/squid }