OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 # Copyright (C) 2015 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6  
7 include $(TOPDIR)/rules.mk
8  
9 PKG_NAME:=nftables
3 office 10 PKG_VERSION:=0.8.2
1 office 11 PKG_RELEASE:=1
12  
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files
3 office 15 PKG_HASH:=675f0aaf88f11e7eacef63dc89cb65d207d9e09c3ea6d518f0ebbb013f0767ec
1 office 16 PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
17 PKG_LICENSE:=GPL-2.0
18  
19 PKG_FIXUP:=autoreconf
20  
21 include $(INCLUDE_DIR)/package.mk
22  
23 DISABLE_NLS:=
24  
25 CONFIGURE_ARGS += \
26 --with-mini-gmp \
27 --without-cli \
28  
29 define Package/nftables
30 SECTION:=net
31 CATEGORY:=Network
32 SUBMENU:=Firewall
33 TITLE:=nftables packet filtering userspace utility
3 office 34 DEPENDS:=+kmod-nft-core +libnftnl
1 office 35 URL:=http://netfilter.org/projects/nftables/
36 endef
37  
38 define Package/nftables/install
39 $(INSTALL_DIR) $(1)/usr/sbin
3 office 40 $(CP) $(PKG_BUILD_DIR)/src/nft $(1)/usr/sbin/
1 office 41 endef
42  
43 $(eval $(call BuildPackage,nftables))