From nobody@FreeBSD.org  Wed Aug 19 07:29:11 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B63911065690
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <andy.lavr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [update]net/torsocks update to 1.0_1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 19 07:30:05 UTC 2009
>Closed-Date:    Wed Aug 26 07:34:00 UTC 2009
>Last-Modified:  Wed Aug 26 07:34:00 UTC 2009
>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:
Class-Changed-From-To: update->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Wed Aug 19 07:31:37 UTC 2009 
Class-Changed-Why:  
Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137950 

From: "Andrei V. Lavreniyuk" <andy.lavr@reactor-xg.kiev.ua>
To: bug-followup@FreeBSD.org, andy.lavr@gmail.com
Cc:  
Subject: Re: ports/137950: [update]net/torsocks update to 1.0_1
Date: Wed, 26 Aug 2009 09:50:06 +0300

 Hi!
 
 
 Please delete pr-report 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137950. Bad update.
 
 
 
 -- 
   Best regards, Andrei V. Lavreniyuk.
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Aug 26 07:33:44 UTC 2009 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137950 
>Unformatted:
