mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
webmin: uprev from 1.620 to 1.700
Changed: - Adjust or remake the following patches based on 1.700: init-exclude.patch exports-lib.pl.patch Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
2d6b021fce
commit
bb4fedff5f
@@ -24,7 +24,7 @@ index 22891c0..1c67494 100755
|
|||||||
# Try exportfs -r first
|
# Try exportfs -r first
|
||||||
-if ($config{'apply_cmd'} && &find_byname("nfsd") && &find_byname("mountd")) {
|
-if ($config{'apply_cmd'} && &find_byname("nfsd") && &find_byname("mountd")) {
|
||||||
+if ($config{'apply_cmd'} && &find_byname("mountd")) {
|
+if ($config{'apply_cmd'} && &find_byname("mountd")) {
|
||||||
local $out = &backquote_logged("$config{'apply_cmd'} 2>&1 </dev/null");
|
my $out = &backquote_logged("$config{'apply_cmd'} 2>&1 </dev/null");
|
||||||
if (!$? && $out !~ /invalid|error|failed/i) {
|
if (!$? && $out !~ /invalid|error|failed/i) {
|
||||||
# Looks like it worked!
|
# Looks like it worked!
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -5,9 +5,17 @@
|
|||||||
# Upstream-status: Pending
|
# Upstream-status: Pending
|
||||||
#
|
#
|
||||||
# Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
# Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||||
--- webmin-1.570.orig/init/index.cgi
|
# Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||||
+++ webmin-1.570/init/index.cgi
|
---
|
||||||
@@ -48,19 +48,20 @@ elsif ($init_mode eq "init" && $access{'
|
init/index.cgi | 27 ++++++++++++++-------------
|
||||||
|
init/init-lib.pl | 5 +++--
|
||||||
|
2 files changed, 17 insertions(+), 15 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/init/index.cgi b/init/index.cgi
|
||||||
|
index d48b793..30dafd4 100755
|
||||||
|
--- a/init/index.cgi
|
||||||
|
+++ b/init/index.cgi
|
||||||
|
@@ -45,19 +45,20 @@ elsif ($init_mode eq "init" && $access{'bootup'}) {
|
||||||
: "$config{'init_dir'}/$ac[0]");
|
: "$config{'init_dir'}/$ac[0]");
|
||||||
}
|
}
|
||||||
@runlevels = &list_runlevels();
|
@runlevels = &list_runlevels();
|
||||||
@@ -41,11 +49,11 @@
|
|||||||
|
|
||||||
# For each action, look at /etc/rc*.d/* files to see if it is
|
# For each action, look at /etc/rc*.d/* files to see if it is
|
||||||
# started at boot
|
# started at boot
|
||||||
Index: webmin-1.570/init/init-lib.pl
|
diff --git a/init/init-lib.pl b/init/init-lib.pl
|
||||||
===================================================================
|
index ead21ed..b41794b 100755
|
||||||
--- webmin-1.570.orig/init/init-lib.pl
|
--- a/init/init-lib.pl
|
||||||
+++ webmin-1.570/init/init-lib.pl
|
+++ b/init/init-lib.pl
|
||||||
@@ -108,15 +108,17 @@ List boot time action names from init.d,
|
@@ -119,8 +119,9 @@ List boot time action names from init.d, such as httpd and cron.
|
||||||
=cut
|
=cut
|
||||||
sub list_actions
|
sub list_actions
|
||||||
{
|
{
|
||||||
@@ -56,12 +64,15 @@ Index: webmin-1.570/init/init-lib.pl
|
|||||||
opendir(DIR, $dir);
|
opendir(DIR, $dir);
|
||||||
foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) {
|
foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) {
|
||||||
if ($f eq "." || $f eq ".." || $f =~ /\.bak$/ || $f eq "functions" ||
|
if ($f eq "." || $f eq ".." || $f =~ /\.bak$/ || $f eq "functions" ||
|
||||||
$f eq "core" || $f eq "README" || $f eq "rc" || $f eq "rcS" ||
|
@@ -128,7 +129,7 @@ foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) {
|
||||||
-d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" ||
|
-d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" ||
|
||||||
$f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ ||
|
$f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ ||
|
||||||
- $f =~ /^\.depend\./ || $f eq '.legacy-bootordering') { next; }
|
$f =~ /^\.depend\./ || $f eq '.legacy-bootordering' ||
|
||||||
+ $f =~ /^\.depend\./ || $f eq '.legacy-bootordering' ||
|
- $f =~ /^mandrake/) { next; }
|
||||||
+ grep {$_ eq $f} @exclude ) { next; }
|
+ $f =~ /^mandrake/ || grep {$_ eq $f} @exclude ) { next; }
|
||||||
if (@stbuf = stat("$dir/$f")) {
|
if (@stbuf = stat("$dir/$f")) {
|
||||||
push(@rv, "$f $stbuf[1]");
|
push(@rv, "$f $stbuf[1]");
|
||||||
}
|
}
|
||||||
|
--
|
||||||
|
2.0.0
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -17,8 +17,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \
|
|||||||
file://net-lib.pl.patch \
|
file://net-lib.pl.patch \
|
||||||
file://media-tomb.patch"
|
file://media-tomb.patch"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "e93bc5057a5b7d7e31ecb2bb228d7044"
|
SRC_URI[md5sum] = "e5261114a6a6ed10caf570d3239ed5b7"
|
||||||
SRC_URI[sha256sum] = "3d36153406d8e5d3dcaeadba34dfb5cdbc4060b75c38339174ac97b2277f284b"
|
SRC_URI[sha256sum] = "1a6a8aa62c32c04932b902d17fc1864ee8f3fba03012bd25f709aa65e7e9b0f2"
|
||||||
|
|
||||||
inherit perlnative update-rc.d
|
inherit perlnative update-rc.d
|
||||||
|
|
||||||
Reference in New Issue
Block a user