summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/socks5/Makefile43
-rw-r--r--net/socks5/files/md51
-rw-r--r--net/socks5/pkg/COMMENT1
-rw-r--r--net/socks5/pkg/DESCR20
-rw-r--r--net/socks5/pkg/PLIST22
5 files changed, 87 insertions, 0 deletions
diff --git a/net/socks5/Makefile b/net/socks5/Makefile
new file mode 100644
index 00000000000..3d9cfbe4402
--- /dev/null
+++ b/net/socks5/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: socks5
+# Version required: beta-0.17.2-exportable
+# Date created: 24 Apr 1996
+# Whom: pst
+#
+# FreeBSD Id: Makefile,v 1.14 1997/08/28 06:49:06 obrien Exp
+#
+
+DISTNAME= socks5-v1_0r2_tar
+PKGNAME= socks5-1.0.2
+CATEGORIES= net security
+MASTER_SITES= ftp://ftp.astec.co.jp/pub/security/socks/ \
+ ftp://ftp.ualg.pt/Linux/net/proxies/
+EXTRACT_SUFX= .gz
+
+MAINTAINER= ambrisko@ambrisko.roble.com
+
+NO_CDROM= "NEC has a funky license for this software"
+RESTRICTED= "no commercial use"
+
+# here are some extra configure args you may wish to use
+# see the readme file before screwing with them
+#
+#EXTRA_CONFIGURE_ARGS= \
+# --with-default-server=socks.mydomain.com \
+# --with-syslog-facility=LOG_AUTH \
+# --with-passwd
+
+WRKSRC= ${WRKDIR}/socks5-v1.0r2
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LIBS=-lcrypt
+CONFIGURE_ARGS= --with-libconffile=${PREFIX}/etc/libsocks5.conf \
+ --with-srvconffile=${PREFIX}/etc/socks5.conf \
+ --with-srvpidfile=/var/run/socks5.pid \
+ --with-srvidtfile=/var/run/socks5.ident \
+ ${EXTRA_CONFIGURE_ARGS}
+MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1
+MAN5= libsocks5.conf.5 socks5.conf.5
+
+post-install:
+ ldconfig -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/net/socks5/files/md5 b/net/socks5/files/md5
new file mode 100644
index 00000000000..523380cb44b
--- /dev/null
+++ b/net/socks5/files/md5
@@ -0,0 +1 @@
+MD5 (socks5-v1_0r2_tar.gz) = 939a70749080baca5763388b7123953f
diff --git a/net/socks5/pkg/COMMENT b/net/socks5/pkg/COMMENT
new file mode 100644
index 00000000000..76277664f75
--- /dev/null
+++ b/net/socks5/pkg/COMMENT
@@ -0,0 +1 @@
+SOCKS v5 application layer gateway and clients
diff --git a/net/socks5/pkg/DESCR b/net/socks5/pkg/DESCR
new file mode 100644
index 00000000000..95ae5da6e71
--- /dev/null
+++ b/net/socks5/pkg/DESCR
@@ -0,0 +1,20 @@
+This is NWSL (previously CSTC) version 5.0 of SOCKS, a package that allows Unix
+hosts behind a firewall to gain full access to the internet without requiring
+direct IP reachability. It does require a SOCKS server program being run on a
+host that can communicate directly to hosts behind the firewall as well as hosts
+on the Internet at large. It is based on the original SOCKS written by David
+Koblas <koblas@netcom.com> and the work of the AFT working group of the IETF.
+
+NOTE: The shared library features in socks5 require a dynamic linker that
+ understands the LD_PRELOAD environment variable. FreeBSD
+ 2.1.5-RELEASE supports this; so do versions of -current and
+ -stable later than May 2, 1996. All other features will work
+ with FreeBSD 2.0 and later.
+
+WARNING: Export of SOCKS from the US without a proper license is a violation
+ of ITAR rules.
+
+WARNING: Commercial use and distribution of this software requires a license
+ from NEC corporation.
+
+See the README files for more information.
diff --git a/net/socks5/pkg/PLIST b/net/socks5/pkg/PLIST
new file mode 100644
index 00000000000..da7f8715efa
--- /dev/null
+++ b/net/socks5/pkg/PLIST
@@ -0,0 +1,22 @@
+bin/socks5
+bin/runsocks
+bin/stopsocks
+bin/rarchie
+bin/rfinger
+bin/rftp
+bin/rping
+bin/rtelnet
+bin/rtraceroute
+bin/rwhois
+include/socks.h
+man/man1/socks5.1.gz
+man/man1/runsocks.1.gz
+man/man1/stopsocks.1.gz
+man/man1/socks5_clients.1.gz
+man/man5/libsocks5.conf.5.gz
+man/man5/socks5.conf.5.gz
+man/man5/socks5.passwd.5
+lib/libsocks5.a
+@exec ranlib -m %D/lib/libsocks5.a
+lib/libsocks5_sh.so
+@exec /sbin/ldconfig -m %D/lib