Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 19:22:58 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485470 - in head/net/torsocks: . files
Message-ID:  <201811201922.wAKJMw4h076852@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov 20 19:22:57 2018
New Revision: 485470
URL: https://svnweb.freebsd.org/changeset/ports/485470

Log:
  net/torsocks: Update 2.2.0 -> 2.3.0
  
  Reported by:	portscout

Added:
  head/net/torsocks/files/patch-src_lib_torsocks.c   (contents, props changed)
Deleted:
  head/net/torsocks/files/patch-src_lib_syscall.c
Modified:
  head/net/torsocks/Makefile
  head/net/torsocks/distinfo
  head/net/torsocks/files/patch-src_common_compat.h

Modified: head/net/torsocks/Makefile
==============================================================================
--- head/net/torsocks/Makefile	Tue Nov 20 19:22:08 2018	(r485469)
+++ head/net/torsocks/Makefile	Tue Nov 20 19:22:57 2018	(r485470)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	torsocks
-PORTVERSION=	2.2.0
-PORTREVISION=	1
+DISTVERSION=	2.3.0
 CATEGORIES=	net security
 MASTER_SITES=	https://people.torproject.org/~dgoulet/${PORTNAME}/
 

Modified: head/net/torsocks/distinfo
==============================================================================
--- head/net/torsocks/distinfo	Tue Nov 20 19:22:08 2018	(r485469)
+++ head/net/torsocks/distinfo	Tue Nov 20 19:22:57 2018	(r485470)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530802906
-SHA256 (torsocks-2.2.0.tar.xz) = 29e8c8cefa677dfb493ea6f2449576a7a9abebd221547037f9381d9ed44bd92f
-SIZE (torsocks-2.2.0.tar.xz) = 309916
+TIMESTAMP = 1542734899
+SHA256 (torsocks-2.3.0.tar.xz) = b9f1b981d6b3fd4e1820de1eee325f8a7038c84765d5a6cd9af12571d5cc3622
+SIZE (torsocks-2.3.0.tar.xz) = 313072

Modified: head/net/torsocks/files/patch-src_common_compat.h
==============================================================================
--- head/net/torsocks/files/patch-src_common_compat.h	Tue Nov 20 19:22:08 2018	(r485469)
+++ head/net/torsocks/files/patch-src_common_compat.h	Tue Nov 20 19:22:57 2018	(r485470)
@@ -1,6 +1,6 @@
---- src/common/compat.h.orig	2015-05-27 18:54:22 UTC
+--- src/common/compat.h.orig	2018-04-20 15:41:42 UTC
 +++ src/common/compat.h
-@@ -187,6 +187,10 @@ void tsocks_once(tsocks_once_t *o, void 
+@@ -214,6 +214,10 @@ void tsocks_once(tsocks_once_t *o, void 
  #define TSOCKS_NR_GETPEERNAME SYS_getpeername
  #define TSOCKS_NR_LISTEN    SYS_listen
  #define TSOCKS_NR_RECVMSG   SYS_recvmsg

Added: head/net/torsocks/files/patch-src_lib_torsocks.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/torsocks/files/patch-src_lib_torsocks.c	Tue Nov 20 19:22:57 2018	(r485470)
@@ -0,0 +1,14 @@
+--- src/lib/torsocks.c.orig	2018-11-20 17:48:42 UTC
++++ src/lib/torsocks.c
+@@ -234,9 +234,9 @@ static void init_libc_symbols(void)
+ 	tsocks_libc_socket = dlsym(libc_ptr, LIBC_SOCKET_NAME_STR);
+ 	tsocks_libc_syscall = dlsym(libc_ptr, LIBC_SYSCALL_NAME_STR);
+ 	tsocks_libc_execve = dlsym(libc_ptr, LIBC_EXECVE_NAME_STR);
+-	tsocks_libc_accept4 = dlsym(libc_ptr, LIBC_ACCEPT4_NAME_STR);
++	tsocks_libc_accept = dlsym(libc_ptr, LIBC_ACCEPT_NAME_STR);
+ 	if (!tsocks_libc_connect || !tsocks_libc_close || !tsocks_libc_socket ||
+-			!tsocks_libc_syscall || !tsocks_libc_execve || ! tsocks_libc_accept4) {
++			!tsocks_libc_syscall || !tsocks_libc_execve || ! tsocks_libc_accept) {
+ 		ERR("Unable to lookup symbols in " LIBC_NAME "(%s)", dlerror());
+ 		goto error;
+ 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811201922.wAKJMw4h076852>