1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 16:29:15 -04:00
ports/net/icradius/files/patch-src::checkrad.pl
Will Andrews 7765c3d350 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>
2001-12-19 02:30:02 +00:00

24 lines
651 B
Perl

--- 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";