diff options
Diffstat (limited to 'net/socks4')
-rw-r--r-- | net/socks4/Makefile | 4 | ||||
-rw-r--r-- | net/socks4/distinfo | 5 | ||||
-rw-r--r-- | net/socks4/patches/patch-af | 48 | ||||
-rw-r--r-- | net/socks4/patches/patch-ag | 43 |
4 files changed, 93 insertions, 7 deletions
diff --git a/net/socks4/Makefile b/net/socks4/Makefile index f2489d5e9d0..ddb955fc5f3 100644 --- a/net/socks4/Makefile +++ b/net/socks4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/08/18 14:25:04 tv Exp $ +# $NetBSD: Makefile,v 1.20 2004/09/08 15:03:15 sketch Exp $ # DISTNAME= export.socks.cstc.4.2.2 @@ -11,7 +11,7 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.socks.nec.com/socksv4.html COMMENT= Old library, server and client for using proxy firewall software -CONFLICTS= socks5-[0-9]* +CONFLICTS= socks5-[0-9]* dante* LICENSE= no-commercial-use PKG_INSTALLATION_TYPES= overwrite pkgviews diff --git a/net/socks4/distinfo b/net/socks4/distinfo index 316c57493da..ce555cc31c7 100644 --- a/net/socks4/distinfo +++ b/net/socks4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2003/05/01 22:03:49 jmmv Exp $ +$NetBSD: distinfo,v 1.5 2004/09/08 15:03:15 sketch Exp $ SHA1 (export.socks.cstc.4.2.2.tar.gz) = 7d8d041c82213f9fd60f64aadf9c1ade418e15db Size (export.socks.cstc.4.2.2.tar.gz) = 278805 bytes @@ -7,4 +7,5 @@ SHA1 (patch-ab) = fd3f119add1144b24eb2cec578c011bcb397e875 SHA1 (patch-ac) = d3988d7ae5103bd7849305bb555d7cf3b1574ddc SHA1 (patch-ad) = 321d88cf5863f8c3f0b5b3623a1af2c4753f5eb3 SHA1 (patch-ae) = 6bb9ffb57bb45f3a427059ddeee1f8cfd5489ab4 -SHA1 (patch-af) = a45528fcd2d4526e7c4b5dcd1519368aa40a3056 +SHA1 (patch-af) = 5704cb3f03fd3179977c6a2e890578bed0ea19f3 +SHA1 (patch-ag) = 859f310ba8e699c4ac568d1d672f54261f500557 diff --git a/net/socks4/patches/patch-af b/net/socks4/patches/patch-af index 4882435fd7a..36bffa3fa8e 100644 --- a/net/socks4/patches/patch-af +++ b/net/socks4/patches/patch-af @@ -1,9 +1,18 @@ -$NetBSD: patch-af,v 1.1 1999/08/05 13:09:28 agc Exp $ +$NetBSD: patch-af,v 1.2 2004/09/08 15:03:15 sketch Exp $ Solaris 2.6 appears to have herror(), so don't redefine it. ---- rftp/ftp.c 1999/08/05 12:56:00 1.1 -+++ rftp/ftp.c 1999/08/05 12:56:45 +--- rftp/ftp.c.orig 1995-09-07 03:24:03.000000000 +0100 ++++ rftp/ftp.c 2004-09-08 15:55:37.000000000 +0100 +@@ -74,7 +74,7 @@ + #include <netdb.h> + #include <fcntl.h> + #include <pwd.h> +-#include <varargs.h> ++#include <stdarg.h> + + #ifdef FASCIST + #include <syslog.h> @@ -112,7 +112,7 @@ FILE *cin, *cout; FILE *dataconn(); @@ -13,3 +22,36 @@ Solaris 2.6 appears to have herror(), so don't redefine it. /* >>> YDL */ #if !defined(BSD) || (BSD - 43 <= 0) +@@ -358,11 +358,9 @@ + } + + /*VARARGS*/ +-command(va_alist) +-va_dcl ++command(char *fmt, ...) + { + va_list ap; +- char *fmt; + int r; + sig_t oldintr; + void cmdabort(); +@@ -370,8 +368,7 @@ + abrtflag = 0; + 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 +@@ -386,8 +383,7 @@ + return (0); + } + oldintr = signal(SIGINT, cmdabort); +- va_start(ap); +- fmt = va_arg(ap, char *); ++ va_start(ap, fmt); + vfprintf(cout, fmt, ap); + va_end(ap); + fprintf(cout, "\r\n"); diff --git a/net/socks4/patches/patch-ag b/net/socks4/patches/patch-ag new file mode 100644 index 00000000000..431befab4f9 --- /dev/null +++ b/net/socks4/patches/patch-ag @@ -0,0 +1,43 @@ +$NetBSD: patch-ag,v 1.1 2004/09/08 15:03:15 sketch Exp $ + +--- rtelnet/telnet/commands.c.orig 1995-02-25 00:36:16.000000000 +0000 ++++ rtelnet/telnet/commands.c 2004-09-08 15:57:55.000000000 +0100 +@@ -43,7 +43,7 @@ + #include <netdb.h> + #include <ctype.h> + #include <pwd.h> +-#include <varargs.h> ++#include <stdarg.h> + #include <errno.h> + #if defined(ISC) + #include <net/errno.h> +@@ -112,7 +112,7 @@ + extern char **genget(); + extern int Ambiguous(); + +-static call(); ++static int call(void *, ...); + + typedef struct { + char *name; /* command name */ +@@ -2345,17 +2345,15 @@ + + /*VARARGS1*/ + static +-call(va_alist) +- va_dcl ++call(void *func, ...) + { + va_list ap; + typedef int (*intrtn_t)(); +- intrtn_t routine; ++ intrtn_t routine = (intrtn_t) func; + char *args[100]; + int argno = 0; + +- va_start(ap); +- routine = (va_arg(ap, intrtn_t)); ++ va_start(ap, func); + while ((args[argno++] = va_arg(ap, char *)) != 0) { + ; + } |