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
10 PKG_VERSION
:=0.4+2015-04-09
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
14 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_SOURCE_URL
:=git
://git.netfilter.org
/nftables
17 PKG_SOURCE_VERSION
:=3ed296118a065caff5600e60d4f7ef18e137f9a0
18 PKG_MIRROR_MD5SUM
:=561d0e057e916289eaa1f1a688deb78d7de095b002c8bb0f478ce6e53ae220a4
19 PKG_MAINTAINER
:=Steven Barth
<steven@midlink.org
>
24 include $(INCLUDE_DIR
)/package.mk
30 define Package
/nftables
34 TITLE
:=nftables packet filtering userspace utility
35 DEPENDS
:=+kmod-nft-core
+kmod-nft-nat
+libnftnl
36 URL
:=http
://netfilter.org
/projects
/nftables
/
39 define Package
/nftables
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(CP
) $(PKG_BUILD_DIR
)/src
/nft
$(1)/usr
/sbin
/
44 $(eval
$(call BuildPackage
,nftables
))