You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=rsyslog
  9. PKG_VERSION:=8.38.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://www.rsyslog.com/files/download/rsyslog/
  13. PKG_HASH:=4d328ed3bcae784e15401c6c20ada2a9be380798ff6bf0da3fe2095915bba22c
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/rsyslog
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=Enhanced system logging and kernel message trapping daemons
  24. URL:=https://www.rsyslog.com/
  25. DEPENDS:=+libestr +libfastjson +libuuid +zlib +USE_UCLIBC:libpthread +USE_UCLIBC:librt
  26. endef
  27. define Package/rsyslog/conffiles
  28. /etc/rsyslog.conf
  29. endef
  30. CONFIGURE_ARGS+= \
  31. --disable-libgcrypt \
  32. --disable-fmhttp \
  33. --disable-default-tests \
  34. --disable-libsystemd
  35. define Package/rsyslog/install
  36. $(INSTALL_DIR) $(1)/usr/sbin
  37. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/rsyslogd $(1)/usr/sbin/
  38. $(INSTALL_DIR) $(1)/usr/lib/rsyslog
  39. $(CP) $(PKG_INSTALL_DIR)/usr/lib/rsyslog/* $(1)/usr/lib/rsyslog/
  40. $(INSTALL_DIR) $(1)/etc
  41. $(INSTALL_CONF) ./files/rsyslog.conf $(1)/etc
  42. $(INSTALL_DIR) $(1)/etc/init.d
  43. $(INSTALL_BIN) ./files/rsyslog.init $(1)/etc/init.d/rsyslog
  44. endef
  45. $(eval $(call BuildPackage,rsyslog))