freebsd-ports/net/tac_plus4/files/patch-aa
Masafumi Max NAKANE e632592b39 New port, tac_plus:
tac_plus provides Cisco systems routers and access servers
with authentication, authorisation and accounting services.

A configuration file controls the details of authentication,
authorisation and accounting.

PR:		2869
Submitted by:	Igor Vinokurov<igor@zynaps.ru>
Note: Although there is no terms and conditions on redistribution found,
the author says there is no restriction.  (This is stated in more
recent alpha version.)  The only concern is the U.S. Export restriction,
but Cisco has been granted with the right to export their software,
according to the author.  And also I haven't been able to find any
implementation that may violate the export control in the source code,
either.  So, I import this without any RESTRICTED or NO_CDROM defined.
1997-06-23 15:39:59 +00:00

71 lines
1.7 KiB
Text

*** Makefile.orig Sat Jul 29 02:49:20 1995
--- Makefile Mon Mar 3 17:24:49 1997
***************
*** 22,30 ****
# OSLIBS=-lsocket -lnsl
# For FreeBSD
! # OS=-DFREEBSD
# You may also need to add
! # OSLIBS=-lcrypt
# For LINUX
# OS=-DLINUX
--- 22,30 ----
# OSLIBS=-lsocket -lnsl
# For FreeBSD
! OS=-DFREEBSD
# You may also need to add
! OSLIBS=-lcrypt
# For LINUX
# OS=-DLINUX
***************
*** 40,47 ****
# FLAGS = -DTAC_PLUS_USERID=$(USERID) -DTAC_PLUS_GROUPID=$(GROUPID)
# Definitions for SKEY functionality
! # DEFINES = -DSKEY
! # LIBS = ../crimelab/skey/src/libskey.a
# INCLUDES = -I../crimelab/skey/src
DEBUG = -g
--- 40,47 ----
# FLAGS = -DTAC_PLUS_USERID=$(USERID) -DTAC_PLUS_GROUPID=$(GROUPID)
# Definitions for SKEY functionality
! DEFINES = -DSKEY
! LIBS = -lskey -lmd
# INCLUDES = -I../crimelab/skey/src
DEBUG = -g
***************
*** 50,62 ****
# possible), containing its process id. Uncomment and modify the
# following line to change this filename
! # PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
#
# End of customisable section of Makefile
#
! CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE)
SRCS = acct.c authen.c author.c choose_authen.c config.c do_acct.c \
do_author.c dump.c encrypt.c expire.c md5.c \
--- 50,62 ----
# possible), containing its process id. Uncomment and modify the
# following line to change this filename
! PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
#
# End of customisable section of Makefile
#
! CFLAGS += $(DEBUG) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE)
SRCS = acct.c authen.c author.c choose_authen.c config.c do_acct.c \
do_author.c dump.c encrypt.c expire.c md5.c \