Update modules: apache, squid, useradmin.
From the webmin updates page: * Apache Webserver: if Webmin is used in non-english language mode, "<Directory>" sections created using this module may be wrongly written out as something like "<Directorio>". * Squid Proxy Server: the cache_dir directive is not properly supported in squid 2.4. * Users and Groups: passwords for users created or modified from a batch file are not set correctly. (see also http://www.webmin.com/webmin/updates.html) While I'm here, check if a webmin configuration directory already exists at install time (post-install target): in this case, automatically run the webmin setup script (it will insert the proper Perl paths in the webmin scripts). Users who have multiple or different configuration directories will have to run the script manually, as before. PORTREVISION bump to advertise the new changes.
This commit is contained in:
parent
035604aa55
commit
ff9fbae35a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41918
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= webmin
|
||||
PORTVERSION= 0.85
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://webadmin.sourceforge.net/webmin/updates/ \
|
||||
http://webadmin.sourceforge.net/webmin/download/
|
||||
@ -23,7 +23,7 @@ USE_PERL5= yes
|
||||
SCRIPTS_ENV+= WRKDIR="${WRKDIR}"
|
||||
|
||||
.if defined(WITH_UPDATES)
|
||||
WEBMIN_MODULES= net-0.85-1.wbm.gz apache-0.85-1.wbm.gz quota-0.85-1.wbm.gz bind8-0.85-1.wbm.gz
|
||||
WEBMIN_MODULES= squid-0.85-1.wbm.gz useradmin-0.85-1.wbm.gz net-0.85-1.wbm.gz apache-0.85-2.wbm.gz quota-0.85-1.wbm.gz bind8-0.85-1.wbm.gz
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@ -81,6 +81,7 @@ post-install:
|
||||
@find ${PREFIX}/lib/webmin -type f | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST}
|
||||
@find ${PREFIX}/lib/webmin -type l | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST}
|
||||
@find ${PREFIX}/lib/webmin -type d | ${SED} -e "s@${PREFIX}/@@" | ${PERL} -e 'print (join ("\n", reverse map ("\@dirrm " . substr ($$_, 0, -1), <STDIN>)) . "\n");' >> ${TMPPLIST}
|
||||
@if [ -d ${PREFIX}/etc/webmin ]; then echo | ${PREFIX}/lib/webmin/setup.sh ; fi
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
MD5 (webmin-0.85.tar.gz) = c8ae7172cc00fdb6d1ffc627402c5d70
|
||||
MD5 (squid-0.85-1.wbm.gz) = d26f3a7830f52c9eb81f2572f1578214
|
||||
MD5 (useradmin-0.85-1.wbm.gz) = 09ae3cf9384173c95425c7d8720ba4cf
|
||||
MD5 (net-0.85-1.wbm.gz) = 1f2f5887c66ee016c0f92be83b32f53d
|
||||
MD5 (apache-0.85-1.wbm.gz) = 06f872fe27a3abf8668b12b85fd4c3f7
|
||||
MD5 (apache-0.85-2.wbm.gz) = 32d3dae073c150212c17ad4a69310ae5
|
||||
MD5 (quota-0.85-1.wbm.gz) = c05fc28340b522f4f0502e554f354934
|
||||
MD5 (bind8-0.85-1.wbm.gz) = 0324060cfb648a365851f485148be4df
|
||||
|
@ -1,11 +1,12 @@
|
||||
===================================
|
||||
|
||||
To configure webmin you should run
|
||||
the following command as root:
|
||||
To configure webmin for the first
|
||||
time you should run the following
|
||||
command as root:
|
||||
|
||||
${LOCALBASE}/lib/webmin/setup.sh
|
||||
|
||||
You have to perform this step after
|
||||
every webmin upgrade.
|
||||
You won't have to perform this step
|
||||
after every webmin upgrade.
|
||||
|
||||
===================================
|
||||
|
Loading…
Reference in New Issue
Block a user