2005-09-08 07:24:02 +00:00
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ipset
|
2005-09-29 10:43:31 +00:00
|
|
|
PKG_VERSION:=2.2.3
|
2005-09-08 07:24:02 +00:00
|
|
|
PKG_RELEASE:=1
|
2005-09-29 10:43:31 +00:00
|
|
|
PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
|
2005-09-08 07:24:02 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/ipset-$(PKG_VERSION)
|
2006-05-09 23:21:48 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://ipset.netfilter.org
|
2005-09-08 07:24:02 +00:00
|
|
|
PKG_CAT:=bzcat
|
|
|
|
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
|
2006-05-09 23:21:48 +00:00
|
|
|
define Package/ipset
|
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEFAULT:=y
|
|
|
|
DEPENDS:=kmod-iptables-extra
|
|
|
|
TITLE:=Netfilter ip sets administration utility
|
|
|
|
DESCRIPTION:=Netfilter ip sets administration utility
|
|
|
|
URL:=http://ipset.netfilter.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ipset/install
|
2005-09-08 07:24:02 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR=$(IDIR_IPSET) PREFIX=/usr install
|
|
|
|
rm -rf $(IDIR_IPSET)/usr/man
|
|
|
|
$(IPKG_BUILD) $(IDIR_IPSET) $(PACKAGE_DIR)
|
2006-05-09 23:21:48 +00:00
|
|
|
endef
|
2005-09-08 07:24:02 +00:00
|
|
|
|
2006-05-09 23:21:48 +00:00
|
|
|
$(eval $(call BuildPackage,ipset))
|