aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/tac_plus-libradius/Makefile4
-rw-r--r--net/tac_plus-libradius/files/patch-ag39
-rw-r--r--net/tac_plus-libradius/files/patch-ah13
3 files changed, 33 insertions, 23 deletions
diff --git a/net/tac_plus-libradius/Makefile b/net/tac_plus-libradius/Makefile
index a08f5cfa2e27..ce8bb833680d 100644
--- a/net/tac_plus-libradius/Makefile
+++ b/net/tac_plus-libradius/Makefile
@@ -23,10 +23,6 @@ MAN1= tac_plus.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1
diff --git a/net/tac_plus-libradius/files/patch-ag b/net/tac_plus-libradius/files/patch-ag
index c2d03dee7560..e2aeb5dbac43 100644
--- a/net/tac_plus-libradius/files/patch-ag
+++ b/net/tac_plus-libradius/files/patch-ag
@@ -1,19 +1,20 @@
-*** tac_plus.h Mon Dec 18 17:58:02 2000
---- ../../tac_plus.F5.0.0.alpha/tac_plus.h Sun Jan 20 20:24:55 2002
-***************
-*** 70,76 ****
- */
- /* #define REARMSIGNAL */
-
-! #define VERSION "F4.0.3.alpha.v7(DB&PAM support)"
-
- /*
- * System definitions.
---- 70,76 ----
- */
- /* #define REARMSIGNAL */
-
-! #define VERSION "F4.0.3.alpha.v7(DB,PAM&libradius support - incl. mmersbers patches!)"
-
- /*
- * System definitions.
+--- tac_plus.h.orig Fri Feb 27 09:48:32 2004
++++ tac_plus.h Fri Feb 27 09:49:16 2004
+@@ -70,7 +70,7 @@
+ */
+ /* #define REARMSIGNAL */
+
+-#define VERSION "F4.0.3.alpha.v7(DB&PAM support)"
++#define VERSION "F4.0.3.alpha.v7(DB,PAM&libradius support - incl. mmersbers patches!)"
+
+ /*
+ * System definitions.
+@@ -681,7 +681,7 @@
+ extern char *cfg_get_global_secret();
+ #ifdef USE_PAM
+ extern char *cfg_get_pam_service();
+-#endif / *PAM */
++#endif /* PAM */
+ extern void cfg_clean_config();
+ extern char *cfg_nodestring();
+
diff --git a/net/tac_plus-libradius/files/patch-ah b/net/tac_plus-libradius/files/patch-ah
new file mode 100644
index 000000000000..9bcd9db98408
--- /dev/null
+++ b/net/tac_plus-libradius/files/patch-ah
@@ -0,0 +1,13 @@
+--- db_null.c.orig Fri Feb 27 09:49:40 2004
++++ db_null.c Fri Feb 27 09:51:14 2004
+@@ -48,9 +48,7 @@
+ char *a_username;
+ char *elapsed_time;char *bytes_in;char *bytes_out;
+ {
+-report(LOG_INFO,"Db accounting user=%s pass=%s host=%s
+-db_name=%s table=%s servern=%s clientn=%s username=%s et=%s bi=%s bo=%s",db_user,db_password,db_hostname,
+-db_name,db_table,s_name,c_name,a_username,elapsed_time,bytes_in,bytes_out);
++report(LOG_INFO,"Db accounting user=%s pass=%s host=%s db_name=%s table=%s servern=%s clientn=%s username=%s et=%s bi=%s bo=%s",db_user,db_password,db_hostname, db_name,db_table,s_name,c_name,a_username,elapsed_time,bytes_in,bytes_out);
+ return (1);
+ }
+ #endif