pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/sniproxy Update sniproxy to 0.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c66bef0ab422
branches:  trunk
changeset: 362228:c66bef0ab422
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Tue May 09 14:17:07 2017 +0000

description:
Update sniproxy to 0.5.0

2017-04-26  Dustin Lundquist <dustin%null-ptr.net@localhost>
        0.5.0 Release

        * Transparent proxy support
        * Use accept4() on Linix
        * Run as group specified in config

diffstat:

 net/sniproxy/Makefile                       |   4 ++--
 net/sniproxy/distinfo                       |  11 ++++++-----
 net/sniproxy/patches/patch-src_connection.c |  16 ++++++++++++++++
 3 files changed, 24 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r 6f2a4e4422ec -r c66bef0ab422 net/sniproxy/Makefile
--- a/net/sniproxy/Makefile     Tue May 09 14:12:30 2017 +0000
+++ b/net/sniproxy/Makefile     Tue May 09 14:17:07 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2015/06/04 22:14:22 wiedi Exp $
+# $NetBSD: Makefile,v 1.5 2017/05/09 14:17:07 wiedi Exp $
 
-DISTNAME=      0.4.0
+DISTNAME=      0.5.0
 PKGNAME=       sniproxy-${DISTNAME}
 CATEGORIES=    net
 MASTER_SITES=  https://github.com/dlundquist/sniproxy/archive/
diff -r 6f2a4e4422ec -r c66bef0ab422 net/sniproxy/distinfo
--- a/net/sniproxy/distinfo     Tue May 09 14:12:30 2017 +0000
+++ b/net/sniproxy/distinfo     Tue May 09 14:17:07 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:37 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/05/09 14:17:07 wiedi Exp $
 
-SHA1 (0.4.0.tar.gz) = 92c9010106dff3fb899d8f44ccd16cfb61920870
-RMD160 (0.4.0.tar.gz) = e8f8cb7765eaa2f10279a9090718c3e3d801620a
-SHA512 (0.4.0.tar.gz) = a8f165a87fe0a9564e918d54237b7bb8ef5b5b6ced7d20ca2b52d46afd994925c007ebb955d7a9b2e4b35ece9c88ed585a5bf7c12fdbfd018c002ada9ca8421c
-Size (0.4.0.tar.gz) = 70186 bytes
+SHA1 (0.5.0.tar.gz) = 181d2ce430bac34fbdf691870d089ef0ae92340a
+RMD160 (0.5.0.tar.gz) = 27b10d8ffdbf960b91a319c36246a12609f0cf88
+SHA512 (0.5.0.tar.gz) = 52dbb217193d2b7bf9dea37b13fde395b5c56d0a6627508a245f2807920deb282aae3c1ae7e6b5fa68432990e48998989fd28027b65cb7310f214b29f98e5e5d
+Size (0.5.0.tar.gz) = 72654 bytes
+SHA1 (patch-src_connection.c) = 062fa7fc8f023cc9a4a57e15deaaec13d0547f6f
diff -r 6f2a4e4422ec -r c66bef0ab422 net/sniproxy/patches/patch-src_connection.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/sniproxy/patches/patch-src_connection.c       Tue May 09 14:17:07 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_connection.c,v 1.3 2017/05/09 14:17:07 wiedi Exp $
+
+accept4 needs SOCK_NONBLOCK as flag
+upstream commit: https://github.com/dlundquist/sniproxy/commit/ce0ab17aa7bd709c34dee8fd235f35321a3ada91
+
+--- src/connection.c.orig      2017-04-26 14:22:08.000000000 +0000
++++ src/connection.c
+@@ -111,7 +111,7 @@ accept_connection(struct Listener *liste
+     int sockfd = accept4(listener->watcher.fd,
+                     (struct sockaddr *)&con->client.addr,
+                     &con->client.addr_len,
+-                    O_NONBLOCK);
++                    SOCK_NONBLOCK);
+ #else
+     int sockfd = accept(listener->watcher.fd,
+                     (struct sockaddr *)&con->client.addr,



Home | Main Index | Thread Index | Old Index