aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-04-10 00:35:56 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:44 +0700
commit649b71b55915111a92ab83fe57a3cd4f3e6b4847 (patch)
tree12ad27f36db964b78248b7f45e3dc533ec0e3224 /network
parentf0fa5abcefaf564e209aed601e5f8527c1a90d78 (diff)
network/privoxy: Updated for version 3.0.32.
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/privoxy/README2
-rw-r--r--network/privoxy/privoxy.SlackBuild10
-rw-r--r--network/privoxy/privoxy.info6
3 files changed, 10 insertions, 8 deletions
diff --git a/network/privoxy/README b/network/privoxy/README
index eb6d9f207a987..3aed32d9a3fce 100644
--- a/network/privoxy/README
+++ b/network/privoxy/README
@@ -5,6 +5,8 @@ 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.
+brotli is an optional dependency.
+
Before executing the script, you will need to create
a privoxy user and group. To do that, run the following commands:
diff --git a/network/privoxy/privoxy.SlackBuild b/network/privoxy/privoxy.SlackBuild
index bc9c73005248a..e3f72e6e05e5c 100644
--- a/network/privoxy/privoxy.SlackBuild
+++ b/network/privoxy/privoxy.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=privoxy
-VERSION=${VERSION:-3.0.29}
+VERSION=${VERSION:-3.0.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,14 +89,13 @@ chmod -R u+w,go-w,a+rX-st .
# Put the docs where we tell them to go.
sed -i "/^DOC_DEST/s/= .*/= @docdir@/" GNUmakefile.in
-# The Makefile checks if certain config files exist, and if so, adds a
-# .new suffix. Turn this behavior off. We will do it below.
-sed -i "s/\[ -s \"\$(CONF_DEST)\/\$\$i\" \]/false/" GNUmakefile.in
-
# rc.privoxy generation doesn't work well with $(DESTDIR). Help it along.
sed -i "s/ \/etc\/rc.d\// \$(DESTDIR)\/etc\/rc.d\//g" GNUmakefile.in
mkdir -p $PKG/etc/rc.d
+# Let AC_CHECK_LIB do the brotli autodetection, don't link to it if missing.
+sed -i "/-lbrotlidec/d" configure.in
+
autoreconf -vif
./configure \
--prefix=/usr \
@@ -111,6 +110,7 @@ autoreconf -vif
--with-user=$PRIVOXY_USER \
--with-group=$PRIVOXY_GROUP \
--with-openssl \
+ --with-brotli \
--enable-no-gifs \
--enable-compression \
--enable-large-file-support \
diff --git a/network/privoxy/privoxy.info b/network/privoxy/privoxy.info
index d68ce061fd107..c8dafc6529897 100644
--- a/network/privoxy/privoxy.info
+++ b/network/privoxy/privoxy.info
@@ -1,8 +1,8 @@
PRGNAM="privoxy"
-VERSION="3.0.29"
+VERSION="3.0.32"
HOMEPAGE="https://www.privoxy.org/"
-DOWNLOAD="https://sourceforge.net/projects/ijbswa/files/Sources/3.0.29%20%28stable%29/privoxy-3.0.29-stable-src.tar.gz"
-MD5SUM="493a3a643247e6c8bc60725e9993d4ee"
+DOWNLOAD="https://sourceforge.net/projects/ijbswa/files/Sources/3.0.32%20%28stable%29/privoxy-3.0.32-stable-src.tar.gz"
+MD5SUM="3a0a8ebdf80e0a29154683e74cbf510b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""