2
0

Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=nftables
  8. PKG_VERSION:=0.4+2015-04-09
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_URL:=git://git.netfilter.org/nftables
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_VERSION:=3ed296118a065caff5600e60d4f7ef18e137f9a0
  13. PKG_MIRROR_HASH:=7f6f6162592c848b8047e75374f01a93d2d269dabe013a0150767027049b1e41
  14. PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_FIXUP:=autoreconf
  17. include $(INCLUDE_DIR)/package.mk
  18. CONFIGURE_ARGS += \
  19. --with-mini-gmp \
  20. --without-cli \
  21. define Package/nftables
  22. SECTION:=net
  23. CATEGORY:=Network
  24. SUBMENU:=Firewall
  25. TITLE:=nftables packet filtering userspace utility
  26. DEPENDS:=+kmod-nft-core +kmod-nft-nat +libnftnl
  27. URL:=http://netfilter.org/projects/nftables/
  28. endef
  29. define Package/nftables/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(CP) $(PKG_BUILD_DIR)/src/nft $(1)/usr/sbin/
  32. endef
  33. $(eval $(call BuildPackage,nftables))