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.

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