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.

48 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2017 Stijn Tintel <stijn@linux-ipv6.be>
  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:=vallumd
  9. PKG_VERSION:=0.1.4
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/stintel/vallumd/tar.gz/vallumd-$(PKG_VERSION)?
  13. PKG_HASH:=d6119f84840ff36f05c273f0a6f3e0f9eacf3a07c1583271c4fef62a7b199428
  14. PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be>
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/vallumd
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Centralized or distributed blacklist
  23. DEPENDS:=+ipset +libmosquitto
  24. endef
  25. define Package/vallumd/description
  26. Centralized or distributed blacklist
  27. endef
  28. define Package/vallumd/conffiles
  29. /etc/config/vallumd
  30. endef
  31. define Package/vallumd/install
  32. $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
  33. $(INSTALL_CONF) ./files/vallumd.conf $(1)/etc/config/vallumd
  34. $(INSTALL_BIN) ./files/vallumd.init $(1)/etc/init.d/vallumd
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/vallumd $(1)/usr/sbin/vallumd
  36. endef
  37. $(eval $(call BuildPackage,vallumd))