Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 15:10:26 GMT
From:      Andrei Lavreniyuk <andy.lavr@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153931: [MAINTAINER-UPDATE] net/torsocks: update to version 1.1_1
Message-ID:  <201101121510.p0CFAQ5o041999@red.freebsd.org>
Resent-Message-ID: <201101121520.p0CFK5Ob030816@freefall.freebsd.org>

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

>Number:         153931
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] net/torsocks: update to version 1.1_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 Jan 12 15:20:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.2-PRERELEASE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Wed Jan 12 10:58:27 EET 2011     root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:


Fix library patch (/usr/local/lib/torsocks/libtorsocks.so vs /usr/local/lib/libtorsocks.so*).


Thanks Nick Ulen uncle@wolfman.devio.us
>How-To-Repeat:
torsocks lynx
/libexec/ld-elf.so.1: Cannot open 
"/usr/local/lib/torsocks/libtorsocks.so"

ls -l /usr/local/lib/torsocks
ls: /usr/local/lib/torsocks: No such file or directory

pkg_info -Lx torsocks
Information for torsocks-1.1:

Files:
/usr/local/man/man1/torsocks.1.gz
/usr/local/man/man1/usewithtor.1.gz
/usr/local/man/man5/torsocks.conf.5.gz
/usr/local/man/man8/torsocks.8.gz
/usr/local/bin/torsocks
/usr/local/bin/usewithtor
/usr/local/etc/torsocks.conf.sample
/usr/local/lib/libtorsocks.a
/usr/local/lib/libtorsocks.la
/usr/local/lib/libtorsocks.so
/usr/local/lib/libtorsocks.so.1
/usr/local/share/examples/torsocks/tsocks.conf.complex.example
/usr/local/share/examples/torsocks/tsocks.conf.simple.example
/usr/local/share/doc/torsocks/INSTALL

so-so:
/usr/local/lib/torsocks/libtorsocks.so vs /usr/local/lib/libtorsocks.so*

>Fix:


Patch attached with submission follows:

diff -ruN torsocks.bak/Makefile torsocks/Makefile
--- torsocks.bak/Makefile	2011-01-10 22:17:41.000000000 +0200
+++ torsocks/Makefile	2011-01-12 17:03:23.558835071 +0200
@@ -6,6 +6,7 @@
 
 PORTNAME=	torsocks
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	net security
 MASTER_SITES=	GOOGLE_CODE \
 		http://tor.reactor-xg.kiev.ua/files/
diff -ruN torsocks.bak/files/patch-torsocks.in torsocks/files/patch-torsocks.in
--- torsocks.bak/files/patch-torsocks.in	1970-01-01 03:00:00.000000000 +0300
+++ torsocks/files/patch-torsocks.in	2011-01-12 17:02:10.000000000 +0200
@@ -0,0 +1,11 @@
+--- src/torsocks.in.orig	2010-12-11 18:28:08.000000000 +0200
++++ src/torsocks.in	2011-01-12 17:01:34.460490482 +0200
+@@ -68,7 +68,7 @@
+    exit
+ fi
+ 
+-LIBDIR="@prefix@/lib/torsocks"
++LIBDIR="@prefix@/lib"
+ LIB_NAME="libtorsocks"
+ SHLIB_EXT="@SHLIB_EXT@"
+ SHLIB="${LIBDIR}/${LIB_NAME}.${SHLIB_EXT}"


>Release-Note:
>Audit-Trail:
>Unformatted:



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