Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
comment "xtables-addons needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
comment "xtables-addons needs a toolchain w/ dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_XTABLES_ADDONS
|
||||
bool "xtables-addons"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS # extensions are .so
|
||||
select BR2_PACKAGE_IPTABLES
|
||||
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
||||
help
|
||||
Xtables-addons is the successor to patch-o-matic(-ng).
|
||||
Likewise, it contains extensions that were not, or are not yet,
|
||||
accepted in the main kernel/iptables packages.
|
||||
|
||||
http://xtables-addons.sourceforge.net/
|
||||
@@ -0,0 +1,4 @@
|
||||
# From http://sourceforge.net/projects/xtables-addons/files/Xtables-addons/2.10/
|
||||
sha1 bc6dcb1eb1328931189f6e73a1a02ef4cc51bc44 xtables-addons-2.10.tar.xz
|
||||
# Calculated based on the hash above
|
||||
sha256 2a2d92ae924437d757f55514502c6ef3aeccc6106f729c702efe703ad30f4007 xtables-addons-2.10.tar.xz
|
||||
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# xtables-addons
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XTABLES_ADDONS_VERSION = 2.10
|
||||
XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz
|
||||
XTABLES_ADDONS_SITE = http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons
|
||||
XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf
|
||||
XTABLES_ADDONS_LICENSE = GPLv2+
|
||||
XTABLES_ADDONS_LICENSE_FILES = LICENSE
|
||||
|
||||
XTABLES_ADDONS_CONF_OPTS = \
|
||||
--with-kbuild="$(LINUX_DIR)" \
|
||||
--with-xtables="$(STAGING_DIR)/usr" \
|
||||
--with-xtlibdir="/usr/lib/xtables"
|
||||
|
||||
# geoip helpers need perl with modules and unzip so disable
|
||||
define XTABLES_DISABLE_GEOIP_HELPERS
|
||||
$(SED) 's/ geoip//' $(@D)/Makefile.in
|
||||
endef
|
||||
XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_DISABLE_GEOIP_HELPERS
|
||||
|
||||
define XTABLES_ADDONS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS)
|
||||
endef
|
||||
|
||||
define XTABLES_ADDONS_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user