2 # Copyright (C) 2021 Jo-Philipp Wich <jo@mein.io>
5 include $(TOPDIR
)/rules.mk
11 PKG_SOURCE_URL
=$(PROJECT_GIT
)/project
/firewall4.git
12 PKG_SOURCE_DATE
:=2021-03-31
13 PKG_SOURCE_VERSION
:=29fba840201287b9265888adba6298779b750af5
14 PKG_MIRROR_HASH
:=1d26a611aeecdf37f09e4cdee6b192e5da087abf6e0fc7a9ca97a80e58d14222
15 PKG_MAINTAINER
:=Jo-Philipp Wich
<jo@mein.io
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/firewall4
23 TITLE
:=OpenWrt
4th gen firewall
24 DEPENDS
:=+ucode
+ucode-mod-fs
+ucode-mod-uci
+ucode-mod-ubus
+kmod-nft-core
+kmod-nft-fib
+kmod-nft-nat
+kmod-nft-nat6
+nftables-json
25 CONFLICTS
:=firewall kmod-ipt-nat
28 define Package
/firewall4
/description
29 This package provides an nftables-based implementation of the UCI firewall
30 sharing the same configuration format.
33 define Package
/firewall4
/conffiles
38 define Package
/firewall4
/install
39 $(CP
) -a
$(PKG_BUILD_DIR
)/root
/* $(1)/
45 $(eval
$(call BuildPackage
,firewall4
))