socks 5 port from form@vs.itam.nsc.ru plus a few tweaks by me.

This commit is contained in:
marc 1998-04-27 19:53:22 +00:00
parent 33df1a0217
commit afe7728f2e
7 changed files with 186 additions and 0 deletions

55
security/socks5/Makefile Normal file
View File

@ -0,0 +1,55 @@
# New ports collection makefile for: socks5
# Version required: v1.0r3
# Date created: 21 Apr 1998
# Whom: form@vs.itam.nsc.ru
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/04/27 19:53:22 marc Exp $
#
DISTNAME= socks5-v1.0r3
PKGNAME= socks5-1.0.3
CATEGORIES= net security
MASTER_SITES= ftp://ftp.ualg.pt/Linux/network/proxies/socks5/
EXTRACT_SUFX= .tar.gz
MAINTAINER= form@vs.itam.nsc.ru
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.0r3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --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
SAMPLE_FILES= README multiple_server.example \
server_2_multiple_server.example single_homed_host.example \
socks5.conf.dualhomed socks5.conf.gssapi \
socks5.conf.multipleservers socks5.conf.server2server \
socks5.conf.singlehomed
DOC_FILES= rfc1928.txt rfc1929.txt rfc1961.txt socks.faq
post-install:
${MKDIR} ${PREFIX}/lib/socks
.for f in ${SAMPLE_FILES}
${INSTALL_DATA} ${WRKSRC}/examples/$f ${PREFIX}/lib/socks
.endfor
${MKDIR} ${PREFIX}/share/doc/socks
.for f in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/doc/$f ${PREFIX}/share/doc/socks
.endfor
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (socks5-v1.0r3.tar.gz) = b7c4f26ee7f63c61db51a492bce037e3

View File

@ -0,0 +1,36 @@
*** configure.orig Tue Apr 21 16:46:44 1998
--- configure Tue Apr 21 16:47:20 1998
***************
*** 4609,4615 ****
UNIX_SV*|UNIX_System_V*)
SHLIB_LFLAGS="-G"
;;
! FreeBSD*|NetBSD*)
SHLIB_LFLAGS="-Bshareable"
SHLIB_CFLAGS="-fpic"
PRELOADS="LD_PRELOAD"
--- 4609,4615 ----
UNIX_SV*|UNIX_System_V*)
SHLIB_LFLAGS="-G"
;;
! FreeBSD*|NetBSD*|OpenBSD*)
SHLIB_LFLAGS="-Bshareable"
SHLIB_CFLAGS="-fpic"
PRELOADS="LD_PRELOAD"
***************
*** 4660,4666 ****
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
! FreeBSD*|NetBSD*)
;;
*)
SHLIB_LD="gcc"
--- 4660,4666 ----
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
! FreeBSD*|NetBSD*|OpenBSD*)
;;
*)
SHLIB_LD="gcc"

View File

@ -0,0 +1,36 @@
*** aclocal.m4.orig Tue Apr 21 16:51:46 1998
--- aclocal.m4 Tue Apr 21 16:52:01 1998
***************
*** 91,97 ****
UNIX_SV*|UNIX_System_V*)
SHLIB_LFLAGS="-G"
;;
! FreeBSD*|NetBSD*)
SHLIB_LFLAGS="-Bshareable"
SHLIB_CFLAGS="-fpic"
PRELOADS="LD_PRELOAD"
--- 91,97 ----
UNIX_SV*|UNIX_System_V*)
SHLIB_LFLAGS="-G"
;;
! FreeBSD*|NetBSD*|OpenBSD*)
SHLIB_LFLAGS="-Bshareable"
SHLIB_CFLAGS="-fpic"
PRELOADS="LD_PRELOAD"
***************
*** 142,148 ****
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
! FreeBSD*|NetBSD*)
;;
*)
SHLIB_LD="gcc"
--- 142,148 ----
UNIX_SV*|UNIX_System_V*)
SHLIB_CFLAGS=
;;
! FreeBSD*|NetBSD*|OpenBSD*)
;;
*)
SHLIB_LD="gcc"

View File

@ -0,0 +1 @@
SOCKS v5 application layer gateway and clients

20
security/socks5/pkg/DESCR Normal file
View File

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

37
security/socks5/pkg/PLIST Normal file
View File

@ -0,0 +1,37 @@
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
man/man1/runsocks.1
man/man1/stopsocks.1
man/man1/socks5_clients.1
man/man5/libsocks5.conf.5
man/man5/socks5.conf.5
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
lib/socks/README
lib/socks/multiple_server.example
lib/socks/server_2_multiple_server.example
lib/socks/single_homed_host.example
lib/socks/socks5.conf.dualhomed
lib/socks/socks5.conf.gssapi
lib/socks/socks5.conf.multipleservers
lib/socks/socks5.conf.server2server
lib/socks/socks5.conf.singlehomed
@dirrm lib/socks
share/doc/socks/rfc1928.txt
share/doc/socks/rfc1929.txt
share/doc/socks/rfc1961.txt
share/doc/socks/socks.faq
@dirrm share/doc/socks