2015-01-04 16:41:18 +00:00
|
|
|
# Template file for 'privoxy'
|
|
|
|
pkgname=privoxy
|
2015-01-26 07:09:22 +00:00
|
|
|
version=3.0.23
|
2015-06-02 23:24:10 +00:00
|
|
|
revision=3
|
2015-01-04 16:41:18 +00:00
|
|
|
wrksrc="${pkgname}-${version}-stable"
|
|
|
|
build_style=gnu-configure
|
2015-06-02 23:24:10 +00:00
|
|
|
configure_args="--sysconfdir=/etc/privoxy --enable-compression --enable-dynamic-pcre --sbindir=/usr/bin"
|
2015-01-04 16:41:18 +00:00
|
|
|
make_install_args="STRIP="
|
|
|
|
conf_files="
|
|
|
|
/etc/privoxy/config
|
|
|
|
/etc/privoxy/default.action
|
|
|
|
/etc/privoxy/match-all.action
|
|
|
|
/etc/privoxy/user.filter
|
|
|
|
/etc/privoxy/trust
|
|
|
|
/etc/privoxy/default.filter
|
|
|
|
/etc/privoxy/user.action"
|
|
|
|
system_accounts="privoxy"
|
|
|
|
privoxy_homedir="/etc/privoxy"
|
|
|
|
hostmakedepends="autoconf"
|
|
|
|
makedepends="pcre-devel zlib-devel"
|
|
|
|
short_desc="A non-caching web proxy with advanced filtering capabilities"
|
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.privoxy.org/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/ijbswa/${pkgname}-${version}-stable-src.tar.gz"
|
2015-01-26 07:09:22 +00:00
|
|
|
checksum=80b1a172d0518a9f95cde83d18dc62b9c7f117b9ada77bdcd3d310107f28f964
|
2015-01-04 16:41:18 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoheader && autoconf
|
|
|
|
|
|
|
|
sed -e 's|^confdir .*|confdir /etc/privoxy|' \
|
|
|
|
-e 's|^logdir .*|logdir /var/log/privoxy|' \
|
|
|
|
-e 's|^\(logfile .*\)|# \1|' \
|
|
|
|
-i config
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv privoxy
|
|
|
|
|
|
|
|
# privoxy writes logs to stdout with --no-daemon
|
|
|
|
rm -r ${DESTDIR}/var/log/privoxy
|
|
|
|
}
|