]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agoapt: dselect depends on perl
Andreas Oberritter [Tue, 10 May 2016 20:05:46 +0000 (22:05 +0200)] 
apt: dselect depends on perl

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: fix rpath error during configure
Andreas Oberritter [Tue, 10 May 2016 19:56:29 +0000 (21:56 +0200)] 
apt: fix rpath error during configure

| checking for shared library run path origin... /bin/sh: ../apt-1.0.10.1/buildlib/config.rpath: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: optionally build and install manpages
Andreas Oberritter [Tue, 10 May 2016 12:19:28 +0000 (14:19 +0200)] 
apt: optionally build and install manpages

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: disable unsupported extensions on mips32r1
Andreas Oberritter [Mon, 9 May 2016 18:11:44 +0000 (20:11 +0200)] 
ffmpeg: disable unsupported extensions on mips32r1

| Warning: the `dsp' extension requires MIPS32 revision 2 or greater
| Warning: the `dspr2' extension requires MIPS32 revision 2 or greater

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoffmpeg: backport configuration fix for MIPS32
Andreas Oberritter [Mon, 9 May 2016 14:35:58 +0000 (16:35 +0200)] 
ffmpeg: backport configuration fix for MIPS32

| error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodebianutils: workaround dependency problem
Andreas Oberritter [Fri, 22 Apr 2016 22:50:49 +0000 (00:50 +0200)] 
debianutils: workaround dependency problem

ERROR: Nothing RPROVIDES 'debianutils-native-run-parts-native' (but virtual:native:[...]/meta/recipes-support/debianutils/debianutils_4.7.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agolighttpd: access and accesslog are optional modules
Andreas Oberritter [Fri, 22 Apr 2016 18:38:56 +0000 (20:38 +0200)] 
lighttpd: access and accesslog are optional modules

Move them from RDEPENDS to RRECOMMENDS.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agolighttpd: add many packageconfig options
Andreas Oberritter [Fri, 22 Apr 2016 18:26:26 +0000 (20:26 +0200)] 
lighttpd: add many packageconfig options

Respect ipv6, largefile and xattr distro features.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: create packageconfig for tirpc
Andreas Oberritter [Mon, 26 Oct 2015 22:33:50 +0000 (23:33 +0100)] 
nfs-utils: create packageconfig for tirpc

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agorpcbind: update systemd service file for early start
Andreas Oberritter [Mon, 15 Jun 2015 22:57:36 +0000 (00:57 +0200)] 
rpcbind: update systemd service file for early start

Inspired by Ubuntu package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agorpcbind: remove rpcbind.socket
Andreas Oberritter [Mon, 15 Jun 2015 22:57:02 +0000 (00:57 +0200)] 
rpcbind: remove rpcbind.socket

We want rpcbind to start earlier than sockets.target.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_deb.bbclass: compress control.tar with the same algorithm as data.tar
Andreas Oberritter [Mon, 23 Mar 2015 14:41:51 +0000 (15:41 +0100)] 
package_deb.bbclass: compress control.tar with the same algorithm as data.tar

Yields better compression with xz and fixes a problem invoking gzip.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: change file ownership for statd
Andreas Oberritter [Sun, 21 Sep 2014 18:44:29 +0000 (20:44 +0200)] 
nfs-utils: change file ownership for statd

Otherwise, rpc.statd complains about "Running as root. chown
/var/lib/nfs/statd to choose different user" when started by
systemd.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: fix upgrade path for nfs-utils-client package
Andreas Oberritter [Sun, 21 Sep 2014 16:04:29 +0000 (18:04 +0200)] 
nfs-utils: fix upgrade path for nfs-utils-client package

Commit 39bb7e3 ("nfs-utils: separate package as Debain style") moved
files from nfs-utils to nfs-utils-client, breaking package upgrades.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: create package nfs-utils-mount
Andreas Oberritter [Sun, 21 Sep 2014 16:00:55 +0000 (18:00 +0200)] 
nfs-utils: create package nfs-utils-mount

Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agonfs-utils: systemd fixes
Andreas Oberritter [Sat, 20 Sep 2014 23:34:00 +0000 (01:34 +0200)] 
nfs-utils: systemd fixes

- Start daemons by default like the initscripts do, but only if
  /etc/exports exists.
- Inform systemd.bbclass about nfs-utils-client package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agogpgme: enable native builds
Andreas Oberritter [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)] 
gpgme: enable native builds

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoupdate-rc.d: ignore initscript in prerm and preinst when systemd is active
Andreas Oberritter [Sat, 13 Sep 2014 11:29:02 +0000 (13:29 +0200)] 
update-rc.d: ignore initscript in prerm and preinst when systemd is active

In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoconnman: Simplify and fix packaging of VPN plug-ins
Andreas Oberritter [Wed, 6 Aug 2014 11:03:45 +0000 (13:03 +0200)] 
connman: Simplify and fix packaging of VPN plug-ins

- Use simple static packaging.
- Move VPN runtime dependencies from connman to the individual plug-ins.
- Create a connmann-ppp package containing libppp-plugin.so, which is
  a shared library needed by l2tp and pptp plug-ins.
- Let connman suggest VPN packages instead of recommending them, so they
  don't get installed by default.
- Remove unknown configure options (--with-pptp --with-l2tp)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years ago{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing...
Andreas Oberritter [Wed, 10 Sep 2014 17:54:25 +0000 (19:54 +0200)] 
{insane,package{,_deb,_ipk}}.bbclass: support 'Breaks' control field by introducing RBREAKS

Required by Debian Policy section 7.3.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: always install dpkg-configure.service
Andreas Oberritter [Wed, 27 Aug 2014 21:03:09 +0000 (23:03 +0200)] 
dpkg: always install dpkg-configure.service

systemd.bbclass handles everything based on DISTRO_FEATURES.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: update packages and files to match Debian more closely
Andreas Oberritter [Wed, 27 Aug 2014 21:44:51 +0000 (23:44 +0200)] 
dpkg: update packages and files to match Debian more closely

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: simplify replacing perl interpreter in scripts
Andreas Oberritter [Thu, 28 Aug 2014 14:04:21 +0000 (16:04 +0200)] 
dpkg: simplify replacing perl interpreter in scripts

Target scripts already contain the correct value.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: remove unneeded do_configure override
Andreas Oberritter [Thu, 28 Aug 2014 14:02:15 +0000 (16:02 +0200)] 
dpkg: remove unneeded do_configure override

Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: install start-stop-daemon to /sbin to match Debian and busybox
Andreas Oberritter [Thu, 28 Aug 2014 14:00:07 +0000 (16:00 +0200)] 
dpkg: install start-stop-daemon to /sbin to match Debian and busybox

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: set license field to more common "GPLv2+"
Andreas Oberritter [Wed, 27 Aug 2014 21:10:42 +0000 (23:10 +0200)] 
dpkg: set license field to more common "GPLv2+"

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: use PACKAGECONFIG
Andreas Oberritter [Wed, 27 Aug 2014 20:49:43 +0000 (22:49 +0200)] 
dpkg: use PACKAGECONFIG

Keep default dependencies as before. Set default compressor to xz
if selected, gzip otherwise.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: implement BAD_RECOMMENDATIONS
Andreas Oberritter [Mon, 25 Aug 2014 23:59:03 +0000 (01:59 +0200)] 
package_manager/deb: implement BAD_RECOMMENDATIONS

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: create Packages.xz
Andreas Oberritter [Tue, 2 Sep 2014 22:38:18 +0000 (00:38 +0200)] 
package_manager/deb: create Packages.xz

apt-get prefers it over Packages.gz.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: let apt-get handle postinst scripts
Andreas Oberritter [Thu, 28 Aug 2014 12:05:02 +0000 (14:05 +0200)] 
package_manager/deb: let apt-get handle postinst scripts

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: Introduce apt-opkg
Andreas Oberritter [Thu, 28 Aug 2014 18:30:15 +0000 (20:30 +0200)] 
apt: Introduce apt-opkg

'apt-opkg' provides a stripped-down opkg frontend with an apt backend.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: recommend gnupg
Andreas Oberritter [Fri, 22 Apr 2016 00:10:06 +0000 (02:10 +0200)] 
apt: recommend gnupg

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: more fine-grained packaging
Andreas Oberritter [Fri, 22 Apr 2016 00:09:20 +0000 (02:09 +0200)] 
apt: more fine-grained packaging

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: group variables (license, configuration, packaging)
Andreas Oberritter [Fri, 22 Apr 2016 00:01:24 +0000 (02:01 +0200)] 
apt: group variables (license, configuration, packaging)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge apt.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 23:58:31 +0000 (01:58 +0200)] 
apt: merge apt.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge with apt-native
Andreas Oberritter [Thu, 21 Apr 2016 23:55:22 +0000 (01:55 +0200)] 
apt: merge with apt-native

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: drop obsolete patches
Andreas Oberritter [Thu, 21 Apr 2016 23:40:23 +0000 (01:40 +0200)] 
apt-native: drop obsolete patches

0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch and
noconfigure.patch are obsolete due to dpkg's new cross-bootstrap
support.

db_linking_hack.patch and environment.patch are marked as backports
from 2007.

no-curl.patch: curl-native is already a prerequisite.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: rewrite do_install
Andreas Oberritter [Thu, 21 Apr 2016 23:25:15 +0000 (01:25 +0200)] 
apt: rewrite do_install

Install missing files and directories (apt, apt-ftparchive,
apt-helper, apt-mark, manpages, trusted.gpg.d).

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for -dev package
Andreas Oberritter [Thu, 21 Apr 2016 23:04:18 +0000 (01:04 +0200)] 
apt: use default packaging rules for -dev package

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for base package, prepend apt-utils
Andreas Oberritter [Thu, 21 Apr 2016 23:02:44 +0000 (01:02 +0200)] 
apt: use default packaging rules for base package, prepend apt-utils

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: use default packaging rules for manpages
Andreas Oberritter [Thu, 21 Apr 2016 22:55:12 +0000 (00:55 +0200)] 
apt: use default packaging rules for manpages

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: use sed to prepare apt.conf.sample
Andreas Oberritter [Thu, 21 Apr 2016 22:50:13 +0000 (00:50 +0200)] 
apt-native: use sed to prepare apt.conf.sample

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt: merge apt-package.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 22:42:21 +0000 (00:42 +0200)] 
apt: merge apt-package.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: merge apt-native.inc into .bb
Andreas Oberritter [Thu, 21 Apr 2016 22:40:22 +0000 (00:40 +0200)] 
apt-native: merge apt-native.inc into .bb

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodebianutils: Allow native builds
Andreas Oberritter [Fri, 20 Mar 2015 15:55:38 +0000 (16:55 +0100)] 
debianutils: Allow native builds

Apt has a runtime dependency on it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agopackage_manager/deb: pass option --cross-bootstrap to dpkg
Andreas Oberritter [Thu, 25 Sep 2014 22:31:08 +0000 (00:31 +0200)] 
package_manager/deb: pass option --cross-bootstrap to dpkg

Fixes removal of packages with new dpkg version.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives
Andreas Oberritter [Thu, 28 Aug 2014 14:05:50 +0000 (16:05 +0200)] 
dpkg-native: hardcode SYSCONFDIR to /etc in update-alternatives

It needs to be relative to DPKG_INSTDIR when installing.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoapt-native: Use option --cross-bootstrap for rootfs
Andreas Oberritter [Thu, 28 Aug 2014 03:50:36 +0000 (05:50 +0200)] 
apt-native: Use option --cross-bootstrap for rootfs

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: update-alternatives-dpkg should conflict with other providers
Andreas Oberritter [Wed, 27 Aug 2014 21:45:35 +0000 (23:45 +0200)] 
dpkg: update-alternatives-dpkg should conflict with other providers

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: implement offline mode for update-alternatives
Andreas Oberritter [Wed, 27 Aug 2014 15:37:20 +0000 (17:37 +0200)] 
dpkg: implement offline mode for update-alternatives

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodb: Refresh patches
Richard Purdie [Wed, 28 Sep 2016 23:39:37 +0000 (00:39 +0100)] 
db: Refresh patches

The patches were failing to apply in some cases, refresh them aganst the
current source.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb11f60d9d87aa24e93a86f366764b1848bb5cb1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodb: Upgrade to 6.0.35
Aníbal Limón [Wed, 28 Sep 2016 16:06:10 +0000 (11:06 -0500)] 
db: Upgrade to 6.0.35

The SRC_URI was changed to point gentoo distfiles because now Oracle
request authorization for download the source code [1], there are no changes
in the LICENSE since version 6.0.20 when the LICENSE changes to AGPL-3
[2], also the md5sum was review to be sure that is the same.

This minor upgrade fix an issue related to multiple rpm instances querying
the database [3].

The bugfixes related are,

- Fixed a bug that may lead to a crash when opening multiple environments
in a multi-threaded program.
- Fixed a bug where closing a panic environment raised access violation
  and crashed the program.

For see the complete list of changes mostly bugfixes between 6.0.30 and 6.0.35 [4].

[1] http://download.oracle.com/otn/berkeley-db/db-6.0.35.tar.gz
[2] http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html#idp509784
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10157#c0
[4] http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html#idp503384

[YOCTO #10157]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f72cae18961e9556e54db76a416bde497dc8b6d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: assign INITRAMFS_BASE_NAME using ?=
Andre McCurdy [Fri, 16 Sep 2016 22:52:29 +0000 (15:52 -0700)] 
kernel.bbclass: assign INITRAMFS_BASE_NAME using ?=

Default values for KERNEL_IMAGE_BASE_NAME and MODULE_IMAGE_BASE_NAME
are already assigned using ?= and anyone wanting to over-ride one is
likely to want to over-ride them all. Make the three consistent with
each other.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e30c6c93bb70d17244c90c2be12229148f8f6314)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoopenjade/sgml-common: Add sstate postrm commands
Richard Purdie [Thu, 15 Sep 2016 10:48:39 +0000 (11:48 +0100)] 
openjade/sgml-common: Add sstate postrm commands

If you bump the PR of sgml-common and openjade-native but not sgml-
common-native, you will see a failure as files were removed from the
sysroot but still referenced by the sgml docbook catalog.

To properly handle this, the clean function needs to run at sstate
removal time, the problem is that this sstate removal can happen when
the metadata isn't present, so the correct removal commands are
unknown.

To avoid this, we need to write the commands into a "postrm" script
when we install the files, this can then be executed at sstate removal
time.

[YOCTO #8273]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdae3e76232110903d124195b036e4e70fb28aa4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosstate: Add postrm command support
Richard Purdie [Thu, 15 Sep 2016 10:45:14 +0000 (11:45 +0100)] 
sstate: Add postrm command support

There are some issues in sstate which can't be handled by file removal
alone. Currently there is no way to execute a command against sstate and
doing so is potentially problematic for things like dependencies. This
patch adds a mechanism where any "postrm" script is executed if its present
allowing some openjade/sgml issues to be resolved.

[YOCTO #8273]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2268efd0cd3ddb40870c4c424d10444ba86d2849)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodpkg: Avoid automatic target architecture detection
Alexandre Belloni [Mon, 8 Aug 2016 09:56:09 +0000 (11:56 +0200)] 
dpkg: Avoid automatic target architecture detection

dpkg is using a script (dpkg-architecture.pl) to detect the target
architecture automatically.
Unfortunately, it is using the cross compiler prefix to do the detection
and for ARM, oe-core is using <vendor>-linux-gnueabi for toolchains with
and without call-convention hard. The script then always detects
'armel' and never gets 'armhf' for call-convention hard.

This solves:
dpkg: error processing archive evtest_1.32+0+b8343ec112-r0_armhf.deb (--install):
 package architecture (armhf) does not match system (armel)
 Errors were encountered while processing:
 evtest_1.32+0+b8343ec112-r0_armhf.deb

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b01a01ff47e09da4aaa2db992380ca0498f0e5ae)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: add lzop dependency
Trevor Woerner [Mon, 1 Aug 2016 12:32:53 +0000 (08:32 -0400)] 
kernel.bbclass: add lzop dependency

If the initramfs image is type lzo, then a native lzop is needed.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ee0640cb0c32b959ffaaac6752d582ed1d76e313)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel.bbclass: explicitly set workdir in do_bundle_initramfs
André Draszik [Thu, 21 Jul 2016 11:09:23 +0000 (12:09 +0100)] 
kernel.bbclass: explicitly set workdir in do_bundle_initramfs

bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for
functions" (included in current bitbake master) breaks the assumption
that do_bundle_initramfs runs inside the build directory.

This causes kernel_do_compile() as called from within
do_bundle_initramfs() to fail, as the former is not being executed
from the correct directory anymore. (Note that kernel_do_compile()
as called from bitbake directly doesn't suffer from that problem,
as it inherits the workdir from base_do_compile() in that case.)

Set workdir explicitly.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4455da22a151c2ac006af63cbd39779b21b12580)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodb: Use cross libtool
Khem Raj [Tue, 12 Jul 2016 17:10:17 +0000 (10:10 -0700)] 
db: Use cross libtool

Reintroduce the use of cross-libtool when building the target package
this fails otherwise with clang

| ./libtool --mode=execute true db_printlog
| /usr/lib/libstdc++.so: file not recognized: File format not recognized
| clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f9fab69a15a71f541f93fb38319de03ad07b1bf5)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agosstate.bbclass: make PV to depend on PV variable value
Ed Bartosh [Mon, 11 Jul 2016 09:43:09 +0000 (12:43 +0300)] 
sstate.bbclass: make PV to depend on PV variable value

Currently PV is defined in meta/conf/bitbake.conf as a python
expression: "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE',
False),d)[1] or '1.0'}". As FILE is whitelisted it causes PV to
not depend on it. This causes sstate code to not detect that
PV changes when recipe filename changes.

Making PV to explicitly depend on PV variable value overrides default
behaviour. Instead of depending on python expression bitbake depends
on evaluated value of PV variable, which should fix the above
mentioned issue.

[YOCTO #9806]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 918646ca803d56004fb0ab7c21e86cc9cb14513d)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodb: use S/B more idiomatically
Ross Burton [Tue, 23 Feb 2016 14:05:35 +0000 (14:05 +0000)] 
db: use S/B more idiomatically

Instead of setting S to a directory inside the tarball and B to another
directory inside the tarball, use the default value of S and set
AUTOTOOLS_SCRIPT_PATH to the right path to find configure.  Update the patches
so they still apply, and clean up the recipe slightly.

Because something is not quite right regarding quilt and patching, add a PR bump
to the recipes to ensure that a clean work directory is used: for some reason
rebuilds will rarely fail to patch correctly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit dcbef72b8344c22617d65ea1e9f0fa7ad9a742bd)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoclasses/kernel: fix symlink logic when bundling initramfs images
André Draszik [Fri, 24 Jun 2016 13:40:08 +0000 (14:40 +0100)] 
classes/kernel: fix symlink logic when bundling initramfs images

If linkpath points to the a file in KERNEL_OUTPUT_DIR, rather than
outside, then symlink creation for the bundled initramfs image files
fails.

This is because in that case $linkpath.initramfs and $realpath.initramfs
are in the same directory, KERNEL_OUTPUT_DIR, and hence are the same.
Since we just created $realpath.initramfs, creating a symlink with the
same name will fail.

Given that $linkpath is not necessarily the same as the kernel image type,
just removing this symlink creation is not the right thing to do, as
in that case kernel_do_deploy() wouldn't find the bundled file.

What we really want is a symlink from the name of the initramfs-bundled
kernel image type to the real initramfs-bundled kernel image, as that is
what is actually used later in do_deploy().

This brings the code path for when $KERNEL_OUTPUT_DIR/$type is a symlink
in line with when it is not.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7585ebbbe4e95870ab7475737ed5b94255351c72)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoclasses/kernel: fix symlink creation in DEPLOYDIR for bundled initramfs
André Draszik [Fri, 24 Jun 2016 10:42:32 +0000 (11:42 +0100)] 
classes/kernel: fix symlink creation in DEPLOYDIR for bundled initramfs

If multiple kernel image types have been specified, only the very first
one would receive a symlink in DEPLOYDIR.

The reason is that we're looping over the list of image types and check
if a bundled initramfs images exists using a relative path. As part of
the loop we're changing the current directory, hence all additional
iterations fail to see the files we're looking for, and hence no symlinks
are being created.

Fix by not changing the directory and adjusting the ln invocation instead.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 2a6ac8ca71b669b8653eb19417faf58575385a21)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agodb: add RECIPE_NO_UPDATE_REASON
Maxin B. John [Mon, 6 Jun 2016 09:13:41 +0000 (12:13 +0300)] 
db: add RECIPE_NO_UPDATE_REASON

db-6.2.23 does not work with RPM-5.x due to changes in locking semantics

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ea6be55b795ae5306606f7d4cdacdf3c2afa5ae)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agoopenssl: fix the dangling libcrypto.a symlink
Maxin B. John [Tue, 31 May 2016 15:26:03 +0000 (18:26 +0300)] 
openssl: fix the dangling libcrypto.a symlink

Update libcrypto.a symlink to the proper location.

[YOCTO #9523]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d6884a99a170a2d1925ed347431518fff3cf367)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel: Make symbol link to vmlinuz in boot directory
He Zhe [Wed, 25 May 2016 08:47:17 +0000 (04:47 -0400)] 
kernel: Make symbol link to vmlinuz in boot directory

Rename do_kernel_link_vmlinux to do_kernel_link_images and make a
symbol link to vmlinuz(if exists) for reference in arch/$arch/boot
directory.

Signen-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 6e58f54be103814b6b8a85b236510633c49e6832)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
He Zhe [Wed, 25 May 2016 08:47:16 +0000 (04:47 -0400)] 
kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

Add KERNEL_IMAGETYPES to support building packaging and installing
multi types of kernel images, such as zImage uImage, at one time.

KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 849b67b2e4820564b5e5c9bd4bb293c44351c5f3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agokernel-uimage: Fix python indentation
Richard Purdie [Sat, 21 May 2016 11:27:48 +0000 (12:27 +0100)] 
kernel-uimage: Fix python indentation

Use spaces, not tabs for python functions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96ed92aded49fc47c7e407d36ba4f03dafee28cd)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 years agowpa_supplicant: fix WPA2 key replay security bug
Ross Burton [Mon, 16 Oct 2017 22:23:37 +0000 (23:23 +0100)] 
wpa_supplicant: fix WPA2 key replay security bug

WPA2 is vulnerable to replay attacks which result in unauthenticated users
having access to the network.

* CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake

* CVE-2017-13078: reinstallation of the group key in the Four-way handshake

* CVE-2017-13079: reinstallation of the integrity group key in the Four-way
handshake

* CVE-2017-13080: reinstallation of the group key in the Group Key handshake

* CVE-2017-13081: reinstallation of the integrity group key in the Group Key
handshake

* CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
Request and reinstalling the pairwise key while processing it

* CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
PeerKey (TPK) key in the TDLS handshake

* CVE-2017-13087: reinstallation of the group key (GTK) when processing a
Wireless Network Management (WNM) Sleep Mode Response frame

* CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
processing a Wireless Network Management (WNM) Sleep Mode Response frame

Backport patches from upstream to resolve these CVEs.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibgcrypt: fix CVE-2017-9526
Ross Burton [Wed, 19 Jul 2017 13:27:32 +0000 (14:27 +0100)] 
libgcrypt: fix CVE-2017-9526

In libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from
side-channel observation during the signing process) can easily recover the
long-term secret key. 1.7.7 makes a cipher/ecc-eddsa.c change to store this
session key in secure memory, to ensure that constant-time point operations are
used in the MPI library.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibgcrypt: fix CVE-2017-7526
Ross Burton [Wed, 19 Jul 2017 13:27:31 +0000 (14:27 +0100)] 
libgcrypt: fix CVE-2017-7526

Fixes CVE-2017-7526, 'flush+reload side-channel attack on RSA secret keys dubbed
"Sliding right into disaster"'.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinitrdscripts/init-install*: Add rootwait when installing to USB devices
California Sullivan [Tue, 9 Aug 2016 20:35:52 +0000 (13:35 -0700)] 
initrdscripts/init-install*: Add rootwait when installing to USB devices

It can take a bit for USB devices to be detected, so if a USB device is
your rootfs and you don't set rootwait you will most likely get a kernel
panic. Fix this by adding rootwait to the kernel command line on
installation.

Fixes [YOCTO #9462].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage_ipk: Clean up Source entry in ipk packages
Richard Purdie [Fri, 16 Jun 2017 08:42:30 +0000 (09:42 +0100)] 
package_ipk: Clean up Source entry in ipk packages

There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.

Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.

Reported-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest/recipetool: actually fix create_github test
Ross Burton [Wed, 7 Jun 2017 14:28:24 +0000 (15:28 +0100)] 
oeqa/selftest/recipetool: actually fix create_github test

The Meson revision was locked down but the license list change wasn't actually
committed...

Also specify the exact path for recipetool to write to, for clarity.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to krogoth head revision
Richard Purdie [Wed, 7 Jun 2017 07:42:49 +0000 (08:42 +0100)] 
build-appliance-image: Update to krogoth head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogrub2: enforce -no-pie if supported by compiler
Alexander Kanavin [Fri, 2 Dec 2016 19:14:07 +0000 (21:14 +0200)] 
grub2: enforce -no-pie if supported by compiler

Recent distros are enabling -pie by default; in case of grub
we need to turn it off.

(From OE-Core rev: aaff6c99dde3f1058bb3c4b320f27753c6c992ad)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to krogoth head revision
Richard Purdie [Tue, 6 Jun 2017 17:52:35 +0000 (18:52 +0100)] 
build-appliance-image: Update to krogoth head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorootfs_rpm: Increase rootfs size
Saul Wold [Sun, 19 Jun 2016 00:13:55 +0000 (17:13 -0700)] 
rootfs_rpm: Increase rootfs size

This doubles the amount of extra space that is provided for SMART and
RPM, as they consume more disk space during qa testing via testimage

[YOCTO #9800]

(From OE-Core rev: 2d636068d9d3a1ea2db3ace49462be13ba9ef125)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest: lock down Meson git revision for reliability
Ross Burton [Mon, 5 Jun 2017 16:30:42 +0000 (17:30 +0100)] 
oeqa/selftest: lock down Meson git revision for reliability

The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test.  Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.

Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/runtime/rpm: use su instead of sudo
Ross Burton [Tue, 23 Aug 2016 14:14:04 +0000 (15:14 +0100)] 
oeqa/runtime/rpm: use su instead of sudo

This test works fine with su, which is more likely to be installed in images
than sudo.

(From OE-Core rev: 59d10be745a1f7d31c68e4d5da9e1c3461b7d390)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibunwind: Fix build race conflict with gcc and musl
Richard Purdie [Thu, 18 Aug 2016 13:46:32 +0000 (14:46 +0100)] 
libunwind: Fix build race conflict with gcc and musl

Building libunwind, then gcc-runtime causes build failures. This is hard
to fix since gcc-runtime wants the internal gcc unwind.h header but libunwind
wants to provide this. There are differences in include behaviour between gcc
and glibc which are by design.

This patch hacks around the issue by looking for a define used during gcc-runtime's
build and skipping to the internal header in that case. The patch is only enabled
on musl and is the best workaround I could come up with to unblock failing builds
on our autobuilder.

[YOCTO #10129]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/recipetool: Fix test for krogoth
Richard Purdie [Tue, 30 May 2017 13:21:31 +0000 (14:21 +0100)] 
selftest/recipetool: Fix test for krogoth

This test was backported and doesn't function quite the same way under
krogoth since some of the extended python license checking wasn't yet
added. This tweaks the output to match the expected result in krogoth.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: fix racy double build of WebKit2-4.0.gir
Alexander Kanavin [Mon, 29 Aug 2016 14:30:22 +0000 (17:30 +0300)] 
webkitgtk: fix racy double build of WebKit2-4.0.gir

This occasionally triggered autobuilder errors where the .gir file
appeared truncated to introspection tools.

(From OE-Core rev: 2154c1c803b7bd36a1401fa657e7fd8cb1060a70)

RP: backported from 2.12 to 2.10
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocryptodev-linux: update SRC_URI
Chang Rebecca Swee Fun [Fri, 26 May 2017 08:03:26 +0000 (16:03 +0800)] 
cryptodev-linux: update SRC_URI

Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.

[YOCTO #11575]

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopseudo: Work around issues with glibc 2.24
Richard Purdie [Wed, 18 May 2016 18:28:29 +0000 (19:28 +0100)] 
pseudo: Work around issues with glibc 2.24

There are issues with a change made to RTLD_NEXT behaviour in glibc 2.24
and that change was also backported to older glibc versions in some distros
like Fedora 23. This adds a workaround whilst the pseudo maintainer fixes
various issues properly.

(From OE-Core rev: 21c38a091c4a1917f62a942c4751b0fd11dce340)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agopseudo: obey our LDFLAGS
Christopher Larson [Wed, 11 May 2016 16:25:27 +0000 (09:25 -0700)] 
pseudo: obey our LDFLAGS

(From OE-Core rev: fc04eae73cb99d3783b09d062120a9b7dc95210a)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl.inc: avoid random ptest failures
Patrick Ohly [Fri, 23 Sep 2016 13:23:20 +0000 (15:23 +0200)] 
openssl.inc: avoid random ptest failures

"make alltests" is sensitive to the timestamps of the installed
files. Depending on the order in which cp copies files, .o and/or
executables may end up with time stamps older than the source files.
Running tests then triggers recompilation attempts, which typically
will fail because dev tools and files are not installed.

"cp -a" is not enough because the files also have to be newer than
the installed header files. Setting the file time stamps to
the current time explicitly after copying solves the problem because
do_install_ptest_base is guaranteed to run after do_install.

(From OE-Core rev: 101e2a5e0b7822ca3de3d3a73369405c05ab3c5b)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: fix do_configure error when cwd is not in @INC
Robert Yang [Tue, 20 Sep 2016 05:34:36 +0000 (22:34 -0700)] 
openssl: fix do_configure error when cwd is not in @INC

Fixed when building on Debian-testing:
| Can't locate find.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at perlpath.pl line 7.

(From OE-Core rev: c28065671b582c140d5971c73791d2ac8bdebe69)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fixed merge conflict
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: Security fix CVE-2016-2177
Armin Kuster [Sat, 16 Jul 2016 23:04:11 +0000 (16:04 -0700)] 
openssl: Security fix CVE-2016-2177

Affects openssl <= 1.0.2h
CVSS v2 Base Score: 7.5 HIGH

(From OE-Core rev: 2848c7d3e454cbc84cba9183f23ccdf3e9200ec9)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fixed merge conflicts
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: prevent warnings from openssl-c_rehash.sh
Joshua Lock [Wed, 22 Jun 2016 10:22:25 +0000 (11:22 +0100)] 
openssl: prevent warnings from openssl-c_rehash.sh

The openssl-c_rehash.sh script reports duplicate files and files which
don't contain a certificate or CRL by echoing a WARNING to stdout.
This warning gets picked up by the log checker during rootfs and results
in several warnings getting reported to the console during an image build.

To prevent the log from being overrun by warnings related to certificates
change these messages in openssl-c_rehash.sh to be prefixed with NOTE not
WARNING.

(From OE-Core rev: 88c25318db9f8091719b317bacd636b03d50a411)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: Ensure SSL certificates are stored on sysconfdir
Otavio Salvador [Mon, 23 May 2016 20:45:27 +0000 (17:45 -0300)] 
openssl: Ensure SSL certificates are stored on sysconfdir

Debian and other generic distributions has moved the certificates for
sysconfdir (/etc/ssl) and made the libdir content to link for it.

This provides several advantages specially for read-only
rootfs. Another benefit is that it ensures foreign implementations
(e.g: BoringSSL, from Chromium, when running with OpenSSL backend for
the certificates) to find the content correctly.

(From OE-Core rev: 50d63fa346bbb05dafffc0cb55e21e1092272d95)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: Add Shell-Script based c_rehash utility
Otavio Salvador [Mon, 23 May 2016 20:45:25 +0000 (17:45 -0300)] 
openssl: Add Shell-Script based c_rehash utility

The PLD Linux distribution has ported the c_rehash[1] utility from Perl
to Shell-Script, allowing it to be shipped by default.

1. https://git.pld-linux.org/?p=packages/openssl.git;a=blob;f=openssl-c_rehash.sh;h=0ea22637ee6dbce845a9e2caf62540aaaf5d0761

The OpenSSL upstream intends[2] to convert the utility for C however
did not yet finished the conversion.

2. https://rt.openssl.org/Ticket/Display.html?id=2324

This patch adds this script and thus removed the Perl requirement for
it.

(From OE-Core rev: cb6150f1a779e356f120d5e45c91fda75789970a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: fix add missing dependencies building for test directory
Andrej Valek [Fri, 19 Aug 2016 10:51:06 +0000 (12:51 +0200)] 
openssl: fix add missing dependencies building for test directory

Regarding the last commit about missing dependencies, another issue
was found. The problem was found, while ptest has been built with some
set extra settings. It means, when ptest is going to be built,
it is necessary to rebuild dependencies for test directory too.

(From OE-Core rev: 030142d0410bec85aeacfff6be27d5fed41ce808)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: fix add missing `make depend` command before `make` library
Andrej Valek [Fri, 5 Aug 2016 11:16:33 +0000 (13:16 +0200)] 
openssl: fix add missing `make depend` command before `make` library

Settings from EXTRA_OECONF like en/disable no-ssl3, are transferred
only into DEPFLAGS. It means that settings have no effect on output files.
DEPFLAGS will be transferred into output files with make depend command.

https://wiki.openssl.org/index.php/Compilation_and_Installation#Dependencies

(From OE-Core rev: e3c251427a305780d3257a011260bd978de273d5)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoopenssl: Fix MIPS64be and add MIPS64le
Zubair Lutfullah Kakakhel [Wed, 14 Sep 2016 16:53:11 +0000 (17:53 +0100)] 
openssl: Fix MIPS64be and add MIPS64le

MIPS64 target was being configured for linux-mips which defaults to
MIPS32. Doesn't cause any issue as far as I can see but it would be
wiser to use the correct target configuration.

Also add MIPS64le configuration which is missing.

(From OE-Core rev: 0afec72913bc31d315cba079da317e8b28755ded)

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agomesa: update SRC_URI
Armin Kuster [Sat, 11 Feb 2017 21:50:37 +0000 (16:50 -0500)] 
mesa: update SRC_URI

ERROR: mesa-2_11.1.2-r0 do_checkuri: Function failed: Fetcher failure for URL: 'ftp://ftp.freedesktop.org/pub/mesa/11.1.2/mesa-11.1.2.tar.xz'. URL ftp://ftp.freedesktop.org/pub/mesa/11.1.2/mesa-11.1.2.tar.xz doesn't work
ERROR: Logfile of failure stored in: /home/akuster/oss/maint/poky/build/tmp/work/i586-poky-linux/mesa/2_11.1.2-r0/temp/log.do_checkuri.30779
Log data follows:
| DEBUG: Executing python function do_checkuri
| DEBUG: Testing URL ftp://ftp.freedesktop.org/pub/mesa/11.1.2/mesa-11.1.2.tar.xz
| DEBUG: checkstatus() urlopen failed: <urlopen error ftp error: 550 Failed to change directory.>
| DEBUG: Python function do_checkuri finished
| ERROR: Function failed: Fetcher failure for URL: 'ftp://ftp.freedesktop.org/pub/mesa/11.1.2/mesa-11.1.2.tar.xz'. URL ftp://ftp.freedesktop.org/pub/mesa/11.1.2/mesa-11.1.2.tar.xz doesn't work

Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolibpng -lsb: update SRC_URI
Armin Kuster [Sat, 11 Feb 2017 19:55:39 +0000 (14:55 -0500)] 
libpng -lsb: update SRC_URI

ERROR: libpng12-1.2.56-r0 do_checkuri: Function failed: Fetcher failure for URL: 'http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz'. URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz doesn't work
ERROR: Logfile of failure stored in: /home/akuster/oss/maint/poky/build/tmp/work/i586-poky-linux/libpng12/1.2.56-r0/temp/log.do_checkuri.19750
Log data follows:
| DEBUG: Executing python function do_checkuri
| DEBUG: Testing URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz
| DEBUG: checkstatus() urlopen failed: HTTP Error 404: Not Found
| DEBUG: Python function do_checkuri finished
| ERROR: Function failed: Fetcher failure for URL: 'http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz'. URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz doesn't work

Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolibxslt: update SRC_URI
Armin Kuster [Sat, 11 Feb 2017 19:36:36 +0000 (14:36 -0500)] 
libxslt: update SRC_URI

| ERROR: Function failed: Fetcher failure for URL: 'ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz'. URL ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz doesn't work
ERROR: Logfile of failure stored in: /home/akuster/oss/maint/poky/build/tmp/work/x86_64-linux/libxslt-native/1.1.28-r0/temp/log.do_checkuri.16102
Log data follows:
| DEBUG: Executing python function do_checkuri
| DEBUG: Testing URL ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz
| DEBUG: checkstatus() urlopen failed: <urlopen error ftp error: [Errno 110] Connection timed out>
| DEBUG: Python function do_checkuri finished
| ERROR: Function failed: Fetcher failure for URL: 'ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz'. URL ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz doesn't work

Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolibpng: update SRC_URI back to SF
Armin Kuster [Sat, 11 Feb 2017 19:26:10 +0000 (14:26 -0500)] 
libpng: update SRC_URI back to SF

ERROR: Task 944 (virtual:nativesdk:/home/akuster/oss/maint/poky/meta/recipes-multimedia/libpng/libpng_1.6.21.bb, do_checkuri) failed with exit code '1'
ERROR: libpng12-1.2.56-r0 do_checkuri: Function failed: Fetcher failure for URL: 'http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz'. URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz doesn't work
ERROR: Logfile of failure stored in: /home/akuster/oss/maint/poky/build/tmp/work/i586-poky-linux/libpng12/1.2.56-r0/temp/log.do_checkuri.14781
Log data follows:
| DEBUG: Executing python function do_checkuri
| DEBUG: Testing URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz
| DEBUG: checkstatus() urlopen failed: HTTP Error 404: Not Found
| DEBUG: Python function do_checkuri finished
| ERROR: Function failed: Fetcher failure for URL: 'http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz'. URL http://distfiles.gentoo.org/distfiles/libpng-1.2.56.tar.xz doesn't work

SF now has a old releases dir which contains this tarball. It got dropped from Gentoo

Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolibpcre: update SRC_URI
Armin Kuster [Sat, 11 Feb 2017 19:09:13 +0000 (14:09 -0500)] 
libpcre: update SRC_URI

ERROR: Task 75 (/home/akuster/oss/maint/poky/meta/recipes-support/libpcre/libpcre_8.38.bb, do_checkuri) failed with exit code '1'
ERROR: libpcre-native-8.38-r0 do_checkuri: Function failed: Fetcher failure for URL: 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.bz2'. URL ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.bz2 doesn't work

Signed-off-by: Armin Kuster <akuster808@gmail.com>