# HG changeset patch # User Hans-G?nter Theisgen # Date 1656516600 -3600 # Node ID f48c0f9848e47c99cdcd85823f3603f87fa6e679 # Parent 962c37121e05388acd86a26310fc8be4b2ab9072 updated privoxy (3.0.28 -> 3.0.33) diff -r 962c37121e05 -r f48c0f9848e4 privoxy/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/privoxy/description.txt Wed Jun 29 16:30:00 2022 +0100 @@ -0,0 +1,6 @@ +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. diff -r 962c37121e05 -r f48c0f9848e4 privoxy/receipt --- a/privoxy/receipt Wed Jun 29 15:35:33 2022 +0100 +++ b/privoxy/receipt Wed Jun 29 16:30:00 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="privoxy" -VERSION="3.0.28" +VERSION="3.0.33" CATEGORY="network" SHORT_DESC="Non-caching web privacy proxy." MAINTAINER="paul@slitaz.org" @@ -13,6 +13,7 @@ DEPENDS="pcre zlib" BUILD_DEPENDS="autoconf coreutils m4 perl zlib-dev" + CONFIG_FILES="/etc/privoxy/config" # What is the latest version available today? @@ -51,25 +52,27 @@ mkdir -p $fs/etc/init.d mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/var $fs - cp -a $install/etc $fs + cook_copy_folders etc + cook_copy_folders sbin + cook_copy_folders var # Copy daemon from stuff - cp $stuff/daemon-privoxy $fs/etc/init.d/privoxy + cp $stuff/daemon-privoxy $fs/etc/init.d/privoxy } post_install() { # adduser privoxy if needed - if ! grep -q privoxy "$1/etc/passwd"; then + if ! grep -q privoxy "$1/etc/passwd" + then echo echo -n "Adding user privoxy..." chroot "$1/" adduser -s /bin/false -H -D -u 42 privoxy status fi - if ! grep -q privoxy "$1/etc/group"; then + if ! grep -q privoxy "$1/etc/group" + then echo echo -n "Adding group privoxy..." chroot "$1/" addgroup -g 42 privoxy @@ -79,16 +82,17 @@ # and change file permissions echo echo -n "Changing file permissions..." - chroot "$1/" chown -R privoxy.privoxy /etc/privoxy - chown -R root.root "$1/etc/privoxy/templates" - chown root.root "$1/etc/privoxy" - chroot "$1/" chown privoxy.privoxy /var/log/privoxy/logfile + chroot "$1/" chown -R privoxy.privoxy /etc/privoxy + chown -R root.root "$1/etc/privoxy/templates" + chown root.root "$1/etc/privoxy" + chroot "$1/" chown privoxy.privoxy /var/log/privoxy/logfile status } -# Del user privoxy when pkg is removed. post_remove() { - deluser privoxy - delgroup privoxy + echo + echo -n "Removing user and group privoxy..." + deluser privoxy + status }