pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/sniproxy



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Tue May  9 14:17:07 UTC 2017

Modified Files:
        pkgsrc/net/sniproxy: Makefile distinfo
Added Files:
        pkgsrc/net/sniproxy/patches: patch-src_connection.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/sniproxy/Makefile \
    pkgsrc/net/sniproxy/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/net/sniproxy/patches/patch-src_connection.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/sniproxy/Makefile
diff -u pkgsrc/net/sniproxy/Makefile:1.4 pkgsrc/net/sniproxy/Makefile:1.5
--- pkgsrc/net/sniproxy/Makefile:1.4    Thu Jun  4 22:14:22 2015
+++ pkgsrc/net/sniproxy/Makefile        Tue May  9 14:17:07 2017
@@ -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/
Index: pkgsrc/net/sniproxy/distinfo
diff -u pkgsrc/net/sniproxy/distinfo:1.4 pkgsrc/net/sniproxy/distinfo:1.5
--- pkgsrc/net/sniproxy/distinfo:1.4    Wed Nov  4 00:35:37 2015
+++ pkgsrc/net/sniproxy/distinfo        Tue May  9 14:17:07 2017
@@ -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

Added files:

Index: pkgsrc/net/sniproxy/patches/patch-src_connection.c
diff -u /dev/null pkgsrc/net/sniproxy/patches/patch-src_connection.c:1.3
--- /dev/null   Tue May  9 14:17:07 2017
+++ pkgsrc/net/sniproxy/patches/patch-src_connection.c  Tue May  9 14:17:07 2017
@@ -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