Bug#891772: stretch-pu: package tinyproxy/1.8.4-3~deb9u1
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu
* Add sighup_hang.patch: Fix Tinyproxy ceasing to listen to connections
after it receives a SIGHUP, something that happens daily in our default
setup (closes: #880427).
* Fix path to tinyproxy.conf in sysvinit script. Thanks, Guo Yixuan (郭溢譞)
(closes: #870325).
* Add Depends on adduser.
diff -Nru tinyproxy-1.8.4/debian/changelog tinyproxy-1.8.4/debian/changelog
--- tinyproxy-1.8.4/debian/changelog 2017-01-21 13:40:00.000000000 +0200
+++ tinyproxy-1.8.4/debian/changelog 2018-02-28 19:33:56.000000000 +0200
@@ -1,3 +1,22 @@
+tinyproxy (1.8.4-3~deb9u1) stretch; urgency=medium
+
+ * Non-maintainer upload.
+ * Rebuild for stretch.
+
+ -- Adrian Bunk <bunk@debian.org> Wed, 28 Feb 2018 19:33:56 +0200
+
+tinyproxy (1.8.4-3) unstable; urgency=medium
+
+ * Add sighup_hang.patch: Fix Tinyproxy ceasing to listen to connections
+ after it receives a SIGHUP, something that happens daily in our default
+ setup (closes: #880427).
+ * Fix path to tinyproxy.conf in sysvinit script. Thanks, Guo Yixuan (郭溢譞)
+ (closes: #870325).
+ * Add Depends on adduser.
+ * Update Standards-Version to 4.1.1, with no changes needed.
+
+ -- Jordi Mallach <jordi@debian.org> Wed, 15 Nov 2017 02:28:58 +0100
+
tinyproxy (1.8.4-2) unstable; urgency=medium
* Remove obsolete preinst and postinst maintainer scripts.
@@ -270,13 +289,13 @@
tinyproxy (1.6.2-3) unstable; urgency=low
- * Properly close file handles on daemonize (Closes: #248124)
+ * Properly close file handles on daemonize (Closes: #248124)
-- Ed Boraas <ed@debian.org> Mon, 9 Aug 2004 22:23:55 -0600
tinyproxy (1.6.2-2) unstable; urgency=low
- * Actually depend on logrotate
+ * Actually depend on logrotate
-- Ed Boraas <ed@debian.org> Mon, 9 Aug 2004 18:16:09 -0600
@@ -303,22 +322,22 @@
tinyproxy (1.6.1-1) unstable; urgency=low
- * New upstream release (Closes: #186935)
+ * New upstream release (Closes: #186935)
-- Ed Boraas <ed@debian.org> Mon, 11 Aug 2003 19:32:18 -0600
tinyproxy (1.5.1-2) unstable; urgency=low
- * Open logfile with elevated permissions, passing fd to children
+ * Open logfile with elevated permissions, passing fd to children
(Closes: #159614)
* Urgency still low since the affected version is not in testing
-
+
-- Ed Boraas <ed@debian.org> Wed, 4 Sep 2002 23:05:16 -0600
tinyproxy (1.5.1-1) unstable; urgency=low
* New upstream release (Closes: #157315)
-
+
-- Ed Boraas <ed@debian.org> Sat, 24 Aug 2002 16:48:50 -0600
tinyproxy (1.4.3-3) unstable; urgency=high
@@ -328,7 +347,7 @@
* postrm only cleans /etc/tinyproxy on purge, as it should have
* SECURITY: Please use this package in woody, as -2 won't
upgrade over 1.4.3-1 because of the postrm bug
-
+
-- Ed Boraas <ed@debian.org> Thu, 23 May 2002 06:54:19 -0700
tinyproxy (1.4.3-2) unstable; urgency=high
@@ -394,7 +413,7 @@
tinyproxy (1.3.3b-1) unstable; urgency=low
* New upstream release
- * Fixed some obscure file permissions that were causing
+ * Fixed some obscure file permissions that were causing
problems for the auto-builders (Closes: #92099)
-- Ed Boraas <ed@debian.org> Thu, 29 Mar 2001 07:05:19 -0700
diff -Nru tinyproxy-1.8.4/debian/control tinyproxy-1.8.4/debian/control
--- tinyproxy-1.8.4/debian/control 2017-01-13 11:21:07.000000000 +0200
+++ tinyproxy-1.8.4/debian/control 2017-11-15 03:28:58.000000000 +0200
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Ed Boraas <ed@debian.org>
Uploaders: Jordi Mallach <jordi@debian.org>
-Standards-Version: 3.9.8
+Standards-Version: 4.1.1
Build-Depends: debhelper (>= 10),
asciidoc,
xmlto
@@ -13,7 +13,7 @@
Package: tinyproxy
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate, lsb-base (>= 3.0-6)
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, logrotate, lsb-base (>= 3.0-6)
Description: Lightweight, non-caching, optionally anonymizing HTTP proxy
An anonymizing HTTP proxy which is very light on system resources,
ideal for smaller networks and similar situations where other proxies
diff -Nru tinyproxy-1.8.4/debian/init tinyproxy-1.8.4/debian/init
--- tinyproxy-1.8.4/debian/init 2017-01-12 12:45:28.000000000 +0200
+++ tinyproxy-1.8.4/debian/init 2017-11-15 02:38:47.000000000 +0200
@@ -14,7 +14,7 @@
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-CONFIG=/etc/tinyproxy.conf
+CONFIG=/etc/tinyproxy/tinyproxy.conf
DAEMON=/usr/sbin/tinyproxy
DESC="Tinyproxy lightweight HTTP proxy daemon"
FLAGS=
diff -Nru tinyproxy-1.8.4/debian/patches/series tinyproxy-1.8.4/debian/patches/series
--- tinyproxy-1.8.4/debian/patches/series 1970-01-01 02:00:00.000000000 +0200
+++ tinyproxy-1.8.4/debian/patches/series 2017-11-15 02:22:25.000000000 +0200
@@ -0,0 +1 @@
+sighup_hang.patch
diff -Nru tinyproxy-1.8.4/debian/patches/sighup_hang.patch tinyproxy-1.8.4/debian/patches/sighup_hang.patch
--- tinyproxy-1.8.4/debian/patches/sighup_hang.patch 1970-01-01 02:00:00.000000000 +0200
+++ tinyproxy-1.8.4/debian/patches/sighup_hang.patch 2017-11-15 02:22:05.000000000 +0200
@@ -0,0 +1,12 @@
+--- tinyproxy/src/child.c 2015-12-07 15:19:00.000000000 +0100
++++ tinyproxy/src/child.c 2016-12-22 18:52:00.000000000 +0100
+@@ -233,6 +233,9 @@
+
+ ret = select(maxfd + 1, &rfds, NULL, NULL, NULL);
+ if (ret == -1) {
++ if (errno == EINTR) {
++ continue;
++ }
+ log_message (LOG_ERR, "error calling select: %s",
+ strerror(errno));
+ exit(1);
Reply to: