Commit Graph

807 Commits

Author SHA1 Message Date
Peiran Hong
62fc26075a tcpdump: Fix CVE-2017-16808
Backport selected parts of three upstream commits to fix
CVE-2017-16808 where tcpdump 4.9.2 has a heap-based buffer over-read.

Upstream-Status: Backport
[ several ]

Upstream commits fully backported:
46aead6  [CVE-2017-16808/AoE: Add a missing bounds check]

Upstream commits partially backported:
7068209  [Use nd_ types in 802.x and FDDI headers.]
84ef17a  [Replace ND_TTEST2()/ND_TCHECK2() macros by macros using
pointers (1/n)]

46aead6 fixes the vulnerability and requires two macros defined in
7068209 and 84ef17a, which are committed after the release of 4.9.2.
Only the definition of the macros are taken from the two commits
as they impact a wide range of code and are difficult to integrate.

CVE: CVE-2017-16808

Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 19:15:20 -07:00
Khem Raj
3061ead8cf strongswan: Fix do_patch fuzz
Refresh the patch to apply cleanly

Fixes

Applying patch 0001-memory.h-Include-stdint.h-for-uintptr_t.patch
patching file src/libstrongswan/utils/utils/memory.h
Hunk #1 succeeded at 26 with fuzz 2 (offset 4 lines).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 12:54:43 -07:00
Khem Raj
eca729d98e drbd,netkit-rusers: Blacklist packages
These fail to build always

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 12:35:54 -07:00
Changqing Li
e151a4fac5 drbd-utils: switch to add patch from change source in do_configure
it is not proper change source in do_configure, it will make
source not updated even local.conf have change the DISTRO_FEATURES

[YOCTO: #13493]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-05 18:13:44 -07:00
Yuan Chao
517bd23da6 libtalloc: upgrade 2.2.0 -> 2.3.0
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-05 18:13:44 -07:00
Robert Yang
e3485d0cf5 netcf: Fix do_configure failed when multilib
Fixed do_configure failed:
$ bitbake lib32-netcf

cp: cannot stat '/path/to/lib32-recipe-sysroot/usr/share/gnulib': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-04 07:27:06 -07:00
Yuan Chao
af6d79843b strongswan: upgrade 5.8.0 -> 5.8.1
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-02 20:39:01 -07:00
Robert Yang
2754eb92db netcf: Fix Manifest not found issue
Fixed:
$ bitbake netcf
WARNING: netcf-0.2.8+gitAUTOINC+2c5d425585-r0 do_package: Manifest /path/sstate-control/manifest-x86_64_x86_64-nativesdk-gnulib.packagedata not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')?

This is because gnulib has no related tasks:
do_package[noexec] = "1"
do_packagedata[noexec] = "1"
deltask package_write_ipk
deltask package_write_deb
deltask package_write_rpm
deltask do_deploy_archives

Depends on gnulib:do_populate_sysroot explicitly to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-30 06:45:52 -07:00
Khem Raj
2c67dcf650 drbd: Upgrade to 9.0.19-1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 12:23:12 -07:00
Khem Raj
dff93352c8 linux-atm: Fix build with kernel headers 5.2+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 12:23:12 -07:00
Bruce Ashfield
383e8bee87 dnsmasq: fix build against 5.2 headers
Upstream linux y2038 work has moved some definitions SIOCGSTAMP is
defined in linux/sockios.h, not asm/sockios.h now. So we need to
add that include to fix the build.

Upstream-status: backport of http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=3052ce208acf602f0163166dcefb7330d537cedb

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 09:06:54 -07:00
Gianfranco Costamagna
f2487da394 ifmetric: add initial recipe based on Debian packaging and patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 09:06:54 -07:00
Yuan Chao
4f627e8e39 libtdb: upgrade 1.4.1 -> 1.4.2
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-27 12:11:16 -07:00
Yuan Chao
820b63d847 libtdb: upgrade 1.4.0 -> 1.4.1
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-20 21:11:27 -07:00
Martin Jansa
7cede6b863 ntop: fix missing return from non-void function
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-12 09:11:01 -07:00
Adrian Bunk
6cef109668 wireshark: Use an upstream URL that stays valid longer
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-05 17:55:36 -07:00
Fabian Klemp
910891d722 openvpn: respect pid file in init.d service start
openvpn only provides options to update a pid file but not to check it
for running processes. Consecutive issued start commands therefore lead
to multiple running processes with the same configurations, which is the
origin of all kinds of problems of which unnecessary resource usage is the least.

Using start-stop-daemon the pid file is inspected for running processes
before start.

Signed-off-by: Fabian Klemp <fabian.klemp@axino-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30 19:15:24 -07:00
Khem Raj
09faeabebc ypbind-mt: Fix build with glibc 2.30
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30 19:15:24 -07:00
Oleksandr Kravchuk
af907bf362 chrony: update to 3.5
Also updated arm_eabi patch.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-28 17:11:17 -07:00
Changqing Li
89c3f72c35 libtdb: fix do_package_qa issue
fix below error:
 QA Issue: non dev/-dbg/nativesdk package contains symlink .so: lib32-python3-tdb path '
packages-split/lib32-python3-tdb/usr/lib/python3.7/site-packages/tdb.so' [dev-so]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 14:16:50 -07:00
Oleksandr Kravchuk
e90eda0998 htpdate: update to 1.2.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 09:31:46 -07:00
Oleksandr Kravchuk
720aa1ce3a uftp: update to 4.10
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 09:31:46 -07:00
Zang Ruochen
05250418cb wireshark: upgrade 3.0.2 -> 3.0.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 09:31:46 -07:00
Yi Zhao
f20ba24fd0 libldb: upgrade 1.5.4 -> 1.5.5
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00
Beniamin Sandu
3221fc4f28 unbound: create recipe for version 1.9.2
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-18 11:21:57 -07:00
Changqing Li
27d1d3dfa6 libtevent: fix do_package_qa issue
fix below error:
ERROR: lib32-libtevent-0.10.0-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so: lib32-python3-tevent path '/work/core2-32-wrsmllib32-linux/lib32-libtevent/0.10.0-r0/packages-split/lib32-python3-tevent/usr/lib/python3.7/site-packages/_tevent.so' [dev-so]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-17 09:31:37 -07:00
Qi.Chen@windriver.com
2e033b8219 esmtp: use alternatives to manage /usr/lib/sendmail
There are several packages which all provide /usr/lib/sendmail
when lsb is enabled. So use alternative to manage it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 08:00:06 -07:00
He Zhe
225a741952 drbd-utils: Fix netlink failure with nested attributes for kernel v5.2
Bump up SRCREV_drbd-utils to includes two more commits to fix the following
netlink failure with nested attributes.

$ drbdsetup new-resource r0
Invalid argument

92ade5989027 ("netlink: prepare for kernel v5.2")
859151b228d3 ("netlink: Add NLA_F_NESTED flag to nested attribute")

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-13 23:28:06 -07:00
Oleksandr Kravchuk
646a6c4026 uftp: update to 4.9.11
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-13 23:28:06 -07:00
Slater, Joseph
dfbcacc795 drbd-utils: enable reproducible_build awareness
Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-11 14:01:28 -07:00
Changqing Li
6207331f37 libldb: upgrade 1.4.1 -> 1.5.4
1. switch to python3
2. add cross-answer for lmdb check, so remove patch 0001-libldb-fix-config-error
3. fix cross-compile problem caused by waf
4. refresh patch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:28:20 -07:00
Oleksandr Kravchuk
e7b59b3582 ipvsadm: update to 1.30
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:33 -07:00
Changqing Li
6613c053c5 libtalloc: upgrade 2.1.14 -> 2.2.0
1. switch to python3
2. fix cross-compile prolem caused by waf
3. refresh patch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Changqing Li
6e5e1505cc libtdb: upgrade 1.3.17 -> 1.4.0
1. switch to python3
2. fix cross-compile problem caused by waf
3. refresh patches

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Changqing Li
6b820663d9 libtevent: upgrade 0.9.37 -> 0.10.0
1. switch to python3
2. fix cross-compile problem caused by waf
3. refresh patch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Zang Ruochen
b3a2ad2060 wireshark: upgrade 3.0.1 -> 3.0.2
-Upgrade from wireshark_3.0.1.bb to wireshark_3.0.2.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Pierre-Jean Texier
dfe341e466 stunnel: bump to version 5.55
See full changelog https://www.stunnel.org/ChangeLog.md.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Yi Zhao
8d119c80fb strongswan: upgrade 5.7.1 -> 5.8.0
Rename systemd service units since it uses strongswan-starter.service
for the legacy unit and strongswan.service for the modern one.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Oleksandr Kravchuk
2a3177255b nuttcp: add systemd unit file
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Oleksandr Kravchuk
1929ba31fb drbd: update to 9.0.18-1
Removed patch was upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-22 21:31:51 -07:00
Oleksandr Kravchuk
1be587c6e6 drbd-utils: update to 9.10.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-22 21:31:51 -07:00
Oleksandr Kravchuk
5a9b6d3257 nghttp2: update to 1.39.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-22 21:31:51 -07:00
Yi Zhao
3b245e4fe8 openipmi: upgrade 2.0.25 -> 2.0.27
Refresh all patches.

Remove openipmigui-not-compile-pyc-pyo.patch and
do-not-install-pyc-and-pyo.patch as the issues had been fixed upstream.

Add ipmi_serial_bmc_emu.c-include-readline.h-from-readli.patch to fix
the build error.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:46:51 -07:00
Martin Jansa
229a047d9d spice: append to CFLAGS instead of +=
* so that -Wno-address-of-packed-member is used for all the builds not
  only for target builds
* with native it was overwritten with BUILD_CFLAGS and for nativesdk with
  BUILDSDK_CFLAGS
* this issue isn't specific for gcc-9 as the original commit said, I see
  nativesdk-spice failing on older hosts with gcc-7 with the same issue
* also use -Wno-error=address-of-packed-member instead of
  -Wno-address-of-packed-member so that there is still a warning, just
  not fatal for the build in combination with -Werror.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Hongzhi.Song
b47aae2d61 spice: fix compile errors on 32bit system
There are folowing compile errors on Linux 32bit system:

red-channel.c:207:73: error: format '%x' expects argument of type
'unsigned int', but argument 7 has type 'long unsigned int' [-Werror=format=]
|207| red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x",
                                ~~~~~~~~~~~~~~~~~~~~~^
                        self->priv->thread_id);
                ~~~~~~~~~~~~~~~~~~~~~^

On 32bit system, #define G_GSIZE_MODIFIER "". But the type of
'self->priv->thread_id' is 'unsigned long int' which should match '%lx'
not '%x'.

So we should recovery the <0x%" G_GSIZE_MODIFIER "x"> to <0x%lx">.
And others files modification are similar to G_GSIZE_MODIFIER.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:32 -07:00
Changqing Li
8e641e28f6 samba/libldb: add rconflicts
samba have bundled libldb, so when both samba and libldb, or both pyldb \
and samba-python is installed, below error will appear:

file /usr/bin/ldbadd conflicts between attempted installs of samba-4.8.11-r0.i586 and libldb-1.4.1-r0.i586
file /usr/bin/ldbdel conflicts between attempted installs of samba-4.8.11-r0.i586 and libldb-1.4.1-r0.i586
...
file /usr/lib/python2.7/site-packages/ldb.so conflicts between attempted installs of libpyldb-util1-1.4.1-r0.i586 and samba-python-4.8.11-r0.i586

so add rconflicts for both packages

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:21:42 -07:00
Khem Raj
4ee7becad0 spice,spice-protocol: Uprev to 0.14.0
Drop the patch for fixing printf formatting, its fixed differently
upstream

Forward port pthread_t printf patch

Add -Wno-address-of-packed-member needed with gcc9

replace _append += with just _append syntax

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23 10:46:34 -07:00
Adrian Bunk
bb4aa80bfb Remove ipsec-tools and umip
ipsec-tools is dead upstream and upstream recommends
against using it:
http://ipsec-tools.sourceforge.net/

More detailed explanation from the Debian maintainer:
https://bugs.debian.org/917847

umip was the only package depending on ipsec-tools.
umip is dormant upstream since 2013.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23 08:26:14 -07:00
Oleksandr Kravchuk
f71d09b3db nbd: update to 3.19
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23 08:26:14 -07:00
Oleksandr Kravchuk
fd09cf70d6 mtr: update to 0.92
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23 08:26:14 -07:00