privoxy: bump version (#1211)

This commit is contained in:
miqlas
2017-03-27 07:24:31 +02:00
committed by Jérôme Duval
parent 87301ce481
commit e7864977d6

View File

@@ -6,28 +6,34 @@ Privoxy has a flexible configuration and can be customized to suit individual \
needs and tastes. It has application for both stand-alone systems and multi-\
user networks."
HOMEPAGE="http://www.privoxy.org/"
COPYRIGHT="2001-2011 Privoxy Developers"
COPYRIGHT="2001-2017 Privoxy Developers"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/ijbswa/files/Sources/3.0.21%20%28stable%29/privoxy-3.0.21-stable-src.tar.gz"
CHECKSUM_SHA256="5ec7e601948d2bd0ebf0ebe90eed7d49e7663c395ce16d0403e91ea2d459ddb8"
SOURCE_DIR="privoxy-3.0.21-stable"
SOURCE_URI="https://www.privoxy.org/sf-download-mirror/Sources/$portVersion%20%28stable%29/privoxy-$portVersion-stable-src.tar.gz"
CHECKSUM_SHA256="57e415b43ee5dfdca74685cc034053eaae962952fdabd086171551a86abf9cd8"
SOURCE_DIR="privoxy-$portVersion-stable"
ARCHITECTURES="x86_gcc2 x86 !ppc"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64 ?ppc"
PROVIDES="
privoxy = $portVersion
cmd:privoxy = $portVersion
"
REQUIRES="
haiku
lib:libpcre
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libpcre
devel:libz
"
BUILD_PREREQUIRES="
cmd:autoheader
cmd:autoconf
cmd:awk
cmd:make
cmd:grep
cmd:sed
@@ -35,17 +41,31 @@ BUILD_PREREQUIRES="
cmd:find
"
GLOBAL_WRITABLE_FILES="
settings/privoxy directory manual
"
USER_SETTINGS_FILES="
settings/privoxy directory manual
"
BUILD()
{
host_os=haiku
autoheader
autoconf
runConfigure ./configure
export LDFLAGS="-lnetwork"
runConfigure --omit-dirs sysconfdir ./configure \
--sysconfdir="$settingsDir/privoxy" \
--enable-compression
make
}
INSTALL()
{
host_os=haiku
make install USER=privoxy
# FIXME, privoxy should have an own user and group
make install USER=user GROUP=root
rm -rf $localStateDir
}