diff --git a/admin/rsyslog/Makefile b/admin/rsyslog/Makefile index 92d7d5919e..540616ee3a 100644 --- a/admin/rsyslog/Makefile +++ b/admin/rsyslog/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rsyslog -PKG_VERSION:=8.2506.0 +PKG_VERSION:=8.2604.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ https://fossies.org/linux/misc \ https://www.rsyslog.com/files/download/rsyslog -PKG_HASH:=6d6fd0257c95e756765d4d585a833d54dd3a0e5eeb8308b862a81b368a74bb7b +PKG_HASH:=2a04b1cd6f0a5e2b60eec231acce3cf9927c4ed02bc5fbbe5dc4c35fcf887b64 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=GPL-3.0-or-later @@ -50,6 +50,7 @@ CONFIGURE_ARGS+= \ --disable-fmhttp \ --disable-default-tests \ --disable-libsystemd \ + --disable-impstats-push \ $(if $(CONFIG_RSYSLOG_gssapi_krb5),--enable-gssapi-krb5) \ $(if $(CONFIG_RSYSLOG_mysql),--enable-mysql) \ $(if $(CONFIG_RSYSLOG_pgsql),--enable-pgsql) \ diff --git a/admin/rsyslog/test.sh b/admin/rsyslog/test.sh new file mode 100644 index 0000000000..7dd5f66047 --- /dev/null +++ b/admin/rsyslog/test.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +case "$1" in +rsyslog) + rsyslogd -v 2>&1 | grep -qF "$2" || { + echo "FAIL: rsyslogd -v did not print expected version '$2'" + exit 1 + } + echo "rsyslogd version: OK" + + [ -f /etc/rsyslog.conf ] || { + echo "FAIL: /etc/rsyslog.conf not installed" + exit 1 + } + echo "rsyslog.conf: OK" + + [ -x /etc/init.d/rsyslog ] || { + echo "FAIL: /etc/init.d/rsyslog not executable" + exit 1 + } + echo "init script: OK" + + [ -d /usr/lib/rsyslog ] || { + echo "FAIL: /usr/lib/rsyslog plugin directory not installed" + exit 1 + } + echo "plugin dir: OK" + ;; +esac