aboutsummaryrefslogtreecommitdiff
path: root/package/sysklogd/sysklogd.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/sysklogd: replace utf-8 space by ascii characterGravatar Peter Seiderer2019-05-071-1/+1
| | | | | | | | Replace utf-8 NO-BREAK-SPACE (c2 a0) in comment line by simple ascii space character. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/sysklogd: bump to version 1.6Gravatar Fabrice Fontaine2019-04-061-12/+8
| | | | | | | | | | - Switch site to github - Drop all patches (already in version or not needed anymore) - Switch to autotools infrastructure - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysklogd: rewrite init scriptGravatar Carlos Santos2018-12-101-2/+4
| | | | | | | | | | | | | | | | | | | | - Split it into S01syslogd and S02klogd to make every init script be called the same as the executable it starts. - Implement start, stop, restart and reload as functions, like in other init scripts, using start-stop-daemon. - Indent with tabs, not spaces. - Detect and report start/stop errors (previous version ignored them and always reported OK). - Support /etc/default/$DAEMON configuration files. - Do not kill syslogd in "reload". Send a SIGHUP signal, instructing it to perform a re-initialization. - Do not kill klogd in "reload". Send a signal (default 0, which does nothing). Users can configure this signal in /etc/default/klogd to either SIGUSR1 or SIGUSR2. 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 sysklogdGravatar Yann E. MORIN2018-07-081-5/+0
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/sysklogd: add systemd servicesGravatar Petr Kulhavy2017-09-241-0/+12
| | | | | | | | Sysklogd had only SYSV init scripts. Add systemd service files to start klogd and syslogd. Signed-off-by: Petr Kulhavy <brain@jikos.cz> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sysklogd: override SKFLAGS with TARGET_CFLAGSGravatar Romain Naour2016-02-201-9/+3
| | | | | | | | | | | | | | | | | TARGET_CFLAGS is not taken into account since SKFLAGS is used as CFLAGS. We need to override SKFLAGS with TARGET_CFLAGS but keep -DSYSV which was present in SKFLAGS. Improve the previous fix introduced by 8e3a5c13546451c0c6ceb8bc64e4397ceed14aca. Fixes: http://autobuild.buildroot.net/results/2fb/2fb94ecfdc32761a09da35e6fcbdd512847ec911 Signed-off-by: Romain Naour <romain.naour@gmail.com> Reported-by: Peter Korsgaard <peter@korsgaard.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/syslogd: workaround a compiler bug with CS powerpc 2012.03Gravatar Romain Naour2016-02-141-0/+8
| | | | | | | | | | | The O3 optimization triggers a compiler bug with this toolchain, change it with 02. Fixes: http://autobuild.buildroot.net/results/2fb/2fb94ecfdc32761a09da35e6fcbdd512847ec911 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sysklogd: fix redundant newline escapeGravatar Baruch Siach2014-12-021-1/+1
| | | | | | | | | | Broken since 428f1e7e70c6b (sysklogd: install configuration file unconditionally). Fixes: package/sysklogd/sysklogd.mk:21: *** missing 'endef', unterminated 'define'. Stop. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysklogd: install configuration file unconditionallyGravatar Thomas Petazzoni2014-12-021-4/+2
| | | | | | | | | | | 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. 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>
* sysklogd: add initscriptGravatar Gustavo Zacarias2014-10-121-0/+5
| | | | | | | | Since we don't handle it in sysvinit inittab any longer let's add an initscript to get things back into plug-and-play shape. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysklogd: security bump to version 1.5.1Gravatar Gustavo Zacarias2014-10-081-12/+2
| | | | | | | | | | | | | Fixes CVE-2014-3634 - invalid priority values between 192 and 1023 (directly or arrived at via overflow wraparound) can propagate through code causing out-of-bounds access to the f_pmask array within the 'filed' structure by up to 104 bytes past its end. Switch to vanilla since Debian hasn't handled this yet and add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysklogd: add license informationGravatar Gustavo Zacarias2014-07-021-3/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* replace references to Busybox with BusyBoxGravatar Simon 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>
* packages: remove package clean commandsGravatar Thomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysklogd: install to /sbinGravatar Gustavo Zacarias2013-12-031-16/+2
| | | | | | | | | Install syslogd/klogd to /sbin instead of /usr/sbin to really win over busybox and avoid the ugly noise when booting without busybox installed. Also drop uninstall hook and manpage installation. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Gravatar Alexandre 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 styleGravatar Alexandre 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-packageGravatar Arnout 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>
* package: remove useless arguments from GENTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: move patch-kernel.sh and rename itGravatar Thomas Petazzoni2011-09-171-1/+1
| | | | | | | | The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sysklogd: convert to gentargets and bump to 1.5Gravatar Martin Banky2010-12-141-50/+44
| | | | | | | | | | | | Also, changed the site to Debian, to get the latest patches [ Thomas: Minor fixes. Removed S25sysklogd since our default /etc/inittab already starts klogd and sysklogd. ] [Peter: only install syslog.conf if not available in skeleton] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sysklogd: only install init script / config file if not present in skeletonGravatar Peter Korsgaard2009-03-091-2/+6
| | | | | Allow platforms to provide a custom initscript / syslog.conf in their target_skeleton.
* sysklogd: fix buildGravatar Peter Korsgaard2009-03-051-1/+1
|
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-1/+1
|
* - just use the strip binary to avoid confusing libtool (quotes)Gravatar Bernhard Reutner-Fischer2007-10-011-2/+2
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* Use <package>_VERSION in all <package>.mk instead of <package>_VERGravatar Ulf Samuelsson2007-07-111-3/+3
|
* Rename all INIT scripts to have the numerical prefixes to easily see the ↵Gravatar "Steven J. Hill"2007-05-091-1/+1
| | | | start-up order.
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Gravatar Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
* Add support for the full blown versions of sysklogd and klogdGravatar Eric Andersen2005-09-131-0/+57