Date: Wed, 26 Aug 2009 08:16:55 GMT From: Andrei Lavreniyuk <andy.lavr@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/138200: [Maintainer Update]net/torsocks:update to 1.0,1 Message-ID: <200908260816.n7Q8GtPZ049195@www.freebsd.org> Resent-Message-ID: <200908260820.n7Q8K1jX056743@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138200 >Category: ports >Synopsis: [Maintainer Update]net/torsocks:update to 1.0,1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 26 08:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrei Lavreniyuk >Release: FreeBSD 8.0-BETA3 >Organization: Technica-03, Inc. >Environment: FreeBSD datacenter.technica-03.local 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 19:07:39 EEST 2009 root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64 amd64 >Description: update to 1.0,1 from 1.0 ChangeLog: Torsocks 1.0-delta 2009-02-XX Robert Hogan <robert@roberthogan.net> o Fix segfault when address supplied for getaddrinfo is null. Reported by Mike Perry. o Handle wildcard addresses in getaddrinfo calls. Reported by Mike Perry. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN torsocks.bak/Makefile torsocks/Makefile --- torsocks.bak/Makefile 2009-08-03 10:13:37.000000000 +0300 +++ torsocks/Makefile 2009-08-26 11:01:13.889150999 +0300 @@ -6,10 +6,11 @@ PORTNAME= torsocks PORTVERSION= 1.0 +PORTEPOCH= 1 CATEGORIES= net security -MASTER_SITES= GOOGLE_CODE \ - http://tor.reactor-xg.kiev.ua/files/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-gamma +MASTER_SITES= http://tor.reactor-xg.kiev.ua/files/ \ + GOOGLE_CODE +DISTNAME= ${PORTNAME}-${PORTVERSION}-delta MAINTAINER= andy.lavr@gmail.com COMMENT= Most SOCKS-friendly applications way with Tor diff -ruN torsocks.bak/distinfo torsocks/distinfo --- torsocks.bak/distinfo 2009-03-08 15:57:27.000000000 +0200 +++ torsocks/distinfo 2009-08-18 08:40:04.000000000 +0300 @@ -1,3 +1,3 @@ -MD5 (torsocks-1.0-gamma.tar.gz) = a55f99cf78654a990d0646fc767567ca -SHA256 (torsocks-1.0-gamma.tar.gz) = d13dbd7d97745ecac6cf3ecc3800535faa3c08f5b9b33f214e210afd7658aae6 -SIZE (torsocks-1.0-gamma.tar.gz) = 482415 +MD5 (torsocks-1.0-delta.tar.gz) = c5b6c138b4fb8c450fb5d04ca05c7092 +SHA256 (torsocks-1.0-delta.tar.gz) = 517c088e81c1573e2eaaa5e18df3b7b697038e7f0d85980d926baf80380acd5e +SIZE (torsocks-1.0-delta.tar.gz) = 481398 diff -ruN torsocks.bak/files/patch-configure.in torsocks/files/patch-configure.in --- torsocks.bak/files/patch-configure.in 2009-03-08 15:57:27.000000000 +0200 +++ torsocks/files/patch-configure.in 2009-08-26 09:59:11.408479226 +0300 @@ -1,5 +1,5 @@ ---- configure.in.orig 2009-02-12 15:59:50.000000000 +0200 -+++ configure.in 2009-02-12 17:27:16.000000000 +0200 +--- configure.in.orig 2009-08-18 08:35:08.000000000 +0300 ++++ configure.in 2009-08-18 08:44:38.712955786 +0300 @@ -123,11 +123,9 @@ dnl Checks for libraries. dnl Replace `main' with a function in -ldl: @@ -26,7 +26,7 @@ do if test "${PROTO}" = ""; then AC_TRY_COMPILE([ -@@ -376,8 +374,8 @@ +@@ -378,8 +376,8 @@ AC_MSG_CHECKING(for correct res_send prototype) PROTO= PROTO1='const char *msg, int msglen, char *answer, int anslen' @@ -37,7 +37,7 @@ "${PROTO2}" do if test "${PROTO}" = ""; then -@@ -397,8 +395,8 @@ +@@ -401,8 +399,8 @@ dnl Find the correct res_search prototype on this machine AC_MSG_CHECKING(for correct res_search prototype) PROTO= @@ -48,7 +48,7 @@ do if test "${PROTO}" = ""; then AC_TRY_COMPILE([ -@@ -417,8 +415,8 @@ +@@ -423,8 +421,8 @@ dnl Find the correct res_query prototype on this machine AC_MSG_CHECKING(for correct res_query prototype) PROTO= @@ -59,12 +59,13 @@ do if test "${PROTO}" = ""; then AC_TRY_COMPILE([ -@@ -462,7 +460,7 @@ +@@ -471,7 +469,7 @@ dnl Find the correct poll prototype on this machine AC_MSG_CHECKING(for correct poll prototype) PROTO= -for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' \ +for testproto in 'struct pollfd *ufds, u_long nfds, int timeout' \ - 'struct pollfd *ufds, nfds_t nfds, int timeout' + 'struct pollfd *ufds, nfds_t nfds, int timeout' \ +- 'struct pollfd *pfd, unsigned int nfds, int timeout' \ ++ 'struct pollfd *pfd, u_int nfds, int timeout' do - if test "${PROTO}" = ""; then diff -ruN torsocks.bak/files/patch-usewithtor.in torsocks/files/patch-usewithtor.in --- torsocks.bak/files/patch-usewithtor.in 2009-03-08 15:57:27.000000000 +0200 +++ torsocks/files/patch-usewithtor.in 1970-01-01 03:00:00.000000000 +0300 @@ -1,16 +0,0 @@ ---- src/usewithtor.in.orig 2009-02-12 15:59:50.000000000 +0200 -+++ src/usewithtor.in 2009-02-12 19:49:41.000000000 +0200 -@@ -1,3 +1,5 @@ -+#!/bin/sh -+# - # *************************************************************************** - # * * - # * $Id: usewithtor.in,v 1.3 2008-07-06 15:17:35 hoganrobert Exp $* -@@ -26,7 +28,6 @@ - # *************************************************************************** - - --#! /bin/sh - - # Wrapper script for use of the torsocks(8) transparent socksification library - # See the torsocks(1) and usewithtor(1) manpages. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908260816.n7Q8GtPZ049195>