Commit Graph

9293 Commits

Author SHA1 Message Date
Ming Liu
c7d2ad2e3e xerces-c: fix a wrong PACKAGECONFIG option
In xerces-c's configure, these options is being referred as follows:
......
    curl_flags="-I$with_curl/include"
    curl_libs="-L$with_curl/lib -lcurl"

    icu_flags="-I$with_icu/include"
    icu_libs="-L$with_icu/lib -licuuc -licudata"
......

so they shouldn't be set to ${STAGING_DIR}, use
${STAGING_DIR_TARGET}${prefix} instead.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Gianfranco Costamagna
f0eb8fb1fa libndp: Update patch with upstream version.
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Gianfranco Costamagna
72b2f5dafe libndp: switch to github uri. libndp.org is unstable
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Pascal Bach
c28f7dec10 nginx: use consistent pid file location accross recipe and init scripts
The recipe and the systemd service file use /run/nginx/nginx.pid,
while the sys v init script used /var/run/nginx/nginx.pid

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Khem Raj
bdb16007aa kodi: Fix build when x11 is disabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Khem Raj
5506e2ce26 libsdl2-ttf: Check for x11 and opengl in distro features
when X11 is not in distro features it tries to link with
libGL which does not exist and compile fails

Add a patch to add foreign option to AUTOMAKE_OPTIONS
which lets it configure and relax automake rules to not
check for some GNU specific files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Khem Raj
8119287a28 gnome-bluetooth: Look for x11 in distro features
It does not compile without it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
dengke.du@windriver.com
b316598c93 php: fix install error for libphp*.so
Changed in V4:
	Add the tag: meta-oe

1. Different version php have different libphp*.so, so we need to install its
   corresponding libphp*.so, for example:

    php-7.1.0  libphp7.so
    php-5.6.26 libphp5.so

2. Fix php-5.6.26 compiling errors:

    ld: TSRM/.libs/TSRM.o: undefined reference to symbol
    'pthread_sigmask@@GLIBC_2.2.5'
    error adding symbols: DSO missing from command line

3. Create a configure script like 70_mod_php5, we name it 70_mod_php7, this
   file connect the php7 and the apache2, so they work together to let the
   LAMP works correctly.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
jobol@nonadev.net
cbe22e7f11 libmicrohttpd: Fix a segmentation fault on upgrade error
When a connection upgrade is requested and when the
request sent an error reply, it happened most often
that a segmentation fault occured.

The patch applied here is a backport from the
upstream (see https://gnunet.org/git/libmicrohttpd.git/
commit b4216c60fdb5b48f6cfec416301fc63a1167e6cd).

Change-Id: I6847550ba2c4fc24d5caf8912ac6d5ac89ae01fb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
dengke.du@windriver.com
5e062b835f crash: fix build failure with mips
When build crash with mips:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mips-linux-nat.c:157:1: error: conflicting types for 'ps_get_thread_area'
 ps_get_thread_area (const struct ps_prochandle *ph,
 ^~~~~~~~~~~~~~~~~~
In file included from gdb_proc_service.h:26:0,
                 from mips-linux-nat.c:32:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This problem have been fixed on intel and arm plantform, we can use the
similar approch to fix it on mips.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Gianfranco Costamagna
3027266632 wvdial: inherit pkgconfig Missing pkgconfig does not let build the package.
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Gianfranco Costamagna
41ef0f7fbc wxstreams: fix build with gcc-6 (patch from Debian). Remove blacklists for wvstreams and wvdial
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Frederico Cadete
cbf0846304 python-pyudev: correct LICENSE from GPLv2 to LGPLv2.1+
LGPLv2.1 is what is in the project's COPYING file.
LGPLv2.1+ is what is mentioned in the project's setup.py and in the
headers of the source files.

Signed-off-by: Frederico Cadete <Frederico.Cadete-ext@oneaccess-net.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Yadi.hu
7c278564f7 drbd-utils: fix dependency for perl under small-fs
Perl script drbd-overview fails to run due to some of
perl's lib noexists under small rootfs,fixing it through
adding explicit definitions

Signed-off-by: Marius Tiplea <marius.tiplea@windriver.com>
Signed-off-by: Yadi.hu <yadi.hu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Mingli Yu
e2ac3b4b93 netcat-openbsd: correct subdir for SRC_URI
* Correct subdir to let the second source file
  netcat-openbsd_${PV}-7.debian.tar.gz unpacked
  under the correct folder to avoid below error
  when do_patch in multilib env.
  | DEBUG: Executing python function do_patch
  | DEBUG: Executing shell function netcat_do_patch
  | No patch removed
  | No series file found
  | WARNING: exit code 2 from a shell command.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Randy MacLeod
5e82995148 opencv: disable broken Intel FP16 detection
With opencv-3.2, the configuration detects if the target supports
half-precision floating-point format. This fails to compile for some
Intel targets such as skylake with an error such as:
   error: '_mm_cvtph_ps' was not declared in this scope

The configuration used to work in opencv-3.1 so revert two commits to
drop the FP16 detection even though it may make opencv slower.
The only change in the configure log is:
   - FP16: Compiler support is available
   + FP16: Compiler support is not available

The patch should be dropped when a newer version of opencv that includes commit:
   e5d9b608c4
is available. Backporting that fix was complicated.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-09 16:00:31 +02:00
Randy MacLeod
7e4f7073d7 Revert "opencv: disable broken Intel FP16 detection"
This reverts commit 51fbd3cf7d.

The long log was truncated due to a formatting error.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-09 16:00:31 +02:00
Armin Kuster
abdcc1e02f README: update maintainers list for pyro
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-09 15:59:39 +02:00
Joe MacDonald
ad0db129c7 wireguard: module install cleanup
The module_install target shouldn't be used, just installing the module to
the sysroot directly seems more appropriate.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-09 09:44:54 -04:00
Cody P Schafer
6418010bf0 ninja: extend to nativesdk
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:58 +02:00
Marc Ferland
1e322de8e6 python-prettytable: fix files permissions
Got this runtime error:

IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO'

After some investigation, it looks like the pypi package is the culprit
as almost all the files in the tar.gz are set to 600 instead of 644.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:58 +02:00
Peter Kjellerstedt
3af551405e meta_oe_security_flags.inc: Disable PIE for libdevmapper
Since libdevmapper was split out from lvm2, it now needs its own entry
to disable building with -fpie.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:58 +02:00
Jackie Huang
474eb0daa5 python-pygobject: remove the empty pkgconfig directory
The empty pkgconfif directory causes error when run
relocatable_native_pcfiles:

| sed: can't read /path/to/recipe-sysroot-native/usr/lib/pkgconfig/*.pc: No such file or directory

So remove the directory instead of removing the pc file
but left an empty pkgconfig diretory.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Huang Qiyu
6ad29368c0 cryptsetup: 1.7.2 -> 1.7.4
Upgrade cryptsetup from 1.7.2 to 1.7.4.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Pascal Bach
17f6775a14 thrift: refactor recipe
- use release tarball instead of git
- move libevent, python and glib into PACKAGECONFIG
- add NOTICE file to copyright check
- split into multiple packages
  - libthrift for libaries
  - thrift-compiler for compiler
  - thrift pulls in everything as before

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Joe MacDonald
3927abca04 wireguard: blacklist
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-01 11:11:21 -04:00
Chen Qi
e7ad92decb evince: fix do_install problem
When building evince for multilib, we would meet the following do_install
error.

  mv: cannot stat [snip]/usr/lib64/systemd/user/evince.service: No such file or directory

Fix to use the correct directory related to systemd in do_install function.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-28 10:10:41 +02:00
Randy MacLeod
51fbd3cf7d opencv: disable broken Intel FP16 detection
With opencv-3.2, the configuration detects if the target supports
half-precision floating-point format. This fails to compile for some
Intel targets such as skylake with an error such as:
   error: '_mm_cvtph_ps' was not declared in this scope

The configuration worked in opencv-3.1 so revert two commits to
drop the FP16 detection even though it may make opencv slower.
The only change in the configure log is:

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-28 10:10:41 +02:00
Joe MacDonald
bf357b2e48 wireguard: add dependencies and kernel build options
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:04:37 -04:00
Stefan Agner
9867ffa48e wireguard: add WireGuard kernel module and tools
WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner,
and more useful than IPSec, while avoiding the massive headache.

The recipes add the current experimental snapshot v0.0.20170421
out-of-tree kernel module and tools. The kernel module has some kernel
configuration dependencies such as some configuration part of
features/netfilter/netfilter.scc, hence netfilter.scc should be part
of KERNEL_EXTRA_FEATURES (which is the case by default).

Since wireguard-tools is TUNE_PKGARCH and depends on wireguard-module
which is MACHINE_ARCH (like all kernel modules) we need to add this
dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:02:13 -04:00
David Vincent
57d3b5c5c8 strongswan: Split plugins
strongSwan offers a plugin mechanism therefore it should not be
mandatory to install all of them when installing the package. Each
plugin is now a self-contained package with the library and its
configuration.

To remain compatible with the current configuration, a default set of
plugins has been selected as RDEPENDS of the main package. This default
list is based on the default strongSwan list minus some plugins enabled
via PACKAGECONFIG
(see https://wiki.strongswan.org/projects/strongswan/PluginList).

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:02:13 -04:00
Khem Raj
be327baf0e opensaf: Upgrade to 5.2.0
Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:02:12 -04:00
Jackie Huang
26c812ece4 openhpi: add new recipe
OpenHPI is an open source project created with
the intent of providing an implementation of
the SA Forum's Hardware Platform Interface (HPI).

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:02:12 -04:00
Khem Raj
6dce1a2d9c kodi: Make it build again and upgrade to 17.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Jackie Huang
18dcde1346 ipmitool: add new recipe
Utility for IPMI control which is for interfacing with
devices that support the Intelligent Platform Management
Interface specification.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Jackie Huang
5f41912690 openipmi: add new recipe
OpenIPMI is an effort to create a full-function IPMI
system to allow full access to all IPMI information
on a server and to abstract it to a level that will
make it easy to use.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Jackie Huang
ab68fcadbf libauthen-radius-perl: add new recipe
The Authen::Radius module provides a simple class that
allows you to send/receive Radius requests/responses
to/from a Radius server.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Jackie Huang
8bdaca3f66 libnet-telnet-perl: add new recipe
Net-Telnet Perl module, it allows you to make client
connections to a TCP port and do network I/O, especially
to a port using the TELNET protocol.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:57 +02:00
Jackie Huang
3a4385bc05 libdata-hexdump-perl: add new recipe
Data::HexDump - Hexadecial Dumper module for perl.

It's required by libauthen-radius-perl.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:57 +02:00
Jackie Huang
c94e136227 libnet-ldap-perl: add new recipe
Net::LDAP is a collection of modules that implements
a LDAP services API for Perl programs.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:57 +02:00
Huang Qiyu
ba89d451fb hostapd: 2.5 -> 2.6
1) Upgrade hostapd from 2.5 to 2.6.
2) License checksum changed,since the copyright years were updated.
2) Delete patch "0001-WPS-Reject-a-Credential-with-invalid-passphrase.patch", since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:14:16 +02:00
Huang Qiyu
ff85915aa0 libedit: 20160903-3.1 -> 20170329-3.1
Upgrade libedit from 20160903-3.1 to 20170329-3.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:14:16 +02:00
Andre McCurdy
a0b2e6f4fc mozjs: prevent target CFLAGS etc being passed to the host
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:14:16 +02:00
Khem Raj
94699f3f85 frame,grail: Disable PIE in SECURITY_FLAGS
Doesnt compile yet with PIE turned on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:16 +02:00
Khem Raj
6d8fabae74 geis: Fix build with gcc7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:15 +02:00
Khem Raj
c9f063c218 mozjs: Fix build with gcc7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:15 +02:00
Khem Raj
db1ceb9428 efibootmgr: Fix build with gcc 7
backport patch to remove double const in decls

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:15 +02:00
Khem Raj
dd5b81adff efivar: Backport patches to remove double const decls
Helps fixing build with gcc 7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:15 +02:00
Khem Raj
67595636e9 python-unidiff: Upgrade to 0.5.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:14 +02:00
Khem Raj
91fa3724d3 msgpack-c: Drop unused patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:14 +02:00