2012-10-10 13:13:17 +00:00
|
|
|
|
|
|
|
# Copyright (C) 2009-2012 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ipset
|
2016-10-07 20:43:12 +00:00
|
|
|
PKG_VERSION:=6.29
|
2012-10-12 12:19:46 +00:00
|
|
|
PKG_RELEASE:=1
|
2012-10-10 13:13:17 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://ipset.netfilter.org
|
2016-10-07 20:43:12 +00:00
|
|
|
PKG_MD5SUM:=6af58b21c8b475b1058e02529ea9f15b4b727dbc13dc9cbddf89941b0103880e
|
2012-10-10 13:13:17 +00:00
|
|
|
|
2016-06-07 09:42:32 +00:00
|
|
|
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
2014-11-02 12:20:54 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
2012-10-10 13:13:17 +00:00
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ipset
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2013-05-21 13:00:28 +00:00
|
|
|
DEPENDS+= +kmod-ipt-ipset +libmnl
|
2012-10-10 13:13:17 +00:00
|
|
|
TITLE:=IPset administration utility
|
|
|
|
URL:=http://ipset.netfilter.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--with-kbuild="$(LINUX_DIR)"
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
2013-07-10 14:59:00 +00:00
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
SHELL="$(BASH)"
|
2012-10-10 13:13:17 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call Build/Compile/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ipset/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ipset $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libipset*.so* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ipset))
|