6a91580c11
- fixes: sysklogd 1.6 klogd with newer glibcs: kernel messages are logged to user facility - sysklogd removed klogd, functionality has been moved to syslogd - now supports config fragments in /etc/syslog.d - disabled sysklogd logger to not interfere with other loggers - license has changed from GPL-2.0+ to BSD-3-Clause Signed-off-by: Andreas Hilse <andreas.hilse@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
950 B
Makefile
33 lines
950 B
Makefile
################################################################################
|
|
#
|
|
# sysklogd
|
|
#
|
|
################################################################################
|
|
|
|
SYSKLOGD_VERSION = 2.1.2
|
|
SYSKLOGD_SITE = $(call github,troglobit,sysklogd,v$(SYSKLOGD_VERSION))
|
|
SYSKLOGD_LICENSE = BSD-3-Clause
|
|
SYSKLOGD_LICENSE_FILES = LICENSE
|
|
# From git
|
|
SYSKLOGD_AUTORECONF = YES
|
|
SYSKLOGD_CONF_OPTS = --exec-prefix=/ --without-logger
|
|
|
|
define SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
|
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
|
|
$(TARGET_DIR)/etc/syslog.conf
|
|
endef
|
|
|
|
SYSKLOGD_POST_INSTALL_TARGET_HOOKS += SYSKLOGD_INSTALL_SAMPLE_CONFIG
|
|
|
|
define SYSKLOGD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 755 -D package/sysklogd/S01syslogd \
|
|
$(TARGET_DIR)/etc/init.d/S01syslogd
|
|
endef
|
|
|
|
define SYSKLOGD_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/syslogd.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/syslogd.service
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|