aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnu-radius/files
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2016-03-18 22:02:41 +0800
committerfeld <feld@FreeBSD.org>2016-03-18 22:02:41 +0800
commitf0e96b58293cd64783b71ccca5af90a2fa30c3d0 (patch)
tree55a37f4ea6edd9ce3378fd7a44816b66f3e4bd69 /net/gnu-radius/files
parent098fb3cb5fc36d70834ae307a850fe15b17f8272 (diff)
downloadfreebsd-ports-gnome-f0e96b58293cd64783b71ccca5af90a2fa30c3d0.tar.gz
freebsd-ports-gnome-f0e96b58293cd64783b71ccca5af90a2fa30c3d0.tar.zst
freebsd-ports-gnome-f0e96b58293cd64783b71ccca5af90a2fa30c3d0.zip
net/gnu-radius: Modernize port
- OptionsNG - LICENSE - Whitespace cleanup - EXAMPLE rewrite - Remove @unexec - radiusd.in modification - files/patch-dbm -> files/patch-radiusd_builddbm.c move and fix PR: 206457
Diffstat (limited to 'net/gnu-radius/files')
-rw-r--r--net/gnu-radius/files/patch-configure8
-rw-r--r--net/gnu-radius/files/patch-include-radius_radutmp.h4
-rw-r--r--net/gnu-radius/files/patch-raddb_Makefile.in6
-rw-r--r--net/gnu-radius/files/patch-radiusd_builddbm.c (renamed from net/gnu-radius/files/patch-dbm)6
-rw-r--r--net/gnu-radius/files/patch-radwho_radwho.c10
-rw-r--r--net/gnu-radius/files/radiusd.in2
6 files changed, 18 insertions, 18 deletions
diff --git a/net/gnu-radius/files/patch-configure b/net/gnu-radius/files/patch-configure
index c41e91ca6b51..099476f4a950 100644
--- a/net/gnu-radius/files/patch-configure
+++ b/net/gnu-radius/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Sat Nov 20 21:39:50 2004
-+++ configure Wed Jul 27 23:13:31 2005
-@@ -22804,7 +22804,7 @@
+--- configure.orig 2008-12-17 11:09:36 UTC
++++ configure
+@@ -36624,7 +36624,7 @@ if test "${ra_cv_lib_mysqlclient+set}" =
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -9,7 +9,7 @@
do
LIBS="$save_LIBS -lm -L$path -lmysqlclient"
cat >conftest.$ac_ext <<_ACEOF
-@@ -22925,7 +22925,7 @@
+@@ -36742,7 +36742,7 @@ if test "${ra_cv_lib_pq+set}" = set; the
echo $ECHO_N "(cached) $ECHO_C" >&6
else
diff --git a/net/gnu-radius/files/patch-include-radius_radutmp.h b/net/gnu-radius/files/patch-include-radius_radutmp.h
index 6a1fdb4cdc5f..75d2feca51de 100644
--- a/net/gnu-radius/files/patch-include-radius_radutmp.h
+++ b/net/gnu-radius/files/patch-include-radius_radutmp.h
@@ -1,5 +1,5 @@
---- include/radius/radutmp.h.orig 2009-05-07 22:24:02.000000000 +0200
-+++ include/radius/radutmp.h 2009-05-07 22:24:45.000000000 +0200
+--- include/radius/radutmp.h.orig 2008-12-15 08:03:24 UTC
++++ include/radius/radutmp.h
@@ -30,7 +30,7 @@
#define P_ACCT_ENABLED 131
diff --git a/net/gnu-radius/files/patch-raddb_Makefile.in b/net/gnu-radius/files/patch-raddb_Makefile.in
index b8682409adb5..1f03bc8e30c6 100644
--- a/net/gnu-radius/files/patch-raddb_Makefile.in
+++ b/net/gnu-radius/files/patch-raddb_Makefile.in
@@ -1,6 +1,6 @@
---- raddb/Makefile.in.orig Wed Jul 27 21:46:31 2005
-+++ raddb/Makefile.in Wed Jul 27 21:52:38 2005
-@@ -556,10 +556,10 @@
+--- raddb/Makefile.in.orig 2008-12-17 11:09:50 UTC
++++ raddb/Makefile.in
+@@ -893,10 +893,10 @@ install-data-local:
echo '================================================================='; \
else \
for file in $(raddb_files_644); do \
diff --git a/net/gnu-radius/files/patch-dbm b/net/gnu-radius/files/patch-radiusd_builddbm.c
index 788693e8298c..3a5618f4b07a 100644
--- a/net/gnu-radius/files/patch-dbm
+++ b/net/gnu-radius/files/patch-radiusd_builddbm.c
@@ -1,6 +1,6 @@
---- radiusd/builddbm.c.orig 2008-12-08 14:22:12.000000000 +0100
-+++ radiusd/builddbm.c 2008-12-08 14:22:37.000000000 +0100
-@@ -58,7 +58,7 @@
+--- radiusd/builddbm.c.orig 2008-12-15 08:03:24 UTC
++++ radiusd/builddbm.c
+@@ -58,7 +58,7 @@ append_symbol(DBM_closure *closure, User
if (2 + check_len + reply_len > closure->pair_buffer_size) {
grad_log(GRAD_LOG_ERR, "%s:%d: %s",
diff --git a/net/gnu-radius/files/patch-radwho_radwho.c b/net/gnu-radius/files/patch-radwho_radwho.c
index 17848c511107..f9fb462a77f7 100644
--- a/net/gnu-radius/files/patch-radwho_radwho.c
+++ b/net/gnu-radius/files/patch-radwho_radwho.c
@@ -1,6 +1,6 @@
---- radwho/radwho.c.orig 2010-01-21 22:29:51.000000000 +0100
-+++ radwho/radwho.c 2010-01-21 22:37:37.000000000 +0100
-@@ -41,7 +41,8 @@
+--- radwho/radwho.c.orig 2008-12-15 08:03:24 UTC
++++ radwho/radwho.c
+@@ -41,7 +41,8 @@ void print_header();
int want_rad_record(struct radutmp *rt);
/* UTMP stuff. Uses utmpx on svr4 */
@@ -10,7 +10,7 @@
# include <utmpx.h>
# include <sys/fcntl.h>
# define utmp utmpx
-@@ -49,7 +50,9 @@
+@@ -49,7 +50,9 @@ int want_rad_record(struct radutmp *rt);
# define UT_LINESIZE 32
# define UT_HOSTSIZE 257
# undef UTMP_FILE
@@ -20,7 +20,7 @@
# undef WTMP_FILE
# define WTMP_FILE WTMPX_FILE
#else
-@@ -60,13 +63,19 @@
+@@ -60,13 +63,19 @@ int want_rad_record(struct radutmp *rt);
# define UT_LINESIZE 32
# define UT_HOSTSIZE 64
#endif
diff --git a/net/gnu-radius/files/radiusd.in b/net/gnu-radius/files/radiusd.in
index 370c7099f80b..981e6a82c5f0 100644
--- a/net/gnu-radius/files/radiusd.in
+++ b/net/gnu-radius/files/radiusd.in
@@ -2,7 +2,7 @@
# $FreeBSD$
#
-# PROVIDE radiusd
+# PROVIDE: radiusd
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown