diff options
Diffstat (limited to 'net/tac_plus-libradius/files/patch-Makefile')
| -rw-r--r-- | net/tac_plus-libradius/files/patch-Makefile | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/net/tac_plus-libradius/files/patch-Makefile b/net/tac_plus-libradius/files/patch-Makefile deleted file mode 100644 index 932f60b7abc9..000000000000 --- a/net/tac_plus-libradius/files/patch-Makefile +++ /dev/null @@ -1,55 +0,0 @@ ---- ./Makefile.orig 2001-03-21 09:33:15.000000000 +0100 -+++ ./Makefile 2011-08-29 00:31:55.000000000 +0200 -@@ -33,9 +33,9 @@ - CPPFLAGS = - CFLAGS = $(CPPFLAGS) -g -O2 - LDFLAGS = --OSLIBS = -lldap -lldap -lc -lcrypt -lresolv -lnsl -llber -lcrypt -lc --DEFINES = -DUSE_LDAP --OS= -DLINUX -DGLIBC -+OSLIBS = -lc -lcrypt -lcrypt -lc -I/usr/local/include -L/usr/local/lib -lradius -+DEFINES = -DUSE_RADIUS -+OS= - # For AIX - # See /usr/lpp/bos/bsdport on your system for details of how to define bsdcc - # CC=bsdcc -@@ -52,7 +52,7 @@ - #OSLIBS=-lsocket -lnsl - - # For FreeBSD --# OS=-DFREEBSD -+OS=-DFREEBSD - # You may also need to add: - # OSLIBS=-lcrypt - # NOTE: If you want your password encryption to be compatible with -@@ -108,7 +108,8 @@ - # End of customisable section of Makefile - # - --CFLAGS = $(DEBUG) $(OPT_FLAGS) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE) $(LDFLAGS) $(DB) -+ -+CFLAGS = $(DEBUG) $(OPT_FLAGS) $(DEFINES) $(INCLUDES) $(FLAGS) $(OS) $(PIDFILE) $(LDFLAGS) $(DB) -I/usr/local/include -L/usr/local/lib - - HFILES = expire.h parse.h regmagic.h md5.h regexp.h tac_plus.h - -@@ -117,7 +118,9 @@ - packet.c report.c sendauth.c tac_plus.c utils.c pw.c hash.c \ - parse.c regexp.c programs.c enable.c pwlib.c default_fn.c \ - skey_fn.c default_v0_fn.c sendpass.c maxsess.c tac_pam.c \ -- db.c db_null.c db_mysql.c ldap.c -+ db.c db_null.c db_mysql.c radius.c -+ -+# add ldap.c and also define USE_LDAP to enable LDAP support - - OBJS = $(SRCS:.c=.o) - -@@ -154,7 +157,8 @@ - install: - cp tac_plus ${prefix}/sbin - cp tac_plus.1 ${prefix}/man/man8/tac_plus.8 -- cp tac_plus.cfg /etc -+ cp tac_plus.cfg ${prefix}/etc/tac_plus -+ cp radius.example ${prefix}/etc/tac_plus - - depend: - makedepend $(CFLAGS) $(SRCS) |
