2017-01-14 01:03:46 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017 Stijn Tintel <stijn@linux-ipv6.be>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=vallumd
|
2022-11-18 06:43:31 +00:00
|
|
|
PKG_VERSION:=0.2.2
|
2022-11-18 06:31:35 +00:00
|
|
|
PKG_RELEASE:=1
|
2017-01-14 01:03:46 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2022-08-13 21:52:24 +00:00
|
|
|
PKG_SOURCE_URL:=https://codeberg.org/stintel/vallumd/archive/$(PKG_VERSION).tar.gz?
|
2022-11-18 06:43:31 +00:00
|
|
|
PKG_HASH:=f88cafce41cc118862869268b5e6c9b315a6f084aa8a498d4484e9dac49c575c
|
2022-08-13 21:52:24 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
2017-01-14 01:03:46 +00:00
|
|
|
|
2021-03-04 22:45:01 +00:00
|
|
|
PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be>
|
2017-01-14 01:03:46 +00:00
|
|
|
PKG_LICENSE:=GPL-3.0
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-06-10 23:27:06 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2017-01-14 01:03:46 +00:00
|
|
|
|
|
|
|
define Package/vallumd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Centralized or distributed blacklist
|
2022-01-09 16:24:24 +00:00
|
|
|
DEPENDS:=+ca-bundle +ipset +libmosquitto +libopenssl
|
2017-01-14 01:03:46 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vallumd/description
|
|
|
|
Centralized or distributed blacklist
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vallumd/conffiles
|
|
|
|
/etc/config/vallumd
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vallumd/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
|
|
|
|
$(INSTALL_CONF) ./files/vallumd.conf $(1)/etc/config/vallumd
|
|
|
|
$(INSTALL_BIN) ./files/vallumd.init $(1)/etc/init.d/vallumd
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/vallumd $(1)/usr/sbin/vallumd
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,vallumd))
|