Bump buildroot to 2019.02
This commit is contained in:
@@ -6,22 +6,17 @@
|
||||
|
||||
# When updating the version, please check at runtime if the version in
|
||||
# syslog-ng.conf header needs to be updated
|
||||
SYSLOG_NG_VERSION = 3.10.1
|
||||
SYSLOG_NG_VERSION = 3.19.1
|
||||
SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION)
|
||||
SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules)
|
||||
SYSLOG_NG_LICENSE_FILES = COPYING
|
||||
SYSLOG_NG_LICENSE_FILES = COPYING GPL.txt LGPL.txt
|
||||
SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \
|
||||
eventlog libglib2 openssl pcre
|
||||
# rabbit-mq needs -lrt
|
||||
SYSLOG_NG_CONF_ENV = LIBS=-lrt
|
||||
# We're patching configure.ac
|
||||
SYSLOG_NG_AUTORECONF = YES
|
||||
SYSLOG_NG_CONF_OPTS = --disable-manpages --localstatedir=/var/run \
|
||||
--disable-java --disable-java-modules --disable-mongodb
|
||||
|
||||
# We override busybox's S01logging init script
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
SYSLOG_NG_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GEOIP),y)
|
||||
SYSLOG_NG_DEPENDENCIES += geoip
|
||||
SYSLOG_NG_CONF_OPTS += --enable-geoip
|
||||
@@ -47,9 +42,7 @@ SYSLOG_NG_CONF_OPTS += \
|
||||
--enable-python \
|
||||
--with-python=$(PYTHON3_VERSION_MAJOR)
|
||||
else
|
||||
SYSLOG_NG_CONF_OPTS += \
|
||||
--disable-python \
|
||||
--without-python
|
||||
SYSLOG_NG_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBESMTP),y)
|
||||
@@ -88,6 +81,13 @@ else
|
||||
SYSLOG_NG_CONF_OPTS += --disable-http
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RABBITMQ_C),y)
|
||||
SYSLOG_NG_DEPENDENCIES += rabbitmq-c
|
||||
SYSLOG_NG_CONF_OPTS += --enable-amqp
|
||||
else
|
||||
SYSLOG_NG_CONF_OPTS += --disable-amqp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
SYSLOG_NG_DEPENDENCIES += systemd
|
||||
SYSLOG_NG_CONF_OPTS += \
|
||||
@@ -98,8 +98,18 @@ SYSLOG_NG_CONF_OPTS += --disable-systemd
|
||||
endif
|
||||
|
||||
define SYSLOG_NG_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/syslog-ng/S01logging \
|
||||
$(TARGET_DIR)/etc/init.d/S01logging
|
||||
$(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \
|
||||
$(TARGET_DIR)/etc/init.d/S01syslog-ng
|
||||
endef
|
||||
|
||||
# By default syslog-ng installs a .service that requires a config file at
|
||||
# /etc/default, so provide one with the default values.
|
||||
define SYSLOG_NG_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -m 0644 -D package/syslog-ng/syslog-ng@default \
|
||||
$(TARGET_DIR)/etc/default/syslog-ng@default
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/syslog-ng@.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/syslog-ng@default.service
|
||||
endef
|
||||
|
||||
# By default syslog-ng installs a number of sample configuration
|
||||
|
||||
Reference in New Issue
Block a user