Hello community, here is the log from the commit of package privoxy for openSUSE:Factory checked in at 2014-07-10 14:55:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/privoxy (Old) and /work/SRC/openSUSE:Factory/.privoxy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "privoxy" Changes: -------- --- /work/SRC/openSUSE:Factory/privoxy/privoxy.changes 2014-02-02 18:11:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.privoxy.new/privoxy.changes 2014-07-10 14:55:46.000000000 +0200 @@ -1,0 +2,10 @@ +Mon Jul 7 12:53:54 UTC 2014 - [email protected] + +- update logrotate config file after switch to systemd (bnc#878788) +- added "reload" capability which was lost during switch from + sysvinit to systemd +- privoxy-3.0.16-networkmanager.systemd.patch: + update Networkmanager dispatcher to reload config of privoxy with + systemd (bnc#862339) + +------------------------------------------------------------------- New: ---- privoxy-3.0.16-networkmanager.systemd.patch privoxy.logrotate.systemd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ privoxy.spec ++++++ --- /var/tmp/diff_new_pack.3peL4l/_old 2014-07-10 14:55:47.000000000 +0200 +++ /var/tmp/diff_new_pack.3peL4l/_new 2014-07-10 14:55:47.000000000 +0200 @@ -54,12 +54,20 @@ License: GPL-2.0+ Group: Productivity/Networking/Web/Proxy Source: %{name}-%{version}-stable-src.tar.gz +%if %{with_systemd} +Source1: %{name}.logrotate.systemd +%else Source1: %{name}.logrotate +%endif Source2: %{name}-3.0.16-init.suse Source3: %{name}.service Patch1: %{name}-3.0.21-config.patch Patch2: %{name}-3.0.17-utf8.patch +%if %{with_systemd} +Patch3: %{name}-3.0.16-networkmanager.systemd.patch +%else Patch3: %{name}-3.0.16-networkmanager.patch +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: cron Requires: logrotate ++++++ privoxy-3.0.16-networkmanager.systemd.patch ++++++ --- privoxy_nm +++ privoxy_nm @@ -0,0 +1,18 @@ +#! /bin/sh +# +# privoxy - rerun privoxy in response to interface change +# +# Wagner Thomas <[email protected]> +# Place this script in the /etc/NetworkManager/dispatcher.d/ directory. + +case "$2" in + up) + /usr/bin/systemctl reload privoxy + ;; + down) + /usr/bin/systemctl reload privoxy + ;; + *) + exit 0 + ;; +esac + ++++++ privoxy.logrotate.systemd ++++++ /var/lib/privoxy/log/logfile { compress dateext notifempty create 640 privoxy root su privoxy privoxy rotate 99 size 4M #maxage 365 postrotate /usr/bin/systemctl reload privoxy endscript } /var/lib/privoxy/log/jarfile { compress dateext notifempty create 640 privoxy root su privoxy privoxy rotate 99 size 4M #maxage 365 postrotate /usr/bin/systemctl reload privoxy endscript } ++++++ privoxy.service ++++++ --- /var/tmp/diff_new_pack.3peL4l/_old 2014-07-10 14:55:47.000000000 +0200 +++ /var/tmp/diff_new_pack.3peL4l/_new 2014-07-10 14:55:47.000000000 +0200 @@ -8,6 +8,7 @@ ExecStartPre=-/usr/bin/cp -upf /etc/resolv.conf /etc/host.conf /etc/hosts /etc/localtime /var/lib/privoxy/etc/ ExecStartPre=-/usr/bin/cp -upf /@lib@/libresolv.so.2 /@lib@/libnss_dns.so.2 /var/lib/privoxy/@lib@/ ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user privoxy /etc/config +ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
