aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
AgeCommit message (Collapse)Author
2019-01-13meta-networking: remove True option to getVar calls (again)André Draszik
A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23miniupnpd: Fix cross compile on OEKhem Raj
genconfig script can be specified OS specs if its not then it pokes at the build system via uname, we add code for OE support to ensure we pass DISTRO_VERSION as OS_VERSION Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-12samba: fix build on qemumips64 with muslAndrea Adami
There is the same issue as for libldb, the header has conflicting defs for unitptr_t. Fix it as done for the other recipe. Fix /cmocka/cmocka.h:126:28: error: conflicting types for 'uintptr_t' typedef unsigned int uintptr_t; ^~~~~~~~~ Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-06wolfssl: Update version to 3.15.5Chris Conlon
This patch updates wolfSSL to the current 3.15.5 version. It removes a previous patch for generating cyassl/options.h, as wolfSSL proper now does that as part of the Autoconf configure step. It also removes the ipv6 PACKAGECONFIG usage. wolfSSL is IP neutral and the --enable-ipv6 configure option only affects the wolfSSL example client/server. As these examples are not compiled as part of this recipe, the PACKAGECONFIG is unnecessary. Signed-off-by: Chris Conlon <chris@wolfssl.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05mosquitto: fully switch over to using PACKAGECONFIG_CONFARGSAndré Draszik
Convert all other instances of explicit PACKAGECONFIG uses to the PACKAGECONFIG_CONFARGS infrastructure. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05mosquitto: fix build in systemd environmentsAndré Draszik
The mosquitto systemd service file instructs systemd to wait for mosquitto to notify systemd that mosquitto has started correctly. This isn't working as mosquitto is not *compiled* with systemd support enabled. As such, systemd restarts mosquitto every few seconds. For reference, this was introduced in commit a483d344d9fb ("mosquitto: Make enabling systemd also enable build dep on systemd") Because we build mosquitto using the provided Makefile infrastructure, the solution is to add PACKAGECONFIG_CONFARGS to EXTRA_OEMAKE, so that the required make flags are added to the make command line. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02networkmanager: move udev-rules from /usr/lib -> /libAndreas Müller
Seems udev-rules in /usr/lib are ignored: systemd-analayse reported >3min! for system startup time! Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29miniupnpd: Update to 2.1.20180706Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26mosquitto: update to 1.5.4Paul Eggleton
1.5.2, 1.5.3 and 1.5.4 include a number of fixes, notably for vulnerability CVE-2018-12543 which allowed the server process to be remotely crashed. For further information see: https://mosquitto.org/blog/2018/11/version-154-released/ https://mosquitto.org/blog/2018/09/security-advisory-cve-2018-12543/ https://mosquitto.org/blog/2018/09/version-152-released/ A build option was added to use the system version of uthash rather than the bundled version so we no longer need the patch to do this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-13networkmanager: package additional .la filesMark Asselstine
This fixes: ERROR: networkmanager-1.14.4-r0 do_package: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib64/NetworkManager/1.14.4/libnm-settings-plugin-ifupdown.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-adsl.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-wifi.la /usr/lib64/NetworkManager/1.14.4/libnm-device-plugin-ovs.la Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. networkmanager: 4 installed and not shipped files. [installed-vs-shipped] As with similar changes in the past, if the distro makes use of 'remove-libtool' this issue is not seen but we should add .la files to the -dev package when they do exist. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-07networkmanager: Fix build with muslKhem Raj
Remove redundant header includes Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
2018-11-02networkmanager: upgrade 1.10.10 -> 1.14.4Andreas Müller
* License checksum: copyright year changed * packageconfig glib: with this version (udev-)glib support hase to be enabled explicitly. Split this out to meta-gnome where network-manager-applet lives. * packageconfig netconfig: This was nonsense: netconfig is a SUSE tool [1] which is not found in layer index. The error was detected now because configuration checks for presence of netconfig. * --disable-ifnet and --disable-ifcfg-suse are gone * musl patches were aligned but have no resources to test them [1] https://github.com/openSUSE/sysconfig Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02civetweb: disable testsPascal Bach
Tests try to download third party code and bypass the bitbake fetcher to do that. This will not work in environments with no internet access. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02civetweb: remove redundant EXTRA_OECMAKE_class-nativePascal Bach
They are the same as the default version. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-01vlan: update SRC_URIChangqing Li
tar on previous link checksum changed, so changed SRC_URI to get previous tar Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-25mbedtls: upgrade to 2.13.0Johannes Pointner
Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-23snort: Update SRC_URIMingli Yu
Update SRC_URI for snort as the previous one is invalid. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-12blueman: really belongs in meta-networkingArmin Kuster
it has a build dependancy on python-cython and python-pyparsing with are in meta-python Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-10freeradius: fix radiusd.service startup failed problemChangqing Li
during radiusd start up, it will check several CVEs of libssl, if allow_vulnerable_openssl set to no and one of the CVEs is matched, radiusd will not startup. in tls.c, two CVEs's version number is wrong, and after upgrade openssl to 1.1.1, one CVE matched, so startup failed. correct the version numner to make radiusd startup successfully. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-09crda: Fix usrmerge install pathAlex Kiernan
Set UDEV_RULE_DIR so we follow usrmerge paths, fixing: ERROR: QA Issue: crda package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-07umip: fix recipe location typoHongxu Jia
Since `36983fe umip: move to meta-networking' applied, it was moved to invalid location. Fix prior partial move to meta-networking Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-01umip: move to meta-networkingArmin Kuster
ERROR: Nothing PROVIDES 'radvd' (but /home/akuster/oss/maint/meta-openembedded/meta-oe/recipes-connectivity/umip/umip_1.0.bb DEPENDS on or otherwise requires it) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-26mosquitto: make websockets a PACKAGECONFIG optionJeroen Hofstee
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25crda: use gcrypt as default cryptHongxu Jia
As Makefile told us, if `USE_OPENSSL=1', only openssl10 works, even though the recipe depends libgcrypt. [Makefile snip] |ifeq ($(USE_OPENSSL),1) |CFLAGS += -DUSE_OPENSSL [snip] |else |CFLAGS += -DUSE_GCRYPT [Makefile snip] The crda dpends openssl 1.0.x which there is a build failure with openssl 1.1.x. So use gcrypt instead of openssl by default. The idea refers: https://bugs.chromium.org/p/chromium/issues/detail?id=735782 https://gitweb.gentoo.org/repo/gentoo.git/tree/net-wireless/crda/crda-3.18-r1.ebuild#n36 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09kea: Fix build with boost 1.68+Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08mosquitto: Make enabling systemd also enable build dep on systemdKhem Raj
systemd support in mqtt needs system developement headers and libs installed in recipe sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08crda: Depend on openssl10Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05lftp: update from 4.8.3 to 4.8.4Randy MacLeod
Drop upstreamed CVE fix: a27e07d9 mirror: prepend ./ to rm and chmod arguments to avoid URL recognition (fix #452) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-04mosquitto: upgrade to 1.5.1Paul Eggleton
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-08-30crda: Fix 64bit builds by inheriting siteinfo classYevgeny Popovych
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-29civetweb: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28wireless-regdb: make wireless-regdb architecture independentRadek Dostal
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-24lftp: CVE-2018-10916Jagadeesh Krishnanjanappa
Affects lftp <= 4.8.3 Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24mbedtls: upgrade to 2.12.0Johannes Pointner
Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21samba: upgrade 4.8.3 -> 4.8.4Yi Zhao
Security fixes: CVE-2018-1139 (Weak authentication protocol allowed.) CVE-2018-1140 (Denial of Service Attack on DNS and LDAP server.) CVE-2018-10858 (Insufficient input validation on client directory listing in libsmbclient.) CVE-2018-10918 (Denial of Service Attack on AD DC DRSUAPI server.) CVE-2018-10919 (Confidential attribute disclosure from the AD LDAP server.) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-20recipes: Exclude non-buildable recipes from world for musl buildKhem Raj
These recipes need to be fixed for musl, until they are needed on musl lets remove them from world builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19daq: add dependency on bison-nativeMartin Jansa
* fixes: checking for flex 2.4 or higher... yes checking for bison... no configure: WARNING: don't have both flex and bison; reverting to lex/yacc checking for capable lex... insufficient configure: error: Your operating system's lex is insufficient to compile libsfbpf. You should install both bison and flex. flex is a lex replacement that has many advantages, including being able to compile libsfbpf. For more information, see http://www.gnu.org/software/flex/flex.html . Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19snort: add dependency on bison-nativeMartin Jansa
* fixes: ERROR! bison not found. Get it from http://www.gnu.org/software/bison/ (You may also try byacc or yacc instead.) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16inetutils: fix build with glibc-2.28Martin Jansa
* fixes: ../../inetutils-1.9.4/src/uucpd.c:236: error: undefined reference to 'crypt' ../../inetutils-1.9.4/src/rexecd.c:378: error: undefined reference to 'crypt' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-13kea: fix do_package warningMingli Yu
Add libdhcp_stat_cmds.a and libdhcp_ha.a to FILES_${PN}-staticdev to fix below warning: WARNING: kea-1.4.0-r0 do_package: QA Issue: kea: Files/directories were installed but not shipped in any package: /usr/lib64/hooks/libdhcp_stat_cmds.a /usr/lib64/hooks/libdhcp_ha.a Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-07-30samba: Update to 4.8.3Khem Raj
LDB 1.4.0 breaks Samba < 4.9 therefore use internal version Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27freeradius: upgrade 3.0.15 -> 3.0.17Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26snort: upgrade 2.9.7.5 -> 2.9.11.1Yi Zhao
* Update SRC_URI * Drop 0001-fix-do_package-failed-since-snort-2.9.7.0.patch since the issue had been fixed upstream. * Drop the following patches and merge their modifications to disable-run-test-program-while-cross-compiling.patch: disable-dap-address-space-id.patch disable-daq-flow-id.patch disable-daq-verdict-retry.patch disable-inaddr-none.patch * Add disable-run-test-program-while-cross-compiling.patch to fix configure error: cannot run test program while cross compiling. The variables have_daq_real_addresses, have_daq_ext_modflow, have_daq_queryflow, have_daq_data_channel_flags and have_daq_data_channel_separate_ip_versions are set to no since they are for daq 2.2.2 but we have daq 2.0.6 in meta-networking layer. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-21samba: Delete remain of LSB.leimaohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-15nanomsg: add recipeCarlos Rafael Giani
nanomsg is a socket library that provides several common communication patterns. It is a rewrite of the ZeroMQ library. For differences between ZeroMQ and nanomsg, consult https://nanomsg.org/documentation-zeromq.html Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-14mbedtls: Upgrade to 2.11.0Khem Raj
- Use libs section, libdevel is not common Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05kernel_wireless_regdb: Add class for embedding regulatory data into older kernelKrzysztof Kozlowski
Linux kernels before v4.15, allowed to be compiled with static regulatory database if it was put under net/wireless/db.txt. Add kernel_wireless_regdb class which allows in such cases to embed the wireless regulatory database directly in the Linux kernel during build process. Usage: 1. The class should be inherited by kernel recipe (e.g. in linux-yocto_%.bbappend). 2. For Linux kernels up to v4.14, build kernel with CONFIG_EXPERT and CONFIG_CFG80211_INTERNAL_REGDB. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05wireless-regdb: Add wireless-regdb-static package with static regulatory dataKrzysztof Kozlowski
Small embedded systems might: 1. Want to get rid of daemons as much as possible (therefore be built without CRDA), 2. Not receive user-space incremental updates but an entire system upgrade (with kernel). Linux kernel since v4.15 allows loading static regulatory data from /lib/firmware/regulatory.db. Add additional package to wireless-regdb recipe which provides such static data. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05wireless-regdb: Bump version to latest upstream 2018.05.31Krzysztof Kozlowski
Bump the wireless-regdb recipe to use newest wireless regulatory database. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03networkmanager-openvpn: upgrade 1.2.8 -> 1.2.10Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>