Hello community, here is the log from the commit of package privoxy for openSUSE:Factory checked in at 2014-12-01 14:00:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-11-14 09:19:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.privoxy.new/privoxy.changes 2014-12-01 14:01:09.000000000 +0100 @@ -1,0 +2,37 @@ +Fri Nov 28 23:16:40 UTC 2014 - [email protected] + +- Privoxy 3.0.22 [boo#907675] +- Bug fixes: + - Fixed a memory leak when rejecting client connections + - Fixed an immediate-use-after-free bug and two additional + unconfirmed use-after-free complaints + - Actually show the FORCE_PREFIX value on the show-status page. + - Properly deal with Keep-Alive headers with timeout= parameters + - Not using any filter files no longer results in warning messages + unless an action file is referencing header taggers or filters. + - Fixed a bug that prevented Privoxy from reusing some reusable + connections. +- General improvements: + - Introduced NO-REQUEST-TAG and NO-RESPONSE-TAG. + - Add support for the 'PATCH' method as defined in RFC5789. + - Reject requests with unsupported Expect header values. + - Normalize the HTTP-version in forwarded requests and responses. + - Server 'Keep-Alive' headers are no longer forwarded. + - Change declared template file encoding to UTF-8. + - Do not pass rejected keep-alive timeouts to the server. + - CGI templates no longer enforce new windows for some links. + - Documentation improvements + - Build system improvements +- Action file improvements: + - The pattern 'promotions.' is no longer being blocked. + - Various updated filter rules and exceptions. +- Filter file improvements & bug fixes: + - Decrease the chances that js-annoyances creates invalid JavaScript. + - Let the msn filter hide 'related' ads again. + - Prevent img-reorder from messing up img tags with empty src + attributes. +- add source URL +- fix self-obsoletion +- clean up spec file + +------------------------------------------------------------------- Old: ---- privoxy-3.0.21-stable-src.tar.gz New: ---- privoxy-3.0.22-stable-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ privoxy.spec ++++++ --- /var/tmp/diff_new_pack.mdsYY5/_old 2014-12-01 14:01:10.000000000 +0100 +++ /var/tmp/diff_new_pack.mdsYY5/_new 2014-12-01 14:01:10.000000000 +0100 @@ -16,64 +16,64 @@ # +%define chroot %{_localstatedir}/lib/privoxy %if 0%{?suse_version} > 1210 %define with_systemd 1 %else %define with_systemd 0 %endif - %if %{with_systemd} %if 0%{?suse_version} < 1230 %define _unitdir /lib/systemd/system %else -%define _unitdir /usr/lib/systemd/system +%define _unitdir %{_libexecdir}/systemd/system %endif %endif - Name: privoxy +Version: 3.0.22 +Release: 0 +Summary: The Internet Junkbuster - HTTP Proxy Server +License: GPL-2.0+ +Group: Productivity/Networking/Web/Proxy +Url: http://www.privoxy.org/ +Source: http://sourceforge.net/projects/ijbswa/files/Sources/%{version}%%20%%28stable%%29/%{name}-%{version}-stable-src.tar.gz +Source2: %{name}-3.0.16-init.suse +Source3: %{name}.service +Source4: %{name}.firewall +Patch1: %{name}-3.0.21-config.patch +Patch2: %{name}-3.0.17-utf8.patch BuildRequires: automake BuildRequires: pcre-devel BuildRequires: w3m BuildRequires: zlib-devel +Requires: cron +Requires: logrotate +Provides: ijb = %{version} +Obsoletes: ijb < %{version} +Provides: junkbuster = %{version} +Obsoletes: junkbuster < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with_systemd} BuildRequires: systemd %endif -Url: http://www.privoxy.org/ -Provides: ijb -Provides: junkbuster -Obsoletes: ijb -Obsoletes: junkbuster %if %{with_systemd} +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %{?systemd_requires} -PreReq: /usr/sbin/useradd /usr/sbin/groupadd %else -PreReq: %fillup_prereq %insserv_prereq /usr/sbin/useradd /usr/sbin/groupadd +# FIXME: use proper Requires(pre/post/preun/...) +PreReq: %fillup_prereq %insserv_prereq %{_sbindir}/useradd %{_sbindir}/groupadd %endif -Version: 3.0.21 -Release: 0 -Summary: The Internet Junkbuster - HTTP Proxy Server -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 -Source4: %{name}.firewall -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 -%define chroot /var/lib/privoxy %description The Internet Junkbuster - HTTP Proxy Server: A non-caching HTTP proxy @@ -93,67 +93,67 @@ %prep %setup -q -n privoxy-%{version}-stable -%patch1 -%patch2 -p0 +%patch1 -p1 +%patch2 %patch3 %build autoreconf -fiv %configure --enable-zlib -make +make %{?_smp_mflags} %install %if %{with_systemd} -mkdir -p $RPM_BUILD_ROOT/%{_unitdir} +mkdir -p %{buildroot}/%{_unitdir} %else -mkdir -p $RPM_BUILD_ROOT/etc/init.d +mkdir -p %{buildroot}%{_sysconfdir}/init.d %endif -mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d -mkdir -p $RPM_BUILD_ROOT/%chroot/etc -mkdir -p $RPM_BUILD_ROOT/usr/sbin -mkdir -p $RPM_BUILD_ROOT/%chroot/log -mkdir -p $RPM_BUILD_ROOT/%chroot/var/log -mkdir -p $RPM_BUILD_ROOT/%chroot/var/run -mkdir -p $RPM_BUILD_ROOT/%chroot/%_lib -mkdir -p $RPM_BUILD_ROOT%_mandir/man1 -mkdir -p $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d -cp -a templates $RPM_BUILD_ROOT/%chroot/etc -install -m 644 config *.action *.filter trust $RPM_BUILD_ROOT/%chroot/etc +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +mkdir -p %{buildroot}/%{chroot}/etc +mkdir -p %{buildroot}%{_prefix}/sbin +mkdir -p %{buildroot}/%{chroot}/log +mkdir -p %{buildroot}/%{chroot}%{_localstatedir}/log +mkdir -p %{buildroot}/%{chroot}%{_localstatedir}/run +mkdir -p %{buildroot}/%{chroot}/%{_lib} +mkdir -p %{buildroot}%{_mandir}/man1 +mkdir -p %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d +cp -a templates %{buildroot}/%{chroot}/etc +install -m 644 config *.action *.filter trust %{buildroot}/%{chroot}/etc %if %{with_systemd} -sed -e 's/@lib@/%{_lib}/g' %{SOURCE3} > $RPM_BUILD_ROOT/%{_unitdir}/%{name}.service +sed -e 's/@lib@/%{_lib}/g' %{SOURCE3} > %{buildroot}/%{_unitdir}/%{name}.service %if 0%{?suse_version} >= 1310 -ln -sf /usr/sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name} +ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %else -ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rc%{name} +ln -sf /sbin/service %{buildroot}%{_sbindir}/rc%{name} %endif %else -install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/init.d/privoxyd -ln -sf ../../etc/init.d/privoxyd $RPM_BUILD_ROOT/usr/sbin/rcprivoxyd -ln -sf ../../etc/init.d/privoxyd $RPM_BUILD_ROOT/usr/sbin/rcprivoxy +install -m 755 %{SOURCE2} %{buildroot}%{_initddir}/privoxyd +ln -sf ../..%{_initddir}/privoxyd %{buildroot}%{_sbindir}/rcprivoxyd +ln -sf ../..%{_initddir}/privoxyd %{buildroot}%{_sbindir}/rcprivoxy %endif -install -m 755 privoxy $RPM_BUILD_ROOT/usr/sbin -install -m 755 privoxy_nm $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/privoxyd -install -m 644 privoxy.1 $RPM_BUILD_ROOT%_mandir/man1 -install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/privoxy -ln -s ../../log $RPM_BUILD_ROOT/%chroot/var/log/privoxy -ln -sf %chroot/etc/ $RPM_BUILD_ROOT/etc/privoxy +install -m 755 privoxy %{buildroot}%{_prefix}/sbin +install -m 755 privoxy_nm %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/privoxyd +install -m 644 privoxy.1 %{buildroot}%{_mandir}/man1 +install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/privoxy +ln -s ../../log %{buildroot}/%{chroot}%{_localstatedir}/log/privoxy +ln -sf %{chroot}%{_sysconfdir}/ %{buildroot}%{_sysconfdir}/privoxy # firewall config install -m 644 -D %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %pre %if %{with_systemd} -mkdir -p /var/lib/systemd/migrated || : +mkdir -p %{_localstatedir}/lib/systemd/migrated || : if test $1 -eq 1; then - touch /var/lib/systemd/migrated/%{name} || : + touch %{_localstatedir}/lib/systemd/migrated/%{name} || : else - if test ! -e /var/lib/systemd/migrated/%{name}; then - # /usr/sbin/systemd-sysv-convert --save privoxy{d} + if test ! -e %{_localstatedir}/lib/systemd/migrated/%{name}; then + # %{_sbindir}/systemd-sysv-convert --save privoxy{d} find_service() { local runlevel runlevel=$1 priority=-1 - for l in /etc/rc.d/rc$runlevel.d/*; do + for l in %{_sysconfdir}/rc.d/rc$runlevel.d/*; do test -f "$l" || continue initscript=$(basename $l) case "$initscript" in @@ -176,21 +176,21 @@ return 255 fi } - if test -r /etc/init.d/privoxyd; then + if test -r %{_initddir}/privoxyd; then for runlevel in 2 3 4 5; do find_service $runlevel priority=$? if test $priority -lt 255; then - printf "%%s\t%%s\t%%s\n" %{name} $runlevel $priority >> /var/lib/systemd/sysv-convert/database + printf "%%s\t%%s\t%%s\n" %{name} $runlevel $priority >> %{_localstatedir}/lib/systemd/sysv-convert/database fi done fi fi fi %endif -/usr/sbin/groupadd -r privoxy 2> /dev/null ||: -/usr/sbin/useradd -r -g privoxy -s /bin/false -c "Daemon user for privoxy" \ - -d /var/lib/privoxy privoxy 2> /dev/null ||: +%{_sbindir}/groupadd -r privoxy 2> /dev/null ||: +%{_sbindir}/useradd -r -g privoxy -s /bin/false -c "Daemon user for privoxy" \ + -d %{_localstatedir}/lib/privoxy privoxy 2> /dev/null ||: exit 0 %post @@ -200,7 +200,7 @@ %{fillup_and_insserv privoxyd} %endif # create logfiles if missing -for i in ./%chroot/log/logfile ./%chroot/log/jarfile; do +for i in ./%{chroot}/log/logfile ./%{chroot}/log/jarfile; do if ! test -e $i; then touch $i; chown privoxy: $i; chmod 640 $i ; fi done exit 0 @@ -223,33 +223,33 @@ %files %defattr(-,root,root) %doc AUTHORS LICENSE README ChangeLog -/usr/sbin/privoxy -/etc/NetworkManager/dispatcher.d/privoxyd -%dir /etc/NetworkManager -%dir /etc/NetworkManager/dispatcher.d -%doc %_mandir/man1/privoxy.1.gz -%config(noreplace) /etc/logrotate.d/privoxy -%dir /%chroot/etc -%config(noreplace) /%chroot/etc/config -%config(noreplace) /%chroot/etc/trust -%config /%chroot/etc/match-all.action -%config %attr(640,privoxy,root) /%chroot/etc/default.action -%config(noreplace) %attr(640,privoxy,root) /%chroot/etc/user.action -%config(noreplace) /%chroot/etc/*.filter -%dir %chroot -%chroot/etc/templates -%dir %attr(770,root,privoxy) %chroot/log -%chroot/var -%chroot/%_lib -%chroot/etc/regression-tests.action +%{_sbindir}/privoxy +%{_sysconfdir}/NetworkManager/dispatcher.d/privoxyd +%dir %{_sysconfdir}/NetworkManager +%dir %{_sysconfdir}/NetworkManager/dispatcher.d +%doc %{_mandir}/man1/privoxy.1.gz +%config(noreplace) %{_sysconfdir}/logrotate.d/privoxy +%dir /%{chroot}/etc +%config(noreplace) /%{chroot}%{_sysconfdir}/config +%config(noreplace) /%{chroot}%{_sysconfdir}/trust +%config /%{chroot}%{_sysconfdir}/match-all.action +%config %attr(640,privoxy,root) /%{chroot}%{_sysconfdir}/default.action +%config(noreplace) %attr(640,privoxy,root) /%{chroot}%{_sysconfdir}/user.action +%config(noreplace) /%{chroot}%{_sysconfdir}/*.filter +%dir %{chroot} +%{chroot}%{_sysconfdir}/templates +%dir %attr(770,root,privoxy) %{chroot}/log +%{chroot}/var +%{chroot}/%{_lib} +%{chroot}%{_sysconfdir}/regression-tests.action %if %{with_systemd} %{_unitdir}/%{name}.service %else -%config /etc/init.d/privoxyd -/usr/sbin/rcprivoxyd +%config %{_initddir}/privoxyd +%{_sbindir}/rcprivoxyd %endif -/usr/sbin/rcprivoxy -/etc/privoxy +%{_sbindir}/rcprivoxy +%{_sysconfdir}/privoxy %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} %files doc ++++++ privoxy-3.0.21-config.patch ++++++ --- /var/tmp/diff_new_pack.mdsYY5/_old 2014-12-01 14:01:10.000000000 +0100 +++ /var/tmp/diff_new_pack.mdsYY5/_new 2014-12-01 14:01:10.000000000 +0100 @@ -1,5 +1,11 @@ ---- config -+++ config +--- + config | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: privoxy-3.0.22-stable/config +=================================================================== +--- privoxy-3.0.22-stable.orig/config 2014-11-14 11:31:53.000000000 +0000 ++++ privoxy-3.0.22-stable/config 2014-11-28 22:59:49.000000000 +0000 @@ -260,7 +260,7 @@ # # No trailing "/", please. @@ -9,12 +15,12 @@ # # 2.2. templdir # ============== -@@ -315,7 +315,7 @@ +@@ -345,7 +345,7 @@ confdir . # # No trailing "/", please. # -logdir . +logdir /log # - # 2.4. actionsfile + # 2.5. actionsfile # ================= ++++++ privoxy-3.0.21-stable-src.tar.gz -> privoxy-3.0.22-stable-src.tar.gz ++++++ ++++ 14423 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
