diff options
author | Will Andrews <will@FreeBSD.org> | 2001-12-19 02:30:02 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-12-19 02:30:02 +0000 |
commit | 7765c3d3500ff8050f20d17e9bf6dbc16e426d99 (patch) | |
tree | 2a576321bfa1f5eb7c8acbfbea468c2e52446f4a /net/icradius/files/patch-src::checkrad.pl | |
parent | Add p5-IC-Radius 0.4, a Perl5 extension for ICRADIUS Interface Module. (diff) |
Add icradius 0.18.1, a variant of Cistron RADIUS, but with a MySQL
backend.
PR: 29080
Submitted by: Sergey N. Voronkov <serg@tmn.ru>
Notes
Notes:
svn path=/head/; revision=51767
Diffstat (limited to 'net/icradius/files/patch-src::checkrad.pl')
-rw-r--r-- | net/icradius/files/patch-src::checkrad.pl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/icradius/files/patch-src::checkrad.pl b/net/icradius/files/patch-src::checkrad.pl new file mode 100644 index 000000000000..2477517feeba --- /dev/null +++ b/net/icradius/files/patch-src::checkrad.pl @@ -0,0 +1,24 @@ +--- src/checkrad.pl.orig Thu Oct 26 07:35:29 2000 ++++ src/checkrad.pl Wed Jul 4 16:43:11 2001 +@@ -35,17 +35,17 @@ + # $naspass is the location of your NAS admin password file + # + +-$prefix = "/usr/local"; ++$prefix = "%%PREFIX%%"; + $localstatedir = "/var"; + $logdir = "${localstatedir}/log"; +-$sysconfdir = "/etc"; ++$sysconfdir = "${prefix}/etc"; + $raddbdir = "${sysconfdir}/raddb"; + + $debug = ""; + #$debug = "$logdir/checkrad.log"; + +-$snmpget = "/usr/bin/snmpget"; +-$snmpwalk = "/usr/bin/snmpwalk"; ++$snmpget = "${prefix}/bin/snmpget"; ++$snmpwalk = "${prefix}/bin/snmpwalk"; + $rusers = "/usr/bin/rusers"; + $naspass = "$raddbdir/naspasswd"; + |