diff options
Diffstat (limited to 'net/radius/patches')
-rw-r--r-- | net/radius/patches/patch-aa | 157 | ||||
-rw-r--r-- | net/radius/patches/patch-ab | 30 | ||||
-rw-r--r-- | net/radius/patches/patch-ac | 13 | ||||
-rw-r--r-- | net/radius/patches/patch-ad | 38 | ||||
-rw-r--r-- | net/radius/patches/patch-ae | 20 | ||||
-rw-r--r-- | net/radius/patches/patch-af | 12 |
6 files changed, 0 insertions, 270 deletions
diff --git a/net/radius/patches/patch-aa b/net/radius/patches/patch-aa deleted file mode 100644 index 776c82b738f..00000000000 --- a/net/radius/patches/patch-aa +++ /dev/null @@ -1,157 +0,0 @@ -$NetBSD: patch-aa,v 1.4 1999/12/05 22:46:45 tron Exp $ - ---- Makefile.orig Sun Dec 5 23:41:31 1999 -+++ Makefile Sun Dec 5 23:43:38 1999 -@@ -51,11 +51,12 @@ - # Where the configuration files live. - RADDB = ./raddb - # Some installation stuff. --DAEMON_INSDIR = /usr/private/etc --BIN_INSDIR = /usr/private/etc --MAN_INSDIR = /usr/local/man --RADDB_INSDIR = /usr/private/etc/raddb.new --RADACCT_INSDIR = /usr/private/etc/radacct -+DAEMON_INSDIR = ${PREFIX}/sbin -+BIN_INSDIR = ${PREFIX}/sbin -+MAN_INSDIR = ${PREFIX}/man -+RADDB_INSDIR = /etc/raddb -+RADDB_EXDIR = ${PREFIX}/share/examples/radius -+RADACCT_INSDIR = /var/log - # The server does not need to be owned by root, unless some shadow password - # scheme needs it. You might create a user id "radius" for just this purpose. - # The O G and M macros are for AIX, OSF/1 and HP-UX, see below. -@@ -63,12 +64,12 @@ - G = -g - M = -m - RADOWN = root --RADGRP = bin -+RADGRP = wheel - - # Define COMPRESS to hold the pathname of your favourite compress program if - # you need to override the default value of /usr/ucb/compress: --#COMPRESS = -DRAD_COMPRESS=\"/usr/local/bin/gzip\" --#COMPRESS_ARGS = -DCOMPRESS_ARGS=\"-9\" -+COMPRESS = -DRAD_COMPRESS=\"${GNUZIP}\" -+COMPRESS_ARGS = -DCOMPRESS_ARGS=\"-nf9\" - - # Define SRV to hold any combination of server names you'd like to override: - #SRV3 = -DDEFAULT_TACACS_SERVER=\"vms.dns.name\" -@@ -78,8 +79,8 @@ - - # Define DIRS to hold any combination of directory names you'd like to override: - #DIRS2 = -DDEFAULT_DIR=\"../raddb\" -DDEFAULT_DIR2=\"$(RADDB_INSDIR)\" --#DIRS1 = -DRADIUS_DIR=\"$(RADDB_INSDIR)\" -DRADACCT_DIR=\"$(RADACCT_INSDIR)\" --#DIRS = $(DIRS1) $(DIRS2) -+DIRS1 = -DRADIUS_DIR=\"$(RADDB_INSDIR)\" -DRADACCT_DIR=\"$(RADACCT_INSDIR)\" -+DIRS = $(DIRS1) $(DIRS2) - - # Define CHK_SHELLS to enable /etc/shells checking: - CHK_SHELLS = -DCHK_SHELLS -@@ -90,13 +91,13 @@ - # -DBINARY_FILTERS - support for Ascend binary filters - # -DIP_ADDR_POOL - support for Ascend IP address pools - # --ASCEND = -DASCEND -DBINARY_FILTERS -+ASCEND = -DASCEND -DBINARY_FILTERS -DIP_ADDR_POOL - - # Define USR_CCA to enable USR support: - #USR = -DUSR_CCA - - # Define RAD_LOG_FMT to change how the logfile name changes: --RAD_LOG_FMT = -DRADIUS_LOG_FMT=\"logfile.%y%m%d\" -+RAD_LOG_FMT = -DRADIUS_LOG_FMT=\"radius\" - - STUFF = $(DIRS) $(SRV) $(COMPRESS) $(COMPRESS_ARGS) $(CHK_SHELLS) \ - $(ASCEND) $(USR) -@@ -122,10 +123,10 @@ - # radiusd -- the default - # - #-------------------------------------------------------------------------- --DEFS = -DHAVE_SETVBUF -DNOSHADOW $(MERIT) $(STUFF) \ -- -DMODVERSION --RADLIBS = ./logdaemon-5.6/skey/libskey.a --INCS = -I./logdaemon-5.6/skey -+#DEFS = -DHAVE_SETVBUF -DNOSHADOW $(MERIT) $(STUFF) \ -+# -DMODVERSION -+#RADLIBS = ./logdaemon-5.6/skey/libskey.a -+#INCS = -I./logdaemon-5.6/skey - - # - # mkerb -@@ -186,9 +187,9 @@ - $(OBJ)/fsm.o $(OBJ)/fwd2nas.o $(OBJ)/nas_reb.o $(OBJ)/res_qry.o \ - $(OBJ)/rf_req.o $(OBJ)/rf_resp.o $(OBJ)/arades.o $(OBJ)/cache.o \ - $(OBJ)/pooladdr.o $(OBJ)/rad.bsd.o \ -+ $(OBJ)/rad.simult.o \ - $(OBJ)/rad.skey.o \ -- $(OBJ)/rad.ftp.o \ -- $(OBJ)/modversion.o -+ $(OBJ)/rad.ftp.o - - LIB_OBJS = $(OBJ)/des.o $(OBJ)/dict.o $(OBJ)/filters.o $(OBJ)/funcs.o \ - $(OBJ)/md5.o $(OBJ)/sendserver.o $(OBJ)/users.o $(OBJ)/resources.o \ -@@ -236,12 +237,12 @@ - # - #-------------------------------------------------------------------------- - --CC = cc --CFLAGS = -g $(DEFS) $(INCS) --LDFLAGS = --LIBS = --RANLIB = ranlib --INSTALL = /bin/install -+#CC = cc -+#CFLAGS = -g $(DEFS) $(INCS) -+#LDFLAGS = -+#LIBS = -+#RANLIB = ranlib -+#INSTALL = /bin/install - - # - # Solaris 2.x [[NB: if BIND/named not SMCC, try CFLAGS = ... -DBSD=1 ...]] -@@ -438,6 +439,8 @@ - - # You must un-comment one, and only one, of the above sections! - -+CFLAGS+= ${MERIT} ${STUFF} -+ - # No modifications are necessary below this line except possibly near line 500. - - all: notice $(RADIUS) utils -@@ -696,26 +699,26 @@ - $(MAN_INSDIR)/man8/radpwtst.8 - - config-install: $(CONFIGS) -- -if [ ! -d $(RADDB_INSDIR) ] ;\ -+ -if [ ! -d $(RADDB_EXDIR) ] ;\ - then \ -- /bin/mkdir -p $(RADDB_INSDIR) ;\ -+ /bin/mkdir -p $(RADDB_EXDIR) ;\ - fi - $(INSTALL) $(M) 660 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/authfile \ -- $(RADDB_INSDIR)/authfile -+ $(RADDB_EXDIR)/authfile - $(INSTALL) $(M) 660 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/clients \ -- $(RADDB_INSDIR)/clients -+ $(RADDB_EXDIR)/clients - $(INSTALL) $(M) 755 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/conversion.pl \ -- $(RADDB_INSDIR)/conversion.pl -+ $(RADDB_EXDIR)/conversion.pl - $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/dictionary \ -- $(RADDB_INSDIR)/dictionary -+ $(RADDB_EXDIR)/dictionary - $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/engine.config \ -- $(RADDB_INSDIR)/engine.config -+ $(RADDB_EXDIR)/engine.config - $(INSTALL) $(M) 660 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/users \ -- $(RADDB_INSDIR)/users -+ $(RADDB_EXDIR)/users - $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/vendors \ -- $(RADDB_INSDIR)/vendors -+ $(RADDB_EXDIR)/vendors - $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/xas.fsm \ -- $(RADDB_INSDIR)/xas.fsm -+ $(RADDB_EXDIR)/xas.fsm - -if [ ! -d $(RADACCT_INSDIR) ] ;\ - then \ - /bin/mkdir -p $(RADACCT_INSDIR) ;\ diff --git a/net/radius/patches/patch-ab b/net/radius/patches/patch-ab deleted file mode 100644 index 7f0a64ca947..00000000000 --- a/net/radius/patches/patch-ab +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2000/02/29 01:13:36 kim Exp $ - ---- src/mit_stringtokey.c.orig Tue May 12 22:37:17 1998 -+++ src/mit_stringtokey.c Tue Feb 29 03:04:46 2000 -@@ -47,7 +47,7 @@ - * convert an arbitrary length string to a DES key - */ - int --mit_string_to_key (str, key) -+mit_stringtokey (str, key) - - char *str; - register des_cblock *key; -@@ -63,7 +63,6 @@ - register char *p_char; - static char k_char[64]; - static des_key_schedule key_sked; -- extern unsigned long des_cbc_cksum (); - - in_str = str; - forward = 1; -@@ -129,7 +128,7 @@ - C_Block key; - - { -- mit_string_to_key (passwd, key); -+ mit_stringtokey (passwd, key); - return (0); - } - #endif /* #ifdef M_KERB */ diff --git a/net/radius/patches/patch-ac b/net/radius/patches/patch-ac deleted file mode 100644 index a45429edc5e..00000000000 --- a/net/radius/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.1.1.1 1999/03/22 03:15:09 kim Exp $ - ---- src/rad.ftp.c.orig Sat Oct 10 16:17:47 1998 -+++ src/rad.ftp.c Sun Mar 21 19:56:35 1999 -@@ -3,6 +3,8 @@ - - /* this file still needs to be proof-read for cross-platform compatibility */ - -+#include <sys/types.h> -+ - /* used by ???*/ - #include <sys/ioctl.h> - diff --git a/net/radius/patches/patch-ad b/net/radius/patches/patch-ad deleted file mode 100644 index c778cba5dd5..00000000000 --- a/net/radius/patches/patch-ad +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2000/08/06 15:35:10 tron Exp $ - ---- src/rad.skey.c.orig Sat Oct 10 22:18:08 1998 -+++ src/rad.skey.c Sun Aug 6 17:32:58 2000 -@@ -2,6 +2,7 @@ - /* Bradley Urberg Carlson <bradley@mr.net> */ - - #include <stdio.h> -+#include <sys/types.h> - #include <netinet/in.h> - #include <syslog.h> - #include <sys/param.h> -@@ -75,11 +76,15 @@ - *ptr = NULL; - } - -+#ifndef __NetBSD__ - /* Check if this user has valid SKEY information and get the challenge. */ - if (skeyinfo(&skey, username, challenge) == 0) - { - /* position the pointer in the key for verification */ - if (skeylookup (&skey, username) != 0) -+#else -+ if (skeychallenge (&skey, username, challenge, sizeof(challenge)) != 0) -+#endif - { - dprintf(2, (LOG_DAEMON, LOG_DEBUG, "%s: skeylookup failed.", func)); - return EV_NAK; -@@ -92,7 +97,9 @@ - } - reply_sprintf (0, authreq, "%s", challenge); - return EV_NAK; -+#ifndef __NetBSD__ - } - /* The user has no SKEY information. Just NAK */ - return EV_NAK; -+#endif - } diff --git a/net/radius/patches/patch-ae b/net/radius/patches/patch-ae deleted file mode 100644 index 763edfffb3e..00000000000 --- a/net/radius/patches/patch-ae +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ae,v 1.1 1999/04/24 22:40:36 tron Exp $ - ---- src/authenticate.c.orig Mon Jul 6 19:43:07 1998 -+++ src/authenticate.c Sun Apr 25 00:33:16 1999 -@@ -880,14 +880,7 @@ - { - if (authtype_tv[check_item->lvalue] == (AATV *) NULL) - { -- logit (LOG_DAEMON, LOG_ERR, -- "%s: FATAL: Unsupported authentication type %d for %s", -- func, check_item->lvalue, namepair->strvalue); -- -- logit (LOG_DAEMON, LOG_ERR, -- "%s: CHECK THE MAKEFILE BUILD!", func); -- -- result = EV_FATAL; -+ result = EV_NAK; - } - else - { diff --git a/net/radius/patches/patch-af b/net/radius/patches/patch-af deleted file mode 100644 index d2e026886df..00000000000 --- a/net/radius/patches/patch-af +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-af,v 1.1 2000/08/06 15:35:10 tron Exp $ - ---- src/rad.simult.c.orig Sun Aug 29 22:45:31 1999 -+++ src/rad.simult.c Sun Aug 6 17:31:41 2000 -@@ -2,6 +2,7 @@ - /* Bradley Carlson <bradley@onvoy.com> */ - - #include <stdio.h> -+#include <sys/types.h> - #include <netinet/in.h> - #include <syslog.h> - #include <sys/param.h> |