1 #############################################################
5 #############################################################
6 RSYSLOG_VERSION
= 5.8.0
7 RSYSLOG_SITE
= http
://rsyslog.com
/files
/download
/rsyslog
/
8 RSYSLOG_DEPENDENCIES
= zlib
11 ifeq ($(BR2_PACKAGE_BUSYBOX
),y
)
12 RSYSLOG_DEPENDENCIES
+= busybox
15 define RSYSLOG_INSTALL_CONF_SCRIPT
16 [ -f
$(TARGET_DIR
)/etc
/init.d
/S01rsyslog
] || \
17 $(INSTALL
) -m
0755 -D package
/rsyslog
/S01rsyslog \
18 $(TARGET_DIR
)/etc
/init.d
/S01rsyslog
19 [ -f
$(TARGET_DIR
)/etc
/rsyslog.conf
] || \
20 $(INSTALL
) -m
0644 -D
$(@D
)/rsyslog.conf \
21 $(TARGET_DIR
)/etc
/rsyslog.conf
22 mkdir
-p
$(TARGET_DIR
)/etc
/rsyslog.d
25 RSYSLOG_POST_INSTALL_TARGET_HOOKS
+= RSYSLOG_INSTALL_CONF_SCRIPT
27 $(eval
$(call AUTOTARGETS
))