1 # Copyright (C) 2015 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_SOURCE_URL
:=https
://netfilter.org
/projects
/$(PKG_NAME
)/files
15 PKG_HASH
:=8aead66cce70d68c70e4be917813abcbcf62811ee6de4c7761d0e34391772fc4
16 PKG_MAINTAINER
:=Steven Barth
<steven@midlink.org
>
21 include $(INCLUDE_DIR
)/package.mk
29 define Package
/nftables
33 TITLE
:=nftables packet filtering userspace utility
34 DEPENDS
:=+kmod-nft-core
+kmod-nft-nat
+libnftnl
35 URL
:=http
://netfilter.org
/projects
/nftables
/
38 define Package
/nftables
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
40 $(CP
) $(PKG_BUILD_DIR
)/src
/nft
$(1)/usr
/sbin
/
43 $(eval
$(call BuildPackage
,nftables
))