Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 15:56:59 +0200 (CEST)
From:      Patrick MARIE <mycroft@virgaria.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53318: New port, proxychains 1.8.2
Message-ID:  <200306141356.h5EDuxmW093779@saturnine.virgaria.org>
Resent-Message-ID: <200306141400.h5EE0Rmh069183@freefall.freebsd.org>

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

>Number:         53318
>Category:       ports
>Synopsis:       New port, proxychains 1.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 14 07:00:27 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Patrick MARIE
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
epplug.org
>Environment:
System: FreeBSD saturnine.virgaria.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Jun 11 14:23:27 CEST 2003 mycroft@saturnine.virgaria.org:/usr/obj/usr/src/sys/saturnine i386

>Description:
	New net ports: proxychains

	This program forces any tcp connection made by any given tcp client
	to follow through proxy (or proxy chain). It is a kind of proxifier.
	It acts like sockscap / permeo / eborder driver (intercepts TCP calls).

>How-To-Repeat:
>Fix:
--- proxychains.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	proxychains
#	proxychains/Makefile
#	proxychains/files
#	proxychains/files/patch-::config.h.in
#	proxychains/files/patch-::configure
#	proxychains/files/patch-proxychains::libproxychains.c
#	proxychains/pkg-plist
#	proxychains/distinfo
#	proxychains/pkg-descr
#
echo c - proxychains
mkdir -p proxychains > /dev/null 2>&1
echo x - proxychains/Makefile
sed 's/^X//' >proxychains/Makefile << 'END-of-proxychains/Makefile'
X# New ports collection makefile for:	proxychains
X# Date created:		14 jui 2003
X# Whom:			Patrick MARIE <mycroft@virgaria.org>
X# $FreeBSD$
X
XPORTNAME=	proxychains
XPORTVERSION=	1.8.2
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	proxychains
X
XMAINTAINER=	mycroft@virgaria.org
XCOMMENT=	Multi-proxifier
X
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
X
XINSTALLS_SHLIB=	yes
X
Xpost-extract:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
X		${WRKSRC}/proxychains/Makefile.in
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/proxychains/proxychains ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf \
X		${PREFIX}/etc
X	${INSTALL_DATA} ${WRKSRC}/proxychains/.libs/libproxychains.so.9 \
X		${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-proxychains/Makefile
echo c - proxychains/files
mkdir -p proxychains/files > /dev/null 2>&1
echo x - proxychains/files/patch-::config.h.in
sed 's/^X//' >proxychains/files/patch-::config.h.in << 'END-of-proxychains/files/patch-::config.h.in'
X--- config.h.in.old	Sat Jun 14 15:08:43 2003
X+++ config.h.in	Sat Jun 14 15:09:24 2003
X@@ -6,3 +6,6 @@
X /* Version number of package */
X #undef VERSION
X 
X+/* PREFIX needed for libproxychains.c */
X+#undef PREFIX
X+
END-of-proxychains/files/patch-::config.h.in
echo x - proxychains/files/patch-::configure
sed 's/^X//' >proxychains/files/patch-::configure << 'END-of-proxychains/files/patch-::configure'
X--- configure.old	Sat Jun 14 15:08:33 2003
X+++ configure	Sat Jun 14 15:09:49 2003
X@@ -807,6 +807,8 @@
X 
X VERSION=1.8.2
X 
X+PREFIX=$prefix
X+
X if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
X   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
X fi
X@@ -816,6 +818,10 @@
X 
X cat >> confdefs.h <<EOF
X #define VERSION "$VERSION"
X+EOF
X+
X+cat >> confdefs.h <<EOF
X+#define PREFIX "$PREFIX"
X EOF
X 
X 
END-of-proxychains/files/patch-::configure
echo x - proxychains/files/patch-proxychains::libproxychains.c
sed 's/^X//' >proxychains/files/patch-proxychains::libproxychains.c << 'END-of-proxychains/files/patch-proxychains::libproxychains.c'
X--- proxychains/libproxychains.c.orig	Wed Jun  4 11:11:03 2003
X+++ proxychains/libproxychains.c	Sat Jun 14 15:17:55 2003
X@@ -14,6 +14,10 @@
X  *   (at your option) any later version.                                   *
X  *                                                                         *
X  ***************************************************************************/
X+#ifdef HAVE_CONFIG_H
X+#include <config.h>
X+#endif
X+
X #include <stdio.h>
X #include <unistd.h>
X #include <stdlib.h>
X@@ -72,7 +76,7 @@
X 
X    if(!(file=fopen("./proxychains.conf","r")))
X         if(!(file=fopen(buff,"r")))
X-                if(!(file=fopen("/etc/proxychains.conf","r")))
X+                if(!(file=fopen(PREFIX "/etc/proxychains.conf","r")))
X                 {
X                         perror("1");
X                         exit(1);
END-of-proxychains/files/patch-proxychains::libproxychains.c
echo x - proxychains/pkg-plist
sed 's/^X//' >proxychains/pkg-plist << 'END-of-proxychains/pkg-plist'
Xbin/proxychains
Xetc/proxychains.conf
Xlib/libproxychains.so.9
END-of-proxychains/pkg-plist
echo x - proxychains/distinfo
sed 's/^X//' >proxychains/distinfo << 'END-of-proxychains/distinfo'
XMD5 (proxychains-1.8.2.tar.gz) = 276ad24c2680010a96f5e027ea27dcee
END-of-proxychains/distinfo
echo x - proxychains/pkg-descr
sed 's/^X//' >proxychains/pkg-descr << 'END-of-proxychains/pkg-descr'
XProxyChains
X
XThis program forces any tcp connection made by any given tcp client
Xto follow through proxy (or proxy chain). It is a kind of proxifier.
XIt acts like sockscap / permeo / eborder driver (intercepts TCP calls).
X
XWWW: http://proxylabs.netwu.com/proxychains/index.html
END-of-proxychains/pkg-descr
exit
--- proxychains.shar ends here ---


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



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