2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-06-29 15:46:21 +02:00
|
|
|
#
|
|
|
|
# rsyslog
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2011-06-29 15:46:21 +02:00
|
|
|
RSYSLOG_VERSION = 5.8.0
|
|
|
|
RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog/
|
|
|
|
RSYSLOG_DEPENDENCIES = zlib
|
|
|
|
|
|
|
|
# Build after Busybox
|
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
RSYSLOG_DEPENDENCIES += busybox
|
|
|
|
endif
|
|
|
|
|
|
|
|
define RSYSLOG_INSTALL_CONF_SCRIPT
|
2011-11-23 23:28:30 +01:00
|
|
|
[ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
|
|
|
|
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S01rsyslog
|
2011-06-29 15:46:21 +02:00
|
|
|
[ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/rsyslog.conf \
|
|
|
|
$(TARGET_DIR)/etc/rsyslog.conf
|
|
|
|
mkdir -p $(TARGET_DIR)/etc/rsyslog.d
|
|
|
|
endef
|
|
|
|
|
|
|
|
RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF_SCRIPT
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|