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.3 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.15.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.rsyslog.com/files/download/rsyslog/
  13. PKG_MD5SUM:=3fab1c48e8d8111d4cc412482e2fe39d
  14. PKG_MAINTAINER:=Dov Murik <dmurik@us.ibm.com>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. PKG_FIXUP:=autoreconf
  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:=http://www.rsyslog.com/
  25. DEPENDS:=+libestr +libjson-c +libuuid +zlib
  26. endef
  27. define Package/rsyslog/conffiles
  28. /etc/rsyslog.conf
  29. endef
  30. CONFIGURE_ARGS+= \
  31. --disable-libgcrypt \
  32. --disable-liblogging-stdlog
  33. TARGET_CFLAGS += \
  34. -std=c99
  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))