commit privoxy for openSUSE:Factory
Hello community,
here is the log from the commit of package privoxy for openSUSE:Factory
checked in at Tue Aug 18 12:37:11 CEST 2009.
--------
--- privoxy/privoxy.changes 2009-08-05 12:58:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/privoxy/privoxy.changes 2009-08-18 12:28:52.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Aug 11 15:37:05 CEST 2009 - mseben@suse.cz
+
+- add parameter "-T 1" for startproc in init script, wait 1 sec until
+ privoxy check config (bnc#506708)
+- use rc_active in NM dispatcher init script to check if privoxy
+ service is active
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ privoxy.spec ++++++
--- /var/tmp/diff_new_pack.GNRk4Z/_old 2009-08-18 12:36:57.000000000 +0200
+++ /var/tmp/diff_new_pack.GNRk4Z/_new 2009-08-18 12:36:57.000000000 +0200
@@ -30,7 +30,7 @@
#this define could be drop, in next stable realease
%define package_version 3.0.14
Version: 3.0.13.90.1
-Release: 1
+Release: 2
Summary: The Internet Junkbuster - HTTP Proxy Server
Source: privoxy-%{package_version}-beta-src.tar.bz2
Source1: privoxy.logrotate
++++++ privoxy-3.0.14-init.patch ++++++
--- /var/tmp/diff_new_pack.GNRk4Z/_old 2009-08-18 12:36:57.000000000 +0200
+++ /var/tmp/diff_new_pack.GNRk4Z/_new 2009-08-18 12:36:57.000000000 +0200
@@ -12,7 +12,7 @@
# Description: Starts Privoxy
### END INIT INFO
-@@ -89,7 +90,19 @@
+@@ -89,7 +93,22 @@
start)
echo -n "Starting Privoxy"
if [ ! -f /var/run/privoxy.pid ] || ! kill -0 `cat /var/run/privoxy.pid` 2> /dev/null; then
@@ -29,7 +29,10 @@
+ || { echo "...$0:$LINENO: could not copy $i to chroot jail"; rc_failed; rc_status -v1; exit 6; }
+ fi
+ done
-+ startproc /usr/sbin/privoxy --user privoxy.privoxy --pidfile /var/run/privoxy.pid --chroot /etc/config 2> /dev/null
++ # started process in privoxy wait 1 sec and then check forked process (e.g child died due to missing config files),
++ # so we need a time (-T 1 option) while forked process checks config file
++ # better options for startproc could be -w, but this options is available only since 11.2
++ startproc -T 1 /usr/sbin/privoxy --user privoxy.privoxy --pidfile /var/run/privoxy.pid --chroot /etc/config 2> /dev/null
else
false
fi
++++++ privoxy-3.0.14-networkmanager.patch ++++++
--- /var/tmp/diff_new_pack.GNRk4Z/_old 2009-08-18 12:36:57.000000000 +0200
+++ /var/tmp/diff_new_pack.GNRk4Z/_new 2009-08-18 12:36:57.000000000 +0200
@@ -1,19 +1,21 @@
--- privoxy_nm
+++ privoxy_nm
-@@ -0,0 +1,19 @@
+@@ -0,0 +1,20 @@
+#! /bin/sh
+#
+# privoxy - rerun privoxy in response to interface change
+#
+# Ladislav Michnovic
participants (1)
-
root@Hilbert.suse.de