Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f1d8c903f2d0f9b1b02605f34e5ea6629b85b8c7

commit f1d8c903f2d0f9b1b02605f34e5ea6629b85b8c7
Author: James Buren <[email protected]>
Date:   Mon Jan 14 14:55:30 2013 -0600

privoxy-3.0.19-2-x86_64
* enable compression support
* remove sysvinit script

diff --git a/source/network-extra/privoxy/FrugalBuild 
b/source/network-extra/privoxy/FrugalBuild
index 45cfc24..08c3459 100644
--- a/source/network-extra/privoxy/FrugalBuild
+++ b/source/network-extra/privoxy/FrugalBuild
@@ -3,20 +3,20 @@

pkgname=privoxy
pkgver=3.0.19
-pkgrel=1
+pkgrel=2
pkgdesc="Privoxy is a web proxy with advanced filtering capabilities."
_F_sourceforge_dirname="ijbswa"
_F_sourceforge_ext="-stable-src.tar.gz"
Finclude sourceforge
url="http://www.privoxy.org/";
+up2date="Fwcat $url | sed -r -n 's|^.*>([0-9\.]+) \(stable\)<.*$|\1|p'"
license="GPL2"
-source=($source rc.$pkgname $pkgname.service)
+source=(${source[@]} $pkgname.service)
groups=('network-extra')
archs=('i686' 'x86_64')
depends=('pcre')
backup=(etc/privoxy/{config,trust,default.{action,filter},{standard,user}.action})
_F_systemd_scriptlet="$pkgname.install"
-_F_sysvinit_units=($pkgname)
_F_systemd_units=($pkgname=)
Finclude systemd

@@ -25,12 +25,11 @@ build()
Fcd $pkgname-`echo $pkgver | cut -d _ -f 1`-stable
autoheader || return 1
autoconf || return 1
-       Fmake --sysconfdir=/etc/$pkgname
+       Fmake --sysconfdir=/etc/$pkgname --enable-compression
make prefix="$Fdestdir/usr" MAN_DEST="$Fdestdir/usr/share/man/man1" GROUP=18 \
CONF_BASE="$Fdestdir/etc/privoxy" VAR_DEST="$Fdestdir/var" install || Fdie
Fsed "$Fdestdir" "" $Fdestdir/etc/$pkgname/config
Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver
-       Fexe /etc/rc.d/rc.$pkgname
Fdirschown /var/log/$pkgname 18 18
Ffileschown /var/log/$pkgname 18 18
Ffile /lib/systemd/system/$pkgname.service
@@ -40,7 +39,6 @@ build()
}

sha1sums=('a82287cbf48375ef449d021473a366baeca49250' \
-          '24f07724c3add8582a570ae15b5274ab041d80c5' \
'93cf6270caa82f2de59203a833718cf4af142976')

# optimization OK
diff --git a/source/network-extra/privoxy/rc.privoxy 
b/source/network-extra/privoxy/rc.privoxy
deleted file mode 100644
index 5dd7a8c..0000000
--- a/source/network-extra/privoxy/rc.privoxy
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# (c) 2006 Marcus Habermehl <[email protected]>
-# rc.privoxy for Frugalware
-# distributed under GPL License
-
-# chkconfig: 2345 84 09
-# description: Web proxy with advanced filtering capabilities \
-#              such as filtering web page content, managing \
-#              cookies and removing ads
-
-source /lib/initscripts/functions
-TEXTDOMAIN=privoxy
-TEXTDOMAINDIR=/lib/initscripts/messages
-
-actions=(restart status start stop)
-daemon="privoxy"
-
-pid="pidof privoxy 2> /dev/null"
-
-rc_start()
-{
-       start_msg
-       if [[ "$(eval $pid)" == "" ]] ; then
-               ${daemon} --user ${daemon}.${daemon} --pidfile \
-               /var/run/${daemon}.pid /etc/${daemon}/config 2> /dev/null
-               retval=$?
-               if (( ${retval} == 0 )) ; then
-                       touch /var/lock/subsys/${daemon}.pid
-               fi
-               ok ${retval}
-       else
-               ok 999
-       fi
-}
-
-rc_stop()
-{
-       stop_msg
-       if [[ "$(eval $pid)" != "" ]] ; then
-               killall ${daemon}
-               ok $?
-               rm -f /var/lock/subsys/${daemon} /var/run/${daemon}.pid
-       else
-               ok 999
-       fi
-}
-
-rc_exec $1
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to