Commit Graph

9951 Commits

Author SHA1 Message Date
Martin Kelly 7b32361bd7 open-vm-tools: style changes
Various cosmetic changes to make the recipe match the style guide:

http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly e50762e09b open-vm-tools: scope build to only x86
Since open-vm-tools builds only on x86, set COMPATIBLE_HOST to reflect
this.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly 532b1c0566 open-vm-tools: support FUSE
The vmhgfs driver is now gone, but they use FUSE instead. Add FUSE support so we
don't lose the functionality vmhgfs use to provide.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly 2be0c8b29b open-vm-tools: line up configure options
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly 443c441443 open-vm-tools: remove kernel module logic
All the modules are upstream for Linux >= 4.0, so no modules are being built
anyway. We can safely remove the build logic for them.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly 6b0ac39453 open-vm-tools: add missing X11 dependencies
Certain dependencies that are implied when we build with X11 support -- such as
libxext -- were missing. Add them, and meanwhile switch to using
PACKAGECONFIG[x11] instead of DISTRO_FEATURES.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly b847bc1724 open-vm-tools: add #include to fix build break
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly 16accb708c open-vm-tools: don't use dnet-config
dnet-config wasn't found in the PATH, and it doesn't work properly for
cross-compile anyway.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly 778f28874f open-vm-tools: don't use mspack
It's not actually needed when you set --disable-deploypkg.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly d5f02c41cb open-vm-tools: update version to 10.1.5
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly 401eadb968 open-vm-tools: base_contains --> bb.utils.contains
base_contains is deprecated, as the friendly warning reminds us.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly 96c5bf624b open-vm-tools: clarify and expand licensing
Userspace tools are licensed LGPLv2 and the kernel modules are various licenses
depending on the platform. Clarify this and add appropriate licensing variables.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly e1d922c1a3 open-vm-tools: add missing glib-2.0-native dependency
glib-2.0-native is needed to find glib-genmarshal.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly 7814514331 open-vm-tools: add missing pkgconfig dependency
The configure.ac script uses pkgconfig but we didn't depend on it, so it was
silently not using pkgconfig.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly d8e895ef73 open-vm-tools: add new recipe
This recipe is modified from the recipe originally found in the Open-Switch
repository:

https://github.com/open-switch/ops-build
yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb
Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was Apache-licensed, I received
permission from the author (Diego Dompe) to relicense it under the MIT license
for inclusion in meta-openembedded:

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html
https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Mark Asselstine b460ac6bcb twisted: add support to build for python3
The work on twisted to ensure python3 compatability is nearing
completion, as per their python3 tracker page:
  https://twistedmatrix.com/trac/milestone/Python-3.x

Create a common .inc file and a new python3-* recipe to match other
python3 packages.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
fan.xin b0e432c87b xterm: Upgrade 327 -> 330
1. Upgrade xterm from 327 to 330

2. Update the checksum of LIC_FILES_CHKSUM
   The copyright time has been extended to 2017, the Licence content has no chagne.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Khem Raj bd259171ec ruli: FIx build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:59 -04:00
Khem Raj 6eb0dfd012 ruli: Fix build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:57 -04:00
susanbian c0083c77d0 geoipupdate 2.2.2 -> 2.4.0
Upgrade geoipupdate from 2.2.2 to 2.4.0

License checksum changed, since the following function are added.
1. database directory is writable
2. ${datarootdir}/GeoIP is now created on make install.
3. prints out additional information from the server when download reques results.

Signed-off-by: susanbian <bianyq@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:52 -04:00
Jackie Huang ce91bef219 snort: fix for snort.conf
The /etc/snort/snort.conf doesn't work since
there are hardcoded paths and lib names, and
it tries to include many rules that are not
provided.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:48 -04:00
Khem Raj 841bb94ce8 squid: Fix build with hardening
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:39 -04:00
Jackie Huang 4267eede66 rdist: add new recipe
rdist is a remote file distribution client and server.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:36 -04:00
Jackie Huang 7d5f8acc42 rdate: add new recipe
rdate is a tool for getting the date/time
from a remote machine.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:26 -04:00
fan.xin fd2c2ee0a4 strongswan: 5.5.1 -> 5.5.3
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:20 -04:00
Khem Raj 325e3ebf42 squid: Upgrade to 3.5.26
Fix build errors with gcc7 along the way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:16 -04:00
André Draszik cf95634bf4 nftables: backport a few ICMP & ICMPv6 fixes
- assign network ctx for ICMP & ICMPv6
- additional ICMPv6 types
- allow update of net base w. meta l4proto ipv6-icmp
- l4 proto fixes

The initial trigger was that ICMPv6 type 143
(mld2-listener-report) wasn't working as expected.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:12 -04:00
Khem Raj cf9a6a2bbc linux-atm: Fix build with hardening flags
Port to build on musl while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:07 -04:00
Khem Raj 487481d48f relayd: Fix build with hardening flags and glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:29:00 -04:00
Khem Raj 306e67956b relayd: Upgrade to latest
Fixes build with hardening flags

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:53 -04:00
Khem Raj 371fbfdec2 vlan: Fix build with security flags turned on
Limit the license checksum to the file header

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:48 -04:00
Khem Raj 58e9a52580 freeradius: Upgrade to 3.0.14
Fix a cross compile issue where it was looking for samba headers
in build host.

in src/modules/rlm_mschap/config.log

Fix

cc1: warning: include location "/usr/include/samba-4.0/" is unsafe for cross-compilation [-Wpoison-system-directories]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:44 -04:00
Joe Slater 61f1208d24 iscsi-initiator-utils: do not regenerate prom_lex.c
prom_lex.c is provided in source.  If we try to remake
it from prom_lex.l, we will not find "lex" since it is
not in recipe-sysroot-native.  If we do manage to provide
lex, the new source will not compile.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:35 -04:00
Johannes Pointner 88885fc01a samba: upgrade to 4.6.5
This includes a security fix that adresses the following defect:
CVE-2017-7494 (Remote code execution from a writable share)

* Detail release note:
  - https://www.samba.org/samba/history/samba-4.6.5.html

* Remove 00-fix-typos-in-man-pages.patch which has been fixed
  upstream a long time ago

Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:27 -04:00
Yi Zhao c4b9c4886a ippool: add new recipe
IpPool is a userspace daemon for managing one or more pools of IP
addresses. It was developed as part of the OpenL2TP project but has
since been repackaged so that it may be used independently of OpenL2TP.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:28:18 -04:00
fan.xin 58e88534df wireshark: Upgrade to 2.2.7
Upgrade wireshark from 2.2.6 to 2.2.7

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:59 -04:00
Khem Raj 91d77d978f samba: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:52 -04:00
Khem Raj de124b8dba proftpd: Update to 1.3.6 release
Use the new gnu-config files for musl support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:42 -04:00
fan.xin 0d010f8241 openvpn: Upgrade 2.3.9 -> 2.4.2
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:31 -04:00
Zheng Ruoqin 647d21e8e9 cifs-utils 6.6 -> 6.7
Upgrade cifs-utils from 6.6 to 6.7

Signed-off-by: zhengrq <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:22 -04:00
Khem Raj 0447148816 nopoll: Disable doc generation
This also fixes installed-vs-shipped build QA errors like
ERROR: nopoll-0.4.2.b297-r0 do_package: QA Issue: nopoll: Files/directories were installed but not shipped in any package:
  /usr/bin

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:12 -04:00
Li Zhou 71a9e0af08 traceroute: Move manual pages from mandir to man8 under it
Traceroute's manual pages are installed in /usr/share/man,
which should be placed in /usr/share/man/man8.
Correct this.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:27:03 -04:00
Wenlin Kang e86c3fd9c5 net-snmp: supported cross compile for the perl embedded and perl modules
The patch solves two issues:
1. Supported cross compile for the perl embedded and perl modules.
2. Solved runtime depend issue.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:26:48 -04:00
Kai Kang 3491e03931 snort: enable static daq
When start snort, it shows error and quit:

|         --== Initializing Snort ==--
| Initializing Output Plugins!
| ERROR: Can't find pcap DAQ!
| Fatal Error, Quitting..

Fix by enable static daq for snort and enable static build for daq. snort calls
command daq-modules-config which is from daq-native to get required daq static
libraries and library path. Add package daq-native and add patch for snort to
filter library path out to avoid host contamination issue.

Add daq-native's dependency libnet-native too. And daq-native also depends on
libpcap-native from layer oe-core.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:26:16 -04:00
Qi.Chen@windriver.com 27f425bf2c dante: fix unknown-configure-option QA issue
Fix the following QA issue.

  dante-1.4.1: dante: configure was passed unrecognised options: --disable-krb5 [unknown-configure-option]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:25:53 -04:00
Qi.Chen@windriver.com c2cedc5912 open-isns: fix QA issue
Fix the following QA issue.

ERROR: open-isns-0.97-r0 do_package: QA Issue: open-isns: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/isnsd.socket
  /usr/lib/systemd/system/isnsd.service

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:25:43 -04:00
Mingli Yu 0f9bd5642b opensaf: Add -latomic to LDFLAGS
* Add "-Wl,--as-needed -latomic -Wl,--no-as-needed"
  to LDFLAGS to let the libatomic handled automatically
  if required to fix below build error as atomic
  operations on some arch such as x86 are supplied by
  the compiler. For other arch which lacks the instructions,
  a standardized external call provided by external library
  libatomic will be made to perform the operation.

  | src/amf/amfd/bin_osafamfd-main.o: In function `std::__atomic_base<unsigned long long>::load(std::memory_order) const':
  | $Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/recipe-sysroot/usr/include/c++/6.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
  | $Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/recipe-sysroot/usr/include/c++/6.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
  | collect2: error: ld returned 1 exit status
  | make[2]: *** [Makefile:8200: bin/osafamfd] Error 1
  | make[2]: *** Waiting for unfinished jobs....
  | make[2]: Leaving directory '$Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/build'
  | make[1]: *** [Makefile:19749: all-recursive] Error 1
  | make[1]: Leaving directory '$Prj/build/tmp/work/ppc7400-wrs-linux/opensaf/5.2.0-r0/build'
  | make: *** [Makefile:6175: all] Error 2

 Reference: https://gcc.gnu.org/wiki/Atomic/GCCMM/LIbrary#line-23

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:25:31 -04:00
Jackie Huang 8f7f3eb7f6 drbd-utils: remove /var/lock to avoid conflict
Remove the empty /var/lock to avoid conflict with base-files:
| Error: Transaction check error:
  file /var/lock conflicts between attempted installs of
  drbd-utils-8.9.6-r0.core2_64 and base-files-3.0.14-r89.qemux86_64

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:24:41 -04:00
Huang Qiyu 07df35147d ifenslave: 2.7 -> 2.9
1) Upgrade ifenslave from 2.7 to 2.9.
2) License checksum changed,since the copyright's Format were changed.

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:24:32 -04:00
Jackie Huang 3d6480d5ee vblade: update to version 22
Update to version 22 and add support for systemd
and sysvinit, the scripts and conf files are taken
from Fedora.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 10:24:16 -04:00