Commit Graph

1548 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Changqing Li
2511a25226 net-snmp: Fix host contamination
If "/usr/local/ssl/include" directory exists on the host machine,
net-snmp will also search the host openssl headers:

x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-gcc ...
-I/usr/local/ssl/include

Fix this by selecting the proper sysroot headers using
--with-openssl=${STAGING_EXECPREFIXDIR}

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Khem Raj
6782e58cd6 autofs: Do not use pkg.m4 from build host
When build host does not have this macro file
the build fails, we therefore make sure that the
file is used from native sysroot

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Yi Zhao
3e697048cd autofs: specify fifodir and flagdir
Explicitly specify the fifodir and flagdir to ${localstatedir}/run.
Remove the line for fixing typo since it had been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Jagadeesh Krishnanjanappa
29158f7bde lftp: CVE-2018-10916
Affects lftp <= 4.8.3

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Johannes Pointner
77966d0f3a mbedtls: upgrade to 2.12.0
Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Yi Zhao
c856f05705 samba: upgrade 4.8.3 -> 4.8.4
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-21 17:28:18 -07:00
Changqing Li
ac91e6b759 ntp: Upgrade 4.2.8p11 -> 4.2.8p12
1. Upgrade ntp to 4.2.8p12
2. Disable sntp service by default.
   Default NTPSERVER in config sntp is "ntpserver.example.org",
   just an example, not a valid address, if enable sntp service
   by default, it will startup failed during boot. It should be
   enabled after user set the correct config for sntp according
   to current config of ntpd.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 00:21:17 -07:00
Khem Raj
7e0fa293b7 recipes: Exclude non-buildable recipes from world for musl build
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-20 23:58:58 -07:00
Khem Raj
dc7d910b75 dlm: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Khem Raj
8cec59341a dlm: Build fence only when pacemaker recipe is available
pacemaker is not in meta-networking, and therefore dlm fails
to build when meta-cgl is not included, this changeset makes
the pacemaker dependency to be optional, and disabled by default
so users who have pacemaker in the bbfiles should enable pacemaker
support via a bbappend or setting it in config metadata

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Lei Maohui
7b50048811 postfix,esmtp: Fix confilct error in do_rootfs
Error: Transaction check error:
  file /usr/bin/mailq conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64
  file /usr/bin/newaliases conflicts between attempted installs of esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Mingli Yu
afb8112906 ipvsadm: fix usrmerge install path
Update SBIN to fix below error when
usrmerge enabled in DISTRO_FEATURES.

ERROR: QA Issue: ipvsadm-dbg package is not obeying usrmerge distro feature. /sbin 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-19 16:09:28 -07:00
Manjukumar Matha
a7792bd5f7 wireshark_2.6.2.bb: Add depedency to bison-native
Fix the following do_configure failure

| CMake Error at
wireshark-native/1_2.6.2-r0/recipe-sysroot-native/usr/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
|   Could NOT find YACC (missing: YACC_EXECUTABLE)
| Call Stack (most recent call first):

Add depedency to bison-native which provides byacc to prevent the above
failure

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19 17:11:27 -04:00
Martin Jansa
15a8a49e03 nftables: add dependency on bison-native
* fixes:
checking whether yytext is a pointer... no
checking for bison... no
checking for byacc... no
*** Error: No suitable bison/yacc found. ***
    Please install the 'bison' package.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19 17:10:27 -04:00
Martin Jansa
422ccc1548 daq: add dependency on bison-native
* 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-19 17:10:27 -04:00
Martin Jansa
d3dbc7df43 freediameter: add dependency on bison-native
* fixes:
-- Looking for bison
-- Looking for flex
-- Looking for flex -- freediameter/1.2.1-r0/recipe-sysroot-native/usr/bin/flex
CMake Error at CMakeLists.txt:81 (MESSAGE):
  Bison and Flex are required
...
CMake Error at libfdcore/CMakeLists.txt:11 (BISON_FILE):
  Unknown CMake command "BISON_FILE".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19 17:10:27 -04:00
Martin Jansa
ac4ad1c40f snort: add dependency on bison-native
* 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-19 17:10:01 -04:00
Khem Raj
6953d0d115 openl2tp: Add bison-native to build deps
Fixes:
| make: bison: Command not found
| make: *** [Makefile:212: l2tp_config_parse.c] Error 127

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19 17:01:41 -04:00
Martin Jansa
14641ce244 pure-ftpd: fix build with glibc-2.28
* fixes:
  ../../pure-ftpd-1.0.42/src/pure-pw.c:243: error: undefined reference to 'crypt'
  ../../pure-ftpd-1.0.42/src/pure-pw.c:257: error: undefined reference to 'crypt'
  ../../pure-ftpd-1.0.42/src/pure-pw.c:272: error: undefined reference to 'crypt'
  ../../pure-ftpd-1.0.42/src/pure-pw.c:282: error: undefined reference to 'crypt'
  collect2: error: ld returned 1 exit status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Martin Jansa
0627becf6b netkit-rsh: fix build with glibc-2.28
* fixes:
  rexecd.c:79:10: fatal error: crypt.h: No such file or directory
  ...
  ld: error: cannot find -lcrypt

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Martin Jansa
408204073e inetutils: fix build with glibc-2.28
* 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-16 21:41:15 -04:00
Mingli Yu
12f45d8b00 kea: fix do_package warning
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-08-13 14:29:11 -04:00
Khem Raj
9fee5a594b yp-tools: Add dep on virtual/crypt
needed with glibc 2.28+ where crypt has moved into
independent recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-13 14:29:11 -04:00
Khem Raj
15900eed2d owfs: Add dep on virtual/crypt
libcrypt is independent from glibc now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-13 14:29:11 -04:00
Changqing Li
03bd258021 net-snmp: upgrade 5.7.3 -> 5.8
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:53 -07:00
Changqing Li
576515a07c dlm: upgrade 4.0.2 -> 4.0.3
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:52 -07:00
Martin Jansa
3a954856e8 ifenslave: inherit manpages instead of adding man to RDEPENDS_${PN}
* set MAN_PKG because this recipe explicitly packages mandir in PN instead of PN-doc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:52 -07:00
Manjukumar Matha
661df548dd wireshark_2.6.2.bb: Fix the configure error on git describe
This patch fixes the following error during do_configure task

| fatal: No names found, cannot describe anything.
| CMake Error at CMakeLists.txt:3086 (string):
|   string begin index: 1 is out of range 0 - 0
|

Using --always is a fallback for fetching uniquely abbreviated commit
object

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 15:00:23 -07:00
Changqing Li
96699be966 netcat-openbsd: fix netcat_do_patch problem
${S}/debian should not be deleted after pop the patch,
or we will met error when run below push patch command
since no debian folder found.

QUILT_PATCHES=${S}/debian/patches quilt push -a

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:14 -07:00
Hains van den Bosch
cca388f870 libtalloc: refresh patch
WARNING: libtalloc-2.1.14-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch avoid-attr-unless-wanted.patch
patching file lib/replace/wscript
Hunk #1 succeeded at 837 with fuzz 2 (offset 201 lines).
Hunk #2 succeeded at 850 with fuzz 2 (offset 204 lines).

Now at patch avoid-attr-unless-wanted.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Armin Kuster
371796ac31 wireshark: update to 2.6.2
[v3]
Get  wireshark-gtk building again
split tshark, wireshark-gtk into their own pkgs

[v2]
Fix native build, lemon is the only one needed natively

[v1]
includes security fixes:

wnpa-sec-2018-34 BGP dissector large loop. Bug 13741. CVE-2018-14342.
wnpa-sec-2018-35 ISMP dissector crash. Bug 14672. CVE-2018-14344.
wnpa-sec-2018-36 Multiple dissectors could crash. Bug 14675. CVE-2018-14340.
wnpa-sec-2018-37 ASN.1 BER dissector crash. Bug 14682. CVE-2018-14343.
wnpa-sec-2018-38 MMSE dissector infinite loop. Bug 14738. CVE-2018-14339.
wnpa-sec-2018-39 DICOM dissector crash. Bug 14742. CVE-2018-14341.
wnpa-sec-2018-40 Bazaar dissector infinite loop. Bug 14841. CVE-2018-14368.
wnpa-sec-2018-41 HTTP2 dissector crash. Bug 14869. CVE-2018-14369.
wnpa-sec-2018-42 CoAP dissector crash. Bug 14966. CVE-2018-14367.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Khem Raj
a001e46529 samba: Update to 4.8.3
LDB 1.4.0 breaks Samba < 4.9 therefore use internal version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-30 01:34:10 -07:00
Changqing Li
bdf573aa4e ipvdasm: upgrade 1.26 -> 1.29
License-Update: Make README more generic and reference new
                kernel.org location

1.remove patch 0002 since new version already have this patch
2.update other patches to new version 1.29

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:16 -07:00
Changqing Li
bbff397328 libtalloc: upgrade 2.1.11 -> 2.1.14
Signed-off-by: Changqing Li <changqing.li@windriver.com>
2018-07-27 07:19:13 -07:00
Changqing Li
ac53fb25cc netcat-openbsd: 1.105 -> 1.190
License-Update: License updated/Add copyright for
    some missing file/fix some URL

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:13 -07:00
Changqing Li
dab3f6a1c5 libtevent: upgrade 0.9.36 -> 0.9.37
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:13 -07:00
Changqing Li
cc29c92b63 libtdb: upgrade 1.3.15 -> 1.3.16
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:12 -07:00
Changqing Li
65ad10fd67 libldb: upgrade 1.3.1 -> 1.4.1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:12 -07:00
Changqing Li
82d57ef7ad geoip: upgrade 1.6.11 -> 1.6.12
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:11 -07:00
Changqing Li
d4610b9d97 freeradius: upgrade 3.0.15 -> 3.0.17
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:11 -07:00
Changqing Li
d4f05ee52e drbd-utils: upgrade 9.4.0 -> 9.5.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:11 -07:00
Changqing Li
7b20dd0f25 c-ares: upgrade 1.13.0 -> 1.14.0
License-Update: copyright year updated

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:11 -07:00