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.

49 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.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/stintel/vallumd/archive/$(PKG_VERSION)/
  13. PKG_MD5SUM:=d48df2ca8043d4eec4787bec2bba5dbb87d7a8325ac3b136c05dcd1a48d81ae4
  14. PKG_LICENSE:=GPL-3.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be>
  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))