diff options
| -rw-r--r-- | meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch | 16 | ||||
| -rw-r--r-- | meta-webserver/recipes-webadmin/webmin/files/net-generic.patch | 9 | ||||
| -rw-r--r-- | meta-webserver/recipes-webadmin/webmin/webmin_2.303.bb (renamed from meta-webserver/recipes-webadmin/webmin/webmin_2.300.bb) | 2 |
3 files changed, 20 insertions, 7 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch index 46b1f7c7b8..3315aa579b 100644 --- a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch +++ b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.patch | |||
| @@ -9,7 +9,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
| 9 | 9 | ||
| 10 | --- a/webmin/webmin-lib.pl | 10 | --- a/webmin/webmin-lib.pl |
| 11 | +++ b/webmin/webmin-lib.pl | 11 | +++ b/webmin/webmin-lib.pl |
| 12 | @@ -1170,38 +1170,6 @@ my %miniserv; | 12 | @@ -1234,52 +1234,6 @@ my %miniserv; |
| 13 | &get_miniserv_config(\%miniserv); | 13 | &get_miniserv_config(\%miniserv); |
| 14 | &load_theme_library(); # So that UI functions work | 14 | &load_theme_library(); # So that UI functions work |
| 15 | 15 | ||
| @@ -27,6 +27,20 @@ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
| 27 | - else { | 27 | - else { |
| 28 | - &read_file($realos_cache_file, \%realos); | 28 | - &read_file($realos_cache_file, \%realos); |
| 29 | - } | 29 | - } |
| 30 | - my $new_real = $realos{'real_os_version'}; | ||
| 31 | - my $old_real = $gconfig{'real_os_version'}; | ||
| 32 | - $new_real =~ s/\.\d+$//; | ||
| 33 | - $old_real =~ s/\.\d+$//; | ||
| 34 | - if ($realos{'real_os_type'} eq $gconfig{'real_os_type'} && | ||
| 35 | - $new_real eq $old_real && | ||
| 36 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'}) { | ||
| 37 | - # Only the minor OS version has changed, just silently update it | ||
| 38 | - &lock_file("$config_directory/config"); | ||
| 39 | - $gconfig{'real_os_version'} = $realos{'real_os_version'}; | ||
| 40 | - $gconfig{'os_version'} = $realos{'os_version'}; | ||
| 41 | - &write_file("$config_directory/config", \%gconfig); | ||
| 42 | - &unlock_file("$config_directory/config"); | ||
| 43 | - } | ||
| 30 | - if (($realos{'os_version'} ne $gconfig{'os_version'} || | 44 | - if (($realos{'os_version'} ne $gconfig{'os_version'} || |
| 31 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'} || | 45 | - $realos{'real_os_version'} ne $gconfig{'real_os_version'} || |
| 32 | - $realos{'os_type'} ne $gconfig{'os_type'}) && | 46 | - $realos{'os_type'} ne $gconfig{'os_type'}) && |
diff --git a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch index 65e1d77629..cd9a522bb6 100644 --- a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch +++ b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch | |||
| @@ -5,15 +5,14 @@ Upstream-Status: Inappropriate [config] | |||
| 5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 6 | --- a/net/module.info | 6 | --- a/net/module.info |
| 7 | +++ b/net/module.info | 7 | +++ b/net/module.info |
| 8 | @@ -1,7 +1,7 @@ | 8 | @@ -1,6 +1,6 @@ |
| 9 | version=2.300 | ||
| 10 | longdesc=Configure boot time and active interfaces, DNS, routing and /etc/hosts. | ||
| 11 | name=Networking | 9 | name=Networking |
| 10 | category=net | ||
| 12 | -os_support=solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux | 11 | -os_support=solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux |
| 13 | +os_support=generic-linux solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux | 12 | +os_support=generic-linux solaris coherent-linux redhat-linux/5.0-* mandrake-linux united-linux suse-linux/6.0-* open-linux unixware turbo-linux/4.0 freebsd/3.2-* openbsd debian-linux/2.2-* cobalt-linux/2.2-* msc-linux gentoo-linux macos/1.5-* trustix-linux slackware-linux/8.0-* openmamba-linux cygwin windows pardus-linux |
| 14 | readonly=1 | ||
| 15 | desc=Network Configuration | 13 | desc=Network Configuration |
| 16 | category=net | 14 | longdesc=Configure boot time and active interfaces, DNS, routing and /etc/hosts. |
| 15 | readonly=1 | ||
| 17 | --- /dev/null | 16 | --- /dev/null |
| 18 | +++ b/net/generic-linux-lib.pl | 17 | +++ b/net/generic-linux-lib.pl |
| 19 | @@ -0,0 +1,2 @@ | 18 | @@ -0,0 +1,2 @@ |
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_2.300.bb b/meta-webserver/recipes-webadmin/webmin/webmin_2.303.bb index 1e46384465..f65898bf93 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_2.300.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_2.303.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ | |||
| 19 | file://mysql-config-fix.patch \ | 19 | file://mysql-config-fix.patch \ |
| 20 | file://webmin.service \ | 20 | file://webmin.service \ |
| 21 | " | 21 | " |
| 22 | SRC_URI[sha256sum] = "1405dfd1f452c502169e07f00fb856fe31af122e484df03e1ac549a7eeec3001" | 22 | SRC_URI[sha256sum] = "1317935427aa893159b2dae52a2860adbd9ba5482522115abd2422a4bb27c983" |
| 23 | UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" | 23 | UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" |
| 24 | UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz" | 24 | UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz" |
| 25 | 25 | ||
