mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -4,10 +4,15 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RSYSLOG_VERSION = 8.2004.0
|
||||
RSYSLOG_VERSION = 8.2204.1
|
||||
RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog
|
||||
RSYSLOG_LICENSE = GPL-3.0, LGPL-3.0, Apache-2.0
|
||||
RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20
|
||||
RSYSLOG_CPE_ID_VENDOR = rsyslog
|
||||
# rsyslog uses weak permissions for generating log files.
|
||||
# Ignoring this CVE as Buildroot normally doesn't have local users and a build
|
||||
# could customize the rsyslog.conf to be more restrictive ($FileCreateMode 0640)
|
||||
RSYSLOG_IGNORE_CVES += CVE-2015-3243
|
||||
RSYSLOG_DEPENDENCIES = zlib libestr liblogging libfastjson host-pkgconf
|
||||
RSYSLOG_CONF_ENV = ac_cv_prog_cc_c99='-std=c99'
|
||||
RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \
|
||||
@@ -23,14 +28,43 @@ endif
|
||||
RSYSLOG_CONF_OPTS = --disable-generate-man-pages \
|
||||
$(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))
|
||||
|
||||
# Disable items requiring libcurl
|
||||
RSYSLOG_CONF_OPTS += --disable-elasticsearch \
|
||||
# Disable items requiring lognorm
|
||||
RSYSLOG_CONF_OPTS += \
|
||||
--disable-mmkubernetes \
|
||||
--disable-mmnormalize
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
RSYSLOG_DEPENDENCIES += libcurl
|
||||
RSYSLOG_CONF_OPTS += \
|
||||
--enable-clickhouse \
|
||||
--enable-elasticsearch \
|
||||
--enable-fmhttp \
|
||||
--enable-imdocker \
|
||||
--enable-omhttp \
|
||||
--enable-omhttpfs
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += \
|
||||
--disable-clickhouse \
|
||||
--disable-omhttp \
|
||||
--disable-elasticsearch \
|
||||
--disable-fmhttp \
|
||||
--disable-imdocker \
|
||||
--disable-omhttpfs \
|
||||
--disable-mmkubernetes
|
||||
--disable-omhttp \
|
||||
--disable-omhttpfs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y)
|
||||
RSYSLOG_DEPENDENCIES += apr-util civetweb
|
||||
RSYSLOG_CONF_OPTS += --enable-imhttp
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-imhttp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CZMQ),y)
|
||||
RSYSLOG_DEPENDENCIES += czmq
|
||||
RSYSLOG_CONF_OPTS += --enable-imczmq --enable-omczmq
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-imczmq --disable-omczmq
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
RSYSLOG_DEPENDENCIES += gnutls
|
||||
@@ -39,8 +73,11 @@ else
|
||||
RSYSLOG_CONF_OPTS += --disable-gnutls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBEE),y)
|
||||
RSYSLOG_DEPENDENCIES += libee
|
||||
ifeq ($(BR2_PACKAGE_HIREDIS),y)
|
||||
RSYSLOG_DEPENDENCIES += hiredis
|
||||
RSYSLOG_CONF_OPTS += --enable-omhiredis
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-omhiredis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
@@ -51,6 +88,20 @@ else
|
||||
RSYSLOG_CONF_OPTS += --disable-libgcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||
RSYSLOG_DEPENDENCIES += libmaxminddb
|
||||
RSYSLOG_CONF_OPTS += --enable-mmdblookup
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-mmdblookup
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
||||
RSYSLOG_DEPENDENCIES += libpcap
|
||||
RSYSLOG_CONF_OPTS += --enable-impcap
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-impcap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
||||
RSYSLOG_DEPENDENCIES += mysql
|
||||
RSYSLOG_CONF_OPTS += --enable-mysql
|
||||
@@ -67,6 +118,20 @@ else
|
||||
RSYSLOG_CONF_OPTS += --disable-pgsql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QPID_PROTON),y)
|
||||
RSYSLOG_DEPENDENCIES += qpid-proton
|
||||
RSYSLOG_CONF_OPTS += --enable-omamqp1
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-omamqp1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RABBITMQ_C),y)
|
||||
RSYSLOG_DEPENDENCIES += rabbitmq-c
|
||||
RSYSLOG_CONF_OPTS += --enable-omrabbitmq
|
||||
else
|
||||
RSYSLOG_CONF_OPTS += --disable-omrabbitmq
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
||||
RSYSLOG_DEPENDENCIES += util-linux
|
||||
RSYSLOG_CONF_OPTS += --enable-uuid
|
||||
@@ -86,6 +151,11 @@ RSYSLOG_CONF_OPTS += \
|
||||
--disable-omjournal
|
||||
endif
|
||||
|
||||
define RSYSLOG_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -m 0644 -D package/rsyslog/rsyslog.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rsyslog.service
|
||||
endef
|
||||
|
||||
define RSYSLOG_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslogd \
|
||||
$(TARGET_DIR)/etc/init.d/S01rsyslogd
|
||||
|
||||
Reference in New Issue
Block a user