From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 19 07:30:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B11E7106568E for ; Wed, 19 Aug 2009 07:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2758FC65 for ; Wed, 19 Aug 2009 07:30:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7J7U5E2009692 for ; Wed, 19 Aug 2009 07:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7J7U5FF009687; Wed, 19 Aug 2009 07:30:05 GMT (envelope-from gnats) Resent-Date: Wed, 19 Aug 2009 07:30:05 GMT Resent-Message-Id: <200908190730.n7J7U5FF009687@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrei Lavreniyuk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B63911065690 for ; Wed, 19 Aug 2009 07:29:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A38028FC66 for ; Wed, 19 Aug 2009 07:29:11 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7J7TBS6011963 for ; Wed, 19 Aug 2009 07:29:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7J7TBoo011962; Wed, 19 Aug 2009 07:29:11 GMT (envelope-from nobody) Message-Id: <200908190729.n7J7TBoo011962@www.freebsd.org> Date: Wed, 19 Aug 2009 07:29:11 GMT From: Andrei Lavreniyuk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137950: [update]net/torsocks update to 1.0_1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 07:30:05 -0000 >Number: 137950 >Category: ports >Synopsis: [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: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 19 07:30:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrei Lavreniyuk >Release: FreeBSD 8.0-BETA2 >Organization: Technica-03, Inc. >Environment: FreeBSD datacenter.technica-03.local 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Sun Jul 19 09:20:13 EEST 2009 root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64 amd64 >Description: update to 1.0_1 from 1.0 >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-18 08:39:18.000000000 +0300 @@ -6,10 +6,11 @@ PORTNAME= torsocks PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= net security MASTER_SITES= GOOGLE_CODE \ http://tor.reactor-xg.kiev.ua/files/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-gamma +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-18 08:45:09.000000000 +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,12 @@ 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' 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: