Remove this old unmaintained commercial server software.
HOMEPAGE does not exist anymore, distfile is nowhere to be fetch and cannot be mirrored because of PERMIT_* restrictions. No objections from anyone and as sthen@ pointed out, people should be using security/dante instead.
This commit is contained in:
parent
e236e51ee4
commit
9e208d37ce
@ -1,88 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.36 2007/11/16 14:13:05 kili Exp $
|
||||
|
||||
COMMENT= SOCKS v5 application layer gateway and clients
|
||||
|
||||
DISTNAME= socks5-v1.0r11
|
||||
PKGNAME= socks5-1.0.11p0
|
||||
CATEGORIES= security net
|
||||
|
||||
HOMEPAGE= http://www.socks.permeo.com/AboutSOCKS/SOCKSvF.asp
|
||||
|
||||
PERMIT_PACKAGE_CDROM= commercial
|
||||
PERMIT_PACKAGE_FTP= commercial
|
||||
PERMIT_DISTFILES_CDROM= commercial
|
||||
PERMIT_DISTFILES_FTP= commercial
|
||||
WANTLIB= c termcap
|
||||
|
||||
# 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
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --with-libconffile="${SYSCONFDIR}/libsocks5.conf" \
|
||||
--with-srvconffile="${SYSCONFDIR}/socks5.conf" \
|
||||
--with-srvpidfile="/var/run/socks5.pid" \
|
||||
--with-srvidtfile="/var/run/socks5.ident" \
|
||||
${EXTRA_CONFIGURE_ARGS}
|
||||
|
||||
MAKE_ENV= INSTALL_RUNSOCKS="${INSTALL_RUNSOCKS}"
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
FETCH_MANUALLY= "NEC requires that you grab the dist files from their" \
|
||||
"web site at ${HOMEPAGE}." \
|
||||
"Please make sure you have ${DISTNAME}${EXTRACT_SUFX}" \
|
||||
"in ${FULLDISTDIR} and run make again." \
|
||||
""
|
||||
|
||||
post-build:
|
||||
@if [ ! x"${INSTALL_RUNSOCKS}" = "x" ]; then \
|
||||
sed -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/runsocks.in \
|
||||
> ${WRKBUILD}/runsocks; \
|
||||
fi
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/socks
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socks
|
||||
cd ${WRKBUILD}/server; ${INSTALL_PROGRAM} socks5 stopsocks \
|
||||
${PREFIX}/sbin
|
||||
cd ${WRKBUILD}/clients/pt; ${INSTALL_PROGRAM} rping rtraceroute \
|
||||
${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/clients/finger/finger \
|
||||
${PREFIX}/bin/rfinger
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/clients/finger/whois \
|
||||
${PREFIX}/bin/rwhois
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/clients/archie/archie \
|
||||
${PREFIX}/bin/rarchie
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/clients/ftp/ftp \
|
||||
${PREFIX}/bin/rftp
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/clients/telnet/telnet \
|
||||
${PREFIX}/bin/rtelnet
|
||||
${INSTALL_DATA} ${WRKBUILD}/include/socks.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKBUILD}/lib/libsocks5.a ${PREFIX}/lib
|
||||
${INSTALL_MAN} ${WRKBUILD}/man/man1/socks5.1 ${PREFIX}/man/man8/socks5.8
|
||||
${INSTALL_MAN} ${WRKBUILD}/man/man1/stopsocks.1 \
|
||||
${PREFIX}/man/man8/stopsocks.8
|
||||
${INSTALL_MAN} ${WRKBUILD}/man/man1/socks5_clients.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKBUILD}/man/man5/* ${PREFIX}/man/man5
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/lib/socks
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/socks
|
||||
@if [ ! x"$INSTALL_RUNSOCKS" = "x" ]; then \
|
||||
${INSTALL_DATA} ${WRKBUILD}/shlib/libsocks5_sh.so \
|
||||
${PREFIX}/lib; \
|
||||
${INSTALL_SCRIPT} ${WRKBUILD}/runsocks ${PREFIX}/bin; \
|
||||
${INSTALL_MAN} ${WRKBUILD}/man/man1/runsocks.1 \
|
||||
${PREFIX}/man/man1; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:U} == YES
|
||||
INSTALL_RUNSOCKS=
|
||||
.else
|
||||
INSTALL_RUNSOCKS= Yes
|
||||
.endif
|
@ -1,5 +0,0 @@
|
||||
MD5 (socks5-v1.0r11.tar.gz) = T085Mru5qNR6Y1AqaCDJSA==
|
||||
RMD160 (socks5-v1.0r11.tar.gz) = SOWXeK3u0ZNiQ+c3quMcYOVEVkw=
|
||||
SHA1 (socks5-v1.0r11.tar.gz) = tbA+pN8m3FO20xJsCwrtRcUpHq8=
|
||||
SHA256 (socks5-v1.0r11.tar.gz) = OxhO8Xs8zGV3kJPB+8MBnQFias2bfIADrWcJmWFY1Wc=
|
||||
SIZE (socks5-v1.0r11.tar.gz) = 404020
|
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: runsocks.in,v 1.1 2000/03/27 23:02:45 form Exp $
|
||||
|
||||
if [ -n "${LD_PRELOAD}" ]; then
|
||||
LD_PRELOAD="@PREFIX@/lib/libsocks5_sh.so:${LD_PRELOAD}"
|
||||
else
|
||||
LD_PRELOAD="@PREFIX@/lib/libsocks5_sh.so"
|
||||
fi
|
||||
export LD_PRELOAD
|
||||
|
||||
exec "$@"
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-clients_archie_Makefile_in,v 1.1 2005/03/04 22:23:21 espie Exp $
|
||||
--- clients/archie/Makefile.in.orig Fri Mar 4 23:17:22 2005
|
||||
+++ clients/archie/Makefile.in Fri Mar 4 23:17:28 2005
|
||||
@@ -68,7 +68,7 @@ SOCKS_FLAGS = -DSOCKS -DINCLUDE_PROTOT
|
||||
CDEBUG_FLAGS = @CDEBUG_FLAGS@
|
||||
EXTRA_CFLAGS =
|
||||
CFLAGS = -I$(srcdir) -I../../include -I$(srcdir)/../../include @CFLAGS@ $(CDEBUG_FLAGS) $(OPTIONS) $(DEFINES) $(SOCKS_FLAGS) -DARCHIE_HOST=\"$(ARCHIE)\" $(EXTRA_CFLAGS)
|
||||
-LIBS = -L../../lib -lsocks5 @LDFLAGS@ @EXPORT_LDFLAGS@ @LIBS@
|
||||
+LIBS = -L../../lib -lsocks5 @LDFLAGS@ @EXPORT_LDFLAGS@ @LIBS@ -lcompat
|
||||
|
||||
VERSION=1.4.1
|
||||
|
@ -1,43 +0,0 @@
|
||||
$OpenBSD: patch-clients_ftp_ftp_c,v 1.1 2004/01/05 03:32:11 espie Exp $
|
||||
--- clients/ftp/ftp.c.orig 2004-01-05 04:24:46.000000000 +0100
|
||||
+++ clients/ftp/ftp.c 2004-01-05 04:25:42.000000000 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
-#include <varargs.h>
|
||||
+#include <stdarg.h>
|
||||
|
||||
#ifdef FASCIST
|
||||
#include <syslog.h>
|
||||
@@ -241,9 +241,8 @@ void cmdabort() {
|
||||
}
|
||||
|
||||
/*VARARGS*/
|
||||
-int command(va_alist) va_dcl {
|
||||
+int command(char *fmt, ...) {
|
||||
va_list ap;
|
||||
- char *fmt;
|
||||
int r;
|
||||
Sig_t oldintr;
|
||||
|
||||
@@ -251,8 +250,7 @@ int command(va_alist) va_dcl {
|
||||
if (debug) {
|
||||
printf("---> ");
|
||||
|
||||
- va_start(ap);
|
||||
- fmt = va_arg(ap, char *);
|
||||
+ va_start(ap, fmt);
|
||||
if (strncmp("PASS ", fmt, 5) == 0)
|
||||
printf("PASS XXXX");
|
||||
else
|
||||
@@ -271,8 +269,7 @@ int command(va_alist) va_dcl {
|
||||
|
||||
oldintr = Signal(SIGINT, cmdabort);
|
||||
|
||||
- va_start(ap);
|
||||
- fmt = va_arg(ap, char *);
|
||||
+ va_start(ap, fmt);
|
||||
vfprintf(cout, fmt, ap);
|
||||
va_end(ap);
|
||||
|
@ -1,42 +0,0 @@
|
||||
$OpenBSD: patch-clients_telnet_commands_c,v 1.1 2004/01/05 03:32:11 espie Exp $
|
||||
--- clients/telnet/commands.c.orig 2000-08-16 17:38:46.000000000 +0200
|
||||
+++ clients/telnet/commands.c 2004-01-05 04:28:51.000000000 +0100
|
||||
@@ -83,7 +83,7 @@ static char sccsid[] = "@(#)commands.c 8
|
||||
#include <signal.h>
|
||||
#include <ctype.h>
|
||||
#include <pwd.h>
|
||||
-#include <varargs.h>
|
||||
+#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <arpa/telnet.h>
|
||||
@@ -122,7 +122,8 @@ extern char **genget();
|
||||
extern int Ambiguous();
|
||||
extern void herror();
|
||||
|
||||
-static int call();
|
||||
+typedef int (*intrtn_t)();
|
||||
+static int call(intrtn_t, ...);
|
||||
|
||||
typedef struct {
|
||||
char *name; /* command name */
|
||||
@@ -2092,17 +2093,13 @@ static Command cmdtab2[] = {
|
||||
|
||||
/*VARARGS1*/
|
||||
static int
|
||||
-call(va_alist)
|
||||
- va_dcl
|
||||
+call(intrtn_t routine, ...)
|
||||
{
|
||||
va_list ap;
|
||||
- typedef int (*intrtn_t)();
|
||||
- intrtn_t routine;
|
||||
char *args[100];
|
||||
int argno = 0;
|
||||
|
||||
- va_start(ap);
|
||||
- routine = (va_arg(ap, intrtn_t));
|
||||
+ va_start(ap, routine);
|
||||
while ((args[argno++] = va_arg(ap, char *)) != 0) {
|
||||
;
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
--- configure.orig Mon Aug 2 09:01:03 1999
|
||||
+++ configure Sat Mar 23 16:04:12 2002
|
||||
@@ -4716,6 +4716,20 @@ if test "$ac_cv_func_dlopen" = "yes" -o
|
||||
SHLIB_CFLAGS="-fpic"
|
||||
PRELOADS="LD_PRELOAD"
|
||||
;;
|
||||
+ OpenBSD*)
|
||||
+ SHLIB_LD=gcc
|
||||
+ case `arch -s` in
|
||||
+ sparc64)
|
||||
+ SHLIB_LFLAGS="-shared -fPIC"
|
||||
+ SHLIB_CFLAGS="-fPIC"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ SHLIB_LFLAGS="-shared -fpic"
|
||||
+ SHLIB_CFLAGS="-fpic"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ PRELOADS="LD_PRELOAD"
|
||||
+ ;;
|
||||
SunOS*4.*)
|
||||
SHLIB_CFLAGS="-P"
|
||||
SHLIB_LFLAGS="-dp -assert pure-text -assert nodefinitions"
|
||||
@@ -4750,7 +4764,6 @@ if test "$ac_cv_func_dlopen" = "yes" -o
|
||||
esac
|
||||
|
||||
if test "$GCC" = "yes" ; then
|
||||
- SHLIB_CFLAGS="-fpic"
|
||||
case `uname -rs` in
|
||||
SunOS*4.*)
|
||||
DLLIBS="-lc"
|
||||
@@ -4763,7 +4776,7 @@ if test "$ac_cv_func_dlopen" = "yes" -o
|
||||
UNIX_SV*|UNIX_System_V*)
|
||||
SHLIB_CFLAGS=
|
||||
;;
|
||||
- FreeBSD*|NetBSD*)
|
||||
+ FreeBSD*|NetBSD*|OpenBSD*)
|
||||
;;
|
||||
*)
|
||||
SHLIB_LD="gcc"
|
@ -1,10 +0,0 @@
|
||||
# $OpenBSD: patch-socks5-1,v 1.1 2000/03/27 23:02:47 form Exp $
|
||||
|
||||
--- man/man1/socks5.1.orig Tue Mar 28 06:17:35 2000
|
||||
+++ man/man1/socks5.1 Tue Mar 28 06:17:38 2000
|
||||
@@ -1,4 +1,4 @@
|
||||
-.TH socks5 1 "7 Oct 1998"
|
||||
+.TH socks5 8 "7 Oct 1998"
|
||||
.SH NAME
|
||||
.HP 9
|
||||
socks5 \- A daemon that implements the SOCKS v5 protocol to execute proxy requests for a client
|
@ -1,31 +0,0 @@
|
||||
# $OpenBSD: patch-socks5-conf-5,v 1.2 2000/11/02 17:39:47 espie Exp $
|
||||
|
||||
--- man/man5/socks5.conf.5.orig Tue Dec 1 17:55:52 1998
|
||||
+++ man/man5/socks5.conf.5 Thu Nov 2 16:29:44 2000
|
||||
@@ -78,7 +78,7 @@ The socks5 daemon authenicates clients t
|
||||
.PP
|
||||
When the configuration file does not contain \fB auth\fP lines, any authentication works. Omitting auth lines is the same as specifying an \fIauthpattern\fP containing -, any authentication. If \fBauth\fP lines are used, clients not matching will be refused.
|
||||
.PP
|
||||
-When the socks5 daemon does not require authentication, it receives no user information unless socks5 configuration requires ident responses. Use the SOCKS5_DEMAND_IDENT environment variable to require ident responses. See socks5(1) for a complete description of socks5 environment variables.
|
||||
+When the socks5 daemon does not require authentication, it receives no user information unless socks5 configuration requires ident responses. Use the SOCKS5_DEMAND_IDENT environment variable to require ident responses. See socks5(8) for a complete description of socks5 environment variables.
|
||||
|
||||
To ensure that the socks5 daemon receives usernames from the client, and to allow socks4 clients to use the server, set the \fIauthpattern\fP order to n,u. With socks5 clients, the socks daemon chooses Username/Password authentication before no authentication.
|
||||
.PP
|
||||
@@ -129,7 +129,7 @@ set \fIvariable\fP \fIvalue\fP
|
||||
set
|
||||
Identifies entries that initialize environment variables for internal use.
|
||||
.P
|
||||
-Refer to the socks5(1) ENVIRONMENT section for complete details about socks5 environment variables and values.
|
||||
+Refer to the socks5(8) ENVIRONMENT section for complete details about socks5 environment variables and values.
|
||||
.PP
|
||||
.SH PROXY ENTRIES
|
||||
Proxy entries describe the addresses clients can only reach through other SOCKS servers and identify how the daemon contacts the host. The daemon contacts the host directly when the configuration file does not contain an entry for that host.
|
||||
@@ -402,7 +402,7 @@ server to hide their attack of other sys
|
||||
or destination host.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
-socks5(1), libsocks5.conf(5), sockd4_to_5.pl(1)
|
||||
+socks5(8), libsocks5.conf(5), sockd4_to_5.pl(1)
|
||||
.PP
|
||||
.SH AUTHORS
|
||||
NWSL SOCKS5 Development Team
|
@ -1,13 +0,0 @@
|
||||
# $OpenBSD: patch-socks5-passwd-5,v 1.2 2000/11/02 17:39:47 espie Exp $
|
||||
|
||||
--- man/man5/socks5.passwd.5.orig Tue Jun 3 23:42:19 1997
|
||||
+++ man/man5/socks5.passwd.5 Thu Nov 2 16:29:44 2000
|
||||
@@ -49,7 +49,7 @@ permit u - - - - - joe
|
||||
.SH SOCKS5 Clients
|
||||
The socks5 client library uses the SOCKS5_USER and SOCKS5_PASSWD environment variables for a user's username and password. Set the username on the client with the SOCKS5_USER environment variable. Set the password on the client with the SOCKS5_PASSWD variable.
|
||||
.SH SEE ALSO
|
||||
-socks5(1), socks5.conf(5) libsocks.conf(5)
|
||||
+socks5(8), socks5.conf(5) libsocks.conf(5)
|
||||
.SH AUTHOR
|
||||
NWSL SOCKS5 Development Team
|
||||
.br
|
@ -1,19 +0,0 @@
|
||||
# $OpenBSD: patch-stopsocks-1,v 1.2 2000/11/02 17:39:47 espie Exp $
|
||||
|
||||
--- man/man1/stopsocks.1.orig Thu Oct 1 17:32:03 1998
|
||||
+++ man/man1/stopsocks.1 Thu Nov 2 16:29:45 2000
|
||||
@@ -1,4 +1,4 @@
|
||||
-.TH stopsocks 1 "1 Oct 1998"
|
||||
+.TH stopsocks 8 "1 Oct 1998"
|
||||
.SH NAME
|
||||
stopsocks \- A script to manage standalone socks5 daemons
|
||||
.SH SYNOPSIS
|
||||
@@ -41,7 +41,7 @@ You may optionally include PID with the
|
||||
Specifies the process that receives \fIsignal\fP
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
-socks5(1)
|
||||
+socks5(8)
|
||||
.PP
|
||||
.SH AUTHOR
|
||||
NWSL SOCKS5 Development Team
|
@ -1,7 +0,0 @@
|
||||
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.
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1 2000/06/16 06:00:15 form Exp $
|
||||
bin/runsocks
|
||||
lib/libsocks5_sh.so
|
@ -1,38 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.11 2005/09/05 13:21:09 espie Exp $
|
||||
@conflict dante-*
|
||||
%%SHARED%%
|
||||
bin/rarchie
|
||||
bin/rfinger
|
||||
bin/rftp
|
||||
bin/rtelnet
|
||||
bin/rwhois
|
||||
include/socks.h
|
||||
lib/libsocks5.a
|
||||
lib/socks/
|
||||
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
|
||||
@man man/man1/runsocks.1
|
||||
@man man/man1/socks5_clients.1
|
||||
@man man/man5/libsocks5.conf.5
|
||||
@man man/man5/socks5.conf.5
|
||||
@comment man/man5/socks5.conf.5.orig
|
||||
@man man/man5/socks5.passwd.5
|
||||
@comment man/man5/socks5.passwd.5.orig
|
||||
@man man/man8/socks5.8
|
||||
@man man/man8/stopsocks.8
|
||||
sbin/rping
|
||||
sbin/rtraceroute
|
||||
sbin/socks5
|
||||
sbin/stopsocks
|
||||
share/doc/socks/
|
||||
share/doc/socks/rfc1928.txt
|
||||
share/doc/socks/rfc1929.txt
|
||||
share/doc/socks/rfc1961.txt
|
||||
share/doc/socks/socks.faq
|
Loading…
Reference in New Issue
Block a user