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 <ardeleanalex@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
--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) \
--- /dev/null
+#!/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