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
:=ad8181b5fcb9ca572f444bed54018749588522ee97e4c21922648bb78d7e7e91
16 PKG_MAINTAINER
:=Steven Barth
<steven@midlink.org
>
22 include $(INCLUDE_DIR
)/package.mk
32 define Package
/nftables
36 TITLE
:=nftables packet filtering userspace utility
37 DEPENDS
:=+kmod-nft-core
+libnftnl
38 URL
:=http
://netfilter.org
/projects
/nftables
/
41 define Package
/nftables
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/nft
$(1)/usr
/sbin
/
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
48 $(eval
$(call BuildPackage
,nftables
))