71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
SUMMARY="A web proxy with advanced filtering capabilities"
|
|
DESCRIPTION="Privoxy is a non-caching web proxy with advanced filtering \
|
|
capabilities for enhancing privacy, modifying web page data and HTTP headers, \
|
|
controlling access, and removing ads and other obnoxious Internet junk.
|
|
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-2017 Privoxy Developers"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
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="all ?x86 ?ppc"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/privoxy directory manual
|
|
"
|
|
USER_SETTINGS_FILES="
|
|
settings/privoxy directory manual
|
|
"
|
|
|
|
PROVIDES="
|
|
privoxy = $portVersion
|
|
cmd:privoxy = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libpcre
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libpcre
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:g++
|
|
cmd:grep
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
host_os=haiku
|
|
autoheader
|
|
autoconf
|
|
export LDFLAGS="-lnetwork"
|
|
runConfigure --omit-dirs sysconfdir ./configure \
|
|
--sysconfdir="$settingsDir/privoxy" \
|
|
--enable-compression
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
host_os=haiku
|
|
# FIXME, privoxy should have an own user and group
|
|
make install USER=user GROUP=root
|
|
|
|
rm -rf $localStateDir
|
|
}
|