firewall4: drop kmod-ipt-nat from CONFLICTS
[openwrt/staging/stintel.git] / package / network / config / firewall4 / Makefile
1 #
2 # Copyright (C) 2021 Jo-Philipp Wich <jo@mein.io>
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=firewall4
8 PKG_RELEASE:=$(AUTORELEASE)
9
10 PKG_SOURCE_PROTO:=git
11 PKG_SOURCE_URL=$(PROJECT_GIT)/project/firewall4.git
12 PKG_SOURCE_DATE:=2021-10-25
13 PKG_SOURCE_VERSION:=eb0a3ee812d48f1faecbf6258c293e475b4016a0
14 PKG_MIRROR_HASH:=46b5bdea13a285dbd1b3432fe8cfd8cb98a2797b86b176d7762e0987ec2f230c
15 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
16 PKG_LICENSE:=ISC
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/firewall4
21 SECTION:=net
22 CATEGORY:=Base system
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
26 endef
27
28 define Package/firewall4/description
29 This package provides an nftables-based implementation of the UCI firewall
30 sharing the same configuration format.
31 endef
32
33 define Package/firewall4/conffiles
34 /etc/config/firewall
35 /etc/nftables.d/
36 endef
37
38 define Package/firewall4/install
39 $(CP) -a $(PKG_BUILD_DIR)/root/* $(1)/
40 endef
41
42 define Build/Compile
43 endef
44
45 $(eval $(call BuildPackage,firewall4))