Commit Graph

513 Commits

Author SHA1 Message Date
Khem Raj
a2e1a14961 hplip: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-26 08:24:07 +01:00
Khem Raj
eb18c5dfa9 zlog: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:23:25 +01:00
Frank Meerkoetter
c7a90c502b rrdtool: split out rrdcached into a package of its own
rrdcached is a caching daemon for rrdtool. It's typically
used in large installations. Small embedded systems might
not use it at all. Splitting it out allows a systems builder
to remove a daemon process running as root.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-13 11:20:38 +01:00
Frank Meerkoetter
3d998f3745 redis: increase the max number of fds to actually match redis.conf
Now that the processes no longer runs as root, we need to increase
the limit for it.

This only affects systemd based systems.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-09 12:02:13 +01:00
Frank Meerkoetter
a1bdd5f40e redis: do not run as root
Running a network facing daemon written in C as root is not
a good idea. Introduce a redis system user/group for that.

A drawback is that now redis can no longer increase the
number of open fds to 10000 (MaxClients). If this is needed
the ulimit needs to be tweaked in the init script or systemd
unit file.

This only affects systemd based systems.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-09 12:02:13 +01:00
Frank Meerkoetter
9aace0c566 redis: log to syslog
Creating /var/log/redis.log requires root permissions to
create the file. Use syslog instead so redis does not
require root.

This affects both sysv and systemd based systems.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-09 12:02:13 +01:00
Frank Meerkoetter
3237c650e7 redis: do not expose the service to the network by default
Binding it to localhost is a safe default.
This affects both sysv and systemd based systems.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-09 12:02:13 +01:00
Frank Meerkoetter
142faee173 redis: add a systemd service file
The redis.conf is changed on the fly to not daemonize redis.
The reason for that is that with this appraoch we don't need
special permissions to write to /var/run/.

Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-09 12:02:12 +01:00
Ross Burton
a7f3ec87f9 meta-gnome: add explicit gnome-common dependencies
gnome-common is deprecated and gnomebase.bbclass will soon stop depending on it,
so add gnome-common to DEPENDS for the recipes that still use it.

gxim previously wasn't really using the gnome-common macros so now the build
fails with compiler errors, so pass the flag to turn off fatal warnings as gxim
appears to be dead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:16:18 +01:00
Ross Burton
533826b765 meta-oe: add explicit dependencies on gnome-common
gnome-common is deprecated and gnomebase.bbclass will soon stop depending on it,
so add gnome-common to DEPENDS for the recipes that still use it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:16:18 +01:00
Joshua Lock
efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Khem Raj
67485ec597 libcec: Add missing dep on ncurses
Consider vc4 options on raspberryPi class of
devices

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:22 +01:00
Khem Raj
eef06e7cbe flashrom: Remove redundant const qualifier
This is flagged by latest clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:20 +01:00
Khem Raj
c0eabbeccb dialog: Update 1.3-20160424 -> 1.3-20160828
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:04 +01:00
Khem Raj
856ac210ab md5deep: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:04 +01:00
Qi.Chen@windriver.com
2372fb6412 gnuplot: upgrade to 5.0.5
Add PACKAGECONFIG for 'qt4' and default to not enable it as there's
do_compile failure when qt4 is enabled.

The obsolete '--without-lisp-files' option is removed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:42 +01:00
Khem Raj
ecdf2c3080 libplist: Remove rpaths surgically
Check for files first before operating on it

Fixes QA errors like below

  /usr/lib/python2.7/site-packages/plist/__init__.py
  /usr/lib/python2.7/site-packages/plist/_plist.so
  /usr/lib/python2.7/site-packages/plist/plist.py
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libplist: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:42 +01:00
Khem Raj
35f77c6250 libcec: Update to 3.1.0+
Depends on p8platform therefore add recipe for
p8platform

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:02 +01:00
Khem Raj
aaa64ef4b4 boinc: Add recipe for boinc-client
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:00 +01:00
Chen Qi
ce2b1ac78d rsyslog: upgrade to 8.22.0
enable_tls_ptests.patch is removed as the problem has been fixed in new version.

fix_build_with_musl.patch is removed as it's no longer suitable.
The file it fixes is not even there any more.

Several necessary runtime dependencies are added to rsyslog-ptest.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:41 +02:00
Chen Qi
ca3a032866 librelp: add recipe
This is a project under rsyslog. Add its recipe as it's needed by
the new version of rsyslog.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:40 +02:00
Chen Qi
2f7c00b934 libfastjson: add recipe
This is a project under rsyslog. Add its recipe as it's needed
by new version of rsyslog.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:40 +02:00
Khem Raj
b8ecf243e2 flashrom: Fix build with clang and aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:39 +02:00
Khem Raj
2280f696f8 libplist: Squash warnings found by clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:38 +02:00
Chen Qi
4faba62424 libsocketcan: upgrade to 0.0.10
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:12 +02:00
Chen Qi
2acaa8f3be tipcutils: upgrade to 2.2.0
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:33:22 +02:00
Igor Socec
fb6585fdce jansson: update to 2.9
Improved build, tests and documentation.

New features: functions and macros (*pack, *foreach, *string*, *alloc*)

Security fixes: CVE-2013-6401

Bugfixes:
- Number parsing and overflows
- Fix l_isxdigit() macro (#97).
- Check for NULL key in json_object_get() and json_object_del() (#151).
- Enhance hashtable seeding on Windows (#162).
- json_unpack(): Allow mixing JSON_STRICT with optional keys (#162, #163).
- Fix int/int32 mismatch (#142).
- Parse subnormal numbers correctly (#202).
- Fix a crash when parsing inputs consisting of very deeply nested arrays or objects (#282, #284).
- Never convert numbers to integers in the parser when JSON_DECODE_INT_AS_REAL is set (#212).
- Handle out-of-memory situations gracefully in the hashtable implementation (#298).

The copyright date in the LICENSE file was updated for 2016.

Signed-off-by: Igor Socec <igor.socec@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:20:44 +02:00
André Draszik
6ee4e5379e haveged: don't compile in mips16e mode
While a gcc was filed here
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77757
disable mips16e compilation in the mean time.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-05 18:20:48 +02:00
Ming Liu
08b315e1f5 rsyslog: fixes musl libc build
- struct timeval is defined in sys/time.h with a musl libc.
- include fcntl.h without the conditional checking.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:57 +02:00
Jonathan Liu
67d6ed40bf p7zip: do not hardcode path in native wrapper script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:18:51 +02:00
Wang Xin
b187e7cccc logwatch: 7.4.1 -> 7.4.3
Upgrade logwatch from 7.4.1 to 7.4.3.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:18:51 +02:00
Martin Jansa
b70d4e2fb3 p7zip, mce-inject: update LIC_FILES_CHKSUM
* both were failing since last upgrade, but nobody noticed, because nobody
  reads QA issues in "bitbake world status" e-mails and LIC_FILES_CHKSUM
  mismatch wasn't fatal due to bug in insane.bbclass
* http://errors.yoctoproject.org/Errors/Details/83571/
* http://errors.yoctoproject.org/Errors/Details/83572/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:15 +02:00
Koen Kooi
bfa10542df mozjs: fix crash on non-x86 64 bit systems
Mozjs is mozillaware, meaning that it barely works on x86 and is plain broken on everything else. This time mozjs assumes that noone will ever have more than 47bit for VA, breaking aarch64 which can have more. Thanks to polkit developers using mozjs systemd will crash early during boot when using polkit.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:15 +02:00
Wenzong Fan
b2d3dacc5e rsyslog: upgrade to 7.6.7
* fix CVEs CVE-2014-3634, CVE-2014-3683

* rebase the patch use-pkgconfig-to-check-libgcrypt.patch

* backport fixes for build error:
  lexer.l:34:14: error: expected identifier or '(' before '__extension__'

* replace the old configure option '--enable-cached-man-pages' with
  '--disable-generate-man-pages'

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:13 +02:00
Alexandru Moise
4fad615950 collectd: CVE-2016-6254
Heap-based buffer overflow in the parse_packet function in network.c in
collectd before 5.4.3 and 5.x before 5.5.2 allows remote attackers to
cause a denial of service (daemon crash) or possibly execute arbitrary
code via a crafted network packet.

Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:46 +02:00
Andreas Müller
e9b5fc160f gtkmathview: unbreak gcc-6 build and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:11:23 +02:00
Pascal Bach
8f6a485975 p7zip: update to version 16.02
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:11:22 +02:00
Wang Xin
c4ff1c9313 smartmontools: 6.4 -> 6.5
Upgrade smartmontools from 6.4 to 6.5.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:10:44 +02:00
Wang Xin
f2f1b91377 rrdtool: 1.5.4 -> 1.6.0
Upgrade rrdtool from 1.5.4 to 1.6.0.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:10:44 +02:00
Wang Xin
c63f9c4ebb openwsman: 2.6.2 -> 2.6.3
Upgrade openwsman from 2.6.2 to 2.6.3.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:54 +02:00
Hongxu Jia
010d99d557 efivar: fix PIC not found
Previously, we tweak gcc option for gold linker to workaround
link failure, it caused shared object dependencies missing
while non gold linker:

Print shared object dependencies in target:
......
root@localhost:~# ldd /usr/sbin/efibootmgr
	linux-vdso.so.1 (0x00007ffdbbbe4000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fce48355000)
	PIC => not found
	libefivar.so.0 => /usr/lib64/libefivar.so.0 (0x00007fce4813d000)
	PIC => not found
	libefiboot.so.0 => /usr/lib64/libefiboot.so.0 (0x00007fce47f33000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fce486f2000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fce47d2f000)
......

The efivar dynamic library missing PIC option. Do not apply
gold linker fix while non gold linker.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:27:40 +02:00
Wang Xin
fef7b1feb7 libqb: 0.17.1 -> 0.17.2
Upgrade libqb from 0.17.1 to 0.17.2.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-31 18:22:26 +02:00
Martin Jansa
bd9f653e8b Revert "testfloat: Fix No GNU_HASH in the elf binary warnings"
There is v2 patch for this.

This reverts commit 8885e4a2f1.
2016-08-31 18:21:58 +02:00
Fahad Usman
8579f185f0 testfloat: Fix No GNU_HASH in the elf binary warnings
These warnings are observed when testfloat is cross-compiled with certain
external toolchains.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-31 18:21:58 +02:00
Martin Jansa
dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Martin Jansa
303a585a6f meta-oe: remove PR = "r0"
* this is default value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Martin Jansa
289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Koen Kooi
7988dfe1a0 collectd: make /etc/collectd.conf a CONFFILE
Getting your config nuked everytime you update collectd is annoying, so
properly tag it as CONFFILES.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:30 +02:00
Fahad Usman
8885e4a2f1 testfloat: Fix No GNU_HASH in the elf binary warnings
These warnings are observed when testfloat is built with certain
external toolchains.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:30 +02:00
Yi Zhao
c4ea81241b wipe: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent
via this variable.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:29 +02:00