aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-04-26 19:45:24 +0800
committerolgeni <olgeni@FreeBSD.org>2001-04-26 19:45:24 +0800
commit40a289e69d0679267189a981060427281b823a6a (patch)
tree79b6a71d03d9f7f844d450fdb47f1c0a0878b6b1 /sysutils
parent24a7ca2319c1870cc1fa1be3341820828d157dfc (diff)
downloadfreebsd-ports-gnome-40a289e69d0679267189a981060427281b823a6a.tar.gz
freebsd-ports-gnome-40a289e69d0679267189a981060427281b823a6a.tar.zst
freebsd-ports-gnome-40a289e69d0679267189a981060427281b823a6a.zip
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/Makefile5
-rw-r--r--sysutils/webmin/distinfo4
-rw-r--r--sysutils/webmin/pkg-message9
3 files changed, 11 insertions, 7 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 0ba329bf8eee..d83658d32298 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -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>
diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo
index da41d563afca..1eff287c75cb 100644
--- a/sysutils/webmin/distinfo
+++ b/sysutils/webmin/distinfo
@@ -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
diff --git a/sysutils/webmin/pkg-message b/sysutils/webmin/pkg-message
index 8d970232e413..77066cbc7131 100644
--- a/sysutils/webmin/pkg-message
+++ b/sysutils/webmin/pkg-message
@@ -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.
===================================