Commit Graph

763 Commits

Author SHA1 Message Date
Hongxu Jia
ca016f115d libblockdev: drop obsolete patch
Since libblockdev is upgraded to 2.18, the local patch is obsolete.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
a793c6d9d1 cfengine,cfengine-masterfiles: Upgrade to 3.12.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Hongxu Jia
19b47730e0 libblockdev: add PACKAGECONFIG for lvm-dbus
Currently, recipe lvm2 does not support dbus very well, so add
PACKAGECONFIG lvm-dbus for libblockdev and disable it by default.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:13 -07:00
Chen Qi
36ddb5233c rsyslog: add PACKAGECONFIG for imjournal
Add PACKAGECONFIG for imjournal, and add corresponding configuration
to /etc/rsyslog.d/imjournal.conf when it's enabled. Default to disable it.

This patch also enables rsyslog.conf to include configuration files
/etc/rsyslog.d/*.conf.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-05 23:31:28 -07:00
Hongxu Jia
eedd084d3b mozjs: tweak location of tmp dir creation
The tmp dir creation is out of build dir which has
the risk to be broken by others.
...
|   File "build/tmp-glibc/work/i586-wrs-linux/mozjs/52.8.1-r0/
mozjs-52.8.1/build/moz.configure/util.configure", line 190,
in try_invoke_compiler
|     os.remove(path)
| OSError: [Errno 2] No such file or directory: '/tmp/conftest.OiV37V.cpp'
...

Set var-TMP for tempfile.mktemp to use current build dir to
replace default `/tmp'.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Khem Raj
09a2eb4701 openlmi-tools: Fix setup.py clean during build
setuptools bbclass now runs clean target before configure
therefore create the setup.py before main configure task

secondly, all action happens inside cli subdir so mark it
default S

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Changqing Li
6d8982b61e mozjs: fix coredump caused by wrong use of getenv
getenv need include header stdlib.h, or an assumed int
return for getenv to char * pointer will tripping up
the code

Signed-off-by: Changqing Li <changqing.li@windriver.com>
2018-08-02 11:23:03 -07:00
Richard Leitner
f7ed3cfdf8 pam-plugin-ccreds: remove local patches
As our patches were merged upstream [1]  we can safely remove them and
use the new upstream revision.

[1] https://github.com/PADL/pam_ccreds/pull/1

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
f38ff38f48 isomd5sum: 1.2.1 -> 1.2.3
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
2f04ee22e1 libreport: 2.9.2 -> 2.9.5
Drop 0005-remove-python2-support.patch and use option
`--with-python2/3' to replace.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
4c258b784e volume-key: 0.3.10 -> 0.3.11
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
3bea987cde libblockdev: clean up obsolete patches
Since upgrading libblockdev to 2.18, these patches are
useless, remove them.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Ricardo Salveti
2585bc07ee mozjs: add support for RISC-V
Based on pending patch that was already submitted at
https://bugzilla.mozilla.org/show_bug.cgi?id=1318905.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Chen Qi
a74abf155d libfastjson: backport patch to fix compilation error
I've met the following compilation error.

  | ../git/json_object.c:415:3: error: jump skips variable initialization [-Werror=jump-misses-init]

Backport a patch to fix it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:02 -07:00
Mingli Yu
d111290aca librelp: Upgrade to 1.2.16
* Add 0001-src-tcp.c-fix-jump-misses-init-error.patch
  to fix -Werror=jump-misses-init error
* Add 0001-src-tcp.c-increase-the-size-of-szHname.patch
  to fix -Werror=format-truncation error when
  security_flags turned on

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Chen Qi
1993b1f78c rsyslog: fix configuration file for logrotate
The logrotate.rsyslog file uses 'cat /var/run/rsyslogd.pid' to
determine the pid of rsyslogd daemon. This is incorrect, because
rsyslogd may start in a way that does not create rsyslog.pid file.

Failing to send HUP signal to rsyslogd daemon will result in
unexpected behaviour. e.g. rsyslogd is writing to /var/log/messages-xxxx
instead of /var/log/messages.

We should really use pkill to send HUP signal to rsyslogd to ensure
correct behaviour.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Hongzhi.Song
a79ca68311 snappy: add a new recipe
Snappy is a compression/decompression library. It does not aim for
maximum compression, or compatibility with any other compression
library; instead, it aims for very high speeds and reasonable compression.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00
Ioan-Adrian Ratiu
c41ed7f332 libblockdev: cleanup/fix PACKAGECONFIG/dependencies
It only makes sense to rdepend on lvm2 if lvm is enabled by the
configuration and the nss and volume-key dependencies are only needed
if --with-escrow is configured. These dependencies are quite big so
it's good to have a way to disable them.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 19:26:51 -07:00
Hongxu Jia
59a2da1668 rsyslog: fix race in parallel builds
If libgcry.la is built later than lmcry_gcry.la, there is a failure:
[snip]
|../aarch64-wrs-linux-libtool  --tag=CC   --mode=link aarch64-wrs-linux-gcc
-o lmcry_gcry.la lmcry_gcry_la-lmcry_gcry.lo libgcry.la -lgcrypt
|aarch64-wrs-linux-libtool:   error: cannot find the library 'libgcry.la'
or unhandled argument 'libgcry.la'
|Makefile:1049: recipe for target 'lmcry_gcry.la' failed
|make[2]: *** [lmcry_gcry.la] Error 1
[snip]

The LIBADD of lmcry_gcry.la contains libgcry.la, we should also add libgcry.la
to lmcry_gcry.la's DEPENDENCIES.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 13:49:48 -07:00
Ricardo Salveti
70f1e5f668 mozjs: disable MOZ_GLUE_IN_PROGRAM in standalone builds
Otherwise anyone consuming mozjs will fail to start with a segmentation
fault (e.g. polkitd).

Patch also used by Fedora and Debian.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:15 -07:00
Hongxu Jia
0aff7abedc mozjs: add support for mips64-n32
- Tweak configure for mips64-n32

- Disable gold linker which not supported by mips64-n32

- Since n32 and n64 use the same registers, add n32 to
  n64's register definition.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:14:22 -07:00
Mingli Yu
af574eed88 liblockfile: Upgrade to 1.14
* Licence-Update:
  - Copyright years are updated from 2011 to 2016
  - The text as below
    "On Debian GNU/Linux systems, the complete text of the GNU Lesser General \
     Public License can be found in `/usr/share/common-licenses/LGPL-2'. You can \
     also find a copy on the GNU website at http://www.gnu.org"
    updated to
    "The complete LGPL-2 license is included in the licenses/ directory."
* Compared to liblockfile_1.09.orig.tar.gz unpack to
  ${WORKDIR}/${BPN}-${PV}, liblockfile_1.14.orig.tar.gz
  unpack to ${WORKDIR}/${BPN} now.
  Add S = "${WORKDIR}/${BPN}" to fix the gap
* Remove two backported patch
  - install.patch
  - ldflags.patch
* Use DESTDIR instead of the previous ROOT and add
  patch 0001-Makefile.in-add-DESTDIR.patch to fix
  below issue:
  | install -d -m 755 -g root -p /usr/include
  | install -d -m 755 -g root -p /usr/lib
  | install -d -m 755 -g root -p /usr/bin
  | install -m 755 nfslock.so.0.1 /usr/lib
  | install -d -m 755 -g root -p /usr/share/man/man1
  | install: cannot create regular file '/usr/lib/nfslock.so.0.1': Permission denied
  | Makefile:78: recipe for target 'install_nfslib' failed
  | make: *** [install_nfslib] Error 1
  | make: *** Waiting for unfinished jobs....
  | install -d -m 755 -g root -p /usr/share/man/man3
  | install -m 644 lockfile.h maillock.h /usr/include
  | install: cannot create regular file '/usr/include/lockfile.h': Permission denied
  | install: cannot create regular file '/usr/include/maillock.h': Permission denied
  | Makefile:64: recipe for target 'install_common' failed
  | make: *** [install_common] Error 1
* Rework patch:
  - Rework liblockfile-fix-nfslib-and-soname.patch to
    0001-Makefile.in-install-nfslock.so-and-nfslock.so.0.patch
    as the previous patch partly in upstream
  - liblockfile-fix-install-so-to-man-dir.patch

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:14:22 -07:00
Changqing Li
b4e6b08e05 libblockdev: 2.16 -> 2.18
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:07:12 -07:00
Hongxu Jia
5cf053a7f5 polkit: 0.113 -> 0.115
- Rebase patches to 0.115
  0001-make-netgroup-support-configurable.patch
  polkit-1_pam.patch

- Add --disable-libelogind which OE does not have recipe
  libelogind

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16 18:42:41 -07:00
Hongxu Jia
50e8ed5fd4 mozjs: 17.0.0 -> 52.8.1
- Refactor recipe 52.8.1
  0001 ~ 0006

- Rebase patches to 52.8.1;
  0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
  0010-fix-cross-compilation-on-i586-targets.patch'

- Drop 0001-regenerate-configure.patch and everything works well

- Drop Manually_mmap_heap_memory_esr17.patch which is backported

- Drop obsolete patches
  0001-compare-the-first-character-of-string-to-be-null-or-.patch
  0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
  0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
  0004-mozbug746112-no-decommit-on-large-pages.patch
  0005-aarch64-64k-page.patch
  fix_milestone_compile_issue.patch
  fix-the-compile-error-of-powerpc64.patch
  Update-Double-Conversion.patch and Update-the-double-conversion-update-script.patch

- Set DISABLE_STATIC = "" to build without option `--disable-static'

- Set musl patch (0006-support-musl.patch) with musl override.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16 18:42:40 -07:00
Khem Raj
cccf8fc305 rsyslog: Disable valgrind support on risv64
valgrind is not yet working on risc-v arch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-14 15:50:14 -07:00
Khem Raj
017f4a6a08 volume-key: Upgrade to 0.3.10
Add dependency on swig-native which was missing

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-14 15:50:14 -07:00
Robert Yang
578da68284 sblim-sfcb: fix sfcbinst2mof_DEPENDENCIES in Makefile.am
Fixed build with automake 1.16.1:
/path/to/i586-poky-linux/8.1.0/ld: cannot find -lsfcBrokerCore
collect2: error: ld returned 1 exit status

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-12 07:19:43 -07:00
Ross Burton
317605fd57 p7zip: simplify recipe
The plugin-based 7z binary is mostly useless because it can't find the
libraries.  Simply just install 7za, and install a compatibility symlink for 7z.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-04 06:09:58 -07:00
Zheng Ruoqin
7ccfc9d818 cmpi-bindings: rename
Rename cmpi-bindings from cmpi-bindings_git.bb to cmpi-bindings_1.0.1.bb.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03 17:42:25 -07:00
changqing.li@windriver.com
771914f137 rsyslog: upgrade 8.29.0 -> 8.36.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03 17:42:25 -07:00
Mingli Yu
211c8d62f6 hwloc: Upgrade to 1.11.10
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Mingli Yu
45edb2de23 dialog: Upgrade to 1.3-20180621
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Mingli Yu
dd2a6343aa libfastjson: Upgrade to 0.99.8
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Mingli Yu
76e5f6637f liblogging: upgrade to 1.0.6
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Derek Straka
7516e8453a python-pywbem: update to version 0.11.0 and add a python3 recipe
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Khem Raj
1477cf5460 upm: Upgrade to latest and fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Khem Raj
a7c45eb037 tiptop: Fix parallel build issues
- Fix reproducible build issue
- Fix out of tree builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-20 23:19:13 -07:00
Alistair Francis
f097a2d7d6 mozjs: Update Double-Conversion inside mozjs
Update the Double-Conversion source inside mozjs to add support for more
architectures.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-20 21:43:55 -07:00
Khem Raj
a2f02d1d7b tiptop: Add missing deps on flex and bison
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-19 19:32:56 -07:00
Martin Jansa
ea97e32487 collectd: fix libvirt PACKAGECONFIG
* fixes:
  ERROR: collectd-5.8.0-r0 do_configure: QA Issue: collectd: configure was passed unrecognised options: --disable-libvirt [unknown-configure-option]
* the PACKAGECONFIG in meta-oe was introduced long time ago:

commit 5fbe2ac4e8
Author: Wenzong Fan <wenzong.fan@windriver.com>
Date:Tue Dec 23 16:55:50 2014 +0800

 collectd: add PACKAGECONFIG for libvirt, libesmtp

 Add PACKAGECONFIG for libvirt, libesmtp to fix below warnings:

and at that time in 5.4.1 there was libvirt (renamed from libvirtstats) option, since this commit:
553376a3a6

but then in 5.5.0 it was renamed again to just virt:
62f948605f

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-16 08:51:38 -07:00
Martin Jansa
d3b1e5602d libqb: Fix build with gold
* since the upgrade to 1.0.3 more specifically since this commit:
  20246f544f (diff-67e997bcfdac55191033d57a16d1408a)
  it was failing to build with gold
* add --enable-nosection-fallback to work around the issue

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-14 20:25:16 -07:00
Oleksandr Kravchuk
339898ceee libconfig: update to 1.7.2
Updated the package and SRC_URI, since the project is now maintained at
github.com/hyperrealm/libconfig.

Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-14 08:57:14 -07:00
Khem Raj
89033c191b lcdproc: Update to 0.5.9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-14 08:57:14 -07:00
Richard Leitner
268b4bd1dc pam-plugin-ccreds: add recipe
Add version 11 of the pam-plugin-ccreds with the debian patches and a
fix for *.so symlink creation applied.

Upstreaming of these patches was requested by following pull-request:
	https://github.com/PADL/pam_ccreds/pull/1

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-05 10:03:43 -07:00
Andre McCurdy
92362245d7 jansson: update 2.9 -> 2.11
Version 2.11

============

Released 2018-02-09

* New features:

  - Add `json_pack()` format specifiers s*, o* and O* for values that
    can be omitted if null (#339).

  - Add `json_error_code()` to retrieve numeric error codes (#365, #380,
    #381).

  - Enable thread safety for `json_dump()` on all systems.  Enable thread
    safe `json_decref()` and `json_incref()` for modern compilers (#389).

  - Add `json_sprintf()` and `json_vsprintf()` (#393).

* Bug Fixes:

  - Fix incorrect report of success from `json_dump_file()` when an error
    is returned by `fclose()` (#359).

  - Make json_equal() const-correct (#344).

  - Fix incomplete stealing of references by `json_pack()` (#374).

* Build:

  - Work around gcc's -Wimplicit-fallthrough.

  - Fix CMake detection of `sys/types.h` header (#375).

  - Fix `jansson.pc` generated by CMake to be more consistent with the one
    generated using GNU Autotools (#368).

* Other:

  - Miscellaneous documentation fixes (#356, #378, #395).

  - Remove unnecessary reference actions from parsers (#377).

Version 2.10
============

Released 2017-03-02

* New features:

  - Add JSON_EMBED encoding flag allowing arrays and objects to be encoded
    into existing streams (#329).

  - Add `json_dumpb()` function for dumping to a pre-allocated buffer (#328).

  - Add `json_dumpfd()` and `json_loadfd()` functions for dumping to streaming
    file descriptors (#328).

  - Add support for parsing buffers larger than 2GB (#309).

* Build:

  - Fix CMake build when LONG_LONG_INT is defined as "" (#321)

* Other:

  - Internal code cleanup (#311, #314)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-01 14:41:31 -07:00
leimaohui
d3d269838b tiptop: Add aarch64 into COMPATIBLE_HOST.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:57:23 -07:00
Yi Zhao
716de257ea rsyslog: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Yi Zhao
2ea3658241 libreport: add UPSTREAM_CHECK_GITTAGREGEX
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Yi Zhao
045625d61b libpwquality: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00