mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 00:00:55 +00:00
1136e0ac3c
Add upstream patch to fix building from source tarballs. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
#
|
|
# 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
|
|
PKG_VERSION:=0.2.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeberg.org/stintel/vallumd/archive/$(PKG_VERSION).tar.gz?
|
|
PKG_HASH:=f88cafce41cc118862869268b5e6c9b315a6f084aa8a498d4484e9dac49c575c
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
PKG_MAINTAINER:=Stijn Tintel <stijn@linux-ipv6.be>
|
|
PKG_LICENSE:=GPL-3.0
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/vallumd
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=Centralized or distributed blacklist
|
|
DEPENDS:=+ca-bundle +ipset +libmosquitto +libopenssl
|
|
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))
|