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.

57 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.39.0
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://www.rsyslog.com/files/download/rsyslog/
  13. PKG_HASH:=c71f96fed6538de397df25da602384f6ee2cb67329d9f3362af2a18508616ab4
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_CPE_ID:=cpe:/a:rsyslog:rsyslog
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/rsyslog
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Enhanced system logging and kernel message trapping daemons
  25. URL:=https://www.rsyslog.com/
  26. DEPENDS:=+libestr +libfastjson +libuuid +zlib
  27. endef
  28. define Package/rsyslog/conffiles
  29. /etc/rsyslog.conf
  30. endef
  31. CONFIGURE_ARGS+= \
  32. --disable-libgcrypt \
  33. --disable-fmhttp \
  34. --disable-default-tests \
  35. --disable-libsystemd
  36. define Package/rsyslog/install
  37. $(INSTALL_DIR) $(1)/usr/sbin
  38. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/rsyslogd $(1)/usr/sbin/
  39. $(INSTALL_DIR) $(1)/usr/lib/rsyslog
  40. $(CP) $(PKG_INSTALL_DIR)/usr/lib/rsyslog/* $(1)/usr/lib/rsyslog/
  41. $(INSTALL_DIR) $(1)/etc
  42. $(INSTALL_CONF) ./files/rsyslog.conf $(1)/etc
  43. $(INSTALL_DIR) $(1)/etc/init.d
  44. $(INSTALL_BIN) ./files/rsyslog.init $(1)/etc/init.d/rsyslog
  45. endef
  46. $(eval $(call BuildPackage,rsyslog))