Commit Graph

7212 Commits

Author SHA1 Message Date
Yi Zhao 84e6322a0a fltk: upgrade from version 1.1.10 to 1.3.3
- backport patch from trunk to fix build failure with jpeg-9 library
- add PACKAGECONFIG for opengl, xinerama, xfixes, xcursor to fix [build-deps] qa warnings
- rebase patches against the new version and drop the useless patches
- cleanup the host buildpaths from fltk-config

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:39:50 +01:00
Andreas Müller 260fee6e0c faenza-icon-theme: fix host-user-contamination
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:39:49 +01:00
Hongxu Jia c0a1be1ceb mariadb.inc: fix mysqld hung at first init time based on systemd
While SYSTEMD_AUTO_ENABLE_mariadb-server = "enable", the mysqld service
hungs.
...
[    **] A start job is running for Run pending postinsts (25s / no limit)
[  OK  ] Stopped MariaDB database server.
...

In mariadb-server's pkg_postinst, it install db at first runtime. And the
following 'systemctl mysqld restart' casued the hunging. So the fix idea
is to reomove pkg_postinst and still install db at first runtime.

Introduce mysql-systemd-start from ${S}/packaging/rpm-oel/. For review
convenience, we add them as file.

The mysql-systemd-start provides two functions: the install_db is to install
db at fist runtime (the first runtime means if a db existed, the install_db
will directly exit); the pinger is to wait for mysqld service startup
completed.

The mysqld.service add ExecStartPost than previous which invoke
'mysql-systemd-start post' to wait for mysqld service startup completed.

We add a package to provide install_db, so the user could choose it
to install database for mariadb at first boot before mysqld started.

It also fix another issue:
When you manually restart mysqld and do mysql test to connect the server,
the return of the restart could make sure mysqld is ready, and the following db
connect will not fail with:
...
Can't connect to local MySQL server through socket
...

Tweak my.cnf to remove obsolete/incorrect parameter.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:39:49 +01:00
Kai Kang 0c923c7e33 libssh2: make crypto library selectable
Add PACKAGECONFs 'openssl' and 'gcrypt' to make crypto library
selectable. Only one of them could be set. If they are both set,
'gcrypt' is invalide.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:37:21 +01:00
Kai Kang 3007c04538 libproc-waitstat-perl: add recipe
libproc-waitstat-perl is required by mime-construct.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:37:21 +01:00
Kai Kang 730621e25f libipc-signal-perl: add recipe
libipc-signal-perl is required by mime-construct and
libproc-waitstat-perl.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:37:21 +01:00
Christopher Larson c2069a1420 gpsd: also support bluez5
gpsd uses libbluetooth, not the dbus interface, so it can work with bluez5 as
well, as the library is compatible.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
fan.xin c29091fa51 php: Upgrade 5.5.26 -> 5.5.30
Fix CVE-2015-7803, CVE-2015-7804 and other bugs
http://php.net/ChangeLog-5.php

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
fan.xin ecaad588c7 php: Upgrade 5.6.12 -> 5.6.16
Fix CVE-2015-7803, CVE-2015-7804 and other bugs
http://php.net/ChangeLog-5.php

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Li xin 19438ca116 libnet-dns-perl: remove it from PNBLACKLIST
Since errors will not occur anymore.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Roy Li 253c292d0e phoronix-test-suite: uprev it to 6.0.1
1. inherit systemd and move the systemd unit files to correct dir
2. inherit allarch
3. add bash/python to RDEDEPENDS

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Joshua Lock 58739d4a79 poppler-data: install CMap resources for CJK glyph support
CID-keyed fonts, as commonly used to support pictographic East
Asian character sets require Character Maps which unidirectionally
map character codes (i.e. Unicode encoding) to CID (the glyphs in
the font face).

Without a CMap poppler isn't able to correctly PDF files in
Chinese, Japanese or Korean without embedded fonts.

This change installs a copy of the Identity files from Adobe's
CMap Resources[1] based on a similar change in Fedora's
poppler-data[2][3].

This is an updated version of the v2 patch originally created and sent
by my colleague, Joshua Lock.

1. https://github.com/adobe-type-tools/cmap-resources
2. http://pkgs.fedoraproject.org/cgit/poppler-data.git/tree/poppler-data.spec#n18
3. https://bugzilla.redhat.com/show_bug.cgi?id=842351

Co-Authored-By: Bob Ham <bob.ham@collabora.com>
Signed-off-by: Bob Ham <bob.ham@collabora.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Bob Ham c9ceac8eac poppler: move RDEPENDS on poppler-data to libpoppler
The poppler-data package contains data needed by consumers of
the libpoppler package, for example evince.  However, the RDEPENDS in
this recipe is only for the poppler package.  Moving the RDEPENDS to
libpoppler ensures that poppler-data is included in any builds with
separate libpoppler consumers but not poppler.  The poppler package
automatically depends on libpoppler so poppler's dependency on
poppler-data is not lost.

Signed-off-by: Bob Ham <bob.ham@collabora.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Jack Mitchell 7ceade434d libsoc: update to 0.7.1
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Li xin ea518c9648 sessreg: add a patch to avoid build errors.
Do not build man dir since it is always build failed.
This is not a good way,but can remove sessreg form PNBLACKLIST.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Andreas Oberritter 09782f3a8a python-monotonic: new recipe, version 0.4
On Python 3.3 or newer, monotonic will be an alias of time.monotonic
from the standard library. On older versions, it will fall back to
an equivalent implementation.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Jussi Kukkonen e22f33ed08 libgudev: Remove (moved to OE-Core)
libgudev was added to OE-Core in revision c6d37fc47f.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Andre McCurdy a01b2617cf mpg123: update 1.21.0 -> 1.22.4
http://mpg123.de/cgi-bin/scm/mpg123/tags/1.22.4/NEWS

1.22.4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Andre McCurdy a3f55dbae8 mpg123: drop unnecessary dependency on tslib
The mpg123 sources don't contain any references to tslib or -lts and
there are no obvious build issues or QA warnings after the tslib
dependency is removed.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Andre McCurdy fefc98980a mpg123: limit ARM_INSTRUCTION_SET = "arm" over-ride to armv4/armv5
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Andre McCurdy 7ff0b49524 mpg123: recipe formatting cleanup, no functional changes
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Ioan-Adrian Ratiu d6b3ac4b14 x11vnc: use external libvncserver
By default x11vnc compiles its dependency libvncserver from sources
included in its own source tree. We override this behaviour to use
the externally provided libvncserver from a separate recipe.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Ioan-Adrian Ratiu 7a28b679a6 x11vnc: move recipe from oe-core
x11vnc will be configured to use the external libvncserver which is
added to meta-oe. Since oe-core recipes should not depend on meta-oe
recipes, we move x11vnc to meta-oe.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Ioan-Adrian Ratiu 50d303bc46 meta-oe: recipes-graphics: add libvncserver recipe
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00
Khem Raj e97c0b462b smem: Add appropriate python modules to rdeps
It wont work without these modules at runtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:33:07 +01:00
Mario Domenech Goulart 4b7a496880 python-chardet: add recipe for version 2.3.0
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:33:06 +01:00
Mark Asselstine 06f04adf4b python-cryptography, python-cryptography-vectors: uprev
Pick up many fixes and enhancements made since 0.8.1 was released.
See: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst

The uprev requires an uprev of pyasn1 and also pulls in two new
packages idna and ipaddress. The idna software has 3 licenses, one of
which is the 'Unicode' license: http://www.unicode.org/copyright.html

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:33:06 +01:00
Wenzong Fan 2463e39c44 python-pygpgme: add ptest support
* add ptest support
* runtime depends on gnupg

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:33:06 +01:00
Fabio Berton 2a233e1b07 python-cffi: Update to version 1.3.1
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Fabio Berton 22a8f6d10d python-daemonize: Update to version 2.4.1
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Haris Okanovic c26ea3661d python-jinja2: Disable make clean
Makefile doesn't define "clean". Unless disabled, base_do_configure()
will fail the build attempting to run `make clean` when rebuilding
this recipe.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Natinst-ReviewBoard-ID: 119389
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Philip Balister 8470dec8bc python-bitarray: Add new recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Philip Balister 73858496dd python-txws: Add new recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Philip Balister f5939ad2b8 python-vcversioner: Add new recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:32:08 +01:00
Robert Yang 892c0ad605 dracut: fix host-user-contaminated
Fixed:
dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: dracut: /dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
lib32-dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: lib32-dracut: /lib32-dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Its Makefile uses cp -arx to install modules.d, so fix the owner
to root:root

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré d1a18f5db1 VLC: do not use --with-contrib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré 07448b6ee3 VLC: make libdvdread PACKAGECONFIG
Enable it by default.
Make both dvdread and dvdnav also depend on libdvdcss

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré 890ec9362f VLC: explicit PACKAGECONFIG for freetype
Enable it by default

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré a1f29e592b VLC: explicit PACKAGECONFIG for fontconfig
Enable it by default

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré a4c65677c5 VLC: make libnotify a configurable dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Rafaël Carré 86a8cf0ed0 vlc: remove libdc1394 libraw1394 from DEPENDS
They are only needed if the modules introduced in ea31946 are enabled.
Add these modules to default PACKAGECONFIG to keep existing defaults.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Hongxu Jia c0edce6c38 libnet-ssleay-perl: fix test failures with openssl
Backport two patches from uptream to fix test failure with
openssl 1.0.2b or above.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Hongxu Jia e8dd7b29f9 libhtml-tree-perl: fix shebang
There is a build failure while installing libhtml-tree-perl to sdk:
...
|Computing transaction...error: Can't install nativesdk-libhtml-tree-
perl-5.03-r0.1@x86_64_nativesdk: no package provides tmp/sysroots/
x86_64-linux/usr/bin/perl-native/perl.real
...

The rpm detects the shebang of perl script, so we correct it.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Nicolas Ferre f6eabb868d python-evdev: add python-evdev 0.5.0
Python-evdev is a Python module that gives access to the input event interface
from userspace.
https://python-evdev.readthedocs.org/en/latest/

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Scott Ellis 9d52ad586b python-requests: Add RDEPENDS
The python-requests module has runtime dependencies.

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Andre McCurdy 125ea65fe0 libjpeg-turbo: update 1.4.1 -> 1.4.2
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/1.4.2/ChangeLog.txt

  1.4.2
  =====

  [1] Fixed an issue whereby cjpeg would segfault if a Windows bitmap with a
  negative width or height was used as an input image (Windows bitmaps can have
  a negative height if they are stored in top-down order, but such files are
  rare and not supported by libjpeg-turbo.)

  [2] Fixed an issue whereby, under certain circumstances, libjpeg-turbo would
  incorrectly encode certain JPEG images when quality=100 and the fast integer
  forward DCT were used.  This was known to cause 'make test' to fail when the
  library was built with '-march=haswell' on x86 systems.

  [3] Fixed an issue whereby libjpeg-turbo would crash when built with the latest
  & greatest development version of the Clang/LLVM compiler.  This was caused by
  an x86-64 ABI conformance issue in some of libjpeg-turbo's 64-bit SSE2 SIMD
  routines.  Those routines were incorrectly using a 64-bit mov instruction to
  transfer a 32-bit JDIMENSION argument, whereas the x86-64 ABI allows the upper
  (unused) 32 bits of a 32-bit argument's register to be undefined.  The new
  Clang/LLVM optimizer uses load combining to transfer multiple adjacent 32-bit
  structure members into a single 64-bit register, and this exposed the ABI
  conformance issue.

  [4] Fixed a bug in the MIPS DSPr2 4:2:0 "plain" (non-fancy and non-merged)
  upsampling routine that caused a buffer overflow (and subsequent segfault) when
  decompressing a 4:2:0 JPEG image whose scaled output width was less than 16
  pixels.  The "plain" upsampling routines are normally only used when
  decompressing a non-YCbCr JPEG image, but they are also used when decompressing
  a JPEG image whose scaled output height is 1.

  [5] Fixed various negative left shifts and other issues reported by the GCC and
  Clang undefined behavior sanitizers.  None of these was known to pose a
  security threat, but removing the warnings makes it easier to detect actual
  security issues, should they arise in the future.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Steffen Sledz 6de2fb38b0 syslog-ng: add UPDATE_ALTERNATIVE for syslog-service
Use ALTERNATIVE mechanism in OE to manage the syslog service to
avoid conflicts with other syslog implementations like rsyslog
or busybox.

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Wenzong Fan f4ed56d0d4 krb5: fix CVE-2015-2698
The iakerb_gss_export_sec_context function in lib/gssapi/krb5/iakerb.c
in MIT Kerberos 5 (aka krb5) 1.14 pre-release 2015-09-14 improperly
accesses a certain pointer, which allows remote authenticated users
to cause a denial of service (memory corruption) or possibly have
unspecified other impact by interacting with an application that calls
the gss_export_sec_context function. NOTE: this vulnerability exists
because of an incorrect fix for CVE-2015-2696.

Backport upstream commit to fix it:
https://github.com/krb5/krb5/commit/3db8dfec1ef50ddd78d6ba9503185995876a39fd

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Wenzong Fan c533d4506e krb5: fix CVE-2015-2697
The build_principal_va function in lib/krb5/krb/bld_princ.c in MIT
Kerberos 5 (aka krb5) before 1.14 allows remote authenticated users
to cause a denial of service (out-of-bounds read and KDC crash) via
an initial '\0' character in a long realm field within a TGS request.

Backport upstream commit to fix it:
https://github.com/krb5/krb5/commit/f0c094a1b745d91ef2f9a4eae2149aac026a5789

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:24 +01:00
Wenzong Fan 88368a5826 krb5: fix CVE-2015-2696
lib/gssapi/krb5/iakerb.c in MIT Kerberos 5 (aka krb5) before 1.14
relies on an inappropriate context handle, which allows remote
attackers to cause a denial of service (incorrect pointer read and
process crash) via a crafted IAKERB packet that is mishandled during
a gss_inquire_context call.

Backport upstream commit to fix it:
https://github.com/krb5/krb5/commit/e04f0283516e80d2f93366e0d479d13c9b5c8c2a

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:28:23 +01:00