Commit Graph

12385 Commits

Author SHA1 Message Date
Khem Raj 4f1a290b8b libp11: Fix build with openssl 1.1+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 08:04:22 -07:00
Khem Raj c637d4c64f jack: Fix build with python 3.7+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 08:04:22 -07:00
Andrej Valek ba82e1b5ec hostapd: fix CVE-2018-14526
Ignore unauthenticated encrypted EAPOL-Key data in supplicant
processing. When using WPA2, these are frames that have the Encrypted
flag set, but not the MIC flag.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 08:04:22 -07:00
Tom Joseph a09e43e371 PAM: Add python library pamela which supports PAM
Pamela is a python wrapper for PAM. Compared to python-pam it has
wrapper for account management apis in addition to authentication
apis.

Signed-off-by: Tom Joseph <tomjoseph83@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Hong Liu 91842a1bc8 ipc-run: 0.96 -> 0.99
Upgrade ipc-run from 0.96 to 0.99

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Kai Kang 0a6da45873 lvm2: fix install file conflict with multilib
When enable multilib and both lvm2 and multilib lvm2 such as lib32-lvm2
are installed to image, it causes install file conflict.

| file /etc/lvm/lvm.conf conflicts between attempted installs of
| lib32-lvm2-2.02.180-r0.x86 and lvm2-2.02.180-r0.core2_64

Inherit multilib_script to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Mingli Yu 2fa611a12f freediameter: update the old sctp api check
The initial sctp api check for freediameter as below:

===
commit d3c5e991cb532ea09684d69fb4d0d58e9bc39a0c
Author: Sebastien Decugis <sdecugis@freediameter.net>
Date:   Mon Jun 3 12:05:37 2013 +0800

    Add some compliancy to RFC6458. Not tested however as Ubuntu does not support this yet

 [snip]
 +/* Use old draft-ietf-tsvwg-sctpsocket-17 API ? If not defined, RFC6458 API will be used */
 +/* #define OLD_SCTP_SOCKET_API */
 +
 +/* Automatically fallback to old API if some of the new symbols are not defined */
 +#if (!defined(SCTP_CONNECTX_4_ARGS) || (!defined(SCTP_RECVRCVINFO)) || (!defined(SCTP_SNDINFO)))
 +# define OLD_SCTP_SOCKET_API
 +#endif
===

SCTP_RECVRCVINFO is defined in <linux/sctp.h>,
but <linux/sctp.h> is't included in the source code
previouly. So defined(SCTP_RECVRCVINFO) can be 0
and it makes old sctp socket api definition in
effect as below:
 # define OLD_SCTP_SOCKET_API

After lksctp-tools upgrade to 1.0.18, there is below
commit introduced in lksctp-tools git:
===
commit 3c8bd0d26b64611c690f33f5802c734b0642c1d8
Author: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date:   Tue Apr 17 20:17:14 2018 -0300

    sctp.h: make use kernel UAPI header

    and with that, remove tons of duplicated declarations. These were
    lagging behind the kernel header, which is always the most updated one,
    and as the library is intended to be run only on Linux, there is no
    reason that we cannot re-use what is in there.

    That said, this patch drops all duplicated declarations and includes
    linux/sctp.h to bring them into lksctp-tools.

    Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>

 [snip]
 #include <stdint.h>
 #include <linux/types.h>
 #include <sys/socket.h>
+#include <linux/sctp.h>
 [snip]
===

And above logic make defined(SCTP_RECVRCVINFO) to
be 1 and the old sctp socket api macro as below
won't be defined.
 # define OLD_SCTP_SOCKET_API

And it encouters below build error:
| /build/freediameter/1.2.1-r0/freeDiameter-1.2.1/libfdcore/sctp.c:1262:9: error: 'SCTP_SEND_FAILED_EVENT' undeclared (first use in this function); did you mean 'SCTP_SEND_FAILED'?
    case SCTP_SEND_FAILED_EVENT:
         ^~~~~~~~~~~~~~~~~~~~~~
         SCTP_SEND_FAILED
| /build/freediameter/1.2.1-r0/freeDiameter-1.2.1/libfdcore/sctp.c:1262:9: note: each undeclared identifier is reported only once for each function it appears in
| /build/freediameter/1.2.1-r0/freeDiameter-1.2.1/libfdcore/sctp.c:1274:9: error: 'SCTP_NOTIFICATIONS_STOPPED_EVENT' undeclared (first use in this function); did you mean 'SCTP_AUTHENTICATION_EVENT'?
    case SCTP_NOTIFICATIONS_STOPPED_EVENT:

Update the old sctp socket api check to fix
the above build error.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Mingli Yu a3051a58ae lksctp-tools: Upgrade to 1.0.18
inherit autotools-brokensep to fix the gap
between ${S} and ${B}

Backport 6 patches from master to fix build
issue[https://github.com/sctp/lksctp-tools/compare/lksctp-tools-1.0.18...master]
| WARNING: lksctp-tools-1.0.18+gitAUTOINC+1b077af62d-r0 do_package: QA Issue: lksctp-tools: Files/directories were installed but not shipped in:
|  /usr/lib64/libsctp.so.1.0.17
|  /usr/lib64/lksctp-tools/libwithsctp.so.1.0.17

| -- Looking for sctp_connectx - not found[when
build freediameter which depends on lksctp-tools]

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Paul Eggleton 9c0243b691 mosquitto: upgrade to 1.5.1
This includes one security fix and numerous other bugfixes. MQTT version
3.1.1 is now the default protocol.

See the following for details:

https://mosquitto.org/blog/2018/08/version-151-released/
https://mosquitto.org/blog/2018/05/version-1-5-released/

Changes to the recipe:
* Drop explicit installation of the libmosquitto.a static library
  because this no longer gets built by default, and the normal
  "make install" which we are running will install it anyway if it were
  to be enabled.
* Drop our service file since there is one supplied in the source tree
* Enable systemd notify support when systemd is being used
* Update comments in the init script

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04 11:55:21 -07:00
Khem Raj 35952eda3f python-m2crypto: Add STDC_HOSTED to grep regexp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-01 01:42:03 -07:00
Andrea Adami 28d225b581 kexec-tools-klibc: add kexec-x32.patch from oe-core
This is the last patch borrowed from the actual oe-core recipe.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:42:01 -07:00
Andrea Adami c56b2fc960 kexec-tools-klibc: package vmcore-dmesg-klibc
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:41:45 -07:00
Andrea Adami d128fcea07 kexec-tools-klibc: sync patches with oe-core
Following patches have been imported:

 0001-Disable-PIE-during-link.patch
 0001-purgatory-Pass-r-directly-to-linker.patch
The two above are in the now modified
 0011-purgatory-Makefile-adapt-to-klcc.patch

These two have been imported and renamed:
0002-powerpc-change-the-memory-size-limit.patch
0010-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:41:29 -07:00
Ross Burton 4abf0f4d6f phoronix-test-suite: add dependency on lsb_release
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:32:25 -07:00
Andrea Adami 8eae2f8c86 kexec-tools-klibc: upgrade to latest master
as of b9de21ef51a7ceab7122a707c188602eae22c4ee we can remove
obsoleted kdump and get the --no-checks option.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 06:55:43 -07:00
Andrea Adami b5d062af3d kexec-tools-klibc: fix kexec_load() syscall workaround
As soon as klibc adds kexec_file_load() syscall we can rework this patch.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 06:55:33 -07:00
Ross Burton e8b9543fb9 vlc: use fribidi not libfribidi
The recipe is called fribidi, so use that instead of the PROVIDE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 06:55:25 -07:00
Ross Burton 685715fd41 abiword: use fribidi not libfribidi
The recipe is called fribidi, so use that instead of the PROVIDE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 06:55:17 -07:00
Khem Raj 58062ba654 libkcapi: Upgrade to 1.1.3
Drop upstream patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
2018-08-30 23:54:38 -07:00
Khem Raj cb572824b4 ndisc6: Do not use gold linker and disable rpath
It builds with clang just fine so remove pinning it to gcc-only recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-30 11:29:19 -07:00
Yevgeny Popovych 3c6eceb941 crda: Fix 64bit builds by inheriting siteinfo class
Variables provided by siteinfo are already in use,
but the siteinfo class is not inherited for some reason.

Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-30 09:20:07 -07:00
Randy MacLeod 72869dc798 rsyslog: update from 8.36 to 8.37
Drop upstreamed patch:
   edce434db fix race in parallel builds

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-30 09:19:35 -07:00
texierp c50d90be29 spitools: 0.8.1 -> 0.8.3
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:23 -07:00
Alejandro del Castillo 00deeeec3b python3-pytest-helpers-namespace: add recipe
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Sergey Kizunov 3465362698 python-pytest-helpers-namespace: add recipe
This plugin does not provide any helpers to pytest, it does, however,
provide a helpers namespace in pytest which enables you to register
helper functions in your conftest.py to be used within your tests
without having to import them.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Alejandro del Castillo 2b5fb4f817 python3-pytest-tempdir: add recipe
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Sergey Kizunov f60b850edd python-pytest-tempdir: add recipe
Adds support for a predictable and repeatable temporary directory.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Mingli Yu 4fb7aa816c cryptsetup: Upgrade to 2.0.4
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Mingli Yu c7285f6548 mcelog: Upgrade to 160
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Khem Raj 028208f699 memcached: Update to 1.5.10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Khem Raj b3f3251273 civetweb: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Khem Raj 48b61ca652 turbostat: Provide a persistent COPYING file
we were having static md5 sum but the COPYING file
was very much tied to certain versions of kernel this
makes it fail for several different kernel versions
so lets keep the upstream version of copying file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:13 -07:00
Slater, Joseph 840850e834 php: define PACKAGECONFIG[] for valgrind
configure will look by default for valgrind.h in some host directories.
We override this by setting --with-valgrind even if we do not want it.

The default value of PACKAGECONFIG does not enable valgrind support.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 18:35:11 -07:00
Jens Rehsack 948a85f85f grpc: update from 1.8.5 -> 1.14.1
Update gRPC to 1.14.1 and fix cause for issues like
  https://stackoverflow.com/questions/49975541/how-to-port-grpc-helloworldcpp-example-on-yocto

For release notes check https://github.com/grpc/grpc/releases

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:49 -07:00
Jens Rehsack 46aa68deaf python{, 3}-protobuf: Update 3.6.0 -> 3.6.1
Update recipe for python protobuf to 3.6.1 to align with
protobuf.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:46 -07:00
Jens Rehsack aa6b137ace protobuf-c: Update 1.3.0 -> 1.3.1
Updating protobuf-c to 3.6.1:
  [ Robert Edmonds ]
  * Release 1.3.1.
  * Restore protobuf-2.x compatibility (#284, #285).
  * Use xenial and protobuf 3.6.1 in the Travis-CI environment (#332).
  * Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, needed
    to compile against protobuf 3.6.1 (#320, #333).
  * Use AX_CXX_COMPILE_STDCXX macro to enable C++11 support in old compilers
    (#312, #317, #327, #334).
  [ Fredrik Gustafsson ]
  * Add std:: to some types (#294, #305, #309).
  [ Sam Collinson ]
  * Check the return value of int_range_lookup before using as an array index;
    it can return -1 (#315).
  [ Matthias Dittrich ]
  * Fix compilation on mingw by using explicit protoc --plugin=NAME=PATH syntax
    in Makefile.am (#289, #290).

Removing deprecated 0001-protobuf-c-fix-compile-error-with-protobuf-3.6.0.1.patch

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:33 -07:00
Jens Rehsack 60f6414ba9 protobuf: Update from 3.6.0.1 -> 3.6.1
Update recipe for protobuf to 3.6.1:

2018-07-27 version 3.6.1 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
  C++
  * Introduced workaround for Windows issue with std::atomic and std::once_flag
    initialization (#4777, #4773).
  PHP
  * Added compatibility with PHP 7.3 (#4898).
  Ruby
  * Fixed Ruby crash involving Any encoding (#4718).

More details available at:
  https://github.com/protocolbuffers/protobuf/compare/v3.6.0.1...v3.6.1

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:31 -07:00
Jens Rehsack 9070ae8482 libnet-ssleay-perl: Fix configure issue
Fix libnet-ssleay-perl tries to execute found openssl binaries
at the place of ${OPENSSL_PREFIX} and bailing out when either
binaries are missing or can't be executed. From cross-compiling
perspective, both is insane.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:20 -07:00
Jens Rehsack 1fd61636f9 libcrypt-openssl-rsa-perl: Update to 0.30
Update recipe for CPAN hosted Perl5 module Crypt::OpenSSL::RSA
from 0.28 to 0.30 to fix build issues when using openssl 1.1 and
to express our love to the Perl Programming Language.

LICENSE checksum updated because of:
    f0a2ed2 Purge trailing whitespace

Changes since 0.28: https://metacpan.org/changes/release/TODDR/Crypt-OpenSSL-RSA-0.30

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:37:00 -07:00
Jens Rehsack 0a83476cac libcrypt-openssl-guess: Add recipe
Add recipe for CPAN hosted Perl5 module Crypt::OpenSSL::Guess
version 0.11 as prerequisite for libcrypt-openssl-rsa-perl update
to express our love for the Perl Programming Language.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:51 -07:00
Hong Liu e427280262 nodejs: 8.11.3 -> 8.11.4
Upgrade nodejs from 8.11.3 to 8.11.4

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Hong Liu d3619177fc php: 7.2.8 -> 7.2.9
Upgrade php from 7.2.8 to 7.2.9

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Robert Yang 8e63f1855c cyrus-sasl: CLEANBROKEN = "1"
Fixed rebuild error:
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: ./configure failed for saslauthd

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
dengke.du@windriver.com a8c59cfdee snappy: add -fPIC flags
Let the libsnappy.a be position independent code, so other packages can use it
to make shared PIC library, such as ceph.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Radek Dostal bae481e933 wireless-regdb: make wireless-regdb architecture independent
There is no compilation involved in wireless-regdb and package should
produce  the same results on all architectures => making it allarch saves
build time.

Additionally this fixes issue: "On machines where ${libdir} equals to
/usr/lib64/ regulatory.bin is not found by crda". Reason was that
crda-3.18/crda.c looks only in following paths:
  "/usr/local/lib/crda/regulatory.bin", /* Users/preloads can override */
  "/usr/lib/crda/regulatory.bin", /* General distribution package usage */
  "/lib/crda/regulatory.bin", /* alternative for distributions */

Signed-off-by: Radek Dostál <radek.dostal@streamunlimited.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj fd8a326652 open-vm-tools: Upgrade to 10.3.0
License-update: Copyright year and formatting changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj 901af82e7d zsh: Delete ${D}/usr if empty
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Mingli Yu 0b18276ac9 drbd-utils: fix usrmerge install path
Install the files under folder /usr/lib/drbd
to instead of /lib/drbd and also /usr/lib/udev
to instead of /lib/udev/ when usrmerge enabled
to fix below issue:

| WARNING: drbd-utils-9.5.0-r0 do_package: QA Issue: drbd-utils: Files/directories were installed but not shipped in any package:
  /lib/drbd/drbdsetup-84
  /lib/drbd/drbdadm-83
  /lib/drbd/drbdsetup-83
  /lib/drbd/drbdadm-84
  /lib/drbd/drbd
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_insta.
| drbd-utils: 5 installed and not shipped files. [installed-vs-shipped]

| ERROR: QA Issue: drbd-utils-dbg package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj 196a373fb4 kernel-selftest: Fix the COPYING checksum variablity
COPYING coming from kernel sources but the md5 is static value
saved in recipe does not scale to all kind of machines which may
have different kernel providers filling in, therefore keep a static
copy of COPYING file as well, additionally copy LICENSES directory ( if
it exists) into sources where all the real license texts are living

Document need for clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Jens Rehsack 15bd5f4ebb python{, 3}-m2crypto: update from 0.26.4 -> 0.30.1
Updating recipe for crypto and SSL toolkit for python and support
python3 infrastructure of Yocto as well as the already supported
python2 line.

Refresh patches to fix devtool warnings

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00