Tue Oct 21 12:04:44 2014 UTC ()
Update sniproxy to 0.3.6

Changelog:
2014-09-26  Dustin Lundquist <dustin@null-ptr.net>
	0.3.6 release

	* Improve logging:
	  Fix negative connection duration in access log
	  Include log rotate script
	  Reopen log files on SIGHUP
	  Share file handle to same log file between listeners
	  Avoid unnecessary reconnection to syslog socket
	  Cache timestamp string for current second
	* Man page
	* Packaging improvements:
	  passes lintian and rpm-lint

2014-08-13	Dustin Lundquist <dustin@null-ptr.net>
	0.3.5 release

	* Configuration reloading on SIGHUP
	* SSL 2.0 connection handling: do not treat as an error, use fallback
	address if configured.
	* Fix buffer_coalesce error
	* Spawn privileged child to bind sockets to privileged ports on reload
	* Add -V flag to return sniproxy version
	* Use libev for timestamps to improve portability
	* Include several for BSD compatibility
	* Large file support (for log files)


(wiedi)
diff -r1.2 -r1.3 pkgsrc/net/sniproxy/Makefile
diff -r1.1 -r1.2 pkgsrc/net/sniproxy/PLIST
diff -r1.1 -r1.2 pkgsrc/net/sniproxy/distinfo
diff -r1.1 -r0 pkgsrc/net/sniproxy/patches/patch-src_buffer.c
diff -r1.1 -r0 pkgsrc/net/sniproxy/patches/patch-src_connection.c

cvs diff -r1.2 -r1.3 pkgsrc/net/sniproxy/Makefile (expand / switch to unified diff)

--- pkgsrc/net/sniproxy/Makefile 2014/07/10 00:12:57 1.2
+++ pkgsrc/net/sniproxy/Makefile 2014/10/21 12:04:44 1.3
@@ -1,38 +1,38 @@ @@ -1,38 +1,38 @@
1# $NetBSD: Makefile,v 1.2 2014/07/10 00:12:57 wiedi Exp $ 1# $NetBSD: Makefile,v 1.3 2014/10/21 12:04:44 wiedi Exp $
2 2
3DISTNAME= 0.3.4 3DISTNAME= 0.3.6
4PKGNAME= sniproxy-${DISTNAME} 4PKGNAME= sniproxy-${DISTNAME}
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= https://github.com/dlundquist/sniproxy/archive/ 6MASTER_SITES= https://github.com/dlundquist/sniproxy/archive/
7 7
8MAINTAINER= wiedi@frubar.net 8MAINTAINER= wiedi@frubar.net
9HOMEPAGE= https://github.com/dlundquist/sniproxy/ 9HOMEPAGE= https://github.com/dlundquist/sniproxy/
10COMMENT= Proxy that routes based on TLS server name extension 10COMMENT= Proxy that routes based on TLS server name extension
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13WRKSRC= ${WRKDIR}/sniproxy-${DISTNAME} 13WRKSRC= ${WRKDIR}/sniproxy-${DISTNAME}
14 14
15USE_LANGUAGES= c99 15USE_LANGUAGES= c99
16USE_TOOLS+= autoconf aclocal automake pkg-config 16USE_TOOLS+= autoconf aclocal automake pkg-config
17GNU_CONFIGURE= YES 17GNU_CONFIGURE= YES
18USE_LIBTOOL= YES 18USE_LIBTOOL= YES
19 19
20BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 20BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
21 21
22EGDIR= ${PREFIX}/share/examples/${PKGBASE} 22EGDIR= ${PREFIX}/share/examples/${PKGBASE}
23CONF_FILES= ${EGDIR}/sniproxy.conf ${PKG_SYSCONFDIR}/sniproxy.conf 23CONF_FILES= ${EGDIR}/sniproxy.conf ${PKG_SYSCONFDIR}/sniproxy.conf
24 24
25CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 25CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
26LDFLAGS.SunOS+= -lsocket -lnsl 26LDFLAGS.SunOS+= -lsocket -lnsl
27 27
28pre-configure: 28pre-configure:
29 cd ${WRKSRC} && ./autogen.sh 29 cd ${WRKSRC} && autoreconf --install && automake --add-missing --copy
30 30
31post-install: 31post-install:
32 ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} 32 ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
33 ${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${DESTDIR}${EGDIR} 33 ${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${DESTDIR}${EGDIR}
34 34
35.include "../../devel/libev/buildlink3.mk" 35.include "../../devel/libev/buildlink3.mk"
36.include "../../devel/pcre/buildlink3.mk" 36.include "../../devel/pcre/buildlink3.mk"
37.include "../../net/udns/buildlink3.mk" 37.include "../../net/udns/buildlink3.mk"
38.include "../../mk/bsd.pkg.mk" 38.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/net/sniproxy/PLIST (expand / switch to unified diff)

--- pkgsrc/net/sniproxy/PLIST 2014/06/13 00:13:13 1.1
+++ pkgsrc/net/sniproxy/PLIST 2014/10/21 12:04:44 1.2
@@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
1@comment $NetBSD: PLIST,v 1.1 2014/06/13 00:13:13 wiedi Exp $ 1@comment $NetBSD: PLIST,v 1.2 2014/10/21 12:04:44 wiedi Exp $
 2man/man8/sniproxy.8
2sbin/sniproxy 3sbin/sniproxy
3share/examples/sniproxy/sniproxy.conf 4share/examples/sniproxy/sniproxy.conf

cvs diff -r1.1 -r1.2 pkgsrc/net/sniproxy/distinfo (expand / switch to unified diff)

--- pkgsrc/net/sniproxy/distinfo 2014/06/13 00:13:13 1.1
+++ pkgsrc/net/sniproxy/distinfo 2014/10/21 12:04:44 1.2
@@ -1,7 +1,5 @@ @@ -1,7 +1,5 @@
1$NetBSD: distinfo,v 1.1 2014/06/13 00:13:13 wiedi Exp $ 1$NetBSD: distinfo,v 1.2 2014/10/21 12:04:44 wiedi Exp $
2 2
3SHA1 (0.3.4.tar.gz) = 73bbe48508c08f150de0276ad68bfa7c63618efb 3SHA1 (0.3.6.tar.gz) = f241bbbb12fff56896a58b85627aa01eeb914188
4RMD160 (0.3.4.tar.gz) = c28a22d889ec360c2676260ff30400cee2e8fdb7 4RMD160 (0.3.6.tar.gz) = 749e2e432fe3dd6fa99ecd1b9545db4625537688
5Size (0.3.4.tar.gz) = 57908 bytes 5Size (0.3.6.tar.gz) = 65100 bytes
6SHA1 (patch-src_buffer.c) = f79173875680d57f21b723a0ada3676ae36cbb20 
7SHA1 (patch-src_connection.c) = 35beaa910b6f2e95cfbe75c878b96631afc976e8 

File Deleted: pkgsrc/net/sniproxy/patches/Attic/patch-src_buffer.c

File Deleted: pkgsrc/net/sniproxy/patches/Attic/patch-src_connection.c