asio may or may not build examples and tests that
depend on OpenSSL, alas, it has no way to explicitly
enable or disable OpenSSL support, which is enabled
unconditionally whenever openssl/ssl.h can be found.
Due to that we get non-deterministic build behaviour,
based on whether or not some other package pulled
OpenSSL into the sysroot before asio's configure is
running.
Additionally, we can get random compilation failures
if openssl/ssl.h exists during configure time, but is
removed from sysroot later, e.g. due to a concurrent
rebuild of OpenSSL at the same time as building asio.
Having an explicit DEPENDS avoids both these problems.
We can not use PACKAGECONFIG, because as mentioned
above there is no way to explicitly disable OpenSSL
support.
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 334608d5dd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
it has all needed features but expects " -D__GNU_LIBRARY__"
so make it happy when using musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b70dd8f2af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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>
(cherry picked from commit ecdf2c3080)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Fix edac-utils systemd service file so that `systemctl stop edac' doesn't
fail.
Remove the ExecStop line as there's no '--unload' option for edac-ctl.
Also, disable edac service by default.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit caf48f2ea5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Fixes errors on x86_64 e.g.
errors.so: relocation R_X86_64_PC32 against symbol `k5_vset_error' can not be used when making a shared object; recompile with -fPIC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1d01458df9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
In recipe of python-m2crypto, it uses var SITEINFO_BITS which is from
siteinfo.bbclass. Inherit siteinfo.bbclass to avoid compile error:
| .../tmp/sysroots/qemumips64/usr/include/openssl/opensslconf.h:47:
| Error: CPP #error ""Unknown __WORDSIZE detected"".
| Use the -cpperraswarn option to continue swig processing.
| error: command 'swig' failed with exit status 1
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1e3fe19b5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
commit 'ad5d2ff6c782a3319aedc25cc641574e39328460 xterm: 308 -> 320' changed
FILES_${PN} from "/usr/lib/X11" to "${libdir}/X11". This leads to QA issue
on ppc64 which defines libdir as /usr/lib64:
ERROR: QA Issue: xterm: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/X11
/usr/lib/X11/app-defaults
/usr/lib/X11/app-defaults/UXTerm
/usr/lib/X11/app-defaults/KOI8RXTerm-color
/usr/lib/X11/app-defaults/XTerm-color
/usr/lib/X11/app-defaults/UXTerm-color
/usr/lib/X11/app-defaults/KOI8RXTerm
/usr/lib/X11/app-defaults/XTerm
Restore the setting of FILES_${PN} to package the installed ASCII text files.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 471cd564fd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The fftw-dev package RDEPENDS on the fftw package, but the package is not
created. Remove the dependency on fftw so that images using fftw-dev will
build.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b393e73446)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This reverts commit 3bbec2b792.
The commit was intended to make supertux in meta-games happy. Now I found out
that:
* other packets e.g meta-retro d1x-rebirth segfault with supertux version of physfs
* supertux can be configured to use it's own physfs as static library
To avoid package version counting backwards PE = 1 was added. The patch
required for supertux was already applied in meta-games.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit c3dad0ba49)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The --with-readline means check readline automatically, and will cause build
failures when there is /usr/include/readline:
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Use --with-readline=${STAGING_INCDIR}/.. to fix the problem. And also add
--with-readline=no when PACKAGECONFIG is not set for readline.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
(cherry picked from commit 06d15756bd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
1) Upgrade drbd-utils from 8.9.3 to 8.9.6.
2) Delete one patch, since the data has been changed.
0001-Makefile.in-don-t-compile-documentation.patch
3) Modify EXTRA_OECONF, since the documentation file is not suitable for cross-compile, so we do not compile it.
Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Highlight:
- fix CVE-2016-5180
Other changes, from https://c-ares.haxx.se/changelog.html
c-ares version 1.12.0 - Sep 29 2016
Changes:
api: add ARES_OPT_NOROTATE optmask value
Bug fixes:
CVE-2016-5180: ares_create_query single byte out of buffer write
configure: acknowledge --disable-tests [1]
man pages: fix typos detected by Lintian
test: add missing #includes for dns-proto.cc
test: avoid in6addr_* constants
test: Build with MinGW on AppVeyor
Makefile.m32: add support for extra flags
Makefile.m32: add support for CROSSPREFIX
configure: check if tests can get built before enabled
ares_library_cleanup: reset ares_realloc too
ahost.c: add cast to fix C++ compile
test: Only pass unused args to GoogleTest
build: commonize MSVC version detection
msvc_ver.inc: support Visual Studio 2015 Update 1, 2, 3
test: for AF_UNSPEC, return CNAME only for AAAA, but valid A record
ares_getnameinfo: explicitly clear struct servent before use
test: Update fuzzing function prototype
init: fix nsort initialization
test: add fuzzing check script to tests
web: http => https
read_tcp_data: remove superfluous NULL check
LICENSE.md: add a stand-alone license file
SECURITY.md: suggested "security process" for the project
ares_init_options: only propagate init failures from options [2]
headers: remove checks for and defines of variable sizes
test: fix gMock to work with gcc >= 6.x [3]
fix metadata:
We should set SUMMARY instead of DESCRIPTION.
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
With linux kernel v4.8, for file ./src/maint/zntune.c, glibc time.h is
included before linux time.h, when compile zntune.c, it break down by
the following errors:
redefinition of 'struct timespec' 'struct timeval'
'struct timezone' 'struct itimerval'
We should exclude the linux time.h by disable linux/atm_zatm.h and move
some useful definition in linux/atm_zatm.h to a new header file in linux-atm
source code to resolve it.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
The mdb backend to slapd(8) is the recommended primary backend for a
normal slapd database. Add PACKAGECONFIG 'mdb' to enable it and build
mdb as SLAPD_STATIC_BACKENDS.
This fixes the errors while starting slapd:
$systemctl start slapd
Job for slapd.service failed because the control process exited \
with error code. See "systemctl status slapd.service" and \
"journalctl -xe" for details.
$ systemctl status slapd
...
/etc/openldap/slapd.conf: line 53: <database> failed init (bdb)
Unrecognized database type (bdb)
slapd.service: Control process exited, code=exited status=1
...
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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>
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>
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>
v8.0.0022 is currently used in Debian Testing.
In the license file (uganda.txt) only the version number has changed.
The new version installs icons for gvim into /usr/share/icons. For now these are
just placed in the vim-common package as they use only a kB or so.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
When build with gcc5, Failed with below errors:
| ../src/image-reader.cpp: In member function 'bool PNGReader::init(const
string&)':
| ../src/image-reader.cpp:123:16: error: 'unique_ptr' in namespace 'std' does
not name a template type
This change explicitly enables c++11 features, as code using them.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Find libbsd headers when building natively
* Disable tools that needs sys/capability.h when building natively
* Enhance do_install to work when some tools are disabled
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Use ${PN} rather than dhcp to keep align with oe-core to fix:
WARNING: oe-core/meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb: Variable key SYSTEMD_AUTO_ENABLE_${PN}-client (enable) replaces original key SYSTEMD_AUTO_ENABLE_dhcp-client (disable).
WARNING: oe-core/meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb: Variable key SYSTEMD_SERVICE_${PN}-client (dhclient.service) replaces original key SYSTEMD_SERVICE_dhcp-client (dhclient.service).
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* update rsnapshot from 1.3.1 to 1.4.2
* fix configure error:
configure.ac:302: file 't/include.ac' does not exist
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The module takes diff data from commands like diff or git-format-patch,
parses it and creates python objects in the form of patch sets. More
info is given on the recipe metadata.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Helps in fixing build issues when default std of C++
compiler is older
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Helps compiling with clang which doesnt support
nested functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>