pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/tinyproxy tinyproxy: updated to 1.10.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6231020ae282
branches:  trunk
changeset: 386238:6231020ae282
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 12 13:57:46 2018 +0000

description:
tinyproxy: updated to 1.10.0

Tinyproxy version 1.10.0

Major changes in this release
-----------------------------
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
Install tinyproxy to bin/ instead of sbin/
Ship manpages as part of distribution tarball
Allow multiple listen statements in the configuration
Coverity fixes
Simplified configure and build
Improved selftest environment

Included security fixes
-----------------------
Fix CVE-2017-11747: Create PID file before dropping privileges.
Fix CVE-2012-3505: algorithmic complexity DoS in hashmap

Bugfixes
--------
fix algorithmic complexity DoS in hashmap
fix CONNECT requests with IPv6 literal addresses as host
fix invalid free for GET requests to ipv6 literal address
conf: Allow multiple Listen statements in the config
allow listening on multiple families when no Listen is provided in config
Drop supplementary groups
build: fix build with autoconf >= 2.69
Move files installed in /etc/ to /etc/tinyproxy/
Fix crash (infinite loop) when writing to log file fails
Fix bug in ACL netmask generation
Fix FilterURLs with transparent proxy support
Fix upstream proxy support
Create log and pid files after we drop privs
Don't recompile regular expressions
Use output of id instead of $USER
keep track of error codes in return codes in tests

diffstat:

 www/tinyproxy/Makefile                            |   6 +++---
 www/tinyproxy/PLIST                               |   8 ++++++--
 www/tinyproxy/distinfo                            |  15 +++++++--------
 www/tinyproxy/files/tinyproxy.sh                  |   4 ++--
 www/tinyproxy/patches/patch-configure             |  14 --------------
 www/tinyproxy/patches/patch-etc_Makefile.in       |  14 +++++++-------
 www/tinyproxy/patches/patch-etc_tinyproxy.conf.in |  10 +++++-----
 7 files changed, 30 insertions(+), 41 deletions(-)

diffs (152 lines):

diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/Makefile
--- a/www/tinyproxy/Makefile    Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/Makefile    Fri Oct 12 13:57:46 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2018/06/21 11:31:33 adam Exp $
+# $NetBSD: Makefile,v 1.39 2018/10/12 13:57:46 adam Exp $
 
-DISTNAME=      tinyproxy-1.8.4
+DISTNAME=      tinyproxy-1.10.0
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tinyproxy/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -46,7 +46,7 @@
 
 INSTALLATION_DIRS=     ${EGDIR} share/doc/tinyproxy
 
-PLIST_SUBST+=          VARBASE=${VARBASE:Q}
+PLIST_SUBST+=          VARBASE=${VARBASE}
 PLIST_SUBST+=          TINYPROXY_USER=${TINYPROXY_USER:Q}
 PLIST_SUBST+=          TINYPROXY_GROUP=${TINYPROXY_GROUP:Q}
 PLIST_SUBST+=          MKDIR=${MKDIR:Q} RMDIR=${RMDIR:Q} TRUE=${TRUE:Q}
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/PLIST
--- a/www/tinyproxy/PLIST       Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/PLIST       Fri Oct 12 13:57:46 2018 +0000
@@ -1,7 +1,11 @@
-@comment $NetBSD: PLIST,v 1.7 2017/02/18 05:59:23 nonaka Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/10/12 13:57:46 adam Exp $
+bin/tinyproxy
 man/man5/tinyproxy.conf.5
 man/man8/tinyproxy.8
-sbin/tinyproxy
+share/doc/tinyproxy/AUTHORS
+share/doc/tinyproxy/NEWS
+share/doc/tinyproxy/README
+share/doc/tinyproxy/README.md
 share/doc/tinyproxy/filter-howto.txt
 share/examples/tinyproxy/tinyproxy.conf.default
 share/tinyproxy/debug.html
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/distinfo
--- a/www/tinyproxy/distinfo    Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/distinfo    Fri Oct 12 13:57:46 2018 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.12 2018/06/21 11:31:33 adam Exp $
+$NetBSD: distinfo,v 1.13 2018/10/12 13:57:46 adam Exp $
 
-SHA1 (tinyproxy-1.8.4.tar.xz) = 2ecc31268b386c282f4c9f4ed53dd9b76f3c3aee
-RMD160 (tinyproxy-1.8.4.tar.xz) = 5fd68912b1977badf261756b34a1de7efc183a72
-SHA512 (tinyproxy-1.8.4.tar.xz) = 23398a2c8a6d926b371086ba96032d0fd8dd06d114edf24950b868f53bb6b4235cd0f5d6b9a0131879fcc16bbe6b71142a6855de593a937ef7b0c323b50e0aec
-Size (tinyproxy-1.8.4.tar.xz) = 192300 bytes
-SHA1 (patch-configure) = c0d7af647d06eac76835506823a8df4f1bd7bd49
+SHA1 (tinyproxy-1.10.0.tar.xz) = c69fccde7aabd89434f94789a156847edde9aa28
+RMD160 (tinyproxy-1.10.0.tar.xz) = 8c22dadf2b50dbb841fb730395fd33244f5f2d33
+SHA512 (tinyproxy-1.10.0.tar.xz) = 8d82598c5f9c89bc672f4632139ac52696d5c7788963de51688a8aeb576c69004f8338fe1e1897bf704a21dfd25ab1effb092003b6afaa9a88c2b5d0608310f5
+Size (tinyproxy-1.10.0.tar.xz) = 176060 bytes
 SHA1 (patch-docs_man5_tinyproxy.conf.txt.in) = 1641f7c44ce84f2ebac6e945760af3ba77976f31
 SHA1 (patch-docs_man8_tinyproxy.txt.in) = 12c43d0f874a8794cbe8da7c702e406e8b10a99b
-SHA1 (patch-etc_Makefile.in) = 34ab3402bf11be5d2c1521f8ca0254ecbf19fc3c
-SHA1 (patch-etc_tinyproxy.conf.in) = 2694a3f4cd1c2481eb765c8c9a26a58ac94f2574
+SHA1 (patch-etc_Makefile.in) = 05586bae07900c24dd418bddcbf0157ba2b302ef
+SHA1 (patch-etc_tinyproxy.conf.in) = 19481a177119b266034280d8923ea855021d8663
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/files/tinyproxy.sh
--- a/www/tinyproxy/files/tinyproxy.sh  Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/files/tinyproxy.sh  Fri Oct 12 13:57:46 2018 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: tinyproxy.sh,v 1.3 2017/02/18 05:59:23 nonaka Exp $
+# $NetBSD: tinyproxy.sh,v 1.4 2018/10/12 13:57:46 adam Exp $
 #
 
 # PROVIDE: tinyproxy
@@ -10,7 +10,7 @@
 
 name="tinyproxy"
 rcvar=$name
-command="@PREFIX@/sbin/${name}"
+command="@PREFIX@/bin/${name}"
 pidfile="@VARBASE@/run/tinyproxy/${name}.pid"
 required_files="@PKG_SYSCONFDIR@/${name}.conf"
 
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/patches/patch-configure
--- a/www/tinyproxy/patches/patch-configure     Fri Oct 12 13:52:09 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-configure,v 1.2 2018/06/21 11:31:33 adam Exp $
-
-Remove non-portable ld argument.
-
---- configure.orig     2018-06-21 11:03:35.000000000 +0000
-+++ configure
-@@ -7036,7 +7036,6 @@ if test x"$debug_enabled" != x"yes" ; th
-     CFLAGS="-DNDEBUG $CFLAGS"
- fi
- 
--LDFLAGS="-Wl,-z,defs $LDFLAGS"
- 
- 
- if test x"$ac_cv_func_regexec" != x"yes"; then
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/patches/patch-etc_Makefile.in
--- a/www/tinyproxy/patches/patch-etc_Makefile.in       Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/patches/patch-etc_Makefile.in       Fri Oct 12 13:57:46 2018 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-etc_Makefile.in,v 1.1 2012/12/12 13:01:23 wiz Exp $
+$NetBSD: patch-etc_Makefile.in,v 1.2 2018/10/12 13:57:46 adam Exp $
 
 Use pkgsrc framework for config files.
 
---- etc/Makefile.in.orig       2012-10-04 23:12:45.697375000 +0000
+--- etc/Makefile.in.orig       2018-10-12 13:51:26.000000000 +0000
 +++ etc/Makefile.in
-@@ -355,7 +355,7 @@ install-dvi: install-dvi-am
+@@ -424,7 +424,7 @@ info: info-am
  
- install-dvi-am:
+ info-am:
  
--install-exec-am: install-sysconfDATA
-+install-exec-am:
+-install-data-am: install-pkgsysconfDATA
++install-data-am:
  
- install-html: install-html-am
+ install-dvi: install-dvi-am
  
diff -r a9d01ed53d9e -r 6231020ae282 www/tinyproxy/patches/patch-etc_tinyproxy.conf.in
--- a/www/tinyproxy/patches/patch-etc_tinyproxy.conf.in Fri Oct 12 13:52:09 2018 +0000
+++ b/www/tinyproxy/patches/patch-etc_tinyproxy.conf.in Fri Oct 12 13:57:46 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-etc_tinyproxy.conf.in,v 1.2 2018/06/21 11:31:33 adam Exp $
+$NetBSD: patch-etc_tinyproxy.conf.in,v 1.3 2018/10/12 13:57:46 adam Exp $
 
 Customize settings.
 
---- etc/tinyproxy.conf.in.orig 2010-03-03 18:37:24.000000000 +0900
-+++ etc/tinyproxy.conf.in      2016-12-15 11:05:42.000000000 +0900
+--- etc/tinyproxy.conf.in.orig 2018-08-31 23:03:36.000000000 +0000
++++ etc/tinyproxy.conf.in
 @@ -12,8 +12,8 @@
  # as the root user. Either the user or group name or the UID or GID
  # number may be used.
@@ -15,9 +15,9 @@
  
  #
  # Port: Specify the port which tinyproxy will listen on.  Please note
-@@ -122,7 +122,7 @@ LogLevel Info
- # PidFile: Write the PID of the main tinyproxy thread to this file so it
+@@ -124,7 +124,7 @@ LogLevel Info
  # can be used for signalling purposes.
+ # If not specified, no pidfile will be written.
  #
 -#PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid"
 +PidFile "@localstatedir@/run/tinyproxy/tinyproxy.pid"



Home | Main Index | Thread Index | Old Index