diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2017-01-07 16:47:17 -0700 |
---|---|---|
committer | Philip Prindeville <philipp@redfish-solutions.com> | 2017-01-09 02:05:20 -0700 |
commit | 84b136cdb4227e5926d7c256b57a8b260ee371d8 (patch) | |
tree | 45628a71810bda57457d304c7edf4d2f6425172b | |
parent | 909209e7531de2ea63f1f298adce985406d8ba08 (diff) |
syslog-ng: fix various install problems such as missing plugins, etc
Install the plugins as various functionality is no longer in the
utility itself but is packaged as a .so plugin instead. Disable
plugins with too many dependencies (or too exotic).
Bump the version number on the config file to agree with the package's
version number.
Clean up any .la files from libtool.
Start much earlier so that logging doesn't miss startup messages from
other services.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
-rw-r--r-- | admin/syslog-ng/Makefile | 14 | ||||
-rw-r--r-- | admin/syslog-ng/files/syslog-ng.conf | 2 | ||||
-rw-r--r-- | admin/syslog-ng/files/syslog-ng.init | 2 |
3 files changed, 11 insertions, 7 deletions
diff --git a/admin/syslog-ng/Makefile b/admin/syslog-ng/Makefile index d1a3451c9..fa3458beb 100644 --- a/admin/syslog-ng/Makefile +++ b/admin/syslog-ng/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=syslog-ng PKG_VERSION:=3.8.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> @@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/nls.mk define Package/syslog-ng SECTION:=admin CATEGORY:=Administration - DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libuuid + DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libuuid +libcurl TITLE:=A powerful syslog daemon URL:=http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/ endef @@ -41,10 +41,13 @@ endef CONFIGURE_ARGS += \ $(call autoconf_bool,CONFIG_IPV6,ipv6) \ --disable-dependency-tracking \ + --disable-ampq \ --disable-tcp-wrapper \ --disable-glibtest \ --disable-mongodb \ --disable-java \ + --disable-json \ + --disable-python \ --disable-spoof-source \ --disable-sql \ --disable-linux-caps \ @@ -58,13 +61,14 @@ CONFIGURE_VARS += \ define Package/syslog-ng/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsyslog-ng-3.8.so* $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/syslog-ng $(1)/usr/sbin/ + $(MAKE) -C $(PKG_BUILD_DIR) \ + install-sbinPROGRAMS install-libLTLIBRARIES \ + install-moduleLTLIBRARIES DESTDIR="$(1)" $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc + $(call libtool_remove_files,$(1)) endef $(eval $(call BuildPackage,syslog-ng)) diff --git a/admin/syslog-ng/files/syslog-ng.conf b/admin/syslog-ng/files/syslog-ng.conf index 972848c64..6786bc326 100644 --- a/admin/syslog-ng/files/syslog-ng.conf +++ b/admin/syslog-ng/files/syslog-ng.conf @@ -1,4 +1,4 @@ -@version:3.0 +@version:3.8 options { chain_hostnames(no); diff --git a/admin/syslog-ng/files/syslog-ng.init b/admin/syslog-ng/files/syslog-ng.init index 975d3821a..cecb3f904 100644 --- a/admin/syslog-ng/files/syslog-ng.init +++ b/admin/syslog-ng/files/syslog-ng.init @@ -1,7 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006-2016 OpenWrt.org -START=50 +START=20 SERVICE_USE_PID=1 |