1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/sysutils/webmin/files/patch-aa
Andreas Klemm 09d517ab11 new port webmin v0.64
Webmin is a web-based interface for system administration for Unix.
Using any browser that supports tables and forms, you can setup
user accounts, Apache, DNS, file sharing and so on.

Webmin consists of a simple web server, and a number of CGI programs
which directly update system files like /etc/inetd.conf and
/etc/passwd. The web server and all CGI programs are written in
Perl version 5, and use no external modules. This means that you
only need a Perl binary to run Webmin.

More infos:
http://www.webmin.com/webmin/
1998-11-19 21:38:24 +00:00

40 lines
1.1 KiB
Plaintext

--- setup.sh.orig Sat Nov 14 09:00:02 1998
+++ setup.sh Thu Nov 19 21:33:18 1998
@@ -35,10 +35,10 @@
echo "Unless you want to run multiple versions of Webmin at the same time"
echo "you can just accept the defaults."
echo ""
-printf "Config file directory [/etc/webmin]: "
+printf "Config file directory [!!PREFIX!!/etc/webmin]: "
read config_dir
if [ "$config_dir" = "" ]; then
- config_dir=/etc/webmin
+ config_dir=!!PREFIX!!/etc/webmin
fi
if [ ! -d $config_dir ]; then
mkdir $config_dir;
@@ -88,10 +88,10 @@
else
# Ask for log directory
- printf "Log file directory [/var/webmin]: "
+ printf "Log file directory [/var/log/webmin]: "
read var_dir
if [ "$var_dir" = "" ]; then
- var_dir=/var/webmin
+ var_dir=/var/log/webmin
fi
if [ ! -d $var_dir ]; then
mkdir $var_dir
@@ -109,7 +109,9 @@
echo "Webmin is written entirely in Perl. Please enter the full path to the"
echo "Perl 5 interpreter on your system."
echo ""
- if [ -x /usr/bin/perl ]; then
+ if [ -x !!PERL5!! ]; then
+ perldef=!!PERL5!!
+ elif [ -x /usr/bin/perl ]; then
perldef=/usr/bin/perl
elif [ -x /usr/local/bin/perl ]; then
perldef=/usr/local/bin/perl