Commit Graph

47 Commits

Author SHA1 Message Date
Martin Jansa
4bf3c443a5 PNBLACKLIST: use weak assignments
* this makes it easier to unblacklist it from local.conf which
  is parsed before the recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-12-26 18:04:33 -08:00
Roy Li
9167cec3d6 phpmyadmin: fix for Security Advisory CVE-2014-5274
Cross-site scripting (XSS) vulnerability in the view operations page in
phpMyAdmin 4.1.x before 4.1.14.3 and 4.2.x before 4.2.7.1 allows remote
authenticated users to inject arbitrary web script or HTML via a crafted
view name, related to js/functions.js.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5274

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-12-01 14:24:50 +01:00
Roy Li
59b1d88761 phpmyadmin: fix for Security Advisory CVE-2014-5273
Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x
before 4.0.10.2, 4.1.x before 4.1.14.3, and 4.2.x before 4.2.7.1 allow
remote authenticated users to inject arbitrary web script or HTML via the
(1) browse table page, related to js/sql.js; (2) ENUM editor page, related
to js/functions.js; (3) monitor page, related to js/server_status_monitor.js;
(4) query charts page, related to js/tbl_chart.js; or (5) table relations
page, related to libraries/tbl_relation.lib.php.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5273

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2014-12-01 14:24:50 +01:00
Yue Tao
8d50adfe53 modphp: Security Advisory - php - CVE-2014-3597
Multiple buffer overflows in the php_parserr function in
ext/standard/dns.c in PHP before 5.4.32 and 5.5.x before 5.5.16 allow
remote DNS servers to cause a denial of service (application crash) or
possibly execute arbitrary code via a crafted DNS record, related to the
dns_get_record function and the dn_expand function. NOTE: this issue
exists because of an incomplete fix for CVE-2014-4049.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3597

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 09:00:07 +01:00
Yue Tao
700078d664 modphp: Security Advisory - php - CVE-2014-3587
Integer overflow in the cdf_read_property_info function in cdf.c in file
through 5.19, as used in the Fileinfo component in PHP before 5.4.32 and
5.5.x before 5.5.16, allows remote attackers to cause a denial of
service (application crash) via a crafted CDF file. NOTE: this
vulnerability exists because of an incomplete fix for CVE-2012-1571.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3587

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 09:00:07 +01:00
Yue Tao
81aecee0ed modphp: Security Advisory - php - CVE-2014-5120
gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before
5.5.16 does not ensure that pathnames lack %00 sequences, which might
allow remote attackers to overwrite arbitrary files via crafted input to
an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif,
(4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5120

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-30 09:00:07 +01:00
Martin Jansa
0558ea06b1 modphp, xdebug: blacklist because of conflict with php
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-27 12:50:09 +01:00
Roy.Li
d1951db22a modphp: using PKGCONFIG and PACKAGECONFIG for libxml and soap
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-14 11:48:58 +02:00
Robert Yang
054cef3654 phpmyadmin: add bash to RDEPENDS_phpmyadmin
Bashism:
possible bashism in plugins/transformations/generator_plugin.sh line 16 (echo -e):
  echo -e "Usage: ./generator_plugin.sh MIMEType MIMESubtype TransformationName [Description]\n"
possible bashism in plugins/transformations/generator_plugin.sh line 28 (${parm,[,][pat]} or ${parm^[^][pat]}):
MT="${MT^}"
possible bashism in plugins/transformations/generator_plugin.sh line 29 (${parm,[,][pat]} or ${parm^[^][pat]}):
MS="${MS^}"
possible bashism in plugins/transformations/generator_plugin.sh line 30 (${parm,[,][pat]} or ${parm^[^][pat]}):
TN="${TN^}"
possible bashism in plugins/transformations/generator_plugin.sh line 51 (should be 'b = a'):
    if [ "$4" == "--generate_only_main_class" ]; then

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Paul Eggleton
eb45d8b6c7 phpmyadmin: update to 4.2.7
Note that this now requires MariaDB/MySQL 5.5+.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-08-10 17:15:22 +01:00
Paul Eggleton
e559dd7da3 modphp: update to 5.5.15
LIC_FILES_CHKSUM changed since the copyright year changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-08-10 17:15:22 +01:00
Paul Eggleton
6e9591cc23 xdebug: update to 2.2.5
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-13 12:03:39 +01:00
Paul Eggleton
0065398fa5 phpmyadmin: update to 4.2.0
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-13 12:03:39 +01:00
Paul Eggleton
31e7fb3e15 modphp: update to 5.5.12
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-05-13 12:03:39 +01:00
Paul Eggleton
99dafe2330 xdebug: fix for S != B
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:03 +02:00
Paul Eggleton
09ec4b8eaf modphp: fix for S != B
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:03 +02:00
Joe Slater
a60bf8c73a modphp: add phpize to scan for absolute paths
sstate processing for items in sysroot scans certain
file name patterns for absolute paths to be adjusted
when items are installed into sysroot from sstate.
phpize is not one of these patterns (surprise!) so we
add it to the list.

Signed-off-by: Joe Slater <jslater@windriver.com>
2014-04-06 13:29:32 +01:00
Paul Eggleton
3c5bd3a077 phpmyadmin: update to 4.1.9
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-17 10:46:59 +00:00
Paul Eggleton
c4300f55a9 modphp: update to 5.5.10
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-17 10:46:59 +00:00
Paul Eggleton
54b9d0199e phpmyadmin: update to 4.1.8
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-06 12:12:15 +00:00
Paul Eggleton
c41b7e0608 modphp: upgrade to 5.5.9
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-06 12:12:14 +00:00
Chong Lu
a03936118f modphp: enable endian check
Previously, modphp estimates endian on host rather than checks it on
target. If the host is little-endian and the target is big-endian,
modphp claims that endian is little. As a result, a memory location
that it is not allowed to access when calling libphp5.so module on
target. It will occur segmentation fault.
This patch enables endian check support for modphp.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-12 12:04:53 +00:00
Martin Jansa
4d62e7f575 recipes: Remove PR = r0 from all recipes
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done
  with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i

* We've switching to the PR server, PR bumps are no longer needed and
  this saves people either accidentally bumping them or forgetting to
  remove the lines (r0 is the default anyway).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:33:16 +01:00
Joe Slater
29390a3a81 xdebug: update to version 2.2.3
Version 2.2.1 will not build with modphp 5.5.

Signed-off-by: Joe Slater <jslater@windriver.com>
2013-10-14 14:31:41 +01:00
Paul Eggleton
336123c49e phpmyadmin: update to 4.0.5
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-27 16:39:31 +01:00
Paul Eggleton
128283fee4 modphp: update to 5.5.2
* LIC_FILES_CHKSUM needed to change because the copyright year changed
* Enabled mcrypt since upstream recommend this for acceptable
  performance (and we now have a libmcrypt recipe in meta-oe)
* Disabled the opcache; this is a new feature in 5.5 and the configure
  check for it currently breaks when cross-compiling.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-27 16:39:31 +01:00
Paul Eggleton
fcc900a459 phpmyadmin: remove dependency on bash
Remove some mostly superfluous scripts for adding additional mimetype
support that add an explicit dependency on bash.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14 23:47:37 +01:00
Paul Eggleton
3ae196f269 phpmyadmin: update to 3.5.8.1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14 23:47:37 +01:00
Paul Eggleton
e1e316edee modphp: fix re-exec of do_install
Copying files and then modifying them is preferred rather than the other
way around because then the modification can never be run twice if the
function is re-executed on an existing work directory.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14 23:47:37 +01:00
Paul Eggleton
25ddcf5d9e modphp: fix text relocation QA warning
Fixes the following warning:

WARNING: QA Issue: ELF binary '${WORKDIR}/packages-split/modphp/usr/lib/apache2/modules/libphp5.so' has relocations in .text

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14 23:47:37 +01:00
Paul Eggleton
3f5eb8849c modphp: update to 5.4.15
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-14 23:47:37 +01:00
Marcin Juszkiewicz
e0851379ef modphp: update to 5.4.14
Only build tested.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2013-04-29 10:24:29 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Jackie Huang
29fa7f9ea7 modphp: enable mysql option in PACKAGECONFIG
* enable mysql option in PACKAGECONFIG
* add patch to support autoconf 2.59+ so we can use
  autotools do_configure to fix a libtool cross-compile issue

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-04-15 10:56:19 +01:00
Jackie Huang
12b72e1eaf modphp: revert pthread-check.patch and add one against threads.m4
revert pthread-check.patch which hacks the old configure,
instead, add one against threads.m4 to enable pthread support
when cross-compiling.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-04-15 10:56:19 +01:00
Jackie Huang
8bfd395b06 modphp: use libdir instead of baselib to load module
When we change the apache2 files layout to debian style,
the ServerRoot in httpd.conf was changed to "/" from "/usr",
then the relative path to libphp5 module in 70_mod_php5.conf
will be invalid so it fails to load the module, use libdir
(absolute path) instead so it will always find the module.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-04-03 18:07:50 +01:00
Jackie Huang
9b29616d08 phpmyadmin: fix PN->BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18 15:13:52 -04:00
Jackie Huang
6c9ac38e8b modphp5: use ${baselib} instead of hardcoded "lib"
The hardcoded lib path will cause apache2 fail to start on
the target with other baselib like lib64.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-03-07 11:44:11 +00:00
Eric Bénard
9439d8132a modphp: enable bz2, zip and mbstring
- bz2 and zip remove warnings in phpmyadmin
- mbstring is usefull for multibyte strings

Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-11-27 10:48:23 +00:00
Eric Bénard
0f14256bed modphp: upgrade to 5.3.19
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-11-27 10:48:23 +00:00
Paul Eggleton
6fe4073a26 modphp: call gnu-configize in do_configure
Since we override do_configure, gnu-configize doesn't get called and
using the old gnu-config files distributed with the PHP source can cause
problems for some people e.g. building for AArch64; so add a call to it
explicitly here.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-18 11:44:56 +01:00
Paul Eggleton
a660f4a028 modphp: make LICENSE more accurate
PHP 5 is distributed under the PHP 3.01 license (which we identify as
PHP-3.0 as far as common license files go).

Fixes the following warning:

WARNING: modphp: No generic license file exists for: PHP in any provider

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-15 11:02:22 +01:00
Paul Eggleton
13338589e5 modphp: fix rpath QA issue
Fixes the following QA issue:

ERROR: QA Issue: package modphp contains bad RPATH ${STAGING_DIR_TARGET}/usr/lib in file ${WORKDIR}/packages-split/modphp/usr/lib/apache2/modules/libphp5.so

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-15 11:02:22 +01:00
Paul Eggleton
edc5dd9a22 phpmyadmin: add new recipe
Add new recipe for phpMyAdmin 3.5.2.2, borrowing the apache.conf file
from Debian (with the addition of "Require all granted" to enable
access).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09 11:09:23 +02:00
Paul Eggleton
0cd6b15d72 modphp: fix default php.ini & add PACKAGECONFIG
* Add "mysql" PACKAGECONFIG option
* Add "pgsql" PACKAGECONFIG option (untested)
* Use the correct template php.ini filename so that we actually get
  some content in the default file

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-09 11:09:23 +02:00
Paul Eggleton
6190260bea xdebug: add new recipe
Add new recipe for the Xdebug PHP debugger/profiler.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-03 14:36:56 +01:00
Paul Eggleton
418650c55d modphp: add from OE-Classic, update to 5.3.14 and fix
* Use working SRC_URI
* Fix to use correct headers and apxs script for cross-compiling
* Enable threading
* Install headers and scripts for building extension modules
* Use proper variables instead of /etc, /usr/lib etc.
* Fix rpath QA issues
* Add LIC_FILES_CHKSUM
* Put apache config file into SRC_URI instead of referring to it using
  FILESDIR

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-03 14:36:40 +01:00