aboutsummaryrefslogtreecommitdiffstats
path: root/net/radiusd-cistron/files/patch-ab
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-04-24 13:35:03 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-04-24 13:35:03 +0000
commit67a7a2318525009d455c36fc76d7387d1d06b80e (patch)
treebe8457cb4ff9c4dd88a7e29264d367afd32e678d /net/radiusd-cistron/files/patch-ab
parenta4356cf2324957ac8b7ee2083dd7f38d2f6c02ff (diff)
Import of the Cistron radiusd.
PR: 6382 Submitted by: John Saunders <john@pacer.nlc.net.au>
Diffstat (limited to 'net/radiusd-cistron/files/patch-ab')
-rw-r--r--net/radiusd-cistron/files/patch-ab32
1 files changed, 32 insertions, 0 deletions
diff --git a/net/radiusd-cistron/files/patch-ab b/net/radiusd-cistron/files/patch-ab
new file mode 100644
index 000000000000..0d08eb8edbe2
--- /dev/null
+++ b/net/radiusd-cistron/files/patch-ab
@@ -0,0 +1,32 @@
+diff -u --recursive src/conf.h.orig src/conf.h
+--- src/conf.h.orig Wed Sep 17 06:48:11 1997
++++ src/conf.h Fri Apr 10 23:02:03 1998
+@@ -1,6 +1,6 @@
+ /* Default Database File Names */
+
+-#define RADIUS_DIR "/etc/raddb"
++#define RADIUS_DIR PREFIX "/etc/raddb"
+ #define RADACCT_DIR "/var/log/radacct"
+ #define RADLOG_DIR "/var/log"
+
+@@ -13,7 +13,7 @@
+ #define RADIUS_HINTS "hints"
+ #define RADIUS_HUNTGROUPS "huntgroups"
+
+-#define RADUTMP "/var/log/radutmp"
++#define RADUTMP "/var/run/radutmp"
+ #define RADWTMP "/var/log/radwtmp"
+
+ #define RADIUS_PID "/var/run/radiusd.pid"
+diff -u --recursive src/radutmp.h.orig src/radutmp.h
+--- src/radutmp.h.orig Tue Dec 23 08:30:31 1997
++++ src/radutmp.h Fri Apr 10 23:02:47 1998
+@@ -7,7 +7,7 @@
+ #ifndef _RADUTMP_H
+ #define _RADUTMP_H
+
+-#define RADUTMP "/var/log/radutmp"
++#define RADUTMP "/var/run/radutmp"
+ #define RADWTMP "/var/log/radwtmp"
+
+ /*