Commit Graph

12794 Commits

Author SHA1 Message Date
Stefan Agner
4d3a76884e xfce4-power-manager: enable polkit depending on distro feature
systemd and polkit are not directly related. It is just fine to build
with systemd but without polkit. Rename the systemd package config
to polkit and enable it depending on whether polkit is enabled in
DISTRO_FEATURES.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 10:15:44 -08:00
Stefan Agner
e6836ceaef networkmanager: introduce polkit package config
Currently polkit is enabled if systemd is in package config. Those
two things are orthogonal: NetworkManager can be used with systemd
and without polkit just fine.

Introduce a new polkit package config and enable it depending on
whether polkit is in DISTRO_FEATURES.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 10:15:44 -08:00
Stefan Agner
97a1a55f47 polkit: add polkit as a required distro feature
Make sure polkit is in DISTRO_FEATURERS if this package is being
installed. This will make sure that people who do use polkit in
their image also do enabled the recently introduced distro feature
polkit in their distro.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 10:15:44 -08:00
Andreas Müller
6d4e34c3e5 atkmm: upgrade 2.24.2 -> 2.28.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Andreas Müller
d60d1fbc5e glibmm: upgrade 2.56.0 -> 2.58.0
remove-examples.patch was refreshed with devtool

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Andreas Müller
770da50054 libsigc++-2.0: upgrade 2.10.0 -> 2.10.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
André Draszik
eaedfa5e0e nginx: add default proxy_params
As per Debian packaging - to use it, see
    https://wiki.debian.org/Nginx/DirectoryStructure#Extra_Parameters

    This file is most commonly included when Nginx is acting
    as a reverse proxy:
        include /etc/nginx/proxy_params;
        proxy_pass http://localhost:8000;

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
André Draszik
22e17bb10c nginx: configuration update
Restructure the main configuration file to simplify custom configuration:
* support inclusion of configuration fragments from subdirectories:
  - /etc/nginx/modules-enabled/*.conf
  - /etc/nginx/conf.d/*.conf
  - /etc/nginx/sites-enabled/*
* default site (port 80):
  - move into /etc/nginx/sites-available/default_server
    and enable via symlink in /etc/nginx/sites-enabled/
  - listen on IPv6
  - drop unneeded example fragments
* configure and enable gzip
* update TLS settings to drop SSLv3 and enable TLSv1.3 for some safer
  defaults
* update remaining bits to follow Debian standard configuration
  62a54a8ba6/debian/conf/nginx.conf
* drop unneeded example configuration bits from /etc/nginx/*.default

These changes, in particular the configuration fragment
support allow to easily customise nginx based on individual
requirements.
In addition, it is now possible for other recipes / packages
to drop fragments into the respective directories in /etc/nginx
without having to meddle with /etc/nginx/nginx.conf

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
André Draszik
a0eadda910 nginx: update systemd unit using nginx recommendation
Our systemd unit doesn't follow the official
recommendation, see
    https://www.nginx.com/resources/wiki/start/topics/examples/systemd/

Most importantly:
* it should start after some additional specific
  targets/units
* using PrivateTmp is a useful security feature, in
  particular to avoid cross domain scripting via the
  temp folder
* using systemd's $MAINPID, we can distinguish between
  multiple running nginx instances correctly

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Pascal Bach
d417b693a5 rocksdb: make resulting cmake config relocatable
RocksDB is still using CMake 2.8 and thus does not make use of importet targets.
This leads to hardcoded paths to the build directory in the resulting packaged files.

The workaround for the issue is to bypass CMakes detection and let the linker deal with finding the right library.

This is necessary until RocksDB moves to a more modern CMake.
It's also applied in the Poco recipe right now.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Hong Liu
e6f9d00977 logwatch:replace mv with cp
1.Mv is used in the original code, which may cause "mv: cannot stat 'conf/': No such file or directory".
  So we use cp instead of it.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Ioan-Adrian Ratiu
44269816b5 python-pyinotify.inc: add RDEPEND on ${PYTHON_PN}-smtpd
pyinotify depends on having asyncore.py available which is provided by
python2/3-smtpd.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Kai Kang
8243374c0e rocksdb: fix qa warning of buildpaths
rocksdb fails qa check buildpaths:

| WARNING: rocksdb-5.17.2-r0 do_package_qa: QA Issue: File
| /work/core2-64-poky-linux/rocksdb/5.17.2-r0/packages-split/rocksdb-dev/usr/lib64/cmake/rocksdb/RocksDBTargets.cmake
| in package contained reference to tmpdir [buildpaths]

Removing buildpath info from the cmake file.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Alistair Francis
ce38f8c0f3 xorg-driver: xf86-video-ati: Remove x86 COMPATIBLE_MACHINE
The ATI drivers can work on non-x86 platforms such as RISC-V, remove the
x86 specific COMPATIBLE_MACHINE requirement.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-16 19:19:44 -08:00
Andreas Müller
950331a6f5 fluidsynth: upgrade 1.1.11 -> 2.0.3
* Fallout caused by API change should be fixed in all recipes depending
  fluidsynth. To make this happen I sent out patches to many projects during
  last autumn.
* Add PACKAGECONFIG for profiling (disabled by default).
* ARM-NEON-patch was reworked and profiling runs were performed with and
  without the patch. See patch description for profiling results.
* We need to split tool to generate parameter tables to native. Since target
  and native builds do not share much in common we don't use BBCALLSEXTEND
* Add patch which allows clients to reduce useless copies of buffers.
  Fluidsynth-DSSI (in meta-qt5-extra currently) is going to make use of this.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-16 16:33:11 -08:00
Akram Hameed
a368821c96 postgresql: Update the regex to determine PGMAJORVERSION to match v10+ database clusters
Older versions of postgresql would generate MAJVER.MINVER in new clusters. 10+ do not. Update the regex to determine PGMAJORVERSION as a single int.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-15 22:08:47 -08:00
William A. Kennington III via Openembedded-devel
d183435dac cli11: Add recipe
cli11 is a c++ command line parser library that provides a simple
user interface with modern c++ semantics.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-15 22:08:47 -08:00
Andre McCurdy
9e669a4cbc tcpdump: misc recipe cleanup + drop obsolete workarounds
Remove obsolete workarounds and improve the workarounds that remain.
For example, it hasn't been necessary to set ac_cv_linux_vers since
tcpdump 4.6.0:

  a42fc6e764

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-15 22:08:47 -08:00
Stefan Agner
ddb7541472 python-cryptography: drop python-pycparser dependency
The python-cryptography package is in fact not depending on
python-pycparser.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-15 22:08:47 -08:00
Khem Raj
1ed152e32e lockdev: Switch to use archive tarballs for SRC_URI
anonscm.debian.org has been replaced with https://salsa.debian.org
however, lockdev has been dropped from debian packages, so its not
maintained at salsa.debian.org, therefore resort to archives and add few
more fixes to get it building from archive.

bump PE since version still remains 1.0.3 but we drop +git${...} from PV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-14 14:31:14 -08:00
Khem Raj
6fc561ce10 openal-soft: Upgrade to 1.19.1
License-Update: Removed sections that are not needed

see 4c61103e34 (diff-7116ef0705885343c9e1b2171a06be0e)

Switch to github for SRC_URI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-14 11:53:54 -08:00
Khem Raj
eb6cf36865 haveged: Upgrade 1.9.4
Upstream release mechanism has switched to using github
Forward port and update patch status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-14 10:46:36 -08:00
Stefano Cappa
612128b46d dhcpcd: upgrade to dhcpcd 7.0.8
Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:33:16 -08:00
Khem Raj
3489f91f92 python-pbr_4.2.0.bb: Define src uri checksums in recipe
There moved out from inc file in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:28:01 -08:00
André Draszik
e219649594 meta-oe: remove True option to getVar calls (again)
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:28:01 -08:00
André Draszik
24af1f974c meta-networking: remove True option to getVar calls (again)
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:28:01 -08:00
André Draszik
88f2b979ca meta-initramfs: remove True option to getVar calls (again)
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:28:01 -08:00
Armin Kuster
f62227b73f wireshark: update to 2.6.6
includes:

wnpa-sec-2019-01 The 6LoWPAN dissector could crash. Bug 15217. CVE-2019-5716.
wnpa-sec-2019-02 The P_MUL dissector could crash. Bug 15337. CVE-2019-5717.
wnpa-sec-2019-03 The RTSE dissector and other dissectors could crash. Bug 15373. CVE-2019-5718.
wnpa-sec-2019-04 The ISAKMP dissector could crash. Bug 15374. CVE-2019-5719.

For more info see: https://www.wireshark.org/docs/relnotes/wireshark-2.6.6.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
264b8c1f48 meta-initramfs: add pkg group and image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
84e5617a4f meta-networking: add pkg group and images
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
a4bd09de0f meta-webserver: add pkg group and image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
5bde118d5a meta-multimedia: add pgk group and images
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
112d12a357 meta-filesystems: add pkg groups and test image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
5b8f0a7085 meta-python: add pkg groups and image for testing
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
cb631fe003 mete-perl: add pkg groups and image for testing
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Armin Kuster
c55964adff drbd: update to 9.0.16
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 07:51:58 -08:00
Theodore A. Roth
aad4917e13 modemmanager: Add libxslt-native to DEPENDS
Addresses the following build error:

| make[2]: Entering directory '/home/matt/renew_thud/build/tmp/work/armv5e-poky-linux-gnueabi/modemmanager/1.8.2-r0.tr0/build/include'
| xsltproc --xinclude --nonet ../../ModemManager-1.8.2/build-aux/header-generator.xsl ../../ModemManager-1.8.2/introspection/all.xml > ModemManager-names.h
| /bin/bash: xsltproc: command not found
| make[2]: *** [Makefile:651: ModemManager-names.h] Error 127

Problem doesn't manifest if the host has already installed xsltproc
outside of OE environment.

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Matthew Stanger <matthew_stanger@trimble.com>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 15:04:17 -08:00
Alexander Kanavin
02645cdfc1 openipmi: correctly build against target perl headers
Previously it was built with native perl headers, which was okay
with perl 5.24, but not with perl 5.28.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 07:48:30 -08:00
Alexander Kanavin
26b1bd2097 postgresql: correctly build against target perl
Previously perl-native headers were erroneously included,
which was causing issues with the new perl recipe.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 07:48:30 -08:00
Alexander Kanavin
f090f37590 adduser: correct perl installation directory to match new perl recipe
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 07:48:30 -08:00
Mingli Yu
29f47a6d73 libteam: Upgrade to 1.28
Remove the useless checksum lines as the
source is git repo, not the tar file.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 01:46:31 -08:00
Mingli Yu
e24d03f13e libdbi-perl: Upgrade to 1.642
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11 00:28:32 -08:00
Pierre-Jean Texier
0fc61f4b96 minicoredumper: Update to 2.0.1
- Drop upstreamed patch
- Update COPYING file checksum: the copyright date changes
	 and there is a convertion to SPDX Format.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 23:27:12 -08:00
Peace Lee
1828df678c guider: add a new runtime profiler package
guider [1] is a system-wide performance analyzer for platforms based
on linux kernel. It can measure a variety of system resource usage and
trace thread/process activities. It also reports vary meaningful
output to analyze system status.

[1] https://github.com/iipeace/guider

Signed-off-by: Peace Lee <iipeace5@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:09:30 -08:00
Khem Raj
3decf2b9e6 licenses: Add Arphic-Public-License text
ttf-arphic-uming recipe in meta-oe needs this
source: http://ftp.gnu.org/gnu/non-gnu/chinese-fonts-truetype/LICENSE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Richard Weinberger
9968314f32 mini-iconv: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Richard Weinberger
b0d5b8c22d mksh: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Richard Weinberger
f00cb4cd84 libdc1394: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Richard Weinberger
49008c55d4 caps: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

The bitbake defaults are:
BP = "${BPN}-${PV}"
S = "${WORKDIR}/${BP}"

Therefore we can remove this line.

Cc: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00
Richard Weinberger
43e63981a1 wv: Don't use ${PN}
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

The bitbake defaults are:
BP = "${BPN}-${PV}"
S = "${WORKDIR}/${BP}"

Therefore we can remove this line.

Cc: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:06:05 -08:00