Licence-Update:
* mcelog.org link changed to https://www.mcelog.org
* Add the package version overridden support as below:
By default mcelog reports its version as the git tag. This
can be overridden by setting up a .os_release file in the
source directory. A build system could write the OS version
to this file to mark the binary.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Remove 0001-remove-python2-support.patch and use
configure option to control the python2 support.
* Update PV to reflect the version change
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When cross compiling on linux with gcc, the host gcc was used instead of
the cross gcc to set compilation flags according to gcc version.
Signed-off-by: Gregory Vimont <gregory.vimont@softbankrobotics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This setting was deleted, but on mips and glibc, we still have this
problem. So add this setting back, but limit it to glibc.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since sizeof(unsigned long) can be 8-byte on 64-bit architectures, use
uint32_t instead for "word" access to always be 4-byte/32-bit long.
Also introduce proper "long" 8-byte/64-bit access by using uint64_t.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed for gcc8:
git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1. Fix syslog-ng service cannot startup after upgrade to 3.15.1
1) Align path of syslog-ng.conf between syslog-ng@default
and do_install in syslog-ng.inc
2) create a default instance for syslog-ng
3) Install default parameter file to /etc/default according
to https://github.com/balabit/syslog-ng/commit
/649d1151e79033cc2b81b3353917507266814436
2. Fix "Failed to acquire /run/systemd/journal/syslog socket,
disabling systemd-syslog source;" accordint to below content
from syslog-ng admin guide.
1) for linux, If the host is running under systemd, syslog-ng
OSE reads directly from the systemd journal file using the
systemd-journal() source.
2) If possible, use the more reliable systemd-journal() driver
instead.
3) The socket activation of systemd is buggy, causing some log
messages to get lost during syst
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Only include conf files that need json if it is enabled
when building syslog-ng.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Refresh and remove obsolete patches
- Fix PAGESIZE variable conflicting
- PAGESIZE is a define in some libc libraries
- Implement SystemD service files handling
- splitted service into default
- Remove dependency to eventlog
- external libevtlog library linking was removed
- Version 3.15.1 supports OpenSSL 1.1
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Marko Pater <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Using `cp -a ...` to install the link will preserv the owner of the
original link, which will be the user who ran the do_compile task,
rather than root.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Assign ${includedir} to FILES_${PN}-dev (instead of into FILES_${PN}),
as the headers belong to the -dev package and it is done the same way
in boost.
Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add native dependency on autoconf-archive as it is now used by the
libgpiod autotools.
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some older compilers do not support security flags like -fstack-protector=strong
and if we do not set this then it will use the target flags to pass here
which will fail with gcc < 5.x, especially a problem building distros with
security flags on host with 4.x gcc e.g. ubuntu 14.04
Signed-off-by: Khem Raj <raj.khem@gmail.com>