summaryrefslogtreecommitdiffstats
path: root/package/rsyslog
Commit message (Collapse)AuthorAgeFilesLines
* rsyslog: rewrite init scriptCarlos Santos2018-12-103-38/+55
| | | | | | | | | | | - Rename it to S01rsyslogd to make every init script be called the same as the executable it starts. - Support a /etc/default/rsyslogd configuration file. - Indent with tabs, not spaces. Signed-off-by: Carlos Santos <casantos@datacom.com.br> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/busybox: invert dependency with rsyslogYann E. MORIN2018-07-081-5/+0
| | | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/rsyslog: fix wrong symlink for systemd servicePetr Kulhavy2017-09-241-1/+1
| | | | | | | | | | | The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up to /usr/lib instead of 3 levels up. This wasn't an issue on the actual system (/../ equals to / ) but was causing a deadlink in the TARGET directory. Signed-off-by: Petr Kulhavy <brain@jikos.cz> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/r*/Config.in: fix ordering of statementsAdam Duskett2017-05-021-4/+4
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter r in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for LGPLv3/LGPLv3+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv3/LGPLv3+ is LGPL-3.0/LGPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv3(\+)?/LGPL-3.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for GPLv3/GPLv3+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: enable journal plugins when using systemdJames Knight2016-12-201-0/+6
| | | | | | | | | The rsyslog package provides input and output plugins for journald which are disabled by default. The following adds the option to include `imjournal` and `omjournal` modules when building for a systemd target. Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: remove non-existent enable/disable systemd optionsJames Knight2016-12-201-3/+0
| | | | | | | | | The configuration flags `--enable-systemd` and `--disable-systemd` do not exist in rsyslog (and may have never existed; most likely copy-paste from other packages which have said options); removing the options. Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: not available on muslRahul Bedarkar2016-10-251-2/+4
| | | | | | | | | | | | | | | | | With musl C library, we get following error when building rsyslog: imfile.c: In function 'in_setupFileWatchStatic': imfile.c:1614:28: error: 'GLOB_BRACE' undeclared (first use in this function) GLOB_MARK|GLOB_NOSORT|GLOB_BRACE, NULL, &files); ^ flag GLOB_BRACE is not available on musl. Since package uses it unconditionally, we mark it not available for musl. Fixes: http://autobuild.buildroot.net/results/6d4/6d480bb1e1466809d8ff119f6b35bb91df00785c/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: bump version to 8.22.0Rahul Bedarkar2016-10-222-2/+2
| | | | | Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libfastjson: can use threads instead of atomicsYann E. MORIN2016-07-151-2/+4
| | | | | | | | | | | | | | | When atomic intrisics are missing, libfastjson falls back to using pthread mutexes to manage atomicity. Of course, this is much less efficient than atomics, but it does the job. Propagate the new dependency to rsyslog, the sole user of libfastjson. Note: rsyslog already depends on threads for itself, but we believe it is better to have the exact same dependency propagated. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: move busybox show others dependency to per-packageThomas Petazzoni2016-07-041-0/+2
| | | | | | | | | | | Having the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependencies in package/Config.in is not very practical: it makes this file not very readable, and puts the dependency away from the package itself, which can sometimes be confusing. Therefore, this commit moves the dependency in each package Config.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: add optional gnutls supportAdrien Decostre2016-06-181-0/+7
| | | | | | | [Peter: drop explicit option and handle like other dependencies] Signed-off-by: Adrien Decostre <ad.decostre@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: bump version to 8.19.0Peter Korsgaard2016-06-184-35/+5
| | | | | | | | And drop patch now upstream. Rsyslog now uses libfastjson instead of json-c, so adjust dependencies. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* json-c: needs __sync_val_compare_and_swap_4Thomas Petazzoni2016-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While json-c itself builds fine on platforms that don't provide the __sync atomic built-ins, it does use them. json-c doesn't fail to build because only a library is built, so such function calls are left unresolved. But as soon as it gets used in another package linked in a program, linking will fail due to the missing __sync_val_compare_and_swap_4() function. To fix this, we make json-c depend on BR2_TOOLCHAIN_HAS_SYNC_4, and propagate to the reverse dependencies: - json-c - fastd - pulseaudio - efl - espeak - gst-plugins-good - gst1-plugins-good - mpd - rsyslog - ubus Note that pulseaudio already had a BR2_ARCH_HAS_ATOMICS dependency, which we are keeping for the moment, and will clean-up in a subsequent commit. This commit will also fix packages that could optionally use json-c, and therefore fixes build failures like: http://autobuild.buildroot.org/results/4fe/4feaa9089ee9a183c5086b791bea35c0156945af/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package/rsyslog: fix musl builBernd Kuhls2016-02-051-0/+30
| | | | | | | | | | | | The build error was not yet being found by the autobuilders: omfile.c: In function ‘prepareFile’: omfile.c:580:3: error: implicit declaration of function ‘open’ [-Werror=implicit-function-declaration] fd = open((char*) newFileName, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY|O_CLOEXEC, ^ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: comma separate licensesGustavo Zacarias2015-12-151-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: Fix systemd service creationMaxime Hadjinlian2015-07-141-4/+19
| | | | | | | | | | | | | | | | The rsyslog.service is installed by rsyslog, but the link is not created so the service is not enabled. In order to install the service file, use the correct configure flag. So the INSTALL_INIT_SYSTEMD will create the link, it will also create another link which is due to the fact that the rsyslog.service contains an Alias= If we were to use systemctl enable to enable the service, it would create both,so we mimic that. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "rsyslog: fix config file comment style"Thomas Petazzoni2015-07-131-37/+0
| | | | | | | | | | | | | | | | | | | | | This reverts commit d42f0f96aa13bc160bdfeb40ca75f53adb7af64e, which breaks the build since the patch being added by this commit is in fact already part of the 8.9.0 rsyslog release we are using. Indeed, in the rsyslog repository: $ git tag --contains fe01c9ec4979c78b6a7caf045cab17ba52d4ad08 [...] v8.10.0 v8.10.0.ad1 v8.11.0 v8.7.0 v8.8.0 v8.8.0.ad1 v8.9.0 v8.9.0.ad1 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: fix config file comment styleMatt Weber2015-07-111-0/+37
| | | | | | | | | | The upstream versions of rsyslog (v8 and higher) have this commit to fix the config file comment issue. Carry this patch here until the version is bumped. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: drop autoreconfBaruch Siach2015-05-141-2/+0
| | | | | | | | The patches touching configure.ac were dropped in 9d9bbf9b7935 (rsyslog: bump to version 8.8.0, 2015-02-25). Remove autoreconf as well. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rsyslog: bump version to 8.9.0Bernd Kuhls2015-04-112-2/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: bump to version 8.8.0Gustavo Zacarias2015-02-254-108/+2
| | | | | | | Patches upstream so remove them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: add 'else' clause to mysql and postgresql supportThomas Petazzoni2015-01-141-0/+4
| | | | | | | | Having 'else' clauses handling the absence of mysql and postgresql support to explicitly disable such features helps to avoid misdetection of system-installed packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: use the more traditional --{enable,disable}Thomas Petazzoni2015-01-141-2/+2
| | | | | | | Instead of using --enable-<foo>={yes,no}, use --{enable,disable}-<foo>, like we do in most other packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: fix indentationThomas Petazzoni2015-01-141-15/+15
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: enable sql supportGustavo Zacarias2015-01-143-0/+120
| | | | | | | | Enable support for mysql and pgsql. Patches sent upstream (pull request on github). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: remove pointless umask from sysv initscriptGustavo Zacarias2015-01-141-1/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: enable more basic featuresGustavo Zacarias2015-01-141-1/+6
| | | | | | | | | | | Enable all of the basic modules that don't require any dependencies. Reasoning is simple, if someone wants rsyslog over a smaller busybox logger or sysklogd it's probably looking for features. [Thomas: fix indentation.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: bump to version 8.7.0Gustavo Zacarias2015-01-143-9/+8
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: doesn't need largefile/wcharGustavo Zacarias2015-01-141-2/+2
| | | | | | | | | This was added in 9b4696a4 but only partially removed in d89a2610 leading to a comment and the rsyslog option both being present in the config menu if we're using a non-LFS toolchain. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: clean up sysv initscriptGustavo Zacarias2015-01-141-21/+20
| | | | | | | Fix indentation, remove redundant comment, print real start/stop status. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: rename sysv initscript to S01loggingGustavo Zacarias2015-01-142-2/+2
| | | | | | | | Do it to avoid having duplicate and conflicting functionality with busybox's S01logging. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: install systemd services linksThierry Bultel2014-12-211-0/+8
| | | | | Signed-off-by: Thierry Bultel <tbultel@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: install init script and config file unconditionallyThomas Petazzoni2014-12-021-8/+6
| | | | | | | | | | | | | | | As discussed, users should use a rootfs overlay or a post-build script instead of a custom skeleton to override files installed by Buildroot, so there is no point in having conditions when installing init scripts or configuration files. Also, we take this opportunity to rename RSYSLOG_INSTALL_CONF_SCRIPT to RSYSLOG_INSTALL_CONF because it is no longer installing an init script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-5/+5
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* rsyslog: security bump to version 7.6.7Gustavo Zacarias2014-10-023-29/+2
| | | | | | | | The previous security fix was incomplete, so now we've got: CVE-2014-3683 Remote syslog PRI vulnerability. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: security bump to version 7.6.6Gustavo Zacarias2014-10-013-4/+32
| | | | | | | | | | Fixes CVE-2014-3634 - potential abort when a message with PRI > 191 was processed if the "pri-text" property was used in active templates, this could be abused to a remote denial of service from permitted senders. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: libuuid is an optional dependency, not a required onePeter Korsgaard2014-10-012-5/+8
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: bump versionPeter Korsgaard2014-10-014-102/+3
| | | | | | | To the latest release in the 7.x series. Also remove the two patches now upstream and add tarball hash. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* replace references to Busybox with BusyBoxSimon Dawson2014-06-011-1/+1
| | | | | | | | | The correct capitalised form appears to be "BusyBox" rather than "Busybox"; fix all references to the latter form. (Most such references occur in the manual and in commentary in package makefiles.) Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rsyslog: needs MMU (fork)Bernd Kuhls2014-05-151-0/+2
| | | | | | | | fixes http://autobuild.buildroot.net/results/5c0/5c03bf3a1e4e922a18b40f854ff59d905a93a89f/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/rsyslog: Add missing optional dependency libcryptBernd Kuhls2014-05-151-0/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: Update patch to upstreamed versionClayton Shotwell2014-03-201-9/+13
| | | | | | | | | Patch for the libgcrypt-config path correction was accepted by the mainline for rsyslog. Updating the buildroot patch until a new version with the fix is released. Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* rsyslog: bump to version 7.6.0Clayton Shotwell2014-03-154-4/+132
| | | | | | | | | | | Bumping version of rsyslog and adding new dependencies of liblogging and libestr. The first patch has be submitted to the upstream mailing list and the second patch is a backport from the development branch of the upstream. [Peter: needs libuuid / host-pkgconf, fix comment] Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud