Hello community, here is the log from the commit of package tinyproxy for openSUSE:Factory checked in at 2020-08-29 20:33:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tinyproxy (Old) and /work/SRC/openSUSE:Factory/.tinyproxy.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tinyproxy" Sat Aug 29 20:33:23 2020 rev:12 rq:829625 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tinyproxy/tinyproxy.changes 2015-01-07 09:39:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tinyproxy.new.3399/tinyproxy.changes 2020-08-29 20:33:35.493244059 +0200 @@ -1,0 +2,28 @@ +Tue Aug 25 19:19:18 UTC 2020 - Jan Engelhardt <[email protected]> + +- Do not suppress errors from groupadd/useradd + +------------------------------------------------------------------- +Thu Aug 20 13:36:02 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 1.10.0: + * Configuration file has moved from /etc/tinyproxy.conf to + /etc/tinyproxy/tinyproxy.conf. + * Add support for basic HTTP authentication + * Add socks upstream support + * Log to stdout if no logfile is specified + * Activate reverse proxy by default + * Support bind with transparent mode + * Allow multiple listen statements in the configuration + * Fix CVE-2017-11747: Create PID file before dropping privileges. + * Fix CVE-2012-3505: algorithmic complexity DoS in hashmap + * Bugfixes + * BB#110: fix algorithmic complexity DoS in hashmap + * BB#106: fix CONNECT requests with IPv6 literal addresses as host + * BB#116: fix invalid free for GET requests to ipv6 literal address + * BB#115: Drop supplementary groups + * BB#109: Fix crash (infinite loop) when writing to log file fails + * BB#74: Create log and pid files after we drop privs + * BB#83: Use output of id instead of $USER + +------------------------------------------------------------------- Old: ---- tinyproxy-1.8.4.tar.xz New: ---- tinyproxy-1.10.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tinyproxy.spec ++++++ --- /var/tmp/diff_new_pack.ojzAc1/_old 2020-08-29 20:33:36.389244437 +0200 +++ /var/tmp/diff_new_pack.ojzAc1/_new 2020-08-29 20:33:36.393244439 +0200 @@ -1,7 +1,7 @@ # # spec file for package tinyproxy # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: tinyproxy -Version: 1.8.4 +Version: 1.10.0 Release: 0 Summary: Minimalist WWW proxy -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Networking/Web/Proxy -Url: https://banu.com/tinyproxy/ - -#Git-Clone: git://git.banu.com/tinyproxy -#Source: https://banu.com/pub/tinyproxy/1.8/%name-%version.tar.bz2 -#1.8.4 made from Git tag -Source: %name-%version.tar.xz +URL: https://tinyproxy.github.io/ +Source: https://github.com/tinyproxy/tinyproxy/releases/download/%version/tinyproxy-%version.tar.xz Source1: %name.logrotate Patch1: tinyproxy-conf.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake @@ -47,19 +42,18 @@ system resources for a larger proxy are unavailable. %prep -%setup -qn %name -%patch -P 1 -p1 +%autosetup -p1 %build autoreconf -fiv -%configure -make %{?_smp_mflags} +%configure --bindir="%_prefix/sbin" +%make_build %install %make_install b="%buildroot" -install -d -m0750 "%buildroot/var/log/%name" -install -D -m0644 "%{S:1}" "$b/%_sysconfdir/logrotate.d/%name" +install -d -m0750 "$b/%_localstatedir/log/%name" +install -D -m0644 "%SOURCE1" "$b/%_sysconfdir/logrotate.d/%name" mkdir -p "$b/%_unitdir" "$b/%_prefix/lib/tmpfiles.d" cat >>"$b/%_unitdir/tinyproxy.service" <<-EOF @@ -68,7 +62,7 @@ After=network.target named.service nss-lookup.service [Service] Type=simple - ExecStart=/usr/sbin/tinyproxy -d + ExecStart=%_sbindir/tinyproxy -d CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID [Install] WantedBy=multi-user.target @@ -76,13 +70,16 @@ cat >>"$b/%_prefix/lib/tmpfiles.d/tinyproxy.conf" <<-EOF d /run/tinyproxy 0755 tinyproxy tinyproxy - EOF +install -d -m 755 "$b/%_sbindir" ln -sf service "$b/%_sbindir/rc%name" +rm -rf "$b%_datadir/doc/%name" + %pre -getent group tinyproxy >/dev/null || groupadd -r tinyproxy || : +getent group tinyproxy >/dev/null || groupadd -r tinyproxy getent passwd tinyproxy >/dev/null || \ useradd -c "Tinyproxy" -d "%_datadir/%name" -g tinyproxy \ - -r -s /bin/false tinyproxy || : + -r -s /bin/false tinyproxy %service_add_pre tinyproxy.service %post @@ -96,14 +93,16 @@ %service_del_postun tinyproxy.service %files -%defattr(-,root,root) -%config(noreplace) %_sysconfdir/*.conf +%doc NEWS README README.md +%dir %_sysconfdir/%name +%config(noreplace) %_sysconfdir/%name/*.conf %config %_sysconfdir/logrotate.d/%name -%_sbindir/* +%_sbindir/tinyproxy +%_sbindir/rctinyproxy %_mandir/man*/* %_datadir/%name %_unitdir/*.service %_prefix/lib/tmpfiles.d/ -%attr(750,%name,root) /var/log/%name +%attr(750,%name,root) %_localstatedir/log/%name %changelog ++++++ tinyproxy-1.8.4.tar.xz -> tinyproxy-1.10.0.tar.xz ++++++ ++++ 26663 lines of diff (skipped)
