Tell the users that they must run setup.sh after every webmin upgrade:
part of the setup procedure will insert the correct perl paths in the
webmin script, and webmin will not start without these settings.
This change allows webmin to be installed/upgraded using binary packages
only. A new pkg-message file will tell the user what to do to configure
webmin for the first time. The procedure is the same after both "make
install" and "pkg_add".
Don't ${MV} /tmp/webmin.sh to ${PREFIX}/etc/rc.d: create it in ${WRKDIR}
instead, and use ${CP}.
If you move webmin.sh, you can't make install/deinstall/install: the last
install will fail because of the missing file. No user visible changes, but
speeds up testing.
When the webmin version changes on the master site, patches for previous
versions may be removed (they are not stored in a version dependent
subdirectory). This means that the port of version A will break as soon as
version B is released, because the required updates disappear.
If the updates are optional, webmin users still get a chance to install the
port without updating their ports collection. It is also easier to support
users because, by default, they will run the same "official" version of
webmin.
PORTREVISION bump: if you reinstall without WITH_UPDATES you will get an
unpatched version of webmin.
login, correct paths).
No PORTREVISION bump: if webmin has already been installed then the
postgresql module must be reconfigured by hand.
These changes are provided as perl regexes in the Makefile, because we only
want to change specific settings that could be shuffled in the next
versions of webmin (the same holds true for the postfix module).
Obtained patches from James (see PR)
Further enhancements from me:
- make port portlint clean
- remove webmins behaviour, to write its startup code to /etc/rc.local
a) this behaviour is discouraged now in FreeBSD
b) it blindly appended the startup code at the end of rc.local ...
my last line is exit 0, so startup code never has been executed.
- wrote simple startup script that will be installed in our usual place.
did that PREFIX-clean(tm)
- added FreeBSD 4.1 and 4.2 to the os-list ...
PR: 22312
Submitted by: "James E. Housley" <jeh@FreeBSD.org>
[Has anyone figured-out what makes the number 393 so interesting to PW, now?]
I wonder what was going through Jordan's head during his infamous
$Id$-smashing commit.
Before I forget....
Thanks to naddy@mips.rhein-neckar.de (Christian Weisgerber) for prompting
this commit. See msg-id: 7geokh$tje$1@mips.rhein-neckar.de
New in this version
- Added Solaris 7 support
- Better support for Redhat 5.2
- Squid NOVM and 2.1 support
- FreeBSD group quotas support
- Apache module bugfixes and support for dynamic modules
- BIND module bugfixes
- Other assorted bugfixes
Warn user if no webserver is installed
Recommend apache13-php or apache13-modssl. the php version can
be configured to use the modssl module as well ...
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/