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.2.0
  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/$(PKG_VERSION)?
  13. PKG_HASH:=7c1baffa3f7889c9c6f2795aac134c50a309ef201764d5ce6bbbce5d657416c0
  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:=+ca-bundle +ipset +libmosquitto +libopenssl
  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))