1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port, proxychains 1.8.2

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).

PR:		ports/53318
Submitted by:	Patrick MARIE <mycroft@virgaria.org>
This commit is contained in:
Edwin Groothuis 2003-10-10 05:37:58 +00:00
parent 3f463d1310
commit 5f87cef0b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90746
8 changed files with 96 additions and 0 deletions

View File

@ -523,6 +523,7 @@
SUBDIR += pptpclient
SUBDIR += ppxp
SUBDIR += proxy-suite
SUBDIR += proxychains
SUBDIR += prtunnel
SUBDIR += psi
SUBDIR += pvm

31
net/proxychains/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: proxychains
# Date created: 14 jui 2003
# Whom: Patrick MARIE <mycroft@virgaria.org>
# $FreeBSD$
PORTNAME= proxychains
PORTVERSION= 1.8.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= proxychains
MAINTAINER= mycroft@virgaria.org
COMMENT= Multi-proxifier
GNU_CONFIGURE= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
post-extract:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/proxychains/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/proxychains/proxychains ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf \
${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/proxychains/.libs/libproxychains.so.9 \
${PREFIX}/lib
.include <bsd.port.mk>

1
net/proxychains/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (proxychains-1.8.2.tar.gz) = 276ad24c2680010a96f5e027ea27dcee

View File

@ -0,0 +1,9 @@
--- config.h.in.old Sat Jun 14 15:08:43 2003
+++ config.h.in Sat Jun 14 15:09:24 2003
@@ -6,3 +6,6 @@
/* Version number of package */
#undef VERSION
+/* PREFIX needed for libproxychains.c */
+#undef PREFIX
+

View File

@ -0,0 +1,22 @@
--- configure.old Sat Jun 14 15:08:33 2003
+++ configure Sat Jun 14 15:09:49 2003
@@ -807,6 +807,8 @@
VERSION=1.8.2
+PREFIX=$prefix
+
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
fi
@@ -816,6 +818,10 @@
cat >> confdefs.h <<EOF
#define VERSION "$VERSION"
+EOF
+
+cat >> confdefs.h <<EOF
+#define PREFIX "$PREFIX"
EOF

View File

@ -0,0 +1,22 @@
--- proxychains/libproxychains.c.orig Wed Jun 4 11:11:03 2003
+++ proxychains/libproxychains.c Sat Jun 14 15:17:55 2003
@@ -14,6 +14,10 @@
* (at your option) any later version. *
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
@@ -72,7 +76,7 @@
if(!(file=fopen("./proxychains.conf","r")))
if(!(file=fopen(buff,"r")))
- if(!(file=fopen("/etc/proxychains.conf","r")))
+ if(!(file=fopen(PREFIX "/etc/proxychains.conf","r")))
{
perror("1");
exit(1);

View File

@ -0,0 +1,7 @@
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).
WWW: http://proxylabs.netwu.com/proxychains/index.html

View File

@ -0,0 +1,3 @@
bin/proxychains
etc/proxychains.conf
lib/libproxychains.so.9