Commit Graph

6765 Commits

Author SHA1 Message Date
Armin Kuster
36be9b0422 udisk2: fix build issue with missing depends
checking for sys/acl.h... no
| configure: error: *** ACL headers not found.
| NOTE: The following config.log files may provide further information.

add acl to DEPENDS

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-28 12:26:35 -07:00
Catalin Enache
5e36615e77 net-snmp: fix some invalid paths
Because the package is not built in place @srcdir@ is
an absolute path to the source directory instead of ".".

Because of this some target scripts like  net-snmp-create-v3-user
and net-snmp-config that are using thisvariable in their *.in
files (NSC_SRCDIR=@srcdir@) contain invalid paths.

Signed-off-by: Catalin Enache <catalin.enache@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>
2016-04-17 13:45:56 -07:00
Catalin Enache
31684cb311 net-snmp: fix invalid paths in target net-snmp-config
Only net-snmp-config used for sysroot should have sysroot
specific paths.

Signed-off-by: Catalin Enache <catalin.enache@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>
2016-04-17 13:45:33 -07:00
Roy Li
c94fdd75ee net-snmp: fix the replacement in net-snmp-config
when net-snmp-config is used to configure by other package, and fail since
/libnl3 is not found, in fact, it should be -I/usr/include/libnl3, and is
modified as /libnl3 incorrectly.

instead of modify the net-snmp-config for target, the one under
${bindir_crossscripts} should be replaced with ${TAGING_INCDIR}

Signed-off-by: Roy Li <rongqing.li@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>
2016-04-17 13:45:29 -07:00
Rafaël Carré
0fbb0349c5 net-snmp: apply patch for cross-compilation
7fb5479 added the patch but did not apply it
Rename patch to explicit it differentiate it from other patches

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>
2016-04-17 13:43:37 -07:00
Rafaël Carré
b4926d33a7 net-snmp: apply patch for cross-compilation
7fb5479 added the patch but did not apply it

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:43:25 -07:00
Jackie Huang
b3a1f2c1e3 libsmi: set the SH to the target path
Set the SH to the target path to avoid host contamination,
which causes the following issue on some hosts:
| WARNING: QA Issue: /usr/bin/smicache_libsmi contained in
  package libsmi requires /usr/bin/sh, but no providers
  found in its RDEPENDS [file-rdeps]
| Computing transaction...error: Can't install
  libsmi-0.4.8-r0.0@corei7_64: no package provides /usr/bin/sh

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:40:27 -07:00
Martin Jansa
47f2257e76 libftdi: Fix cpp-wrapper options
* fixes following issue found with test-dependencies
  WARN: libftdi: libftdi rdepends on libgcc, but it isn't a build dependency?
  WARN: libftdi: libftdi rdepends on libstdc++, but it isn't a build dependency?
* when boost is found it was still building libftdipp1.so.2.2.0
* as shown in log.do_package:
  DEBUG: calculating shlib requirements for libftdi
  DEBUG: libftdi: Dependency libftdi1.so.2 requires package libftdi (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libusb-1.0.so.0 requires package libusb1 (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libstdc++.so.6 requires package libstdc++ (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libgcc_s.so.1 requires package libgcc (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libusb-1.0.so.0 requires package libusb1 (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdi1.so.2.2.0)
  DEBUG: libftdi: Dependency libc.so.6 requires package glibc (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdi1.so.2.2.0)
  DEBUG: Python function package_do_shlibs finished

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:37:48 -07:00
Martin Jansa
47167e814d luajit: depend on luajit-native to provide host lua
* otherwise minilua for host is built during build of target lua, see
  comment in Makefile:
  # If left blank, minilua is built and used. You can supply an installed
  # copy of (plain) Lua 5.1 or 5.2, plus Lua BitOp. E.g. with: HOST_LUA=lua
* be aware that there is still native buildvm which needs the same headers
  if it fails for you, then you probably need to install libc6-dev:i386
  which installs these headers to hosts /usr/include, some architectures
  are passing HOST_CC="${BUILD_CC} -m32" in EXTRA_OEMAKE, that's why
  you need 32bit headers on 64bit host.
* building native minilua fails on some hosts like this:
  ERROR: luajit-2.0.4-r0 do_compile: oe_runmake failed
  ERROR: luajit-2.0.4-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067)
  ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8 CROSS=arm-oe-linux-gnueabi- TARGET_CFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm  -march=armv5te -mthumb TARGET_LDFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm TARGET_SHLDFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm HOST_CC=gcc  -m32
  | ==== Building LuaJIT 2.0.4 ====
  | make -C src
  | make[1]: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src'
  | HOSTCC    host/buildvm_asm.o
  | HOSTCC    host/minilua.o
  | HOSTCC    host/buildvm_peobj.o
  | HOSTCC    host/buildvm_lib.o
  | HOSTCC    host/buildvm_fold.o
  | CC        lj_gc.o
  | CC        lj_obj.o
  | CC        lj_char.o
  | In file included from host/buildvm_peobj.c:9:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include <sys/types.h>
  |                        ^
  | compilation terminated.
  | In file included from host/buildvm_fold.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include <sys/types.h>
  |                        ^
  | compilation terminated.
  | In file included from host/buildvm_asm.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include <sys/types.h>
  |                        ^
  | compilation terminated.
  | In file included from host/buildvm_lib.c:6:0:
  | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory
  |  #include <sys/types.h>
  |                        ^
  | compilation terminated.
  | In file included from /usr/include/limits.h:25:0,
  |                  from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168,
  |                  from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7,
  |                  from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,
  |                  from host/minilua.c:33:
  | /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
  |  #  include <sys/cdefs.h>
  |                          ^
  | compilation terminated.
  | make[1]: *** [host/buildvm_lib.o] Error 1
  | make[1]: *** Waiting for unfinished jobs....
  | make[1]: *** [host/buildvm_fold.o] Error 1
  | make[1]: *** [host/buildvm_asm.o] Error 1
  | make[1]: *** [host/buildvm_peobj.o] Error 1
  | make[1]: *** [host/minilua.o] Error 1
  | make[1]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src'
  | make: *** [default] Error 2
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067)
  NOTE: recipe luajit-2.0.4-r0: task do_compile: Failed
  ERROR: Task 6 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb, do_compile) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:31:32 -07:00
Richard Tollerton
5bae9e13ee openldap: control ipv6 support via DISTRO_FEATURES
Explicitly disable ipv6 support if the distro does not include it.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:28:49 -07:00
Zhixiong Chi
fb3ef4d502 postgresql: Security Advisory-postgresql-CVE-2016-0766
add CVE-2016-0766 patch for avoiding attackers to gain privileges
via unspecified vectors.
Patch comes from:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=summary
commit f4aa3a18a20d51575562520754aa376b3b08b2d0

Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:25:33 -07:00
Martin Jansa
fe34300893 efl-native: add dependency on openssl
* without this many recipes which use e.g. edje_cc fail after last openssl
  upgrade in oe-core with:
  | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/edje_cc: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/../../lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/libeet.so.1)
  | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/edje_cc: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/../../lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/./libecore_con.so.1)
  | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/edje_cc: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/././libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/./libecore_con.so.1)
  | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/edje_cc: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/../../lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/./libemile.so.1)
  | /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/edje_cc: /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/././libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/../lib/./libemile.so.1)
  | make[4]: *** [modules/ethumb/emotion/template.edj] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:11:27 -07:00
Rafaël Carré
be78b6dbd4 vlc: Fix typo introduced in 0f2b313952
vlc-2.2.1: vlc: invalid PACKAGECONFIG: {@bb.utils.contains('DISTRO_FEATURES', [invalid-packageconfig]
vlc-2.2.1: vlc: invalid PACKAGECONFIG: 'x11', [invalid-packageconfig]
vlc-2.2.1: vlc: invalid PACKAGECONFIG: 'x11 [invalid-packageconfig]
vlc-2.2.1: vlc: invalid PACKAGECONFIG: sdl', [invalid-packageconfig]
vlc-2.2.1: vlc: invalid PACKAGECONFIG: '', [invalid-packageconfig]
vlc-2.2.1: vlc: invalid PACKAGECONFIG: d)} [invalid-packageconfig]

Signed-off-by: Rafaël Carré <funman@videolan.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 13:10:08 -07:00
Martin Jansa
bdff28d9a7 recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing
  many QA warnings.
* See this thread for details:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html

Dropped Lua patch as no ptest support exists in jethro

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

Conflicts:
	meta-oe/recipes-devtools/lua/lua_5.3.1.bb
2016-04-17 13:06:14 -07:00
Alexander Kanavin
9a0ee11cfb tracker: fix packaging issues
ERROR: tracker-0.14.2-r7 do_package_qa: QA Issue: -dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/writeback-modules/libwriteback-taglib.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-pdf.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-tiff.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-mp3.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-abw.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-jpeg.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-ps.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-icon.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-text.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-gstreamer.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-epub.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-msoffice-xml.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-oasis.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-png.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-html.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-gif.so'
-dev package contains non-symlink .so: tracker-dev path 'work/armv5te-oe-linux-gnueabi/tracker/0.14.2-r7/packages-split/tracker-dev/usr/lib/tracker-0.14/extract-modules/libextract-msoffice.so' [dev-elf]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:56:07 -07:00
Philip Balister
f1dc4078e1 log4cpp: Fix build system path in pkgconfig file QA failure.
* Must remove path from pc.in and stop configure.in from regenerating the file.
 * Also included some changes requested in earlier review that arrived late.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:51:53 -07:00
Richard Purdie
70ed0a32c5 xmlstarlet: Disable PARALLEL_MAKE
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:49:36 -07:00
Rafaël Carré
ea971aca61 vlc: make sdl optional (enabled by default)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:47:02 -07:00
Rafaël Carré
9a2f0196fc vlc: make x11 DISTRO_FEATURE optional (enabled by default)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:46:29 -07:00
Stephen Arnold
8b03f47c22 net-snmp: fix cross-compile breakage, add libnl pkgconfig option
This patch enhances a previously unapplied patch on jethro, plus adds
some flexibility in terms of required deps and a few cleanups.

Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.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>
2016-04-17 12:42:43 -07:00
Mingli Yu
beaa9a80c4 netkit-rsh: add two patches and some fixes.
* Update the checksum of the license text to include all the
license text to instead of the previous only from two to
three line.
* Customize compile option such as CFLAGS= -D_GNU_SOURCE
and the specific install folder.
* Customize pam configuration file for rsh, rexec.
and rlogin to make them work.
* Update the line "server  = /usr/bin/tcpd" to
"server = /usr/sbin/tcpd" for /etc/xinetd.d/{rexec,rlogin,rsh}.
* Fix some typo such as replace RPROVIDES_${PN}-rshd = "rshd"
to RPROVIDES_${PN}-server = "rshd"
* Fix host variable when rsh is renamed to other.
* Add rexec to support ipv6.

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>
2016-04-17 12:38:09 -07:00
Mingli Yu
11059971ed netkit-telnet: Add to generate telnetlogin.
* Add oe_runmake line for telnetlogin to make the telnetlogin
folder to be built.
* Add FILES_${PN} line to let ${libdir}/telnetlogin to be
included in netkit-telnet package.
* Customize "install -D -m 4750 ${B}/telnetlogin/telnetlogin
${D}/${libdir}/telnetlogin" to let the telnetlogin to be
installed under /usr/lib64 on 64bit system.

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>
2016-04-17 12:37:39 -07:00
Andre McCurdy
2642063d7d gst-plugins-base: add perl runtime dependency to gst-plugins-base-apps
gst-plugins-base-apps contains /usr/bin/gst-visualise-0.10, which is
a perl script.

Note that the gst-visualise-0.10 script was dropped upstream prior to
the first gst-plugins-base 1.0 release:

  http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=227be98c0b65a1616c0d0689db6fa7576bcbe434

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 12:35:24 -07:00
Stephano Cetola
98fb6af59a fix missing packageconfig for samba with sysvinit
Building samba with sysvinit currently throws a QA warning about
"invalid PACKAGECONFIG: sysv". This fixes that issue.

Signed-off-by: Stephano Cetola <stephanoc@gmail.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>
2016-04-17 11:43:16 -07:00
Belal, Awais
108016f9e7 mplayer2: fix building with gcc 5.x
This patch works around a potential problem in the theora
glue code where it assumes that the compiler will
somehow find a function which is not exported explicitly
through the libtheora library. Due to this problem the
build fails with gcc-5.x compiler.
The included patch essentially backports a commit which
updates the glue code to use the Theora 1.0 API to
eliminate this problem and PNBLACKLIST is cleared
for mplayer2.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 07:41:40 -07:00
Christopher Larson
ee18901e78 ctdb: rdep on bash
onnode is a shell script with bashisms and bash #!.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-17 07:00:42 -07:00
Roy Li
8d2d193ce3 lldpd: configure the systemd unit file dir
configure the systemd unit file dir, otherwise it will be auto-checked
by 'pkg-config --variable=systemdsystemunitdir systemd', but if systemd
is not built firstly, and the the unit file will not be installed, and
lead to below error:
    ERROR: Function failed: SYSTEMD_SERVICE_lldpd value lldpd.service does not exist
and disable sysusersdir, since sysuser is not used currently.

Signed-off-by: Roy Li <rongqing.li@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>
2016-04-17 06:57:47 -07:00
Armin Kuster
c305ac5d2f python-m2crypto: fix SSLv2 symbol issue
missed using "-D"  for OPENSSL_NO_SSL2 swig_features.

ERROR: Failed to import the "M2Crypto" module: .../usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method

disable using SSLv2_method if not supported in openssl. This is now the case
with the advent of CVE-2016-0800

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-09 20:10:13 +01:00
Armin Kuster
a80a886056 ntp: update 4.2.8p6
QA error fix:
ERROR: QA Issue: ntp: Files/directories were installed but not shipped in any package:
  /usr/libexec

CVES addressed:

Bug 2948 / CVE-2015-8158
Bug 2945 / CVE-2015-8138: origin: Zero Origin Timestamp Bypass
Bug 2942 / CVE-2015-7979: Off-path Denial of Service (DoS) attack on authenticated broadcast mode
Bug 2940 / CVE-2015-7978: Stack exhaustion in recursive traversal of restriction list
Bug 2939 / CVE-2015-7977: reslist NULL pointer dereference
Bug 2938 / CVE-2015-7976: ntpq saveconfig command allows dangerous characters in filenames
Bug 2937 / CVE-2015-7975: nextvar() missing length check
Bug 2936 / CVE-2015-7974: Skeleton Key: Missing key check allows impersonation between authenticated peers
Bug 2935 / CVE-2015-7973: Deja Vu: Replay attack on authenticated broadcast mode
Bug 2947 / CVE-2015-8140: ntpq vulnerable to replay attacks
Bug 2946 / CVE-2015-8139: Origin Leak: ntpq and ntpdc, disclose origin

NTP-4.2.8p5
NtpBug2956: Small-step/Big-step CVE-2015-5300

Bug #2829 Clean up pipe_fds in ntpd.c
Bug #2887 stratum -1 config results as showing value 99.
Bug #2932 Update leapsecond file info in miscopt.html.
Bug #2934 tests/ntpd/t-ntp_scanner.c has a magic constant wired in.
Bug #2944 errno is not preserved properly in ntpdate after sendto call.
Bug #2952 peer associations were broken by the fix for NtpBug2901 CVE-2015-7704
Bug #2954 Version 4.2.8p4 crashes on startup on some OSes.
Bug #2957 'unsigned int' vs 'size_t' format clash.
Bug #2958 ntpq: fatal error messages need a final newline.
Bug #2962 truncation of size_t/ptrdiff_t on 64bit targets.
Bug #2965 Local clock didn't work since 4.2.8p4.
Bug #2967 ntpdate command suffers an assertion failure
Bug #2969 Seg fault from ntpq/mrulist when looking at server with lots of clients.
Bug #2971 ntpq bails on ^C: select fails: Interrupted system call

Signed-off-by: Armin Kuster <akuster808@gmail.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>
2016-02-23 13:09:00 -08:00
Liu Jian
1a8973fd68 phpmyadmin: CVE-2015-8669
libraries/config/messages.inc.php in phpMyAdmin 4.0.x before 4.0.10.12,
4.4.x before 4.4.15.2, and 4.5.x before 4.5.3.1 allows remote attackers
to obtain sensitive information via a crafted request, which reveals
the full path in an error message.

This patch is from c4d649325b

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-21 07:52:11 -08:00
Armin Kuster
a715bdffac xdelta3: Security fix CVE-2014-9765
CVE-2014-9765 xdelta: buffer overflow in main_get_appheader

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-21 07:49:40 -08:00
Armin Kuster
dc5634968b php: Security fix CVE-2016-1903
CVE-2016-1903 php: Out-of-bounds memory read via gdImageRotateInterpolated

Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-02-10 15:08:20 +01:00
Armin Kuster
889258fd3a php: Security fix CVE-2015-7804
CVE-2015-7804 php: uninitialized pointer in phar_make_dirstream()

Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-02-10 15:08:20 +01:00
Armin Kuster
4fecce0035 php: Security fix CVE-2015-7803
CVE-2015-7803 php: NULL pointer dereference in phar_get_fp_offset()

Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-02-10 15:08:19 +01:00
Joe Slater
e28e6e1241 geoip: add ptest functionality
Also make geoip package rdepend on geoip-database and
add symbolic link to GeoIPCity.dat.

Signed-off-by: Joe Slater <jslater@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>
2016-02-10 15:08:19 +01:00
Mark Asselstine
9ab08d7b9c ctdb: Fix rootfs creation errors
While building an image I was getting an error during rootfs creation
that ctdb was conflicting with base-files as both were creating
'/var/run':

    warning: Removing ctdb-2.5.1-r0@core2_64 due to file /var/run \
      conflicting with base-files-3.0.14-r89@genericx86_64

This is normally a volatile directory so we have no need
to include this in the ctdb package, so revert the actions of the
Makefile by deleting the directory.

Although /run and $localstatedir/run are linked to be consistent we
update the .service file to use the latter. To ensure the 'ctdb'
subdir exists we patch the use of RuntimeDirectory= in to the .service
file. This will compensate for our removal of this directory creation
from the Makefile.

Signed-off-by: Mark Asselstine <mark.asselstine@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>
2016-02-10 15:08:19 +01:00
Andreas Müller
e0a6765417 thunar: remove udisks from RRECOMMENDS
now gvfs takes care to include all we need for automounting / network browsing

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:54 -08:00
Christopher Larson
31941a0290 lowpan-tools: add missing flex/bison deps
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:54 -08:00
Hongxu Jia
2cdf4fdf35 postfix: fix clean broken issue
There is a build failure while rebuilding postfix
...
| NOTE: make -e MAKEFLAGS= OPT= DEBUG= OPTS= clean
| make -f Makefile.in MAKELEVEL= Makefiles
| (echo "# Do not edit -- this file documents how Postfix was built for your
machine.";/bin/sh makedefs) >makedefs.tmp
| No <db.h> include file found.
| Install the appropriate db*-devel package first.
| Makefile.in:31: recipe for target 'Makefiles' failed
| make: *** [Makefiles] Error 1
| Makefile:21: recipe for target 'Makefiles' failed
| make: *** [Makefiles] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_configure (log file is located at tmp/work/
core2-64-wrs-linux/postfix/3.0.2-r0/temp/do_configure/log.do_configure.12848)
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Jackie Huang
c03cc1c153 ncftp: fix build failures with ccdv
ccdv is an internal tool to reduce the deluge Make output
to make finding actual problems easier and it is intended
to be invoked from Makefiles only, it doesn't work for the
cross compiling, so compile it with $BUILD_CC and
corresponding CFLAGS.

And I think we don't need to enable it by default to
reduce our Make output, so add a PACKAGECONFIG for it
but disable it by default.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Jackie Huang
2de03b1f00 iscsitarget: skip the arch test for kernel modules
Kernel modules may not have the same architecture as user space.
So we tell INSANE_SKIP to skip checking the arch for the modules.
This is consistent with other kernel modules and the kernel recipe.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Jackie Huang
8e67d3e8ae iscsitarget: split the kernel module into separate package
inherit module instead of module-base, so the module is
split into kernel-module-iscsi-trgt and make PN rdepends
on it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Robert Yang
23db7070f9 netkit-ftp: fixed invalid symlink
netkit-ftp-0.17: Symlink /usr/bin/pftp in netkit-ftp points to TMPDIR [symlink-to-sysroot]
lib32-netkit-ftp-0.17: Symlink /usr/bin/pftp in lib32-netkit-ftp points to TMPDIR [symlink-to-sysroot]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Robert Yang
629297d079 ctdb: add PACKAGECONFIG for libtdb
Fixed:
WARNING: QA Issue: ctdb rdepends on libtdb, but it isn't a build dependency? [build-deps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:53 -08:00
Robert Yang
f41708164e cim-schema-exper: fix host-user-contaminated
Fixed:
cim-schema-exper-2.39.0: cim-schema-exper: /cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
cim-schema-final-2.40.0: cim-schema-final: /cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof 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-cim-schema-exper-2.39.0: lib32-cim-schema-exper: /lib32-cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof 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-cim-schema-final-2.40.0: lib32-cim-schema-final: /lib32-cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

It uses cp -a to install the files, 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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00
Robert Yang
f3a6d007c1 nbd: use BPN in Files
Fixed when build with multilib:
lib32-nbd-3.11: lib32-nbd: Files/directories were installed but not shipped in any package:
  /usr/sbin/nbd-client
  /usr/bin/nbd-trdump
  /usr/bin/nbd-server
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-nbd: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00
Ruslan Bilovol
a09eaa42a4 wireshark: update SRC_URI link to sources
Wireshark official site keeps in /src only latest
versions of sources, moving them to /src/all-versions
after some time.
Update the SRC_URI string so wireshark can be built
even after few month after release.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00
Armin Kuster
f53801a361 qwt: Fix host-user-contaminated
WARNING: QA Issue: qwt: /qwt-examples/usr/bin/event_filter is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: qwt: /qwt-examples/usr/bin/cpuplot is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00
Yi Zhao
7434c03b3b orrery: fix host-user-contaminated
Fix QA warning:
WARNING: QA Issue: orrery: /orrery/usr/share/orrery/deepSky/messier is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00
Yi Zhao
13f7a3a66b logwatch: fix host-user-contaminated
Fix QA warning:
WARNING: QA Issue: logwatch: /logwatch/usr/share/logwatch/scripts/services/resolver is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-02-06 16:56:47 -08:00