Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 07:29:11 GMT
From:      Andrei Lavreniyuk <andy.lavr@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137950: [update]net/torsocks update to 1.0_1
Message-ID:  <200908190729.n7J7TBoo011962@www.freebsd.org>
Resent-Message-ID: <200908190730.n7J7U5FF009687@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



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