2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-09-13 22:58:37 +02:00
|
|
|
#
|
|
|
|
# sysklogd
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-10-08 15:19:49 +02:00
|
|
|
SYSKLOGD_VERSION = 1.5.1
|
|
|
|
SYSKLOGD_SITE = http://www.infodrom.org/projects/sysklogd/download
|
2014-06-26 21:21:15 +02:00
|
|
|
SYSKLOGD_LICENSE = GPLv2+
|
|
|
|
SYSKLOGD_LICENSE_FILES = COPYING
|
2010-12-12 22:53:50 +01:00
|
|
|
|
2014-05-31 09:55:35 +02:00
|
|
|
# Override BusyBox implementations if BusyBox is enabled.
|
2010-12-12 22:53:50 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
SYSKLOGD_DEPENDENCIES = busybox
|
|
|
|
endif
|
|
|
|
|
|
|
|
define SYSKLOGD_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
2005-09-13 22:58:37 +02:00
|
|
|
|
2010-12-12 22:53:50 +01:00
|
|
|
define SYSKLOGD_INSTALL_TARGET_CMDS
|
2013-12-02 11:49:28 +01:00
|
|
|
$(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
|
|
|
|
$(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
|
2010-12-12 22:53:50 +01:00
|
|
|
if [ ! -f $(TARGET_DIR)/etc/syslog.conf ]; then \
|
|
|
|
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
|
|
|
|
$(TARGET_DIR)/etc/syslog.conf; \
|
|
|
|
fi
|
|
|
|
endef
|
|
|
|
|
2014-10-08 16:39:25 +02:00
|
|
|
define SYSKLOGD_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 755 -D package/sysklogd/S01logging \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S01logging
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|