Commit Graph

10577 Commits

Author SHA1 Message Date
Jackie Huang
aa4bed65e4 open-isns: add sysvinit support
It's not mandatory to depend on systemd for open-isns,
the sysvinit script is also provided in open-isns source
code, so add it to support sysvinit and remove the
distro_features_check.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 12:01:46 -05:00
Jackie Huang
a99be704e2 iscsi-initiator-utils: remove the distro_features_check
open-isns supports both systemd and sysvinit now, so
remove the distro_features_check.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 12:01:29 -05:00
Jackie Huang
5bb1957667 iscsi-initiator-utils: check file existence before moving
Check the file existence before moving to avoid the error:
| mv: cannot stat /<build_dir>/git/utils/fwparam_ibft/prom_lex.l:
| No such file or directory

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 12:01:22 -05:00
Jackie Huang
b55738ef8d networkmanager: add consolekit only when x11 is enabled
consolekit depends on virtual/libx11 then it requires x11
distro feature, so add consolekit option only when x11
is in DISTRO_FEATURES.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 12:00:41 -05:00
Ross Burton
e640789577 postfix: virtual/db isn't used by core, change to db
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 12:00:05 -05:00
Ross Burton
17cb24d293 cyrus-sasl: virtual/db isn't used by core, change to db
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:59:57 -05:00
Kai Kang
4f3289fe4d corosync: 2.4.2 -> 2.4.3
Upgrade corosync from 2.4.2 to 2.4.3.

* remove patch which is merged by upstream
* remove gcc option '-fpie' by append configure cache value 'ap_cv_cc_pie=no'
  to fix TEXTREL QA issue for linker gold
* disable autostart of corosync. It only works after configured and config file
  /etc/corosync/corosync.conf exists.
* use bb.utils.filter
* corosync init script requires command pidof. But pidof from busybox doesn't
  work well to filter the calling process itself, so update runtime dependency

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:58:56 -05:00
Joe MacDonald
f0764a12de bridge-utils: update to v1.6
Updating to the latest version (1.6) and taking the opportunity to clean
up the old patches, switch to the upstream git repo for SRC_URI and make
the requested change to the older AR patch from a while back.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
merge conflict with master-next

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:57:34 -05:00
Kai Kang
f9a1fe6ab2 stunnel: fix compile error when openssl disable des support
When openssl disable des support with configure option 'no-des', it
doesn't provide des related header file and functions. That causes
stunnel compile failed. Fix it by checking macro OPENSSL_NO_DES to use
openssl des related library conditionaly.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:54:53 -05:00
Jackie Huang
d8e69bc9e9 net-snmp: support openssl without 3des
net-snmp enables 3des support by default and fails to build with distro
feature openssl-no-weak-ciphers:

| ../../net-snmp-5.7.3/snmplib/scapi.c:82:25: fatal error: openssl/des.h: No such file or directory
|  #include <openssl/des.h>

To fix the issue:
* add a patch to include des.h only if it's found in openssl
* disable des when openssl-no-weak-ciphers is enabled

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:54:39 -05:00
Jackie Huang
ba8543aeee freediameter: add new recipe
freeDiameter is an open source Diameter protocol
implementation. It provides an extensible platform
for deploying a Diameter network for your Authentication,
Authorization and Accounting needs.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:54:16 -05:00
Joe MacDonald
72657d7a16 lksctp-tools: update and remove from blacklist
Switching lksctp-tools to build from the upstream git repository rather
than a source tarball.  At the same time we'll un-blacklist it since it
appears the gold-as-ld issue has been resolved underneath us, probably
related to a Debian bug of the same form that was also resolved with a
binutils update.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:54:02 -05:00
Fabio Berton
f122ecd717 arptables: Fix do_install task
We need to run oe_runmake install with DESTDIR variable to install all
arptables files. Without this the only file installed in package is
systemd unit.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:53:44 -05:00
fan.xin
58a6f21a54 openvpn: Upgrade 2.4.3 -> 2.4.4
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:51:47 -05:00
Yi Zhao
e1221e7aa4 postfix: fix send mail failure and eliminate warning
* Update main.cf for postfix 3.x to eliminate startup warning
* Set daemon_directory from ${libexecdir} to ${libexecdir}/postfix
* Using absolute path for newaliases and postmap to generate the correct
  db file in pkg_postinst
* Remove duplicate SRC_URI lines in postfix_3.2.2.bb

(LOCAL REV: NOT UPSTREAM) -- will sent to oe-devel later

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>

* Move use of newaliases and postmap on host to install phase
  because absolute path might not exist at rootfs build time.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:51:21 -05:00
Andre McCurdy
d338d219df dnsmasq: update SRC_URI for versions 2.69 and earlier
Versions 2.16 to 2.69 have now also moved into the archives folder.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:49:19 -05:00
Khem Raj
ff720f34e4 dovecot: Fix parallel build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:49:02 -05:00
Andre McCurdy
5ff5afa30b ssmtp: misc recipe updates + add Debian "partial loss of message body" fix
- Backport Debian fix for "partial loss of message body, sending
   message to wrong recipicients" issue:

     https://sources.debian.net/patches/ssmtp/2.64-8/ssmtp-bug584162-fix.patch/

 - Control ipv6 support based on ipv6 DISTRO feature.
 - Enable ssl support by default (and add PACKAGECONFIG option to
   control it).
 - Drop inetutils dependency (inetutils provides only applications,
   not libraries or header files, so a build dependency on it doesn't
   make sense).
 - Drop pkgconfig class (the ssmtp configure script etc doesn't make
   any use of pkg-config).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:48:42 -05:00
Khem Raj
43d2d966b9 open-isns: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-01-08 11:37:46 -05:00
Derek Straka
29a4983d5a python-pandas: add json to the RDEPENDS list
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
84aa13e7fc python-pyserial: reorganize packaging and update RDEPENDS
Added packages for OSX, Win32, and java items that are not supports
Updated RDEPENDS to work on a minimal python install

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
210c895d88 python-pyroute2: re-add the RDEPENDS that were removed and verify on the latest release
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
088327df69 python-netaddr: update to RDEPENDS to work on minimal python installs
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
d8440d28e6 python-pycparser: add pprint to the RDEPENDS
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
e8dde5aba5 python-zopeinterface: update RDEPENDS to include datetime
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:53 -08:00
Derek Straka
a5203c3766 python-whoosh: add RDEPENDS to work on minimal python installs
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:48 -08:00
Derek Straka
cf1f54761c python-pyflakes: update to version 1.6.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:19 -08:00
Derek Straka
dbfb70fdd1 python-cmd2: update RDEPENDS to include pyperclip
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:19 -08:00
Derek Straka
b91c5dcb0d python-pyperclip: add an initial recipe for version 1.6.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:19 -08:00
Derek Straka
bc8e40e7ab python3-langtable: update to version 0.0.38
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:19 -08:00
Derek Straka
aadf68393b python-networkx: update to version 2.0
Verified license terms remain the same and update checksum

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:18 -08:00
Derek Straka
681bce86e5 python-parted: update to version 3.11.1
Update github hash for the release
Add correct RDEPENDS for the minimal python installs
Remove a patch no longer required

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:18 -08:00
Derek Straka
83b097cc3b python-flask-wtf: update to version 0.14.2
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:18 -08:00
Derek Straka
91a32418bd python-pymisc: update to version 2.4.85
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:33:13 -08:00
Yi Zhao
fa21162559 leveldb: fix checking for SSE flag
The build_detect_platform-Check-for-__SSE4_2__.patch tries to use fgrep
with pipe to get the SSE flag. But actually it would fail with error:
fgrep: /tmp/leveldb_build_detect_platform-cxx.25886: No such file or
directory

That means it can not get the correct SSE flag.
We should make sure the fgrep command runs after g++ command has
finished and redirect the stdout and stderr to /dev/null to avoid make
error:
Makefile:18: *** missing separator. Stop.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:57 -08:00
Qi.Chen@windriver.com
303fd6d589 hwloc: fix multilib problem
Use libhwloc instead of lib${PN} to fix problem in case of multilib.
Otherwise, when installing lib32-hwloc into image, we would have the
following error at do_rootfs.

  - nothing provides lib32-liblib32-hwloc = 1.11.5-r0 needed by lib32-hwloc-1.11.5-r0.corei7_32

Also, fix FILES variable for libhwloc to not contain .so link file.
This would fix the QA issue, and the INSANE_SKIP line is no longer needed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:49 -08:00
Zheng Ruoqin
e170ac2818 xrdp: CVE-2017-16927
Fix of CVE-2017-16927

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:41 -08:00
Armin Kuster
cae654adc6 libyui-ncurses: new add
Add a new recipe libyui-ncurses, which is a rdepend for dnfdragora.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
fixed patch to apply
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:34 -08:00
Andreas Müller
f5c2f02745 plymouth: packageconfig gtk needs gtk+3 as depends
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:14 -08:00
Andreas Müller
00b889a355 plymouth: do not install systemd units manually
They are installed properly by plymouth itself. With buildhistory no change
in packed files could be detected.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:14 -08:00
Andreas Müller
5fc50827f3 gvfs: update 1.32.1 -> 1.34.1
* --with-archive-includes and --with-archive-libs were removed in [1]
* --enable-gtk was removed in [2]
* build tested with full (except cdda) and empty PACKAGECONFIG
* run tested with PACKAGECONFIG = "archive gcr libmtp libgphoto2 samba systemd"
* fixes long delay when unmounting memory sticks

[1] https://git.gnome.org/browse/gvfs/commit/configure.ac?id=03fbe16aebced70118f070f898d7b459e1125580
[2] https://git.gnome.org/browse/gvfs/commit/configure.ac?id=dff13283c943c8b10265bd3925d86f17cdc4be6f

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:14 -08:00
Andreas Müller
e4be8f4e9e plymouth: fix path to systemd-tty-ask-password-agent
In pre recipe specific sysroot times AC_PATH_PROG detected host's
systemd-tty-ask-password-agent. In my case that path was wrong and
systemd-ask-password-plymouth.service failed silently.
Now with recipe specific sysroot and no link in PATH to buildhost,
SYSTEMD_ASK_PASSWORD_AGENT remains empty and that causes:

| systemd[1]: /lib/systemd/system/systemd-ask-password-plymouth.service:12: Executable path is not absolute, ignoring: --watch --plymouth
| systemd[1]: systemd-ask-password-plymouth.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

For both environments this patch fixes log-off from X-session to
display-manager. Before this patch screen went dark and it seemed that X-server
was restarted.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:08 -08:00
Zheng Ruoqin
9c63095826 dnfdragora: new add
Add a new recipe dnfdragora.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:52:26 -08:00
Khem Raj
9473dddf8a gtk-xfce-engine: Fix build with glib-2.0 > 2.53
Fixes errors like
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 980: invalid continuation byte
Makefile:737: recipe for target 'xfce_typebuiltin.h' failed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-12-27 07:47:03 -08:00
Andreas Müller
06ede87198 Add FLTK to licenses to avoid warning when building fltk / fltk-native
FLT is a LGPLv2 with exceptions

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:47:00 -08:00
Andreas Müller
85eedcfd2a fltk: do not suffix shared library names with '_SHARED'
This avoids unwanted linking against static libraries as happened for yoshimi.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:47:00 -08:00
Andreas Müller
5a7a0abb17 fltk: remove fltk-native from DEPENDS
This depemdency is a pre recipe specific sysroot remnant.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:47:00 -08:00
Andreas Müller
66601de45f fltk-native: remove fltk-config from image
Make sure fltk-config will not be used accidentaly.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:46:59 -08:00
Mingli Yu
5f6fcfd362 protobuf: add ptest support
* Add DEPENDS_class-target  = "protobuf-native"
  to fix below error:
  | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
  | DEBUG: Executing shell function do_compile_ptest_base
  | NOTE: make -C $Prj/build/tmp-glibc/work/core2-64-wrs-linux/protobuf/3.4.1+gitAUTOINC+b04e5cba35-r0/git/examples cpp
  | make: Entering directory '$Prj/build/tmp-glibc/work/core2-64-wrs-linux/protobuf/3.4.1+gitAUTOINC+b04e5cba35-r0/git/examples'
  | protoc --cpp_out=. --java_out=. --python_out=. addressbook.proto
  | make: protoc: Command not found
  | make: *** [Makefile:25: protoc_middleman] Error 127
* Add run-ptest
* Add rdepends on bash and python-protobuf for ptest

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:03 -08:00
Romain Forlot
13c84c645b Adding LUA to SDK
A project could need to have LUA in SDK, an example is
to compile LUA scripts which checks its syntax before embedded
them into a project compiled by Yocto.

Change-Id: I3c36acd58d45121c3344b5322244bdc0b12061b9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:03 -08:00