View | Details | Raw Unified | Return to bug 117576
Collapse All | Expand All

(-)Makefile (-4 lines)
Lines 25-34 Link Here
25
25
26
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
27
27
28
.if ${OSVERSION} >= 700042
29
BROKEN=		Does not compile with GCC 4.2
30
.endif
31
32
do-install:
28
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
29
	${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
34
	${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1
30
	${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1
(-)files/patch-ab (-17 / +23 lines)
Lines 1-17 Link Here
1
*** config.c	Fri Mar 16 10:04:27 2001
1
Index: config.c
2
--- ../../tac_plus.F5.0.0.alpha/config.c	Sun Jan 20 19:49:48 2002
2
@@ -109,7 +109,7 @@
3
***************
3
 static int no_user_dflt = 0;	/* default if user doesn't exist */
4
*** 603,608 ****
4
 static char *authen_default = NULL;	/* top level authentication default */
5
--- 603,614 ----
5
 static int authen_default_method = 0; /*For method check */
6
  		authen_default_method = sym_code;
6
-static char *nopasswd_str = "nopassword";
7
  		break;
7
+char *nopasswd_str = "nopassword";
8
  #endif
8
 
9
+ #ifdef USE_RADIUS
9
 /* A host definition structure. Currently unused, but when we start
10
+ 		case S_radius:
10
    configuring host-specific information e.g. per-host keys, this is
11
+ 		fprintf(stderr,"sym_code=%i, radius\n",sym_code);
11
@@ -602,6 +602,12 @@
12
+ 		authen_default_method = sym_code;
12
 		fprintf(stderr,"sym_code=%i, ldap\n",sym_code);
13
+                 break;
13
 		authen_default_method = sym_code;
14
+ #endif
14
 		break;
15
                  
15
+#endif
16
   
16
+#ifdef USE_RADIUS
17
  		default:
17
+		case S_radius:
18
+		fprintf(stderr,"sym_code=%i, radius\n",sym_code);
19
+		authen_default_method = sym_code;
20
+                break;
21
 #endif
22
                 
23

Return to bug 117576