aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-01-05waf-samba.bbclass: add cross-answers option and filesjhuang0/d_samba_rebase_160106-0Jackie Huang
--cross-execute uses qemu to run cross-compiled binaries, it works fine for qemu supported targets, but it definitely will fail if the target is not supported by qemu. So we need to use the cross-answers option. Added three methods and set 'answer' as default: 1. answers: Only --cross-answers - try the cross-answers file, and if there's no corresponding answer, add to the file and mark the configure process as unfinished. 2. exec: Only --cross-execute - get the answer from cross-execute, an emulator (qemu) is used to run cross-compiled binaries. 3. both: Try the cross-answers file first, and if there is no corresponding answer, use cross-execute to get an answer, and add that answer to the file. The cross files in are all generated by qemu when the 'both' mode is enabled, and are placed in a common directory LAYERDIR/files/waf-cross-answers which is set as WAF_CROSS_ANSWERS_PATH in layer.conf of meta-oe, so that we don't have to put copies of them for each package (there are 5 packages inerit waf-samba for now) Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05samba: backport patches for cross-compilingJackie Huang
* Adds a new mode for samba cross-compiling: When both --cross-answers and --cross-execute are set, this means: - Use cross-answers - If answer is unknown, then instead of adding UNKNOWN to the cross-answers file and failing configure, the new mode runs cross-execute to determine the answer and adds that to the cross-answers file. * And some fixes and improvements for cross-compiling. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05samba: fix the incorrect tmpfiles installed directoryJackie Huang
- The tmpfiles are always installed in /usr/lib even for multilib. - It makes no sense to have two tmpfiles in both /usr/lib/tmpfiles.d and /etc/tmpfiles.d, install it as one in /etc/tmpfiles.d. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05libtalloc: upgrade to 2.1.3Jackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05libtevent: upgrade to 0.9.25Jackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05libldb: upgrade to 1.1.21Jackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05libtdb: upgrade to 1.3.7Jackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-05postfix.inc: fix start postfix failed while hostname is numericHongxu Jia
While hostname is numeric, start postfix failed ... root@qemux86-64:~# hostname 1.2.3.4 root@qemux86-64:~# systemctl restart postfix |Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details. root@qemux86-64:~# systemctl status postfix -l Dec 02 08:05:40 1.2.3.4 aliasesdb[535]: /usr/sbin/postconf: fatal: unable to use my own hostname Dec 02 08:05:41 1.2.3.4 aliasesdb[535]: newaliases: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:41 1.2.3.4 postfix/sendmail[537]: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:41 1.2.3.4 aliasesdb[535]: newaliases: fatal: unable to use my own hostname Dec 02 08:05:42 1.2.3.4 postfix[540]: warning: valid_hostname: numeric hostname: 1.2.3.4 Dec 02 08:05:42 1.2.3.4 postfix[540]: fatal: unable to use my own hostname ... Refer meta/recipes-core/initscripts/initscripts-1.0/hostname.sh in oe-core, add check_hostname.sh and invoke it before postfix start, if the hostname is invalid, set "localhost" to main.cf. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: move RDEPENDS of perl from samba to samba-pidlJens Rehsack
samba-pidl is the package containing the perl-extension, so RDEPENDS must include perl for samba-pidl, not for samba. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: split packages similar to samba3Jens Rehsack
Since entire samba4 package is around 25MB, trying to save some space by splitting the package into several ones logically grouped as they were at samba3 in fido. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05net-snmp: fix the replacement in net-snmp-configRoy Li
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>
2016-01-05wireshark: package update to 2.0.1Armin Kuster
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>
2016-01-05iscsitarget: resolve build error if CONFIG_IPV6 config is not enabledJagadeesh Krishnanjanappa
The element skc_v6_daddr (in struct sock_common) is defined in kernel source only when CONFIG_IPV6 is enabled. Hence, access sk_v6_daddr element (i.e __sk_common.skc_v6_daddr) only when CONFIG_IPV6 is defined; to fix below error in world build: -- snip -- /home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemux86/kernel-source/include/net/sock.h:330:33: error: 'struct sock_common' has no member named 'skc_v6_daddr' -- CUT -- Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05libtalloc: fix SRC_URIKai Kang
It fails to fetch source of libtalloc: | ERROR: Fetcher failure: Fetch command failed with exit code 8, output: | https://www.samba.org/ftp/libtalloc/talloc-2.1.3.tar.gz: | 2015-12-21 10:22:09 ERROR 404: Not Found. Fix it by replace ${BPN} with original package name talloc. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05strongswan: install strongswan-swanctl systemd service by default.Chris Patterson
Matches start-on-boot behaviour of current strongswan.service. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05strongswan: add configure patch fix for systemdChris Patterson
Fixes strongswan configure script for systemd >= 209, where it merged libsystemd-journal and libsystemd-daemon into libsystemd. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05strongswan: add additional PACKAGECONFIG flagsChris Patterson
- Add aesni, charon, gmp, openssl, scep, stroke, swanctl, and systemd-charon. - Organize the packageconfig list alphabetically. - Update the default PACKAGECONFIG to match current defaults. - If swanctl is enabled, use strongswan-swanctl.service instead of strongswan.service. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05samba: add PACKAGECONFIG for valgrindWenzong Fan
* Add configure options '--without-valgrind' * Disable valgrind by default since it doesn't build for all targets This fixes build errors: ../source3/include/includes.h:156:31: fatal error: \ valgrind/memcheck.h: No such file or directory compilation terminated. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05ctdb: add dependency on libldbMartin Jansa
* libldb is autodetected from sysroot: WARN: ctdb: ctdb rdepends on libtdb, but it isn't a build dependency? Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-05xl2tpd: fix warnings with gcc 5Kai Kang
When compile with gcc 5.x, xl2tpd complains warnings: | misc.h:68:20: warning: inline function 'swaps' declared but never defined | extern inline void swaps (void *, int); | ^ Backport patch to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04quagga: fix segment fault when stopping ospf6dQi.Chen@windriver.com
In ospf6_clean, the variable ospf6 might be NULL causing segment fault when stopping ospf6d. Check the variable before referencing it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04net-snmp: apply patch for cross-compilationRafaël Carré
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>
2016-01-04net-snmp: apply patch for cross-compilationRafaël Carré
7fb5479 added the patch but did not apply it Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04samba: make cyrus-sasl optionalJens Rehsack
Since waf doesn't allow override check results via environment, a patch is needed to remove the bad check when an optional feature is unwanted. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04libtevent: rework dependencies for deterministic buildJens Rehsack
Since waf configure infrastructure is a body blow compared to reasonable autoconf script from packager point of view, samba support libs need feature-disable-patches. This one is for libtevent removing libcap (introduced by libldap_r) and attr. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04libldb: allow chosing ldap dependency instead of hard requiring itJens Rehsack
Add a patch to remove the check for openldap but mark prove result negative unless ldap dependency is enabled explicitely. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04samba: fix typo distinguishing between plain sysv init and lsb initJens Rehsack
During fix for distinguishing between lsb flavoured sysv init and pure, on the rocks version, author introduced a typo. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04talloc: rename to libtalloc and cleanup dependency messJens Rehsack
To avoid errors when building dev-images (talloc-dev is missing), and to avoid insane empty packages for that, rename talloc -> libtalloc as libtevent shows. With that, remove dependencies to attr/xattr - unless explicitely enabled via PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04mime-construct: move from meta-networking to meta-perlKai Kang
mime-construct only provides a perl script and depends on many perl modules that cause layer meta-networking depends on meta-perl. Move mime-construct from meta-networking to meta-perl to avoid the layer dependency. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04mime-construct: update runtime dependenciesKai Kang
Update runtime dependencies of mime-construct: * drop WaitStat.pm and Signal.pm which are from libproc-waitstat-perl and its dependency libipc-signal-perl * add patch to return 0 for option '--help' * replace postfix with msmtp which is more lightweight * add perl modules which are required for mime-construct to run Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04linux-yocto-tiny-kexecboot: upgrade to 4.1Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04python-vcversioner: Error Fix for recipes depend on python-vcversioner.Li xin
If you bitbake recipes which depends on python-vcversioner such as python-jsonschema. And also your network is not very well. Error will occur as following: Download error on https://pypi.python.org/simple/vcversioner/: [Errno -5] No address associated with hostname -- Some packages may not be found! Couldn't find index page for 'vcversioner' (maybe misspelled?) No local packages or download links found for vcversioner So add do_compile_append() to fix it. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04polkit-gnome: remove unrecognized configure optionsYi Zhao
Fix QA warning: WARNING: QA Issue: polkit-gnome: configure was passed unrecognised options: --disable-examples --disable-introspection [unknown-configure-option] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04libvncserver: fix PN -> BPN for multilibYi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: print oldline within single quotesJose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: add missing common OE variablesJose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04contrib: ensure that oe-stylize.py works with python versions < 3.0Jose Alarcon
Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04nodejs: cleanup and updateTrevor Woerner
Remove old nodejs4_0.4.12 and update nodejs_0.12.7 to the latest stable nodejs_4.2.3. Nodejs is picky about which architectures it supports. The supported arch mapping required some updating to bring it up to date with the current nodejs code. Add COMPATIBLE_MACHINE entries so it only builds for the supported architectures. ARM cores that don't support at least VFP2 have been dropped: https://groups.google.com/forum/#!topic/v8-users/aSOFbaAQvMk "Due the increasing cost of the keeping the "no-VFPv2" port of V8 working on ARM, we are planning on making 3.17 the last V8 release that that supports ARM chips without VFPv2. Starting with the 3.18 release, the minimal V8 requirements will increase to ARMv6 + VFPv2. In order to simplify maintenance, we will also remove the "pre-VFP2" ARM code from the V8 code base." Additionally, gcc no longer supports a VFPv2 option: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mfpu-1460 Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04iperf3: fix build-deps qa warningKai Kang
Add PACKAGECONFIG lksctp to fix qa warning: | WARNING: QA Issue: iperf3 rdepends on lksctp-tools, but it isn't a | build dependency? [build-deps] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: support machines based on oe-core tune-corei7.incAndre McCurdy
oe-core tune-corei7.inc enables -msse4.2 (rather than -msse3, which is only enabled by tune-core2.inc). Add test for -msse4.2 to ensure that SSE is enabled for machines based on tune-corei7.inc (also add a test for -msse4.1 for completeness). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: limit ARM_INSTRUCTION_SET = "arm" over-ride to armv4/armv5Andre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: sort PACKAGECONFIG optionsAndre McCurdy
Recipe cleanup only, no functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04OML: move license file from meta-oe to meta-webserverAndre McCurdy
The OML license is specific to fastcgi, which is in meta-webserver, not meta-oe. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04BSD-0-Clause: remove license file now included in oe-coreAndre McCurdy
http://git.openembedded.org/openembedded-core/commit/?id=ae85c89810488a9eb86ae3bd765260eb5935711b Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04crash: 7.1.2 -> 7.1.3Kai Kang
Upgrade crash from 7.1.2 to 7.1.3. Add gdb source tarball and don't fetch and extract it during do_compile. And do some format tweaks. Exclude mips64 from COMPATIBLE_HOST which is not supported. And update ARCH setting for arm64, ppc64 and mips32. Add patch to enable parallel make for gdb. And don't write crash.target which causes rebuild fails. Backport patches to fix compile failures. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04hostapd: Fix source and build directoryMariano Lopez
The current recipe make no difference between the source and the build directory. There are source files outside this directory and isn't possible to patch these files. This changes adds the build directory path to the recipe, now is possible to patch files in other directories, if required. Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04mpg123: add textrel to INSANE_SKIPAndre McCurdy
The x86 assembler optimisations contains text relocations and there are no upstream plans to fix them: http://sourceforge.net/p/mpg123/bugs/168/ Benchmarking suggests that the SSE assembler is still clearly faster than the generic C code, so leave the assembler optimisations enabled. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04apache2: Upgrade 2.4.16 -> 2.4.18fan.xin
1. Upgrade apache2 from 2.4.16 to 2.4.18 The changes in 2.4.18 is shown in following URL. http://ftp.meisei-u.ac.jp/mirror/apache/dist//httpd/CHANGES_2.4.18 2. Delete patch file npn-patch-2.4.7.patch due to this patch file can not be applied to the apache2 2.4.18's source code. The NPN support was removed with r1676004. NPN is now quite unlikely to find its way into a stable release. https://bz.apache.org/bugzilla/show_bug.cgi?id=52210 Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04VLC: depend on jpeg rather than libjpeg-turboRafaël Carré
The underlying libjpeg implementation doesn't matter Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04VLC: PACKAGECONFIG for new dependency on libvncserverRafaël Carré
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>