FreeBSD Bugzilla – Attachment 82190 Details for
Bug 117576
fix net/tac_plus-libradius gcc4 issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.03 KB, created by
Juergen Lock
on 2007-10-27 22:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Juergen Lock
Created:
2007-10-27 22:10:03 UTC
Size:
2.03 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/net/tac_plus-libradius/Makefile,v >retrieving revision 1.6 >diff -u -r1.6 Makefile >--- Makefile 1 Oct 2007 07:38:16 -0000 1.6 >+++ Makefile 27 Oct 2007 21:03:03 -0000 >@@ -25,10 +25,6 @@ > > .include <bsd.port.pre.mk> > >-.if ${OSVERSION} >= 700042 >-BROKEN= Does not compile with GCC 4.2 >-.endif >- > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin > ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1 >Index: files/patch-ab >=================================================================== >RCS file: /home/pcvs/ports/net/tac_plus-libradius/files/patch-ab,v >retrieving revision 1.1 >diff -u -r1.1 patch-ab >--- files/patch-ab 20 Sep 2002 20:31:30 -0000 1.1 >+++ files/patch-ab 27 Oct 2007 19:44:13 -0000 >@@ -1,17 +1,23 @@ >-*** config.c Fri Mar 16 10:04:27 2001 >---- ../../tac_plus.F5.0.0.alpha/config.c Sun Jan 20 19:49:48 2002 >-*************** >-*** 603,608 **** >---- 603,614 ---- >- authen_default_method = sym_code; >- break; >- #endif >-+ #ifdef USE_RADIUS >-+ case S_radius: >-+ fprintf(stderr,"sym_code=%i, radius\n",sym_code); >-+ authen_default_method = sym_code; >-+ break; >-+ #endif >- >- >- default: >+Index: config.c >+@@ -109,7 +109,7 @@ >+ static int no_user_dflt = 0; /* default if user doesn't exist */ >+ static char *authen_default = NULL; /* top level authentication default */ >+ static int authen_default_method = 0; /*For method check */ >+-static char *nopasswd_str = "nopassword"; >++char *nopasswd_str = "nopassword"; >+ >+ /* A host definition structure. Currently unused, but when we start >+ configuring host-specific information e.g. per-host keys, this is >+@@ -602,6 +602,12 @@ >+ fprintf(stderr,"sym_code=%i, ldap\n",sym_code); >+ authen_default_method = sym_code; >+ break; >++#endif >++#ifdef USE_RADIUS >++ case S_radius: >++ fprintf(stderr,"sym_code=%i, radius\n",sym_code); >++ authen_default_method = sym_code; >++ break; >+ #endif >+ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 117576
: 82190