summaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorkefren <kefren>2009-04-09 10:15:01 +0000
committerkefren <kefren>2009-04-09 10:15:01 +0000
commita3e7677a01278648c99ab33d77055b482afa82a3 (patch)
tree8043eb0a49b4b43c093f57fb63d5c5030484b4b3 /sysutils/webmin
parent0c63f13a185e109fbd0241b6ea55db8da2c588c6 (diff)
downloadpkgsrc-a3e7677a01278648c99ab33d77055b482afa82a3.tar.gz
blind update to 1.470
Changelist since 1.370 is too large to be included in this message so please consult: http://www.webmin.com/changes-1.380.html http://www.webmin.com/changes-1.390.html http://www.webmin.com/changes-1.400.html http://www.webmin.com/changes-1.410.html http://www.webmin.com/changes-1.420.html http://www.webmin.com/changes-1.430.html http://www.webmin.com/changes-1.440.html http://www.webmin.com/changes-1.450.html http://www.webmin.com/changes-1.460.html http://www.webmin.com/changes-1.470.html
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile3
-rw-r--r--sysutils/webmin/PLIST112
-rw-r--r--sysutils/webmin/distinfo28
-rw-r--r--sysutils/webmin/patches/patch-aa42
-rw-r--r--sysutils/webmin/patches/patch-ac24
-rw-r--r--sysutils/webmin/patches/patch-ad14
-rw-r--r--sysutils/webmin/patches/patch-ae18
-rw-r--r--sysutils/webmin/patches/patch-ag18
-rw-r--r--sysutils/webmin/patches/patch-ah18
-rw-r--r--sysutils/webmin/patches/patch-ai18
-rw-r--r--sysutils/webmin/patches/patch-aj46
-rw-r--r--sysutils/webmin/patches/patch-at38
-rw-r--r--sysutils/webmin/patches/patch-ay34
-rw-r--r--sysutils/webmin/patches/patch-az38
-rw-r--r--sysutils/webmin/version.mk4
15 files changed, 235 insertions, 220 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 6e9ffc7959c..06e6539306c 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2008/07/25 02:55:27 tonnerre Exp $
+# $NetBSD: Makefile,v 1.25 2009/04/09 10:15:01 kefren Exp $
.include "version.mk"
DISTNAME= webmin-${WBM_VERSION}
-PKGREVISION= 3
CATEGORIES= sysutils www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=webadmin/}
diff --git a/sysutils/webmin/PLIST b/sysutils/webmin/PLIST
index cf2a03c36e4..415f6f9341d 100644
--- a/sysutils/webmin/PLIST
+++ b/sysutils/webmin/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2007/10/08 08:47:08 obache Exp $
+@comment $NetBSD: PLIST,v 1.11 2009/04/09 10:15:01 kefren Exp $
share/examples/rc.d/webmin
share/examples/webmin/acl/config
share/examples/webmin/config
@@ -25,6 +25,7 @@ share/webmin/LICENCE
share/webmin/LICENCE.ja
share/webmin/PATENTS
share/webmin/README
+share/webmin/WebminCore.pm
share/webmin/Webmin/All.pm
share/webmin/Webmin/Button.pm
share/webmin/Webmin/Checkbox.pm
@@ -110,12 +111,15 @@ share/webmin/acl/config.info.ca
share/webmin/acl/config.info.cz
share/webmin/acl/config.info.da
share/webmin/acl/config.info.de
+share/webmin/acl/config.info.hr
+share/webmin/acl/config.info.it
share/webmin/acl/config.info.es
share/webmin/acl/config.info.fa
share/webmin/acl/config.info.fr
share/webmin/acl/config.info.hu
share/webmin/acl/config.info.ja_JP.UTF-8
share/webmin/acl/config.info.ja_JP.euc
+share/webmin/acl/config.info.ko_KR.UTF-8
share/webmin/acl/config.info.ko_KR.euc
share/webmin/acl/config.info.nl
share/webmin/acl/config.info.no
@@ -149,13 +153,14 @@ share/webmin/acl/edit_user.cgi
share/webmin/acl/feedback_files.pl
share/webmin/acl/help/ips.ca.html
share/webmin/acl/help/ips.da.html
+share/webmin/acl/help/ips.de.html
+share/webmin/acl/help/ips.it.html
share/webmin/acl/help/ips.fa.html
share/webmin/acl/help/ips.fr.html
share/webmin/acl/help/ips.html
share/webmin/acl/help/ips.ko_KR.euc.html
+share/webmin/acl/help/ips.ko_KR.UTF-8.html
share/webmin/acl/help/ips.sk.html
-share/webmin/acl/hide.cgi
-share/webmin/acl/hide_form.cgi
share/webmin/acl/images/cert.gif
share/webmin/acl/images/convert.gif
share/webmin/acl/images/empty.gif
@@ -177,6 +182,7 @@ share/webmin/acl/lang/en
share/webmin/acl/lang/es
share/webmin/acl/lang/fa
share/webmin/acl/lang/fr
+share/webmin/acl/lang/hr
share/webmin/acl/lang/hu
share/webmin/acl/lang/it
share/webmin/acl/lang/ja_JP.UTF-8
@@ -200,6 +206,7 @@ share/webmin/acl/lang/zh_TW.Big5
share/webmin/acl/lang/zh_TW.UTF-8
share/webmin/acl/list_sessions.cgi
share/webmin/acl/log_parser.pl
+share/webmin/acl/md5-lib.pl
share/webmin/acl/module.info
share/webmin/acl/openssl.cnf
share/webmin/acl/postinstall.pl
@@ -654,7 +661,6 @@ share/webmin/inittab/lang/zh_TW.Big5
share/webmin/inittab/lang/zh_TW.UTF-8
share/webmin/inittab/log_parser.pl
share/webmin/inittab/module.info
-share/webmin/inittab/new_inittab.cgi
share/webmin/inittab/save_inittab.cgi
share/webmin/install-module.pl
share/webmin/install-type
@@ -1110,7 +1116,6 @@ share/webmin/proc/sysv-lib.pl
share/webmin/proc/tail.cgi
share/webmin/proc/trace.cgi
share/webmin/proc/windows-lib.pl
-share/webmin/referer_save.cgi
share/webmin/rpc.cgi
share/webmin/run-postinstalls.pl
share/webmin/run-uninstalls.pl
@@ -1430,6 +1435,103 @@ share/webmin/webminlog/search.cgi
share/webmin/webminlog/view.cgi
share/webmin/webminlog/webminlog-lib.pl
share/webmin/xmlrpc.cgi
+share/webmin/cron/config-macos-9.2-*
+share/webmin/cron/config.info.hr
+share/webmin/cron/config.info.it
+share/webmin/cron/lang/hr
+share/webmin/images/bar-blue.gif
+share/webmin/images/bar-grey.gif
+share/webmin/images/bar-purple.gif
+share/webmin/images/bar-red.gif
+share/webmin/images/bar-white.gif
+share/webmin/images/down.gif
+share/webmin/images/gap.gif
+share/webmin/images/movedown.gif
+share/webmin/images/movegap.gif
+share/webmin/images/moveup.gif
+share/webmin/images/up.gif
+share/webmin/images/webmin-blue.png
+share/webmin/images/webmin-blue.svg
+share/webmin/init/config.info.cz
+share/webmin/init/config.info.ko_KR.UTF-8
+share/webmin/init/config.info.ko_KR.euc
+share/webmin/init/config.info.nl
+share/webmin/init/help/help.ko_KR.UTF-8.html
+share/webmin/init/help/help.ko_KR.euc.html
+share/webmin/init/help/proc.ko_KR.UTF-8.html
+share/webmin/init/help/proc.ko_KR.euc.html
+share/webmin/init/lang/cz
+share/webmin/init/lang/nl
+share/webmin/inittab/config.info.cz
+share/webmin/inittab/config.info.ko_KR.UTF-8
+share/webmin/inittab/config.info.nl
+share/webmin/inittab/lang/cz
+share/webmin/inittab/lang/nl
+share/webmin/lang/el
+share/webmin/man/config.info.cz
+share/webmin/man/config.info.nl
+share/webmin/man/lang/nl
+share/webmin/proc/config.info.cz
+share/webmin/proc/config.info.ja_JP.UTF-8
+share/webmin/proc/config.info.ja_JP.euc
+share/webmin/proc/config.info.nl
+share/webmin/proc/help/cmd.it.html
+share/webmin/proc/help/cpu.it.html
+share/webmin/proc/help/edit_proc.it.html
+share/webmin/proc/help/input.it.html
+share/webmin/proc/help/intro.it.html
+share/webmin/proc/help/mode.it.html
+share/webmin/proc/help/nice.it.html
+share/webmin/proc/help/open_proc.it.html
+share/webmin/proc/help/overview.it.html
+share/webmin/proc/help/run.it.html
+share/webmin/proc/help/sclass.ca.html
+share/webmin/proc/help/sclass.html
+share/webmin/proc/help/scpu.it.html
+share/webmin/proc/help/search.it.html
+share/webmin/proc/help/sfiles.it.html
+share/webmin/proc/help/sfs.it.html
+share/webmin/proc/help/signore.it.html
+share/webmin/proc/help/sip.it.html
+share/webmin/proc/help/size.it.html
+share/webmin/proc/help/smatch.it.html
+share/webmin/proc/help/sprio.ca.html
+share/webmin/proc/help/sprio.html
+share/webmin/proc/help/ssocket.it.html
+share/webmin/proc/help/suser.it.html
+share/webmin/proc/help/trace.it.html
+share/webmin/proc/help/tree.it.html
+share/webmin/proc/help/user.it.html
+share/webmin/proc/help/zone.it.html
+share/webmin/proc/lang/cz
+share/webmin/proc/lang/nl
+share/webmin/servers/backup_config.pl
+share/webmin/servers/config.info.it
+share/webmin/servers/config.info.ja_JP.UTF-8
+share/webmin/servers/config.info.ko_KR.UTF-8
+share/webmin/servers/config.info.nl
+share/webmin/servers/lang/it
+share/webmin/servers/lang/nl
+share/webmin/webmin/change_debug.cgi
+share/webmin/webmin/change_overlay.cgi
+share/webmin/webmin/config.info.cz
+share/webmin/webmin/config.info.hr
+share/webmin/webmin/config.info.it
+share/webmin/webmin/config.info.ko_KR.UTF-8
+share/webmin/webmin/edit_debug.cgi
+share/webmin/webmin/images/debug.gif
+share/webmin/webmin/lang/en_GB
+share/webmin/webmin/lang/hr
+share/webmin/webmin/postinstall.pl
+share/webmin/webmin/refresh_modules.cgi
+share/webmin/webmin_search.cgi
+share/webmin/webminlog/config.info.cz
+share/webmin/webminlog/config.info.hr
+share/webmin/webminlog/config.info.ko_KR.UTF-8
+share/webmin/webminlog/config.info.nl
+share/webmin/webminlog/images/star.gif
+share/webmin/webminlog/lang/cz
+share/webmin/webminlog/lang/hr
@dirrm share/webmin/webminlog/lang
@dirrm share/webmin/webminlog/images
@dirrm share/webmin/webminlog
diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo
index e36dbefa54a..2417479d0e8 100644
--- a/sysutils/webmin/distinfo
+++ b/sysutils/webmin/distinfo
@@ -1,18 +1,17 @@
-$NetBSD: distinfo,v 1.16 2008/07/25 02:55:27 tonnerre Exp $
+$NetBSD: distinfo,v 1.17 2009/04/09 10:15:01 kefren Exp $
-SHA1 (webmin-1.370.tar.gz) = ed4c1ee751953146356f308c4091eb8ad21df309
-RMD160 (webmin-1.370.tar.gz) = 28805b553adc85b642ad3acffa3765a5127a529d
-Size (webmin-1.370.tar.gz) = 13132344 bytes
-SHA1 (patch-aa) = 3b66c111357358548a8f5e47ae4dfb2e9be5fc2a
+SHA1 (webmin-1.470.tar.gz) = ace7931c33495fb9a1c76500060feb7019d6acbf
+RMD160 (webmin-1.470.tar.gz) = 58acf6703c6469850837796b2e0cbcdb258cf07f
+Size (webmin-1.470.tar.gz) = 14105863 bytes
+SHA1 (patch-aa) = e1dadeb9bb59a9fd040a0befa1ac06ac20fe4fbf
SHA1 (patch-ab) = fa07200462df76af23b9952739388053940c6743
-SHA1 (patch-ac) = c4f73a091ef8b5c5c0d5a6f82427c497e823a946
-SHA1 (patch-ad) = 51d6875b0d825b06ab088e7e63f3e86c280a06f6
-SHA1 (patch-ae) = 16583d392d44176e8175e7637851d000ca2ecb9d
+SHA1 (patch-ac) = b69286454a8b07f6eb0aceee95ab1b3e396ceb45
+SHA1 (patch-ad) = cc629f057a8f7895a2ee9a5ffac071b6a52284e4
+SHA1 (patch-ae) = fcbee4c734f80d62bd9ea58af34e730529b86620
SHA1 (patch-af) = 24f130a985ab7d3bdfc7db8d82114e8b107f1574
-SHA1 (patch-ag) = 4a2ba61d26a3f3a9bb0e1a22a8afb65d66e43746
-SHA1 (patch-ah) = 9cf6fc0d420535697eac2c32a29701fc095ef67f
-SHA1 (patch-ai) = 14accea4c38882933da3b565fe51adec06db1878
-SHA1 (patch-aj) = bc86ea60c49266fc537690b07d194d5c2fa690c4
+SHA1 (patch-ag) = a42266da672f6953b837a64185f8f2dfda3f11d1
+SHA1 (patch-ah) = 820af8ea032e1aa36684b157e9377a056086df25
+SHA1 (patch-ai) = fc4272323726fe15d7c7a96d70228976459721e6
SHA1 (patch-ak) = 201c124d8c407e0439b8531dfb4dacba37ce37bb
SHA1 (patch-al) = b1382143d42af3ce5057368dc442ba9c2e6de259
SHA1 (patch-am) = d61fed9c53870aad36651389a5d655f5b2d5c21f
@@ -22,10 +21,9 @@ SHA1 (patch-ap) = 7b8c983770c7fd08b20de36b006e0f30ce1bce3e
SHA1 (patch-aq) = 52751d7ec0ce1ebb89aee977a752486372b80e36
SHA1 (patch-ar) = 647703ab0281991cec015f2f6a6d191c70c0301e
SHA1 (patch-as) = 65f246bfca5b077d15bf0e874d56792f08c93c03
-SHA1 (patch-at) = 72e88355d9c3bd159d5077acc81073ec048efd0b
SHA1 (patch-au) = f0d0aaf6819f92fd96543246e7600054fb150d08
SHA1 (patch-av) = c3a4096058a432863eb10a2b2d44184bc91f8926
SHA1 (patch-aw) = 2d7738459ed4618b11558d31aef70a42f26c25be
SHA1 (patch-ax) = 09f78731d35603e736b22a0f1e478103ca14cc4d
-SHA1 (patch-ay) = 04bf4d094a2051469e956b4e57af842daf0232d7
-SHA1 (patch-az) = 55e40bcf0841b20d185265fff98685fe56cb1810
+SHA1 (patch-ay) = dd861b0e5710e3ccc6aabf49a1ac3baaa141dbf0
+SHA1 (patch-az) = 9860d1504397acbff90e4964aa8f9e505d853456
diff --git a/sysutils/webmin/patches/patch-aa b/sysutils/webmin/patches/patch-aa
index fbecaf04d7d..f5ae9e56e37 100644
--- a/sysutils/webmin/patches/patch-aa
+++ b/sysutils/webmin/patches/patch-aa
@@ -1,8 +1,6 @@
-$NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
-
---- setup.sh.orig 2007-09-21 21:26:02.000000000 +0000
-+++ setup.sh
-@@ -35,6 +35,11 @@ echo ""
+--- setup.sh.orig 2009-03-18 07:30:26.000000000 +0200
++++ setup.sh 2009-04-09 12:24:40.000000000 +0300
+@@ -35,6 +35,11 @@
# Only root can run this
id | grep "uid=0(" >/dev/null
@@ -14,7 +12,7 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
if [ $? != "0" ]; then
uname -a | grep -i CYGWIN >/dev/null
if [ $? != "0" ]; then
-@@ -122,6 +127,9 @@ if [ -r "$config_dir/config" ]; then
+@@ -122,6 +127,9 @@
upgrading=1
fi
@@ -24,7 +22,7 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
# Check if upgrading from an old version
if [ "$upgrading" = 1 ]; then
echo ""
-@@ -199,6 +207,10 @@ if [ "$upgrading" = 1 ]; then
+@@ -199,6 +207,10 @@
else
# Config directory exists .. make sure it is not in use
ls $config_dir | grep -v rpmsave >/dev/null 2>&1
@@ -35,7 +33,7 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
if [ "$?" = "0" -a "$config_dir" != "/etc/webmin" ]; then
echo "ERROR: Config directory $config_dir is not empty"
echo ""
-@@ -527,6 +539,12 @@ else
+@@ -528,6 +540,12 @@
kfile=$config_dir/miniserv.pem
openssl version >/dev/null 2>&1
@@ -48,16 +46,18 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
if [ "$?" = "0" ]; then
# We can generate a new SSL key for this host
host=`hostname`
-@@ -733,31 +751,34 @@ EOF
+@@ -742,44 +760,47 @@
echo ""
fi
-echo "Changing ownership and permissions .."
+-# Make all config dirs non-world-readable
-for m in $newmods; do
- chown -R root $config_dir/$m
- chgrp -R bin $config_dir/$m
- chmod -R og-rw $config_dir/$m
-done
+-# Make miniserv config files non-world-readable
-for f in miniserv.conf miniserv.pem miniserv.users; do
- chown -R root $config_dir/$f
- chgrp -R bin $config_dir/$f
@@ -65,27 +65,40 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
-done
-chmod +r $config_dir/version
-if [ "$nochown" = "" ]; then
+- # Make program directory non-world-writable, but executable
- chown -R root "$wadir"
- chgrp -R bin "$wadir"
- chmod -R og-w "$wadir"
- chmod -R a+rx "$wadir"
-fi
-if [ $var_dir != "/var" ]; then
+- # Make log directory non-world-readable or writable
- chown -R root $var_dir
- chgrp -R bin $var_dir
- chmod -R og-rwx $var_dir
-fi
+-# Fix up bad permissions from some older installs
+-for m in ldap-client ldap-server ldap-useradmin mailboxes mysql postgresql servers virtual-server; do
+- if [ -d "$config_dir/$m" ]; then
+- chown root $config_dir/$m
+- chgrp bin $config_dir/$m
+- chmod og-rw $config_dir/$m
+- chmod og-rw $config_dir/$m/config 2>/dev/null
+- fi
+-done
-echo "..done"
-echo ""
+# For pkgsrc, we skip changing ownership and permissions as we allow the
+# INSTALL/DEINSTALL to manage this for us.
+#
+#echo "Changing ownership and permissions .."
++## Make all config dirs non-world-readable
+#for m in $newmods; do
+# chown -R root $config_dir/$m
+# chgrp -R bin $config_dir/$m
+# chmod -R og-rw $config_dir/$m
+#done
++## Make miniserv config files non-world-readable
+#for f in miniserv.conf miniserv.pem miniserv.users; do
+# chown -R root $config_dir/$f
+# chgrp -R bin $config_dir/$f
@@ -93,16 +106,27 @@ $NetBSD: patch-aa,v 1.6 2007/10/05 15:47:00 obache Exp $
+#done
+#chmod +r $config_dir/version
+#if [ "$nochown" = "" ]; then
++# # Make program directory non-world-writable, but executable
+# chown -R root "$wadir"
+# chgrp -R bin "$wadir"
+# chmod -R og-w "$wadir"
+# chmod -R a+rx "$wadir"
+#fi
+#if [ $var_dir != "/var" ]; then
++# # Make log directory non-world-readable or writable
+# chown -R root $var_dir
+# chgrp -R bin $var_dir
+# chmod -R og-rwx $var_dir
+#fi
++## Fix up bad permissions from some older installs
++#for m in ldap-client ldap-server ldap-useradmin mailboxes mysql postgresql servers virtual-server; do
++# if [ -d "$config_dir/$m" ]; then
++# chown root $config_dir/$m
++# chgrp bin $config_dir/$m
++# chmod og-rw $config_dir/$m
++# chmod og-rw $config_dir/$m/config 2>/dev/null
++# fi
++#done
+#echo "..done"
+#echo ""
diff --git a/sysutils/webmin/patches/patch-ac b/sysutils/webmin/patches/patch-ac
index f34eb48ed94..96741162377 100644
--- a/sysutils/webmin/patches/patch-ac
+++ b/sysutils/webmin/patches/patch-ac
@@ -1,18 +1,15 @@
-$NetBSD: patch-ac,v 1.3 2008/07/25 02:55:27 tonnerre Exp $
-
---- software/search.cgi.orig 2007-09-21 23:26:13.000000000 +0200
-+++ software/search.cgi
-@@ -34,7 +34,8 @@ if (@match == 1 && $in{'goto'}) {
+--- software/search.cgi.orig 2009-03-18 07:30:27.000000000 +0200
++++ software/search.cgi 2009-04-09 12:27:58.000000000 +0300
+@@ -34,7 +34,7 @@
if (@match) {
@match = sort { lc($packages{$a,'name'}) cmp lc($packages{$b,'name'}) }
@match;
- print "<b>",&text('search_match', "<tt>$s</tt>"),"</b><p>\n";
-+ print "<b>",&text('search_match', "<tt>" . &html_escape($s) . "</tt>"),
-+ "</b><p>\n";
- print "<form action=delete_packs.cgi method=post>\n";
- print "<input type=hidden name=search value='$in{'search'}'>\n";
++ print "<b>",&text('search_match', "<tt>" . &html_escape($s) . "</tt>"),"</b><p>\n";
+ print &ui_form_start("delete_packs.cgi", "post");
+ print &ui_hidden("search", $in{'search'});
@tds = ( "width=5" );
-@@ -47,7 +48,8 @@ if (@match) {
+@@ -47,7 +47,8 @@
$text{'search_desc'} ], 100, 0, \@tds);
foreach $i (@match) {
local @cols;
@@ -22,13 +19,12 @@ $NetBSD: patch-ac,v 1.3 2008/07/25 02:55:27 tonnerre Exp $
&urlize($packages{$i,'name'})."&version=".
&urlize($packages{$i,'version'})."\">".&html_escape(
$packages{$i,'name'}.($packages{$i,'version'} ?
-@@ -69,7 +71,8 @@ if (@match) {
- print "<input type=submit value='$text{'search_delete'}'></form>\n";
+@@ -69,7 +70,7 @@
+ print &ui_form_end([ [ undef, $text{'search_delete'} ] ]);
}
else {
- print "<b>",&text('search_nomatch', "<tt>$s</tt>"),"</b><p>\n";
-+ print "<b>",&text('search_nomatch', "<tt>" . &html_escape($s) .
-+ "</tt>"),"</b><p>\n";
++ print "<b>",&text('search_nomatch', "<tt>" . &html_escape($s) . "</tt>"),"</b><p>\n";
}
&ui_print_footer("", $text{'index_return'});
diff --git a/sysutils/webmin/patches/patch-ad b/sysutils/webmin/patches/patch-ad
index e21d42ac32c..3f1e0e8c88f 100644
--- a/sysutils/webmin/patches/patch-ad
+++ b/sysutils/webmin/patches/patch-ad
@@ -1,15 +1,11 @@
-$NetBSD: patch-ad,v 1.5 2007/10/05 15:47:00 obache Exp $
-
---- os_list.txt.orig 2007-09-21 21:26:02.000000000 +0000
-+++ os_list.txt
-@@ -236,18 +236,14 @@ openmamba Linux $1 openmamba-linux $1
- # All FreeBSD versions
+--- os_list.txt.orig 2009-03-18 07:30:26.000000000 +0200
++++ os_list.txt 2009-04-09 12:31:24.000000000 +0300
+@@ -255,19 +255,13 @@
FreeBSD $1 freebsd $1 $uname =~ /FreeBSD.*?\s([0-9]+\.[0-9\.]+)/i
--# FreeBSD clones
+ # FreeBSD clones
-DragonFly BSD 1.0 freebsd 4.8 $uname =~ /DragonFly.*?\s1\.0A/i
-DragonFly BSD 1.2 freebsd 4.10 $uname =~ /DragonFly.*?\s1\.2A/i
-+# DragonFly
+DragonFly $1 dragonfly $1 $uname =~ /DragonFly.*?\s([0-9\.]+)/i
# All OpenBSD versions
@@ -20,6 +16,8 @@ $NetBSD: patch-ad,v 1.5 2007/10/05 15:47:00 obache Exp $
-NetBSD 1.6 netbsd 1.6 $uname =~ /NetBSD.*1\.6/i
-NetBSD 2.0 netbsd 2.0 $uname =~ /NetBSD.*2\.0/i
-NetBSD 3.0 netbsd 3.0 $uname =~ /NetBSD.*3\.0/i
+-NetBSD 4.0 netbsd 4.0 $uname =~ /NetBSD.*4\.0/i
+-NetBSD $1 netbsd $1 `uname` =~ /NetBSD/ && `uname -r` =~ /([\d.]+)/
+NetBSD $1 netbsd $1 $uname =~ /NetBSD.*?\s([0-9\.]+)/i
# BSDI (may not be detected properly)
diff --git a/sysutils/webmin/patches/patch-ae b/sysutils/webmin/patches/patch-ae
index 2dcda8b8bf9..e9b74a8c486 100644
--- a/sysutils/webmin/patches/patch-ae
+++ b/sysutils/webmin/patches/patch-ae
@@ -1,13 +1,11 @@
-$NetBSD: patch-ae,v 1.3 2007/09/01 06:35:00 obache Exp $
-
---- man/module.info.orig 2007-08-02 20:49:05.000000000 +0000
-+++ man/module.info
-@@ -15,7 +15,7 @@ desc_pt=Páginas do Manual
- category=system
- desc_zh_TW.UTF-8=手冊é 
+--- man/module.info.orig 2009-03-18 07:30:39.000000000 +0200
++++ man/module.info 2009-04-09 12:33:13.000000000 +0300
+@@ -9,7 +9,7 @@
+ name=Man
desc_tr=Kýlavuz Sayfalar
+ desc_de=Systemdokumentation
-os_support=solaris corel-linux debian-linux open-linux redhat-linux mandrake-linux slackware-linux solaris suse-linux united-linux turbo-linux freebsd openbsd cobalt-linux lfs-linux irix aix hpux macos netbsd msc-linux osf1 generic-linux openserver gentoo-linux trustix-linux sol-linux coherent-linux openmamba-linux
+os_support=solaris corel-linux debian-linux open-linux redhat-linux mandrake-linux slackware-linux solaris suse-linux united-linux turbo-linux freebsd openbsd cobalt-linux lfs-linux irix aix hpux macos netbsd msc-linux osf1 generic-linux openserver gentoo-linux trustix-linux sol-linux coherent-linux openmamba-linux dragonfly
- desc=System Documentation
- desc_es=Páginas del Manual
- desc_sv=Systemdokumentation
+ desc_sk=Systémová dokumentácia
+ desc_zh_CN=ʹÓÃÊÖ²á
+ risk=low medium high
diff --git a/sysutils/webmin/patches/patch-ag b/sysutils/webmin/patches/patch-ag
index a27d8339652..e703752da43 100644
--- a/sysutils/webmin/patches/patch-ag
+++ b/sysutils/webmin/patches/patch-ag
@@ -1,13 +1,11 @@
-$NetBSD: patch-ag,v 1.2 2007/04/21 05:22:58 obache Exp $
-
---- proc/module.info.orig 2007-04-09 05:00:48.000000000 +0000
-+++ proc/module.info
-@@ -13,7 +13,7 @@ desc_pt=Processos em Curso
- category=system
- desc_zh_TW.UTF-8=執行中的程åº
+--- proc/module.info.orig 2009-03-18 07:30:39.000000000 +0200
++++ proc/module.info 2009-04-09 12:34:49.000000000 +0300
+@@ -11,7 +11,7 @@
+ name=Process Manager
desc_tr=Çalýþan Süreçler
+ desc_de=Laufende Prozesse
-os_support=solaris *-linux hpux freebsd osf1 irix unixware openserver macos aix netbsd openbsd windows
+os_support=solaris *-linux hpux freebsd osf1 irix unixware openserver macos aix netbsd openbsd windows dragonfly
- desc=Running Processes
- desc_es=Procesos en curso
- desc_sv=Processhanterare
+ desc_zh_CN=½ø³Ì¹ÜÀíÆ÷
+ risk=medium high
+ desc_ja_JP.UTF-8=実行プロセス
diff --git a/sysutils/webmin/patches/patch-ah b/sysutils/webmin/patches/patch-ah
index bd6dfc5c7cc..5b6b5c99f43 100644
--- a/sysutils/webmin/patches/patch-ah
+++ b/sysutils/webmin/patches/patch-ah
@@ -1,13 +1,11 @@
-$NetBSD: patch-ah,v 1.3 2007/09/01 06:35:00 obache Exp $
-
---- cron/module.info.orig 2007-08-02 20:49:05.000000000 +0000
-+++ cron/module.info
-@@ -15,7 +15,7 @@ desc_zh_CN=Cron ÈÎÎñµ÷¶È
- category=system
- desc_zh_TW.UTF-8=定時執行工作 (Cron)
+--- cron/module.info.orig 2009-03-18 07:30:40.000000000 +0200
++++ cron/module.info 2009-04-09 12:35:58.000000000 +0300
+@@ -10,7 +10,7 @@
+ name=Cron Manager
desc_tr=Zamanlandýrýlmýþ Görevler
+ desc_de=Geplante Auftr&#228;ge (Cron)
-os_support=solaris slackware-linux redhat-linux mandrake-linux debian-linux suse-linux united-linux hpux freebsd osf1 irix unixware openserver macos open-linux turbo-linux openbsd corel-linux cobalt-linux aix netbsd msc-linux generic-linux gentoo-linux trustix-linux sol-linux coherent-linux openmamba-linux windows
+os_support=solaris slackware-linux redhat-linux mandrake-linux debian-linux suse-linux united-linux hpux freebsd osf1 irix unixware openserver macos open-linux turbo-linux openbsd corel-linux cobalt-linux aix netbsd msc-linux generic-linux gentoo-linux trustix-linux sol-linux coherent-linux openmamba-linux windows dragonfly
- desc=Scheduled Cron Jobs
- desc_es=Tareas Planificadas (Cron)
- desc_sv=Schemalagda cronjobb
+ desc_sk=Cron Plánovaè úloh
+ desc_zh_CN=Cron ÈÎÎñµ÷¶È
+ risk=low medium high
diff --git a/sysutils/webmin/patches/patch-ai b/sysutils/webmin/patches/patch-ai
index 1afb7891e92..2c1d0a4d45b 100644
--- a/sysutils/webmin/patches/patch-ai
+++ b/sysutils/webmin/patches/patch-ai
@@ -1,13 +1,11 @@
-$NetBSD: patch-ai,v 1.3 2007/09/01 06:35:00 obache Exp $
-
---- init/module.info.orig 2007-08-02 20:49:05.000000000 +0000
-+++ init/module.info
-@@ -14,7 +14,7 @@ desc_pt=Iniciar e Encerrar
- category=system
- desc_zh_TW.UTF-8=開機與關機
+--- init/module.info.orig 2009-03-18 07:30:40.000000000 +0200
++++ init/module.info 2009-04-09 12:37:02.000000000 +0300
+@@ -22,7 +22,7 @@
+ desc_ru_SU=úÁÇÒÕÚËÁ É ÚÁ×ÅÒÛÅÎÉÅ ÒÁÂÏÔÙ ÓÉÓÔÅÍÙ
desc_tr=Açýlýþ ve Kapanýþ
+ desc_de=System-Start und -Stop
-os_support=solaris coherent-linux redhat-linux mandrake-linux debian-linux suse-linux united-linux hpux slackware-linux freebsd unixware openserver open-linux turbo-linux openbsd corel-linux cobalt-linux cobalt-linux osf1 irix aix macos netbsd msc-linux generic-linux trustix-linux gentoo-linux openmamba-linux windows
+os_support=solaris coherent-linux redhat-linux mandrake-linux debian-linux suse-linux united-linux hpux slackware-linux freebsd unixware openserver open-linux turbo-linux openbsd corel-linux cobalt-linux cobalt-linux osf1 irix aix macos netbsd msc-linux generic-linux trustix-linux gentoo-linux openmamba-linux windows dragonfly
- desc=Bootup and Shutdown
- desc_es=Arranque y Parada
- desc_sv=Start och avstängning
+ desc_sk=©tart a vypnutie
+ desc_ko_KR.euc=ºÎÆà ¹× Á¾·á
+ desc_zh_CN=Òýµ¼ºÍ¹Ø»ú
diff --git a/sysutils/webmin/patches/patch-aj b/sysutils/webmin/patches/patch-aj
deleted file mode 100644
index 37c7e4723ab..00000000000
--- a/sysutils/webmin/patches/patch-aj
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2008/07/25 02:55:27 tonnerre Exp $
-
---- proc/index_search.cgi.orig 2008-07-25 04:39:36.000000000 +0200
-+++ proc/index_search.cgi
-@@ -22,12 +22,12 @@ printf "<input type=radio name=mode valu
- $in{mode}==1 ? "checked" : "";
- print &hlink("<b>$text{'search_match'}</b>","smatch"),"\n";
- printf "<input name=match size=20 value=\"%s\"><br>\n",
-- $in{mode}==1 ? $in{match} : "";
-+ $in{mode}==1 ? &html_escape($in{match}) : "";
-
- printf "<input type=radio name=mode value=2 %s>\n",
- $in{mode}==2 ? "checked" : "";
- $cpu = sprintf "<input name=cpu size=4 value=\"%s\">\n",
-- $in{mode}==2 ? $in{cpu} : "";
-+ $in{mode}==2 ? html_escape($in{cpu}) : "";
- print &hlink("<b>".&text('search_cpupc', $cpu)."</b>", "scpu"),"<br>\n";
-
- print "</td><td valign=top>\n";
-@@ -49,7 +49,7 @@ if ($has_fuser_command) {
- }
- else {
- printf "<input name=fs size=15 value='%s'><br>\n",
-- $in{'mode'}==3 ? $in{'fs'} : "";
-+ $in{'mode'}==3 ? &html_escape($in{'fs'}) : "";
- }
-
- printf "<input type=radio name=mode value=4 %s>\n",
-@@ -66,7 +66,7 @@ if ($has_lsof_command) {
- $in{mode}==5 ? "checked" : "";
- print &hlink("<b>$text{'search_port'}</b>","ssocket"),"\n";
- printf "<input name=port size=6 value='%s'>\n",
-- $in{mode}==5 ? $in{port} : "";
-+ $in{mode}==5 ? &html_escape($in{port}) : "";
-
- # Show input for protocol and port
- print &hlink("<b>$text{'search_protocol'}</b>","ssocket"),"\n";
-@@ -83,7 +83,7 @@ if ($has_lsof_command) {
- $in{mode}==6 ? "checked" : "";
- print &hlink("<b>$text{'search_ip'}</b>","sip"),"\n";
- printf "<input name=ip size=15 value='%s'>\n",
-- $in{mode}==6 ? $in{ip} : "";
-+ $in{mode}==6 ? &html_escape($in{ip}) : "";
- }
-
- print "</td></tr></table>\n";
diff --git a/sysutils/webmin/patches/patch-at b/sysutils/webmin/patches/patch-at
deleted file mode 100644
index ca40f8189cd..00000000000
--- a/sysutils/webmin/patches/patch-at
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-at,v 1.1 2008/07/25 02:55:27 tonnerre Exp $
-
---- cluster-software/software/search.cgi.orig 2007-09-21 23:27:39.000000000 +0200
-+++ cluster-software/software/search.cgi
-@@ -34,9 +34,11 @@ if (@match == 1 && $in{'goto'}) {
- if (@match) {
- @match = sort { lc($packages{$a,'name'}) cmp lc($packages{$b,'name'}) }
- @match;
-- print "<b>",&text('search_match', "<tt>$s</tt>"),"</b><p>\n";
-+ print "<b>",&text('search_match', "<tt>" . &html_escape($s) . "</tt>"),
-+ "</b><p>\n";
- print "<form action=delete_packs.cgi method=post>\n";
-- print "<input type=hidden name=search value='$in{'search'}'>\n";
-+ print "<input type=hidden name=search value='" .
-+ &html_escape($in{'search'}) . "'>\n";
- print &select_all_link("del", 0, $text{'search_selall'}),"&nbsp;\n";
- print &select_invert_link("del", 0, $text{'search_invert'}),"<br>\n";
- print &ui_columns_start([ "",
-@@ -45,7 +47,8 @@ if (@match) {
- $text{'search_desc'} ], 100);
- foreach $i (@match) {
- local @cols;
-- push(@cols, "<a href=\"edit_pack.cgi?search=$s&package=".
-+ push(@cols, "<a href=\"edit_pack.cgi?search=" .
-+ &urlize($s) . "&package=".
- &urlize($packages{$i,'name'})."&version=".
- &urlize($packages{$i,'version'})."\">".&html_escape(
- $packages{$i,'name'}.($packages{$i,'version'} ?
-@@ -63,7 +66,8 @@ if (@match) {
- print "<input type=submit value='$text{'search_delete'}'></form>\n";
- }
- else {
-- print "<b>",&text('search_nomatch', "<tt>$s</tt>"),"</b><p>\n";
-+ print "<b>",&text('search_nomatch', "<tt>" . &html_escape($s) .
-+ "</tt>"),"</b><p>\n";
- }
-
- &ui_print_footer("", $text{'index_return'});
diff --git a/sysutils/webmin/patches/patch-ay b/sysutils/webmin/patches/patch-ay
index c97178ab744..1a3911e67e0 100644
--- a/sysutils/webmin/patches/patch-ay
+++ b/sysutils/webmin/patches/patch-ay
@@ -1,8 +1,6 @@
-$NetBSD: patch-ay,v 1.1 2008/07/25 02:55:28 tonnerre Exp $
-
---- mailboxes/mail_search.cgi.orig 2007-09-21 23:28:31.000000000 +0200
-+++ mailboxes/mail_search.cgi
-@@ -46,7 +46,8 @@ if ($in{'simple'}) {
+--- mailboxes/mail_search.cgi.orig 2009-03-18 07:30:35.000000000 +0200
++++ mailboxes/mail_search.cgi 2009-04-09 12:43:30.000000000 +0300
+@@ -46,7 +46,8 @@
@searchlist = ( [ $field, $what ] );
@rv = &mailbox_search_mail(\@searchlist, 0, $folder);
print "<p><b>",&text('search_results5', scalar(@rv),
@@ -12,7 +10,7 @@ $NetBSD: patch-ay,v 1.1 2008/07/25 02:55:28 tonnerre Exp $
}
else {
# Just search by Subject and From in one folder
-@@ -73,7 +74,8 @@ if ($in{'simple'}) {
+@@ -73,7 +74,8 @@
&error($text{'search_eboolean'});
}
print "<p><b>",&text('search_results2', scalar(@rv),
@@ -22,20 +20,18 @@ $NetBSD: patch-ay,v 1.1 2008/07/25 02:55:28 tonnerre Exp $
}
foreach $mail (@rv) {
$mail->{'folder'} = $folder;
-@@ -106,8 +108,10 @@ else {
- $showto = $folder->{'sent'} || $folder->{'drafts'};
+@@ -106,8 +108,8 @@
+ # Show list of messages, with form
if (@rv) {
- print "<form action=delete_mail.cgi method=post>\n";
-- print "<input type=hidden name=folder value='$in{'folder'}'>\n";
-- print "<input type=hidden name=user value='$in{'user'}'>\n";
-+ print "<input type=hidden name=folder value='" .
-+ &html_escape($in{'folder'}) . "'>\n";
-+ print "<input type=hidden name=user value='" .
-+ &html_escape($in{'user'}) . "'>\n";
- if ($config{'top_buttons'}) {
- if (!$multi_folder) {
- &show_buttons(1, \@folders, $folder, \@rv, $in{'user'},
-@@ -200,8 +204,9 @@ else {
+ print &ui_form_start("delete_mail.cgi", "post");
+- print &ui_hidden("user", $in{'user'});
+- print &ui_hidden("folder", $in{'folder'});
++ print &ui_hidden("user", &html_escape($in{'user'}));
++ print &ui_hidden("folder", &html_escape($in{'folder'}));
+ if ($config{'top_buttons'} && !$multi_folder) {
+ &show_buttons(1, \@folders, $folder, \@rv, $in{'user'}, 1);
+ }
+@@ -121,8 +123,9 @@
print "<b>$text{'search_none'}</b> <p>\n";
}
diff --git a/sysutils/webmin/patches/patch-az b/sysutils/webmin/patches/patch-az
index e5a6d39e11d..6ac30caaf8c 100644
--- a/sysutils/webmin/patches/patch-az
+++ b/sysutils/webmin/patches/patch-az
@@ -1,28 +1,22 @@
-$NetBSD: patch-az,v 1.1 2008/07/25 02:55:28 tonnerre Exp $
-
---- mailboxes/search_form.cgi.orig 2007-09-21 23:28:31.000000000 +0200
-+++ mailboxes/search_form.cgi
-@@ -12,8 +12,10 @@ require './mailboxes-lib.pl';
- &folder_link($in{'user'}, $folder));
+--- mailboxes/search_form.cgi.orig 2009-03-18 07:30:35.000000000 +0200
++++ mailboxes/search_form.cgi 2009-04-09 12:47:29.000000000 +0300
+@@ -13,8 +13,8 @@
- print "<form action=mail_search.cgi>\n";
--print "<input type=hidden name=user value='$in{'user'}'>\n";
--print "<input type=hidden name=ofolder value='$in{'folder'}'>\n";
-+print "<input type=hidden name=user value='" . &html_escape($in{'user'}) .
-+ "'>\n";
-+print "<input type=hidden name=ofolder value='" . &html_escape($in{'folder'}) .
-+ "'>\n";
- print "<input type=radio name=and value=1 checked> $text{'sform_and'}\n";
- print "<input type=radio name=and value=0> $text{'sform_or'}<p>\n";
+ # Start of form
+ print &ui_form_start("mail_search.cgi");
+-print &ui_hidden("user", $in{'user'});
+-print &ui_hidden("ofolder", $in{'folder'});
++print &ui_hidden("user", &html_escape($in{'user'}));
++print &ui_hidden("ofolder", &html_escape($in{'folder'}));
+ print &ui_table_start($text{'sform_header'}, "width=100%", 2);
-@@ -48,7 +50,7 @@ print " $text{'sform_folder'} ",&folder_
- $extra);
- print "</form>\n";
+ # And/or mode
+@@ -54,7 +54,7 @@
+ print &ui_table_end();
+ print &ui_form_end([ [ undef, $text{'sform_ok'} ] ]);
-&ui_print_footer("list_mail.cgi?folder=$in{'folder'}&user=".
-- &urlize($in{'user'}), $text{'mail_return'},
-- "", $text{'index_return'});
+&ui_print_footer("list_mail.cgi?folder=" . &urlize($in{'folder'}) . "&user=".
-+ &urlize($in{'user'}), $text{'mail_return'}, "",
-+ $text{'index_return'});
+ &urlize($in{'user'}), $text{'mail_return'},
+ "", $text{'index_return'});
diff --git a/sysutils/webmin/version.mk b/sysutils/webmin/version.mk
index 2e54d80180d..0621d7df26f 100644
--- a/sysutils/webmin/version.mk
+++ b/sysutils/webmin/version.mk
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.4 2007/10/05 15:47:00 obache Exp $
+# $NetBSD: version.mk,v 1.5 2009/04/09 10:15:01 kefren Exp $
-WBM_VERSION= 1.370
+WBM_VERSION= 1.470