mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
syslog-ng: detect disabled IPv6 on loopback and fallback to IPv4
Binding in default to IPv6 is preferable but it can be disabled in kernel and that prevents syslog-ng to start. This setup should not be that common but syslog is very important service and should survive that. This introduces new plugin defining source generator `network_localhost`. This is used instead of original network source. Signed-off-by: Karel Kočí <cynerd@email.cz>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=syslog-ng
|
||||
PKG_VERSION:=3.27.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
|
||||
PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later
|
||||
@@ -87,6 +87,9 @@ define Package/syslog-ng/install
|
||||
|
||||
$(INSTALL_DIR) $(1)/sbin
|
||||
$(INSTALL_BIN) ./files/logread $(1)/sbin
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/share/syslog-ng/include/
|
||||
$(CP) -r ./files/scl $(1)/usr/share/syslog-ng/include/
|
||||
endef
|
||||
|
||||
define Package/syslog-ng/postinst
|
||||
|
||||
Reference in New Issue
Block a user