Commit Graph

791 Commits

Author SHA1 Message Date
Mingli Yu
0b663c4f9a rsyslog: avoid recompiling program during running ptest
* Previously there is below logic in rsyslog-8.37.0/tests/Makefile
  check-TESTS:

  After below commit in automake,
  8555e7b81 check: Make 'check-TESTS' target depend on test dependencies
  the logic changes to the below:
  check-TESTS: $(check_PROGRAMS)

  It will result in compiling program on
  target when run ptest on target, but
  actually there is no need to rebuild the
  program on target, so change it back to
  "check-TESTS:" to avoid recompiling.

* Update the path of abs_top_builddir
  to guarantee the test env is correct.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-30 08:42:03 -07:00
Hongxu Jia
5f23d82175 libblockdev: correct PACKAGECONFIG
Since commit `6cc057d libblockdev: make various features optional' applied,
it introduced issues:

1. As configure.ac told us, mpath/dm/lvm/lvm-dbus should have the
same depends, runtime depends
[configure.ac]
|AS_IF([test "x$with_dm" != "xno" -o "x$with_lvm" != "xno" -o "x$with_lvm_dbus" != "xno" -o "x$with_mpath" != "xno"],
|      [LIBBLOCKDEV_PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.02.93])],
|      [])
[configure.ac]

2. Remove duplicated PACKAGECONFIG tags `lvm-dbus'

3. Remove `lvm-dbus' from PACKAGECONFIG since recipe lvm2 does not support dbus

4. Align with previous configure options, we should add `mpath'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-27 08:58:18 -07:00
Hong Liu
3709fa6124 mozjs: upgrade to 52.9.1
Upgrade mozjs from 52.8.1 to 52.9.1

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>

	renamed:    mozjs_52.8.1.bb -> mozjs_52.9.1.bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Hongxu Jia
e46ed5b414 mailx: support openssl 1.1.x
Long time no maintain from upstream since 2013-06-04,
backport a fix from openSUSE

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Max Kellermann
6cc057dad7 libblockdev: make various features optional
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-24 11:49:45 -07:00
Hongxu Jia
5a92959001 konkretcmpi: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
aed77037d3 scsirastools: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
ddf939a1cb gnuplot: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Hongxu Jia
ed995f152b isomd5sum: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Alistair Francis
ec81952234 pmdk: Initial commit of the PMDK SDK
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 21:14:26 -07:00
Hongzhi.Song
376eb385a5 snappy: modify cmake variable to generate shared library
FILES_${PN}-xxx under packages-split/ depend on FILES_${PN}.
But the FILES_${PN} is empty. This is because snappy doesn't
generate shared library by default.

So we should modify cmake variable to generate shared library.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 07:08:11 -07:00
Khem Raj
205d83988e lcdproc: Update to master tip
* Do not build on musl/arm since it does not build due to musl not
implementing ioperm() function on ARM

Drop 0001-include-asm-ioctl.h-explicitly.patch its fixed differently
upstream already

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-11 22:48:22 -07:00
Hongxu Jia
99c7136fbd libpwquality: clean up python3-libpwquality
Since `8d3d529 libpwquality: Inherit distutils3-base' applied, sub
package python3-libpwquality was merged into package libpwquality.

So clean up obsolete python3-libpwquality definition.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 08:53:52 -07:00
Hongxu Jia
2d5b455f09 sanlock: add version 3.6.0
A shared storage lock manager.

- Fix compile failure with musl

- Fix installed-vs-shipped QA issue

- Fix ldflags QA issue

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-09 22:09:42 -07:00
Khem Raj
d960c17f48 md5deep: Upgrade to latest master
* Add clang fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
7ff00ed5b8 pam-ssh-agent-auth: Depend on openssl10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
467fe56ba4 boinc: Upgrade to 7.12
* Fixes build wth OpenSSL 1.1.x
* Drop cross compile patch, not needed anymore
* Package systemd support
* Drop no-pie flags, works ok with PIE now
* autotools-brokensep is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
bfbcc00cb9 libimobiledevice: Upgrade to latest
Needs several packages to be updates
Fixes build with openSSL 1.1.x

License-Update:

Drop LGPL-2.1, its moved out to separate package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
412045dfaf libusbmuxd: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj
2647170181 openwsman: Upgrade to 2.6.5
* Backport patches to fix build with OpenSSL 1.1.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Hongxu Jia
98e284846c sblim-sfcb: do not use 'exit 1' to postpone to first boot
Since `939f7f1 meta/lib/oe/rootfs.py: do not execute
defer_to_first_boot when processing postinst_intercept hooks' applied
in oe-core, use defer_to_first_boot rather than `exit 1' to postpone
to first boot

Remove duplicated `systemctl enable', it is done in systemd.bbclass

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 13:59:16 -07:00
Randy MacLeod
72869dc798 rsyslog: update from 8.36 to 8.37
Drop upstreamed patch:
   edce434db fix race in parallel builds

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-30 09:19:35 -07:00
dengke.du@windriver.com
a8c59cfdee snappy: add -fPIC flags
Let the libsnappy.a be position independent code, so other packages can use it
to make shared PIC library, such as ceph.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Khem Raj
8d3d5299f4 libpwquality: Inherit distutils3-base
its building a module therefore its important to provide correct cross
build environment, distutils3-base automatically inherits python3native
this is seen when using clang where it tried to link with gcc since the
environment falls back to builtin LDSHARED variable

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Khem Raj
1db2116434 can-isotp: Upgrade to latest
Fixes build with linux kernel 4.18+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Ricardo Salveti
b833067233 mozjs: disable null pointer optimization with GCC >= 6
Mozjs fails to start on several architectures due broken build
optimizations when built with GCC >= 6.

Set -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks
to both CFLAGS and CXXFLAGS as workaround (flags also used by Firefox
and Fedora).

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Isaac Nickaein
2e76cbe8a7 iotop: Add missing dependency: python-subprocess
This adds python-subprocess as run-time dependency for iotop.

More info:
http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154111.html

Signed-off-by: Isaac Nickaein <nickaein.i@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Martin Jansa
b6d34f6519 cfengine: remove cf-consumer.service cf-redis-server.service
* they were removed from 3.12.0 release, see:
  8001b89c09
  d8426c42c0
* fixes:
  ERROR: SYSTEMD_SERVICE_cfengine value cf-consumer.service does not exist

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
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