wok rev 25148

updated privoxy (3.0.28 -> 3.0.33)
author Hans-G?nter Theisgen
date Wed Jun 29 16:30:00 2022 +0100 (21 months ago)
parents 962c37121e05
children 94c4d1ac52fd
files privoxy/description.txt privoxy/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/privoxy/description.txt	Wed Jun 29 16:30:00 2022 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +Privoxy is a non-caching web proxy with advanced filtering capabilities
     1.5 +for enhancing privacy, modifying web page data and HTTP headers,
     1.6 +controlling access, and removing ads and other obnoxious Internet junk.
     1.7 +Privoxy has a flexible configuration and can be customized to suit
     1.8 +individual needs and tastes.
     1.9 +It has application for both stand-alone systems and multi-user networks.
     2.1 --- a/privoxy/receipt	Wed Jun 29 15:35:33 2022 +0100
     2.2 +++ b/privoxy/receipt	Wed Jun 29 16:30:00 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="privoxy"
     2.7 -VERSION="3.0.28"
     2.8 +VERSION="3.0.33"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Non-caching web privacy proxy."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12 @@ -13,6 +13,7 @@
    2.13  
    2.14  DEPENDS="pcre zlib"
    2.15  BUILD_DEPENDS="autoconf coreutils m4 perl zlib-dev"
    2.16 +
    2.17  CONFIG_FILES="/etc/privoxy/config"
    2.18  
    2.19  # What is the latest version available today?
    2.20 @@ -51,25 +52,27 @@
    2.21  	mkdir -p $fs/etc/init.d
    2.22  	mkdir -p $fs/usr
    2.23  
    2.24 -	cp -a $install/usr/sbin	$fs/usr
    2.25 -	cp -a $install/var	$fs
    2.26 -	cp -a $install/etc	$fs
    2.27 +	cook_copy_folders	etc
    2.28 +	cook_copy_folders	sbin
    2.29 +	cook_copy_folders	var
    2.30  
    2.31  	# Copy daemon from stuff
    2.32 -	cp $stuff/daemon-privoxy $fs/etc/init.d/privoxy
    2.33 +	cp $stuff/daemon-privoxy	$fs/etc/init.d/privoxy
    2.34  }
    2.35  
    2.36  post_install()
    2.37  {
    2.38  	# adduser privoxy if needed
    2.39 -	if ! grep -q privoxy "$1/etc/passwd"; then
    2.40 +	if ! grep -q privoxy "$1/etc/passwd"
    2.41 +	  then
    2.42  		echo
    2.43  		echo -n "Adding user privoxy..."
    2.44  		chroot "$1/" adduser -s /bin/false -H -D -u 42 privoxy
    2.45  		status
    2.46  	fi
    2.47  
    2.48 -	if ! grep -q privoxy "$1/etc/group"; then
    2.49 +	if ! grep -q privoxy "$1/etc/group"
    2.50 +	  then
    2.51  		echo
    2.52  		echo -n "Adding group privoxy..."
    2.53  		chroot "$1/" addgroup -g 42 privoxy
    2.54 @@ -79,16 +82,17 @@
    2.55  	# and change file permissions
    2.56  	echo
    2.57  	echo -n "Changing file permissions..."
    2.58 -	chroot "$1/" chown -R privoxy.privoxy /etc/privoxy
    2.59 -	chown -R root.root "$1/etc/privoxy/templates"
    2.60 -	chown root.root "$1/etc/privoxy"
    2.61 -	chroot "$1/" chown privoxy.privoxy /var/log/privoxy/logfile
    2.62 +	chroot "$1/" chown -R	privoxy.privoxy	/etc/privoxy
    2.63 +	chown -R root.root			"$1/etc/privoxy/templates"
    2.64 +	chown root.root				"$1/etc/privoxy"
    2.65 +	chroot "$1/" chown	privoxy.privoxy	/var/log/privoxy/logfile
    2.66  	status
    2.67  }
    2.68  
    2.69 -# Del user privoxy when pkg is removed.
    2.70  post_remove()
    2.71  {
    2.72 -	deluser privoxy
    2.73 -	delgroup privoxy
    2.74 +	echo
    2.75 +	echo -n "Removing user and group privoxy..."
    2.76 +	deluser		privoxy
    2.77 +	status
    2.78  }