summaryrefslogtreecommitdiff
path: root/net/ascend-radius/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/ascend-radius/files/patch-aa')
-rw-r--r--net/ascend-radius/files/patch-aa29
1 files changed, 17 insertions, 12 deletions
diff --git a/net/ascend-radius/files/patch-aa b/net/ascend-radius/files/patch-aa
index ebd1141e95af..2bdf0f52b602 100644
--- a/net/ascend-radius/files/patch-aa
+++ b/net/ascend-radius/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Tue Oct 15 19:42:16 1996
-+++ Makefile Fri Oct 18 11:54:35 1996
-@@ -108,8 +108,8 @@
+--- Makefile.orig Tue Oct 29 14:44:07 1996
++++ Makefile Fri Jan 24 05:00:19 1997
+@@ -111,8 +111,8 @@
# Pick your compiler
#
#CC= gcc -ansi -Wall # set the GCC compiler to ANSI mode and picky
@@ -11,7 +11,7 @@
#CC= cc -Xc -v -fd # set the SUN compiler to full-whine ANSI mode
#CC= cc -Xc -v # set the SUN compiler to partial-whine ANSI mode
#CC= cc -Xc # set the SUN compiler to ANSI mode
-@@ -129,13 +129,15 @@
+@@ -132,7 +132,7 @@
# use this for BSDI
#CFLAGS= -O -DNOSHADOW -DBSDI -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# use this for SunOS
@@ -20,26 +20,31 @@
# use this for Solaris 2.1 - 2.4
#CFLAGS= -O -Dsys5 -DSOLARIS -D_SVID_GETTOD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# use this for Solaris 2.5
- #CFLAGS= -O -Dsys5 -DSOLARIS -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
+@@ -140,7 +140,7 @@
# use this for Linux
#CFLAGS= -g -Dsys5 -DNOSHADOW -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
-+# use this for FreeBSD
-+CFLAGS= -O -DNOSHADOW -D_HAVE_PARAM_H -DUSE_NDBM -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
+ # use this for FreeBSD
+-#CFLAGS= -O -DNOSHADOW -DFreeBSD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
++CFLAGS= -O -DNOSHADOW -D_HAVE_PARAM_H -DUSE_NDBM -DFreeBSD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# Pick any load options and the load libraries. The AUTH_LIBS
# are selected above
-@@ -145,11 +147,12 @@
+@@ -150,14 +150,14 @@
# See above for the things you may need to add here
#
#LIBS= $(AUTH_LIBS) # use this for Linux, BSDI and friends
-LIBS= -lnsl $(AUTH_LIBS) # use this for SunOS
-+LIBS= $(AUTH_LIBS) -lcrypt # use this for FreeBSD
+#LIBS= -lnsl $(AUTH_LIBS) # use this for SunOS
#LIBS= -lnsl -lsocket $(AUTH_LIBS) # use this for Solaris 2.x
+-#LIBS= -lcrypt $(AUTH_LIBS) # use this for FreeBSD
++LIBS= -lcrypt $(AUTH_LIBS) # use this for FreeBSD
- # use this for SunOs. Linux, BSDI
+ # use this for SunOs. Linux, BSDI, FreeBSD
-DBMLIBS= -ldbm
-+DBMLIBS=
++#DBMLIBS= -ldbm
# use this for Solaris
- #DBMLIBS=
+-#DBMLIBS=
++DBMLIBS=
+ CMN_OBJS=radiusd.o dict.o util.o md5.o attrprint.o filters.o \
+ usr_read.o cache.o des.o radipa.o strerror.o