summaryrefslogtreecommitdiff
path: root/net/radius/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/radius/files/patch-aa')
-rw-r--r--net/radius/files/patch-aa55
1 files changed, 26 insertions, 29 deletions
diff --git a/net/radius/files/patch-aa b/net/radius/files/patch-aa
index 95bc81413f73..4d54d6fd77e6 100644
--- a/net/radius/files/patch-aa
+++ b/net/radius/files/patch-aa
@@ -1,6 +1,5 @@
-diff -ru orig/Makefile ./Makefile
---- orig/Makefile Sun Sep 22 14:00:16 1996
-+++ Makefile Mon Jul 28 11:07:04 1997
+--- Makefile~ Mon Jul 13 17:19:54 1998
++++ Makefile Thu Sep 17 18:27:41 1998
@@ -51,11 +51,11 @@
# Where the configuration files live.
RADDB = ./raddb
@@ -8,7 +7,7 @@ diff -ru orig/Makefile ./Makefile
-DAEMON_INSDIR = /usr/private/etc
-BIN_INSDIR = /usr/private/etc
-MAN_INSDIR = /usr/local/man
--RADDB_INSDIR = /usr/private/etc/raddb
+-RADDB_INSDIR = /usr/private/etc/raddb.new
-RADACCT_INSDIR = /usr/private/etc/radacct
+DAEMON_INSDIR = ${PREFIX}/sbin
+BIN_INSDIR = ${PREFIX}/bin
@@ -18,21 +17,23 @@ diff -ru orig/Makefile ./Makefile
# 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.
-@@ -66,7 +66,7 @@
- RADGRP = bin
+@@ -67,8 +67,8 @@
- # Define COMPRESS to hold the name of your favourite compress program:
--#COMPRESS = -DRADIUS_COMPRESS=\"/usr/local/bin/gzip\"
-+COMPRESS = -DRADIUS_COMPRESS=\"/usr/bin/gzip\"
+ # 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=\"/usr/bin/gzip\"
++COMPRESS_ARGS = -DCOMPRESS_ARGS=\"-9\"
# Define SRV to hold any combination of server names you'd like to override:
#SRV3 = -DDEFAULT_TACACS_SERVER=\"vms.dns.name\"
-@@ -110,17 +110,22 @@
+@@ -122,17 +122,22 @@
# radiusd -- the default
#
#--------------------------------------------------------------------------
+.if !defined(MAKE_EBONES)
- DEFS = -DHAVE_SETVBUF -DNOSHADOW $(MERIT) $(STUFF)
+ DEFS = -DHAVE_SETVBUF -DNOSHADOW $(MERIT) $(STUFF)
RADLIBS =
INCS =
+.endif
@@ -48,12 +49,12 @@ diff -ru orig/Makefile ./Makefile
+DEFS = -DHAVE_SETVBUF -DM_KERB -DKRB_INSTANCE=\"$(KRB_INSTANCE)\" \
+ -DNOSHADOW $(MERIT) $(STUFF)
+RADLIBS = -lkrb -ldes
-+INCS = -I/usr/include/kerberosIV
++INCS = -I/usr/include
+.endif
#
# akerb
-@@ -219,12 +224,12 @@
+@@ -228,12 +233,12 @@
#
#--------------------------------------------------------------------------
@@ -71,8 +72,8 @@ diff -ru orig/Makefile ./Makefile
+#INSTALL = /bin/install
#
- # Solaris 2.x
-@@ -304,14 +309,17 @@
+ # Solaris 2.x [[NB: if BIND/named not SMCC, try CFLAGS = ... -DBSD=1 ...]]
+@@ -316,14 +321,17 @@
#
#--------------------------------------------------------------------------
@@ -80,7 +81,7 @@ diff -ru orig/Makefile ./Makefile
-#CFLAGS = -O $(DEFS) $(INCS)
-#LDFLAGS =
-#LIBS = -lcrypt -lcompat
--#MOSTUTIL = $(RADCHECK) $(RADPWTST) $(RADPASS) $(DNSCHECK)
+-#UTILS = $(RADCHECK) $(RADPWTST) $(RADPASS) $(DNSCHECK)
-#RANLIB = ranlib
-#INSTALL = /usr/bin/install
-
@@ -91,23 +92,14 @@ diff -ru orig/Makefile ./Makefile
+ $(DEFS) $(INCS)
+LDFLAGS =
+LIBS = -lcrypt -lcompat
-+MOSTUTIL = $(RADCHECK) $(RADPWTST) $(RADPASS) $(DNSCHECK)
++UTILS = $(RADCHECK) $(RADPWTST) $(RADPASS) $(DNSCHECK)
+RANLIB = ranlib
+INSTALL = /usr/bin/install -c
+
#
# AIX 3.2.5 (if using xlc(1) add -D_ALL_SOURCE to CFLAGS below)
- #
-@@ -604,8 +612,6 @@
- $(MAN_INSDIR)/man5/clients.5
- $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(MAN)/dictionary.5 \
- $(MAN_INSDIR)/man5/dictionary.5
-- $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(MAN)/radbnr.conf.5 \
-- $(MAN_INSDIR)/man5/radbnr.conf.5
- $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(MAN)/radius.fsm.5 \
- $(MAN_INSDIR)/man5/radius.fsm.5
- $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(MAN)/users.5 \
-@@ -625,17 +631,17 @@
+ # May need '-qchars=signed' added to CFLAGS below to fix bug in wait status.
+@@ -684,21 +692,21 @@
/bin/mkdir -p $(RADDB_INSDIR) ;\
fi
$(INSTALL) $(M) 660 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/authfile \
@@ -122,13 +114,18 @@ diff -ru orig/Makefile ./Makefile
$(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/dictionary \
- $(RADDB_INSDIR)/dictionary
+ $(RADDB_INSDIR)/dictionary.sample
+ $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/engine.config \
+- $(RADDB_INSDIR)/engine.config
++ $(RADDB_INSDIR)/engine.config.sample
$(INSTALL) $(M) 660 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/users \
- $(RADDB_INSDIR)/users
+ $(RADDB_INSDIR)/users.sample
+ $(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/vendors \
+- $(RADDB_INSDIR)/vendors
++ $(RADDB_INSDIR)/vendors.sample
$(INSTALL) $(M) 644 $(O) $(RADOWN) $(G) $(RADGRP) $(RADDB)/xas.fsm \
- $(RADDB_INSDIR)/xas.fsm
+ $(RADDB_INSDIR)/xas.fsm.sample
-if [ ! -d $(RADACCT_INSDIR) ] ;\
then \
/bin/mkdir -p $(RADACCT_INSDIR) ;\
-