syntax error on PKG_CHECK_MODULES

本文解决了一个在使用./configure脚本过程中遇到的语法错误问题,该问题出现在检查依赖库spice-protocol版本时。解决方案是安装pkg-config以确保正确地检测到所需的库版本。
eg.
./configure: line 14956: syntax error near unexpected token `PROTOCOL,'
./configure: line 14956: `PKG_CHECK_MODULES(PROTOCOL, spice-protocol >= 0.6.0)'

answer:
to install pkg-config
阅读(176) | 评论(0) | 转发(0) |
0

上一篇:vim paste toggle

下一篇:cgroup bin

给主人留下些什么吧!~~
评论热议
# # Copyright (C) 2009-2013 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 include $(TOPDIR)/platform/include/local-development.mk #include $(INCLUDE_DIR)/package.mk PUBLIC_DIR:=$(PLATFORM_DIR)/src/public PKG_NAME:=xtables-addons ifeq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"v3") PKG_VERSION:=3.0 PKG_RELEASE:=3.1 PKG_MD5SUM:=b37ed4d9c28cdcd5558c55934be8d051 PKG_BUILD_SRC:=$(PUBLIC_DIR)/$(PKG_NAME)/src-3.x/ XT_PCTL_ALONE:=1 KMOD_AUTO_LOAD:=1 else ifeq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"v2.14") PKG_VERSION:=2.14 PKG_RELEASE:=9 PKG_MD5SUM:=ebb073119a5f250dbfe6b855fcad56fd PKG_BUILD_SRC:=$(PUBLIC_DIR)/$(PKG_NAME)/src-2.14/ PATCH_DIR:=$(PUBLIC_DIR)/$(PKG_NAME)/patches-2.14 XT_PCTL_ALONE:=1 else ifeq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"v2") PKG_VERSION:=2.10 PKG_RELEASE:=3.1 PKG_MD5SUM:=727bf0dd4a3d9c65724267bd0d5d80b0 ifeq ($(CONFIG_IS_MT798x),y) PATCH_DIR:=$(PUBLIC_DIR)/$(PKG_NAME)/patches-2.x endif PKG_BUILD_SRC:=$(PUBLIC_DIR)/$(PKG_NAME)/src-2.x XT_PCTL_ALONE:=1 KMOD_AUTO_LOAD:=1 else ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1) PKG_VERSION:=2.3 PKG_RELEASE:=1 PKG_MD5SUM:=7d942729c365a549513511061f74c3e3 XT_PCTL_VERSION:=2 else ifeq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"1.45") PKG_VERSION:=1.45 PKG_RELEASE:=3 PKG_MD5SUM:=802d2f556a5e545f44e4b69937bf8490 PATCH_DIR:=$(PUBLIC_DIR)/$(PKG_NAME)/patches-1.x else PKG_VERSION:=0.0 PKG_BUILD_SRC:=$(PUBLIC_DIR)/$(PKG_NAME)/src/ XT_PCTL_ALONE:=0 KMOD_AUTO_LOAD:=0 endif USE_SOURCE_DIR:=$(PUBLIC_DIR)/$(PKG_NAME)/src PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/xtables-addons PKG_BUILD_DEPENDS:=iptables PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org> PKG_FIXUP:=autoreconf include $(TOPDIR)/platform/include/local-development.mk include $(INCLUDE_DIR)/package.mk define Package/xtables-addons CATEGORY:=TP-Link Systems Inc. SUBMENU:=xtables-addons TITLE:=Extensions not distributed in the main Xtables URL:=http://xtables-addons.sourceforge.net/ endef define Package/xtables-addons/config config PACKAGE_XTABLES_ADDONS_VERSION string "xtables-addons compile version" depends on PACKAGE_xtables-addons default "v1" help if kernel version > 3.7, please set the value to v2 to support it. otherwise let it to default value v1. current support valid value "v1" and "v2" config AVIRA_SUPPORT bool "The avira support" default y config TRAFFIC_STATISTICS_OPTIMIZATION bool "open traffic statistics optimization" default y endef # uses GNU configure CONFIGURE_ARGS+= \ --with-kbuild="$(LINUX_DIR)" \ --with-xtables="$(STAGING_DIR)/usr" \ --with-xtlibdir="/usr/lib/iptables" \ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),y) CROSS_TOOL=$(KERNEL_CROSS) ifeq ($(CONFIG_IPF_PLATFORM_BCM),y) EXTRA_CFLAGS+= -I$(LINUX_DIR)/../bcmkernel/include -I$(LINUX_DIR)/../bcmkernel/include/uapi endif else CROSS_TOOL=$(TARGET_CROSS) endif #add by wanghao ifneq ($(CONFIG_PACKAGE_kmod-shortcut-fe),) EXTRA_CFLAGS+=-DSUPPORT_SHORTCUT_FE endif #add end #add by Wuzexuan ifneq ($(CONFIG_PCTL_IPV6),) EXTRA_CFLAGS+=-DPCTL_SUPPORT_IPV6 endif #add end #add by CCy ifneq ($(CONFIG_PACKAGE_kmod-blockingx),) EXTRA_CFLAGS+=-DSUPPORT_HOMECARE_PRO_BLOCKING endif ifneq ($(CONFIG_PACKAGE_libauc),) EXTRA_CFLAGS+=-DSUPPORT_HOMECARE_PRO_URL_CLASS endif #add end #add by Wuzexuan ifneq ($(CONFIG_PCTL_IPV6),) EXTRA_CFLAGS+=-DPCTL_SUPPORT_IPV6 endif #add end #add for xt_v6ports.c ifeq ($(CONFIG_TARGET_ipq_ipq50xx_64), y) EXTRA_CFLAGS+=-DQCA_IPQ50XX endif #add by liujiao ifeq ($(CONFIG_TPS_AMX_TR181_DNS_DOMAIN_LOGIN),y) SPACE := $(subst ,, ) DOMAIN_LOGIN_LOCAL_DOMAINS_NO_QUOTES = $(strip $(subst $(SPACE),,$(subst ",," $(CONFIG_TPS_AMX_TR181_DNS_DOMAIN_LOGIN_LOCAL_DOMAINS)))) EXTRA_CFLAGS += -DPCTL_LOCAL_DOMAINS='\"$(DOMAIN_LOGIN_LOCAL_DOMAINS_NO_QUOTES)\"' endif #add end #add by chenmengyuan EXTRA_CFLAGS+=-DPCTL_BLOCK_URL #add end ifeq ($(CONFIG_TRAFFIC_STATISTICS_OPTIMIZATION),y) EXTRA_CFLAGS+=-DTRAFFIC_STATISTICS_OPTIMIZATION endif define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) $(PKG_BUILD_SRC)/* $(PKG_BUILD_DIR) ifeq ($(CONFIG_IS_MT798x),y) $(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR),) endif #add by chenrui $(info ==========XT_PCTL_ALONE = $(XT_PCTL_ALONE)==========) $(info ==========CONFIG_PACKAGE_XTABLES_ADDONS_VERSION = $(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION)==========) $(info ==========XT_PCTL_VERSION = $(XT_PCTL_VERSION)==========) ifeq ($(XT_PCTL_ALONE),1) ifeq ($(CONFIG_AVIRA_SUPPORT),y) $(CP) $(PKG_BUILD_SRC)/xt_pctl_avira/* $(PKG_BUILD_DIR)/extensions @echo ------------copy xt_pctl_avira------------ else $(CP) $(PKG_BUILD_SRC)/xt_pctl_tp/* $(PKG_BUILD_DIR)/extensions @echo ------------copy xt_pctl_tp111------------ endif else ifeq ($(XT_PCTL_VERSION),2) $(CP) $(PKG_BUILD_SRC)/xt_pctl_tp/* $(PKG_BUILD_DIR)/extensions @echo ------------copy xt_pctl_tp222------------ endif endif #add end @echo -------XTABLES_ADDONS_VERSION $(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION) PKG_BUILD_SRC $(PKG_BUILD_SRC)-------- endef define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ ARCH="$(LINUX_KARCH)" \ CROSS_COMPILE="$(CROSS_TOOL)" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ DEPMOD="/bin/true" \ all endef define Build/Install $(MAKE) -C $(PKG_BUILD_DIR) \ ARCH="$(LINUX_KARCH)" \ CROSS_COMPILE="$(CROSS_TOOL)" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ DEPMOD="/bin/true" \ install endef # 1: extension/module suffix used in package name # 2: extension/module display name used in package title/description # 3: list of extensions to package # 4: list of modules to package # 5: module load priority # 6: module depends define BuildTemplate ifneq ($(3),) define Package/iptables-mod-$(1) $$(call Package/xtables-addons) TITLE:=$(2) iptables extension DEPENDS:=iptables $(if $(4),+kmod-ipt-$(1)) endef define Package/iptables-mod-$(1)/install $(INSTALL_DIR) $$(1)/usr/lib/iptables for m in $(3); do \ $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so \ $$(1)/usr/lib/iptables/ ; \ done endef $$(eval $$(call BuildPackage,iptables-mod-$(1))) endif ifneq ($(4),) define KernelPackage/ipt-$(1) $$(call Package/xtables-addons) TITLE:=$(2) netfilter module DEPENDS:=+kmod-ipt-core $(6) KCONFIG:=$(7) FILES:=$(foreach mod,$(4),$(PKG_BUILD_DIR)/extensions/$(mod).$(LINUX_KMOD_SUFFIX)) ifneq ($(5),) AUTOLOAD:=$(call AutoLoad,$(5),$(notdir $(4))) endif endef $$(eval $$(call KernelPackage,ipt-$(1))) endif endef define Package/iptaccount $(call Package/xtables-addons) TITLE:=iptables-mod-account control utility DEPENDS:=iptables +iptables-mod-account endef define Package/iptaccount/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/sbin $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxt_ACCOUNT_cl.so* \ $(1)/usr/lib/ $(CP) \ $(PKG_INSTALL_DIR)/usr/sbin/iptaccount \ $(1)/usr/sbin/ endef ifeq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"v2.14") define Package/iptgeoip $(call Package/xtables-addons) TITLE:=iptables-mod-geoip support scripts for MaxMind GeoIP databases # we could also use wget-nossl but that's more complicated than our # syntax of dependencies permits... DEPENDS:=iptables +iptables-mod-geoip \ +perl +perlbase-getopt +perlbase-io +perl-text-csv_xs \ +!BUSYBOX_CONFIG_WGET:wget +!BUSYBOX_CONFIG_GZIP:gzip +!BUSYBOX_CONFIG_UNZIP:unzip endef define Package/iptgeoip/install $(INSTALL_DIR) $(1)/usr/lib/xtables-addons $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/xtables-addons/xt_geoip_{build,dl} \ $(1)/usr/lib/xtables-addons/ $(INSTALL_DIR) $(1)/usr/share/xt_geoip endef endif ifneq ($(CONFIG_PACKAGE_XTABLES_ADDONS_VERSION),"v2.14") #$(eval $(call BuildTemplate,SUFFIX,DESCRIPTION,EXTENSION,MODULE,PRIORITY,DEPENDS)) ifeq ($(KMOD_AUTO_LOAD),1) $(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,45,,CONFIG_NF_CONNTRACK_MARK=y)) $(eval $(call BuildTemplate,rawpost,RAWPOST,,iptable_rawpost $(if $(CONFIG_IPV6),ip6table_rawpost),50,+kmod-ipt-compat-xtables)) #$(eval $(call BuildTemplate,nathelper-rtsp,RTSP Conntrack and NAT,,rtsp/nf_conntrack_rtsp rtsp/nf_nat_rtsp,46,+kmod-ipt-conntrack-extra)) $(eval $(call BuildTemplate,account,ACCOUNT,xt_ACCOUNT,ACCOUNT/xt_ACCOUNT,46,+kmod-ipt-compat-xtables)) # add by huluyao, 2014 02 13 $(eval $(call BuildTemplate,httphost,httphost,xt_httphost,xt_httphost,46,)) $(eval $(call BuildTemplate,urlfilter,urlfilter,xt_urlfilter,xt_urlfilter,46,)) $(eval $(call BuildTemplate,app,app,xt_app,xt_app,46,,CONFIG_NF_CONNTRACK_TP_APP=y CONFIG_REG_PCRE=y)) ifeq ($(CONFIG_AVIRA_SUPPORT),y) $(eval $(call BuildTemplate,pctl,pctl,xt_pctl,xt_pctl,,)) else $(eval $(call BuildTemplate,pctl,pctl,xt_pctl,xt_pctl,46,)) endif $(eval $(call BuildTemplate,blogskip,BLOGSKIP,xt_BLOGSKIP,xt_BLOGSKIP,46,)) $(eval $(call BuildTemplate,chaos,CHAOS,xt_CHAOS,xt_CHAOS,47,+kmod-ipt-compat-xtables +kmod-ipt-delude +kmod-ipt-tarpit)) $(eval $(call BuildTemplate,condition,Condition,xt_condition,xt_condition,46,)) $(eval $(call BuildTemplate,delude,DELUDE,xt_DELUDE,xt_DELUDE,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dhcpmac,DHCPMAC,xt_DHCPMAC,xt_DHCPMAC,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dnetmap,DNETMAP,xt_DNETMAP,xt_DNETMAP,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,fuzzy,fuzzy,xt_fuzzy,xt_fuzzy,46,)) $(eval $(call BuildTemplate,geoip,geoip,xt_geoip,xt_geoip,46,)) $(eval $(call BuildTemplate,iface,iface,xt_iface,xt_iface,46,)) $(eval $(call BuildTemplate,ipmark,IPMARK,xt_IPMARK,xt_IPMARK,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipp2p,IPP2P,xt_ipp2p,xt_ipp2p,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipv4options,ipv4options,xt_ipv4options,xt_ipv4options,46,)) $(eval $(call BuildTemplate,length2,length2,xt_length2,xt_length2,46,)) $(eval $(call BuildTemplate,logmark,LOGMARK,xt_LOGMARK,xt_LOGMARK,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,lscan,lscan,xt_lscan,xt_lscan,46,)) $(eval $(call BuildTemplate,lua,Lua PacketScript,xt_LUA,LUA/xt_LUA,46,+kmod-ipt-conntrack-extra)) $(eval $(call BuildTemplate,psd,psd,xt_psd,xt_psd,46,)) $(eval $(call BuildTemplate,quota2,quota2,xt_quota2,xt_quota2,46,)) $(eval $(call BuildTemplate,rawnat,RAWNAT,xt_RAWDNAT xt_RAWSNAT,xt_RAWNAT,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,steal,STEAL,xt_STEAL,xt_STEAL,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,sysrq,SYSRQ,xt_SYSRQ,xt_SYSRQ,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,trigger,TRIGGER,ipt_TRIGGER,ipt_TRIGGER,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,tarpit,TARPIT,xt_TARPIT,xt_TARPIT,46,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,LOOPBACKDNAT,LOOPBACKDNAT,ipt_LOOPBACKDNAT,xt_LOOPBACKDNAT,46,)) $(eval $(call BuildTemplate,markext,,xt_markext,,46,)) $(eval $(call BuildTemplate,MARKEXT,,xt_MARKEXT,,46,)) $(eval $(call BuildTemplate,V6PORTS,V6PORTS,ipt_V6PORTS,xt_V6PORTS,46,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildTemplate,CHECKPORTS,CHECKPORTS,ipt_CHECKPORTS,xt_CHECKPORTS,46,+kmod-ipt-nat)) $(eval $(call BuildPackage,iptaccount)) $(eval $(call BuildPackage,xtables-addons)) else $(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,,+IPV6:kmod-ip6tables,CONFIG_NF_CONNTRACK_MARK=y)) $(eval $(call BuildTemplate,rawpost,RAWPOST,,iptable_rawpost $(if $(CONFIG_IPV6),ip6table_rawpost),,+kmod-ipt-compat-xtables +IPV6:kmod-ip6tables)) $(eval $(call BuildTemplate,nathelper-rtsp,RTSP Conntrack and NAT,,rtsp/nf_conntrack_rtsp rtsp/nf_nat_rtsp,,+kmod-ipt-conntrack-extra +kmod-ipt-nat)) $(eval $(call BuildTemplate,pctl,pctl,xt_pctl,xt_pctl,,+kmod-ipt-conntrack +kmod-domain-login_module)) $(eval $(call BuildTemplate,account,ACCOUNT,xt_ACCOUNT,ACCOUNT/xt_ACCOUNT,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,chaos,CHAOS,xt_CHAOS,xt_CHAOS,,+kmod-ipt-compat-xtables +kmod-ipt-delude +kmod-ipt-tarpit)) $(eval $(call BuildTemplate,condition,Condition,xt_condition,xt_condition,,)) $(eval $(call BuildTemplate,delude,DELUDE,xt_DELUDE,xt_DELUDE,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dhcpmac,DHCPMAC,xt_DHCPMAC,xt_DHCPMAC,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dnetmap,DNETMAP,xt_DNETMAP,xt_DNETMAP,,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildTemplate,fuzzy,fuzzy,xt_fuzzy,xt_fuzzy,,)) $(eval $(call BuildTemplate,geoip,geoip,xt_geoip,xt_geoip,,)) $(eval $(call BuildTemplate,iface,iface,xt_iface,xt_iface,,)) $(eval $(call BuildTemplate,ipmark,IPMARK,xt_IPMARK,xt_IPMARK,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipp2p,IPP2P,xt_ipp2p,xt_ipp2p,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipv4options,ipv4options,xt_ipv4options,xt_ipv4options,,)) $(eval $(call BuildTemplate,length2,length2,xt_length2,xt_length2,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,logmark,LOGMARK,xt_LOGMARK,xt_LOGMARK,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,lscan,lscan,xt_lscan,xt_lscan,,)) $(eval $(call BuildTemplate,lua,Lua PacketScript,xt_LUA,LUA/xt_LUA,,+kmod-ipt-conntrack-extra)) $(eval $(call BuildTemplate,psd,psd,xt_psd,xt_psd,,)) $(eval $(call BuildTemplate,quota2,quota2,xt_quota2,xt_quota2,,)) $(eval $(call BuildTemplate,rawnat,RAWNAT,xt_RAWDNAT xt_RAWSNAT,xt_RAWNAT,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,steal,STEAL,xt_STEAL,xt_STEAL,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,sysrq,SYSRQ,xt_SYSRQ,xt_SYSRQ,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,tarpit,TARPIT,xt_TARPIT,xt_TARPIT,,+kmod-ipt-compat-xtables +IPV6:kmod-ipv6)) $(eval $(call BuildTemplate,markext,,xt_markext,,46,)) $(eval $(call BuildTemplate,MARKEXT,,xt_MARKEXT,,46,)) $(eval $(call BuildTemplate,V6PORTS,V6PORTS,ipt_V6PORTS,xt_V6PORTS,46,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildTemplate,CHECKPORTS,CHECKPORTS,ipt_CHECKPORTS,xt_CHECKPORTS,46,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildPackage,iptaccount)) $(eval $(call BuildPackage,xtables-addons)) endif else #$(eval $(call BuildTemplate,SUFFIX,DESCRIPTION,EXTENSION,MODULE,PRIORITY,DEPENDS)) $(eval $(call BuildTemplate,compat-xtables,API compatibilty layer,,compat_xtables,,+IPV6:kmod-ip6tables,CONFIG_NF_CONNTRACK_MARK=y)) $(eval $(call BuildTemplate,nathelper-rtsp,RTSP Conntrack and NAT,,rtsp/nf_conntrack_rtsp rtsp/nf_nat_rtsp,,+kmod-ipt-conntrack-extra +kmod-ipt-nat)) $(eval $(call BuildTemplate,account,ACCOUNT,xt_ACCOUNT,ACCOUNT/xt_ACCOUNT,,+kmod-ipt-compat-xtables)) # add by huluyao, 2014 02 13 $(eval $(call BuildTemplate,httphost,httphost,xt_httphost,xt_httphost,46,)) $(eval $(call BuildTemplate,urlfilter,urlfilter,xt_urlfilter,xt_urlfilter,46,)) $(eval $(call BuildTemplate,app,app,xt_app,xt_app,46,,CONFIG_NF_CONNTRACK_TP_APP=y CONFIG_REG_PCRE=y)) ifeq ($(CONFIG_AVIRA_SUPPORT),y) $(eval $(call BuildTemplate,pctl,pctl,xt_pctl,xt_pctl,,+kmod-blockingx +kmod-ipt-conntrack-extra)) else $(eval $(call BuildTemplate,pctl,pctl,xt_pctl,xt_pctl,46,)) endif $(eval $(call BuildTemplate,chaos,CHAOS,xt_CHAOS,xt_CHAOS,,+kmod-ipt-compat-xtables +kmod-ipt-delude +kmod-ipt-tarpit)) $(eval $(call BuildTemplate,condition,Condition,xt_condition,xt_condition,)) $(eval $(call BuildTemplate,delude,DELUDE,xt_DELUDE,xt_DELUDE,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dhcpmac,DHCPMAC,xt_DHCPMAC,xt_DHCPMAC,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,dnetmap,DNETMAP,xt_DNETMAP,xt_DNETMAP,,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildTemplate,fuzzy,fuzzy,xt_fuzzy,xt_fuzzy,)) $(eval $(call BuildTemplate,geoip,geoip,xt_geoip,xt_geoip,)) $(eval $(call BuildTemplate,iface,iface,xt_iface,xt_iface,)) $(eval $(call BuildTemplate,ipmark,IPMARK,xt_IPMARK,xt_IPMARK,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipp2p,IPP2P,xt_ipp2p,xt_ipp2p,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,ipv4options,ipv4options,xt_ipv4options,xt_ipv4options,)) $(eval $(call BuildTemplate,length2,length2,xt_length2,xt_length2,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,logmark,LOGMARK,xt_LOGMARK,xt_LOGMARK,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,lscan,lscan,xt_lscan,xt_lscan,)) $(eval $(call BuildTemplate,lua,Lua PacketScript,xt_LUA,LUA/xt_LUA,,+kmod-ipt-conntrack-extra)) $(eval $(call BuildTemplate,psd,psd,xt_psd,xt_psd,)) $(eval $(call BuildTemplate,quota2,quota2,xt_quota2,xt_quota2,)) $(eval $(call BuildTemplate,sysrq,SYSRQ,xt_SYSRQ,xt_SYSRQ,,+kmod-ipt-compat-xtables +kmod-crypto-hash)) $(eval $(call BuildTemplate,trigger,TRIGGER,ipt_TRIGGER,ipt_TRIGGER,46,+kmod-ipt-compat-xtables +kmod-nf-nat)) $(eval $(call BuildTemplate,tarpit,TARPIT,xt_TARPIT,xt_TARPIT,,+kmod-ipt-compat-xtables)) $(eval $(call BuildTemplate,LOOPBACKDNAT,LOOPBACKDNAT,ipt_LOOPBACKDNAT,xt_LOOPBACKDNAT,46,)) $(eval $(call BuildTemplate,markext,,xt_markext,,46,)) $(eval $(call BuildTemplate,MARKEXT,,xt_MARKEXT,,46,)) $(eval $(call BuildTemplate,V6PORTS,V6PORTS,ipt_V6PORTS,xt_V6PORTS,46,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildTemplate,CHECKPORTS,CHECKPORTS,ipt_CHECKPORTS,xt_CHECKPORTS,46,+kmod-ipt-compat-xtables +kmod-ipt-nat)) $(eval $(call BuildPackage,iptaccount)) $(eval $(call BuildPackage,iptgeoip)) $(eval $(call BuildPackage,xtables-addons)) endif
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值