Commit Graph

2053 Commits

Author SHA1 Message Date
Khem Raj
a721c091a8 ruli: Fix implicit conversion from 'unsigned int' to 'float'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-29 10:32:10 -08:00
Khem Raj
81a7c640a9 ippool: Fix strncpy -Wformat-truncation warning
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Adrian Bunk <bunk@stusta.de>
2019-12-28 00:11:47 -08:00
Khem Raj
56b2db8e97 memcached: upgrade to 1.5.20
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-25 08:55:26 -08:00
Trevor Gamblin
f29dfed64a samba: disable guest access and anonymous queries
Guest accounts for Samba are a known potential vulnerability
(see https://www.tenable.com/plugins/nessus/26919) where info
about the host can be obtained without proper access. The option
"map to guest = bad user" allows login attempts with usernames
that don't exist to map to the guest account, while the
"restrict anonymous" value (implicitly set to 0 before this patch)
would allow any queries to obtain user and group list information.

Raise the default security level by setting "restrict anonymous"
to "1" and "map to guest" to "never" to avoid providing user/group
info to unauthenticated users and reject login attempts with an
invalid password, respectively.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-25 08:55:26 -08:00
Khem Raj
04b8b39163 cannelloni: Include stdexcept for runtime_error
Fixes
error: 'runtime_error' is not a member of 'std'
             throw std::runtime_error("Allocation error.");
                        ^~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-23 15:03:15 -08:00
Khem Raj
fa6e382bc6 ruli: Define OOP_LIB_DIR and INSTALL_LIB_DIR
This helps in taking care of multilib install dir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Khem Raj
dcb22ae7aa civetweb: Upgrade to latest tip
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Khem Raj
179d091298 firewalld: Package firewalld files
ERROR: firewalld-0.7.2-r0 do_package: QA Issue: firewalld: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/firewalld
  /usr/lib/firewalld/zones

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Khem Raj
e919c1d508 nftables: Package python scripts into nonarch libdir
Helps fixing packaging errors on mulilib builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Khem Raj
61d823300e cannelloni: Update to latest and fix multilib builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:07:50 -08:00
Kai Kang
f317eb0d04 openl2tp: update systemd service file
It shows an warning of openl2tp in systemd log:

| /lib/systemd/system/openl2tpd.service:8: PIDFile= references a path
| below legacy directory /var/run/, updating /var/run/openl2tpd.pid →
| /run/openl2tpd.pid; please update the unit file accordingly.

Update the systemd service file to fix the warning.

Update SRC_URI as well that the homepage openl2tp.org has been closed.
Use archived file on sourceforge instead.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:56:59 -08:00
Wang Mingyu
7046bf534e kea: upgrade 1.7.0 -> 1.7.2
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 15:47:20 -08:00
Alex Kiernan
b2058e0507 nftables: Expand PACKAGECONFIG, cleanup build
Fill out PACKAGECONFIG options for json, mini-gmp, readline and xtables
whilst matching existing behaviour. Drop PACKAGECONFIG to weak default.

Fix upstream version matching so the very old 0.099 is rejected as the
newest version.

Drop seemingly redundant ASNEEDED which was added in 5477d5bcb7
("nftables: Upgrade to 0.7") without explanation.

Package python files from libdir not libdir_native; whilst they're the
same thing, building a target package with native variables is odd.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-17 18:44:24 -08:00
Todd Cunningham
906efee427 nftables: upgrade 0.9.2 -> 0.9.3
New patch:
    0001-update-python3-nftables-reference.patch

Signed-off-by: Todd Cunningham <tcunningham07@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-16 08:38:35 -08:00
Khem Raj
29126c3338 rdma-core: Replace pthread_yield with sched_yield
Fixes

/usr/src/debug/rdma-core/26.1-r0/git/librdmacm/rsocket.c:3041: undefined reference to `pthread_yield'
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
2019-12-16 08:38:35 -08:00
Kai Kang
72e1e79589 rdma-core: 18.1 -> 27.0
Upgrade rdma-core from 18.1 to 27.0

* remove 4 patches which have been merged by upstream
* update context and remove more unbuildable manual in
  0001-Remove-man-files-which-cant-be-built.patch
* set services file for systemd

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-16 08:38:35 -08:00
Leon Anavi
e0b841376f mosquitto: update to 1.6.8
Bugfix release. For details, see:

  https://mosquitto.org/blog/2019/11/version-1-6-8-released/

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 21:08:54 -08:00
Khem Raj
e18d8c9570 grpc: Define libdir and cmakedir in terms of multilib
This helps in avoiding packaging errors seen with distros enabling
multilib

Fixes

ERROR: grpc-1.24.3-r0 do_package: QA Issue: grpc: Files/directories were installed but not shipped in any package:
  /usr/lib/libgrpc++.so.1.24.3
  ...
  /usr/lib/cmake
  /usr/lib/cmake/grpc
  /usr/lib/cmake/grpc/gRPCConfigVersion.cmake
  /usr/lib/cmake/grpc/gRPCConfig.cmake
  /usr/lib/cmake/grpc/gRPCTargets-noconfig.cmake
  /usr/lib/cmake/grpc/gRPCTargets.cmake
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or de
lete them within do_install.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 19:34:35 -08:00
Kai Kang
57bc531081 corosync: fix build error when package config rdma enabled
Fix corosync build error when package config rdma enabled.

* replace dependency librdmacm from layer meta-cloud-services with
  rdma-core from meta-networking
* add patch to fix issue that fail to find rdma library via pkgconfig

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 19:30:15 -08:00
Changqing Li
12a1bd3eba samba: fix wrong shebang for python3
fix wrong shebang "#!/usr/bin/env python3/"

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-13 18:29:14 -08:00
Todd Cunningham
9625a375ee libnftnl: upgrade 1.1.4 -> 1.1.5
Remove obselete patch:
    0001-Move-exports-before-symbol-definition.patch
Refresh patch:
    0002-avoid-naming-local-function-as-one-of-printf-family.patch
Add one new file in this patch:
    src/obj/synproxy.c

Signed-off-by: Todd Cunningham <tcunningham07@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-13 18:29:14 -08:00
Denys Dmytriyenko
954b3209de netperf: add "intervals" and "histogram" PACKAGECONFIGs
>From https://hewlettpackard.github.io/netperf/doc/netperf.html:

Other optional configure-time settings include --enable-intervals=yes to give
netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to
have netperf keep a histogram of interesting times.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-11 16:22:40 -08:00
Kai Kang
1a456aa758 blueman: disable appindicator support
libappindicator is a library to allow applications to export a menu into
the Unity Menu bar. Unity is not supported in openembedded, so disable
appindicator support for blueman.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-10 16:21:08 -08:00
Wang Mingyu
b799a20faf wireshark: upgrade 3.0.6 -> 3.0.7
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-10 16:21:07 -08:00
Jacopo Dall'Aglio
ecdab14135 netplan: add recipe
Canonical's Netplan is a network configuration abstraction renderer written in
Python. It's compatible with NetworkManager and systemd-networkd.

Signed-off-by: Jacopo Dall'Aglio <jacopo.dallaglio@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-05 23:01:06 -08:00
Andrej Valek
cf9f947e1f ntp: split ntpdc into separate package
A ntpdc is a special NTP query program. It shouldn't be part of ntp-utils
which is depending on perl.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-05 23:01:06 -08:00
Pau Espin Pedrol
38c70e7518 lksctp-tools: Add RRECOMENDS kernel-module-sctp for pkg lksctp-tools
Previously the kernel module was only pulled in for ${PN}-utils and
${PN}-ptest, but not for the library itself. As a result, appsexternal
to this recipe  using only the library fail because kernel module is
not installed in the image.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-05 23:01:06 -08:00
Alex Kiernan
ab86dcdc90 nftables: Fix documentation generation
Switch PACKAGECONFIG from man to manpages so we are included when
api-documentation is set. Ensure correct tools are available to build
the documentation and avoid unsupported option failures by not passing
`--enable-man-doc`.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-03 09:31:53 -08:00
Changqing Li
941bbb5526 dnsmasq.conf: fix dnsmasq path
we install dnsmasq under /usr/bin by default, correct
the path in comments.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-22 09:22:56 -08:00
Denys Dmytriyenko
4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Khem Raj
f4e6224b34 ruli: Fix install step and build samples too
do_install never executed as a result it was empty install
Create ruli-bin package for utilities, so libraries can be packages
granularily

Drop the makefile patch which is no longer needed, set the make
variables to get the needed bits set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 22:17:23 -08:00
Stefan Agner
82ecc0e69f networkmanager: do not deploy unnecessary udev rule file
The 84-nm-drivers.rules is not required for systemd-udevd versions
v210 and later. The file has been split into a separate file so
distributions with a new enough systemd version can drop it. See
also:
1e03758262

I noticed this while investigating into a warning show during
bootup:
  /usr/lib/udev/rules.d/84-nm-drivers.rules:10 Invalid value "/bin/sh -c
  'ethtool -i $1 | sed -n s/^driver:\ //p' -- $env{INTERFACE}" for PROGRAM
  (char 24: invalid substitution type), ignoring, but please fix it.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 06:57:07 -08:00
Khem Raj
85bb13e022 dlm: Drop -fstack-clash-protection for clang
-fstack-clash-protection is gcc-only option

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-19 23:33:03 -08:00
Khem Raj
f7a7a2aafe grpc: Link with libatomic on clang/x86
clang does delegate the atomic<double> calls to libatomic on x86 where
as gcc tries to use intrinsics, its debatable who is right, but it does
seem that clang is safe in case pointer is unaligned

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-18 17:17:11 -08:00
Peter Kjellerstedt
0d2b80bd78 libldb: Do not require the "pam" distro feature to be enabled
It was only added because samba was a dependency, but was not removed
again when the dependency on samba was removed in commit 6207331f.

This effectively reverts commit a190c2e3.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-18 16:49:57 -08:00
Martin Balik
4ac3c692f8 squid: upgrade 4.6 -> 4.9
Signed-off-by: Martin Balik <martin.balik@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-15 17:59:35 -08:00
Denys Dmytriyenko
865ecb2083 mbedtls: upgrade 2.16.2 -> 2.16.3
* Mbed TLS 2.16.3 is a maintenance release of the Mbed TLS 2.16 branch, and
  provides bug fixes and minor enhancements.

https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.3

Most importantly, this fixes breakage on ARMv5TE platforms:

* Fix the build on ARMv5TE in ARM mode to not use assembly instructions that
  are only available in Thumb mode.

https://github.com/ARMmbed/mbedtls/pull/2169

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:17 -08:00
Khem Raj
1383039355 lowpan-tools: Blacklist as its deprecated use wpan-tools instead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:16 -08:00
Yi Zhao
0d02e6c03c samba: upgrade 4.10.8 -> 4.10.10
Security fixes:

CVE-2019-10218: Client code can return filenames containing path
                separators.
CVE-2019-14833: Samba AD DC check password script does not receive the
                full password.
CVE-2019-14847: User with "get changes" permission can crash AD DC LDAP
                server via dirsync.

See: https://www.samba.org/samba/history/samba-4.10.10.html

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 21:17:25 -08:00
Yi Zhao
2b3fd53487 libldb: upgrade 1.5.5 -> 1.5.6
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 21:17:25 -08:00
Khem Raj
2ffc7b45d6 grpc: Add dep on libnsl
Some host distros e.g. tumbleweed will need it as well
so its better to have own dependency always

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 21:17:25 -08:00
Andreas Oberritter
d8ab89a24b autofs: install sysvinit script manually if systemd is enabled
Update-rc.d complains if no sysvinit script is present. This happens
in hybrid systemd/sysvinit builds, because autofs does not install
the init script if configured with '--with-systemd'.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Andreas Oberritter
1a3ab20ac6 autofs: set some paths for configure script
The configure script used by autofs tries to detect paths on the
build system. Avoid it by presetting fixed values.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Andreas Oberritter
2462268fed samba: fix installation for minimal build
| chmod: cannot access '.../image/etc/sudoers.d': No such file or directory
| sed: can't read .../image/usr/bin/samba-tool: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
André Draszik
0c6c10873a nghttp2: allow to build a -native package
This will e.g. enable us to use it from nodejs-native.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
André Draszik
98d1225cb1 nghttp2: build more of this & fix packaging
nghttp2 also provides http client, server, and proxy.
Add the necessary DEPENDS and build flags to enable those.

They are all packaged into individual packages, with
'nghttp2' being a meta-package now and pulling in all
of the above three applications.

The shared library itself (the only part that this recipe
had been building so far), is also being split into its
own package, meaning existing users shouldn't be affected,
as nobody should have an RDEPENDS on 'nghttp2' at the
moment (due to bitbake's shlibs dependency tracking).

The deflatehd and inflatehd binaries have been completely
dropped, as they are (header) test applications for HTTP/2.
Debian doesn't ship them either.

The python script fetch-ocsp-response is (only) needed
by the proxy, and itself calls out to openssl. We can easily
make this python3 using a simple patch, though.

Minor additional fixes:
* sort DEPENDS alphabetically
* drop python-dir, this is implied by pythonnative
* inherit manpages so as to benefit from man-db processing
  (note that manpages are not generated here, we just want
  the automatic update of the package index caches)
  We need to add a PACKAGECONFIG, as manpages.bbclass
  requires it to be present, even though nghttp2
  unconditionally installs them

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
André Draszik
edb4379c8f nghttp2: update to 1.39.2
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
André Draszik
5d05acdcb1 nghttp2: fix UPSTREAM_CHECK_URI
This was added incorrectly in the previous recipe update
and doesn't actually work.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Khem Raj
ef5ba2365b libowfat: Fix parallel build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 19:57:55 -08:00
Khem Raj
7f454d0af8 netkit-rwho: Include stdint.h for int32_t
This ensures that when libc does not include stdint.h indirectly then it
still can compile

Fixes
| ../include/protocols/rwhod.h:57:2: error: unknown type name 'int32_t'; did you mean 'uint32_t'?

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 06:32:14 -08:00