From f676ad7993b51a9e1c46325f3fe1a91a821d76ad Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Wed, 24 Apr 2013 14:50:39 -0300 Subject: network/privoxy: Updated for version 3.0.21. Signed-off-by: Niels Horn --- network/privoxy/privoxy.SlackBuild | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'network/privoxy/privoxy.SlackBuild') diff --git a/network/privoxy/privoxy.SlackBuild b/network/privoxy/privoxy.SlackBuild index 6023e73d82..fdea19131d 100644 --- a/network/privoxy/privoxy.SlackBuild +++ b/network/privoxy/privoxy.SlackBuild @@ -27,7 +27,7 @@ # Modified by the SlackBuilds.org project PRGNAM=privoxy -VERSION=${VERSION:-3.0.19} +VERSION=${VERSION:-3.0.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,19 +84,14 @@ rm -rf $PRGNAM-$VERSION-stable tar xvf $CWD/$PRGNAM-$VERSION-stable-src.tar.gz cd $PRGNAM-$VERSION-stable chown -R root:root . -chmod -R u+w,go+r-w,a-s . +chmod -R u+w,go-w,a+rX-st . # Put the docs where we tell them to go. -# Also fix their permissions. -sed -i \ - -e "/^DOC_DEST/s/= .*/= @docdir@/" \ - -e "/^RA_MODE/s/0664/0644/" \ - GNUmakefile.in +sed -i "/^DOC_DEST/s/= .*/= @docdir@/" GNUmakefile.in autoheader autoconf CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -132,9 +127,11 @@ sed -i \ $PKG/etc/rc.d/rc.$PRGNAM.new # Make .new files so we don't clobber the existing configuration. -# The makefile already adds the .new extension to some files, -# perhaps those are the only ones that are meant to be edited? -find $PKG/etc/privoxy -name '*.new' -prune -o -type f -exec mv {} {}.new \; +# The makefile already adds the .new extension to the user-editable files. +# Others are not intended to be user-editable and will be overwritten. +# To disregard, uncomment this and the corresponding lines in doinst.sh. +#find $PKG/etc/privoxy -name '*.new' -prune -o -type f -exec mv {} {}.new \; + # Don't clobber the logfile either. mv $PKG/var/log/privoxy/logfile $PKG/var/log/privoxy/logfile.new -- cgit v1.2.3-80-g2a13