Commit Graph

19 Commits

Author SHA1 Message Date
Armin Kuster
3ab88a7f43 webmin: refresh patches
WARNING: webmin-1.850-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch nfs-export.patch
patching file exports/save_export.cgi
Hunk #1 succeeded at 50 (offset 10 lines).
Hunk #2 succeeded at 87 with fuzz 2 (offset 17 lines).

Now at patch nfs-export.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:42 -07:00
Derek Straka
80eb096768 webmin: add a valid upstream check uri and regex
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-16 19:27:54 -07:00
Chen Qi
1f9601bd03 webmin: add systemd service file
Add systemd service file for webmin.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:04 +02:00
Derek Straka
9416eab16c webmin: update to version 1.850
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:21:02 +02:00
Chen Qi
b23da47bb8 webmin: ensure correct PERLLIB path
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-05 18:21:12 +02:00
Derek Straka
181f5f81a3 webmin: upgrade to version 1.801
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-05 12:16:38 +02:00
Diego Rondini
d80a1a9a9a webmin: adjust mysql module default config
Default config of the mysql Webmin module uses paths of a manually installed
MySQL. This commit adjusts paths to the ones used by MariaDB in OE.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:50 +01:00
Qi.Chen@windriver.com
14ea1edc5d webmin: remove perl-module-sdbm from RDEPENDS
Remove 'perl-module-sdbm' from RDEPENDS as perl don't build out this module.
This also fixes the following warning.

  WARNING: QA Issue: webmin rdepends on perl-module-sdbm, but it isn't a build dependency? [build-deps]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Anders Darander
55fb2d1b25 webmin: fix QA host-user-contaminated
Due to the way most files were installed, using cp ..., during packaging we got spammed
with messages like:

WARNING: QA Issue: webmin: /webmin-module-fail2ban/usr/lib/webmin/webmin/fail2ban/lang/no is owned by gid 100, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: webmin: /webmin-module-system-status/usr/lib/webmin/webmin/system-status/lang/no is owned by gid 100, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Do the install in a similar way as is done in bin_package.bbclass.
By doing that, we're not getting any QA-errors from host-user-contaminated.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:23 +02:00
Roy Li
b3e16dfaf9 webmin: upgrade to 1.750
1. Upgrade to fix the CVE:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1377
2. update the patch remove-startup-option.patch

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-08 14:15:23 +02:00
Chong.Lu@windriver.com
2f99ea7223 webmin: remove init script for gentoo
The configure.initd.gentoo script is used for gentoo, it is invalid for oe. So
remove it to solve the following warning:

webmin-1.700: webmin-module-ajaxterm requires /sbin/runscript, but no providers
in its RDEPENDS [file-rdeps]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-10-31 11:35:26 +00:00
Robert Yang
61b5d70f8f webmin: fix hardcode of python2.3
Use "/usr/bin/env python" to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Jackie Huang
bb4fedff5f 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>
2014-08-23 13:18:06 +02:00
Martin Jansa
7514ff3c93 webmin: explicitly list some packages, drop perl-module-timelocal rdep
* perl-module-time-local is already in RDEPENDS (I guess it's the
  same thing as perl-module-timelocal without the last dash)
* list some packages explicitly so that bitbake finds their
  RDEPENDS correctly
* fixes following warnings:
  webmin-1.620: webmin-module-raid rdepends on mdadm, but it isn't a build dependency? [build-deps]
  webmin-1.620: webmin-module-proc rdepends on procps, but it isn't a build dependency? [build-deps]
  webmin-1.620: webmin rdepends on perl-module-timelocal, but it isn't a build dependency? [build-deps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 11:00:41 +02:00
Roy Li
c1c5442ee4 webmin: make reconfigure webmin be able to work
when move a file, test if this file exist or not

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:31:50 +02:00
Anders Darander
44344c266c webmin: drop allarch
* runtime dependencies are TUNE_PKGARCH causing do_package_write_*
  task to have different signature for MACHINEs with different
  TUNE_PKGARCH

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-21 23:49:09 +02:00
Anders Darander
8a9d356a92 webmin: split out webmin themes
The default set of themes taks up ~13MB, with a couple of them weighting in
at ~5MB each.

Let's split the themes to separate packages, to allow a considerable size
reduction of the core webmin package (from +15MB to 2.1MB on my build host).

Signed-off-by: Anders Darander <anders@chargestorm.se>
2014-06-18 17:55:55 +01:00
Anders Darander
b67780140e webmin: allow override of webmin login and password
Don't hardcode the webmin login and password in the install script.
Instead, extract them to variables, to allow us to override them in
a bbappend.

Signed-off-by: Anders Darander <anders@chargestorm.se>
2014-06-18 17:55:55 +01:00
Paul Eggleton
246bedc1c6 webmin: add from meta-baryon
No changes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-07-31 17:41:21 +01:00