Makefile 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  1. #
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=iptables
  10. PKG_VERSION:=1.6.2
  11. PKG_RELEASE:=1
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL:=https://git.netfilter.org/iptables
  14. PKG_SOURCE_VERSION:=c16bdec15137b241586310d0e61bc88cc3726004
  15. PKG_MIRROR_HASH:=72e4bec94a56dd600097846c773e1074ff705e38f800ef221db646c064371a53
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_LICENSE:=GPL-2.0
  20. PKG_CPE_ID:=cpe:/a:netfilter_core_team:iptables
  21. include $(INCLUDE_DIR)/package.mk
  22. ifeq ($(DUMP),)
  23. -include $(LINUX_DIR)/.config
  24. include $(INCLUDE_DIR)/netfilter.mk
  25. STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep 'NETFILTER' $(LINUX_DIR)/.config | mkhash md5)
  26. endif
  27. define Package/iptables/Default
  28. SECTION:=net
  29. CATEGORY:=Network
  30. SUBMENU:=Firewall
  31. URL:=http://netfilter.org/
  32. endef
  33. define Package/iptables/Module
  34. $(call Package/iptables/Default)
  35. DEPENDS:=iptables $(1)
  36. endef
  37. define Package/iptables
  38. $(call Package/iptables/Default)
  39. TITLE:=IP firewall administration tool
  40. MENU:=1
  41. DEPENDS+= +kmod-ipt-core +libip4tc +IPV6:libip6tc +libxtables
  42. endef
  43. define Package/iptables/config
  44. config IPTABLES_CONNLABEL
  45. bool "Enable Connlabel support"
  46. default n
  47. help
  48. This enable connlabel support in iptables.
  49. config IPTABLES_NFTABLES
  50. bool "Enable Nftables support"
  51. default n
  52. help
  53. This enable nftables support in iptables.
  54. endef
  55. define Package/iptables/description
  56. IP firewall administration tool.
  57. Matches:
  58. - icmp
  59. - tcp
  60. - udp
  61. - comment
  62. - conntrack
  63. - limit
  64. - mac
  65. - mark
  66. - multiport
  67. - set
  68. - state
  69. - time
  70. Targets:
  71. - ACCEPT
  72. - CT
  73. - DNAT
  74. - DROP
  75. - REJECT
  76. - LOG
  77. - MARK
  78. - MASQUERADE
  79. - REDIRECT
  80. - SET
  81. - SNAT
  82. - TCPMSS
  83. Tables:
  84. - filter
  85. - mangle
  86. - nat
  87. - raw
  88. endef
  89. define Package/iptables-mod-conntrack-extra
  90. $(call Package/iptables/Module, +kmod-ipt-conntrack-extra)
  91. TITLE:=Extra connection tracking extensions
  92. endef
  93. define Package/iptables-mod-conntrack-extra/description
  94. Extra iptables extensions for connection tracking.
  95. Matches:
  96. - connbytes
  97. - connlimit
  98. - connmark
  99. - recent
  100. - helper
  101. Targets:
  102. - CONNMARK
  103. endef
  104. define Package/iptables-mod-conntrack-label
  105. $(call Package/iptables/Module, +kmod-ipt-conntrack-label @IPTABLES_CONNLABEL)
  106. TITLE:=Connection tracking labeling extension
  107. DEFAULT:=y if IPTABLES_CONNLABEL
  108. endef
  109. define Package/iptables-mod-conntrack-label/description
  110. Match and set label(s) on connection tracking entries
  111. Matches:
  112. - connlabel
  113. endef
  114. define Package/iptables-mod-filter
  115. $(call Package/iptables/Module, +kmod-ipt-filter)
  116. TITLE:=Content inspection extensions
  117. endef
  118. define Package/iptables-mod-filter/description
  119. iptables extensions for packet content inspection.
  120. Includes support for:
  121. Matches:
  122. - string
  123. endef
  124. define Package/iptables-mod-ipopt
  125. $(call Package/iptables/Module, +kmod-ipt-ipopt)
  126. TITLE:=IP/Packet option extensions
  127. endef
  128. define Package/iptables-mod-ipopt/description
  129. iptables extensions for matching/changing IP packet options.
  130. Matches:
  131. - dscp
  132. - ecn
  133. - length
  134. - statistic
  135. - tcpmss
  136. - unclean
  137. - hl
  138. Targets:
  139. - DSCP
  140. - CLASSIFY
  141. - ECN
  142. - HL
  143. endef
  144. define Package/iptables-mod-ipsec
  145. $(call Package/iptables/Module, +kmod-ipt-ipsec)
  146. TITLE:=IPsec extensions
  147. endef
  148. define Package/iptables-mod-ipsec/description
  149. iptables extensions for matching ipsec traffic.
  150. Matches:
  151. - ah
  152. - esp
  153. - policy
  154. endef
  155. define Package/iptables-mod-nat-extra
  156. $(call Package/iptables/Module, +kmod-ipt-nat-extra)
  157. TITLE:=Extra NAT extensions
  158. endef
  159. define Package/iptables-mod-nat-extra/description
  160. iptables extensions for extra NAT targets.
  161. Targets:
  162. - MIRROR
  163. - NETMAP
  164. endef
  165. define Package/iptables-mod-ulog
  166. $(call Package/iptables/Module, +kmod-ipt-ulog)
  167. TITLE:=user-space packet logging
  168. endef
  169. define Package/iptables-mod-ulog/description
  170. iptables extensions for user-space packet logging.
  171. Targets:
  172. - ULOG
  173. endef
  174. define Package/iptables-mod-nflog
  175. $(call Package/iptables/Module, +kmod-nfnetlink-log +kmod-ipt-nflog)
  176. TITLE:=Netfilter NFLOG target
  177. endef
  178. define Package/iptables-mod-nflog/description
  179. iptables extension for user-space logging via NFNETLINK.
  180. Includes:
  181. - libxt_NFLOG
  182. endef
  183. define Package/iptables-mod-trace
  184. $(call Package/iptables/Module, +kmod-ipt-debug)
  185. TITLE:=Netfilter TRACE target
  186. endef
  187. define Package/iptables-mod-trace/description
  188. iptables extension for TRACE target
  189. Includes:
  190. - libxt_TRACE
  191. endef
  192. define Package/iptables-mod-nfqueue
  193. $(call Package/iptables/Module, +kmod-nfnetlink-queue +kmod-ipt-nfqueue)
  194. TITLE:=Netfilter NFQUEUE target
  195. endef
  196. define Package/iptables-mod-nfqueue/description
  197. iptables extension for user-space queuing via NFNETLINK.
  198. Includes:
  199. - libxt_NFQUEUE
  200. endef
  201. define Package/iptables-mod-hashlimit
  202. $(call Package/iptables/Module, +kmod-ipt-hashlimit)
  203. TITLE:=hashlimit matching
  204. endef
  205. define Package/iptables-mod-hashlimit/description
  206. iptables extensions for hashlimit matching
  207. Matches:
  208. - hashlimit
  209. endef
  210. define Package/iptables-mod-rpfilter
  211. $(call Package/iptables/Module, +kmod-ipt-rpfilter)
  212. TITLE:=rpfilter iptables extension
  213. endef
  214. define Package/iptables-mod-rpfilter/description
  215. iptables extensions for reverse path filter test on a packet
  216. Matches:
  217. - rpfilter
  218. endef
  219. define Package/iptables-mod-iprange
  220. $(call Package/iptables/Module, +kmod-ipt-iprange)
  221. TITLE:=IP range extension
  222. endef
  223. define Package/iptables-mod-iprange/description
  224. iptables extensions for matching ip ranges.
  225. Matches:
  226. - iprange
  227. endef
  228. define Package/iptables-mod-cluster
  229. $(call Package/iptables/Module, +kmod-ipt-cluster)
  230. TITLE:=Match cluster extension
  231. endef
  232. define Package/iptables-mod-cluster/description
  233. iptables extensions for matching cluster.
  234. Netfilter (IPv4/IPv6) module for matching cluster
  235. This option allows you to build work-load-sharing clusters of
  236. network servers/stateful firewalls without having a dedicated
  237. load-balancing router/server/switch. Basically, this match returns
  238. true when the packet must be handled by this cluster node. Thus,
  239. all nodes see all packets and this match decides which node handles
  240. what packets. The work-load sharing algorithm is based on source
  241. address hashing.
  242. This module is usable for ipv4 and ipv6.
  243. If you select it, it enables kmod-ipt-cluster.
  244. see `iptables -m cluster --help` for more information.
  245. endef
  246. define Package/iptables-mod-clusterip
  247. $(call Package/iptables/Module, +kmod-ipt-clusterip)
  248. TITLE:=Clusterip extension
  249. endef
  250. define Package/iptables-mod-clusterip/description
  251. iptables extensions for CLUSTERIP.
  252. The CLUSTERIP target allows you to build load-balancing clusters of
  253. network servers without having a dedicated load-balancing
  254. router/server/switch.
  255. If you select it, it enables kmod-ipt-clusterip.
  256. see `iptables -j CLUSTERIP --help` for more information.
  257. endef
  258. define Package/iptables-mod-extra
  259. $(call Package/iptables/Module, +kmod-ipt-extra)
  260. TITLE:=Other extra iptables extensions
  261. endef
  262. define Package/iptables-mod-extra/description
  263. Other extra iptables extensions.
  264. Matches:
  265. - addrtype
  266. - condition
  267. - owner
  268. - pkttype
  269. - quota
  270. endef
  271. define Package/iptables-mod-physdev
  272. $(call Package/iptables/Module, +kmod-ipt-physdev)
  273. TITLE:=physdev iptables extension
  274. endef
  275. define Package/iptables-mod-physdev/description
  276. The iptables physdev match.
  277. endef
  278. define Package/iptables-mod-led
  279. $(call Package/iptables/Module, +kmod-ipt-led)
  280. TITLE:=LED trigger iptables extension
  281. endef
  282. define Package/iptables-mod-led/description
  283. iptables extension for triggering a LED.
  284. Targets:
  285. - LED
  286. endef
  287. define Package/iptables-mod-tproxy
  288. $(call Package/iptables/Module, +kmod-ipt-tproxy)
  289. TITLE:=Transparent proxy iptables extensions
  290. endef
  291. define Package/iptables-mod-tproxy/description
  292. Transparent proxy iptables extensions.
  293. Matches:
  294. - socket
  295. Targets:
  296. - TPROXY
  297. endef
  298. define Package/iptables-mod-tee
  299. $(call Package/iptables/Module, +kmod-ipt-tee)
  300. TITLE:=TEE iptables extensions
  301. endef
  302. define Package/iptables-mod-tee/description
  303. TEE iptables extensions.
  304. Targets:
  305. - TEE
  306. endef
  307. define Package/iptables-mod-u32
  308. $(call Package/iptables/Module, +kmod-ipt-u32)
  309. TITLE:=U32 iptables extensions
  310. endef
  311. define Package/iptables-mod-u32/description
  312. U32 iptables extensions.
  313. Matches:
  314. - u32
  315. endef
  316. define Package/iptables-mod-checksum
  317. $(call Package/iptables/Module, +kmod-ipt-checksum)
  318. TITLE:=IP CHECKSUM target extension
  319. endef
  320. define Package/iptables-mod-checksum/description
  321. iptables extension for the CHECKSUM calculation target
  322. endef
  323. define Package/ip6tables
  324. $(call Package/iptables/Default)
  325. DEPENDS:=@IPV6 +kmod-ip6tables +iptables
  326. CATEGORY:=Network
  327. TITLE:=IPv6 firewall administration tool
  328. MENU:=1
  329. endef
  330. define Package/ip6tables-extra
  331. $(call Package/iptables/Default)
  332. DEPENDS:=ip6tables +kmod-ip6tables-extra
  333. TITLE:=IPv6 header matching modules
  334. endef
  335. define Package/ip6tables-mod-extra/description
  336. iptables header matching modules for IPv6
  337. endef
  338. define Package/ip6tables-mod-nat
  339. $(call Package/iptables/Default)
  340. DEPENDS:=ip6tables +kmod-ipt-nat6
  341. TITLE:=IPv6 NAT extensions
  342. endef
  343. define Package/ip6tables-mod-nat/description
  344. iptables extensions for IPv6-NAT targets.
  345. endef
  346. define Package/libiptc
  347. $(call Package/iptables/Default)
  348. SECTION:=libs
  349. CATEGORY:=Libraries
  350. DEPENDS:=+libip4tc +libip6tc +libxtables
  351. ABI_VERSION:=$(PKG_VERSION)
  352. TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub)
  353. endef
  354. define Package/libip4tc
  355. $(call Package/iptables/Default)
  356. SECTION:=libs
  357. CATEGORY:=Libraries
  358. TITLE:=IPv4 firewall - shared libiptc library
  359. ABI_VERSION:=$(PKG_VERSION)
  360. DEPENDS:=+libxtables
  361. endef
  362. define Package/libip6tc
  363. $(call Package/iptables/Default)
  364. SECTION:=libs
  365. CATEGORY:=Libraries
  366. TITLE:=IPv6 firewall - shared libiptc library
  367. ABI_VERSION:=$(PKG_VERSION)
  368. DEPENDS:=+libxtables
  369. endef
  370. define Package/libxtables
  371. $(call Package/iptables/Default)
  372. SECTION:=libs
  373. CATEGORY:=Libraries
  374. TITLE:=IPv4/IPv6 firewall - shared xtables library
  375. ABI_VERSION:=$(PKG_VERSION)
  376. DEPENDS:= \
  377. +IPTABLES_CONNLABEL:libnetfilter-conntrack \
  378. +IPTABLES_NFTABLES:libnftnl
  379. endef
  380. TARGET_CPPFLAGS := \
  381. -I$(PKG_BUILD_DIR)/include \
  382. -I$(LINUX_DIR)/user_headers/include \
  383. $(TARGET_CPPFLAGS)
  384. TARGET_CFLAGS += \
  385. -I$(PKG_BUILD_DIR)/include \
  386. -I$(LINUX_DIR)/user_headers/include \
  387. -ffunction-sections -fdata-sections \
  388. -DNO_LEGACY
  389. TARGET_LDFLAGS += \
  390. -Wl,--gc-sections
  391. CONFIGURE_ARGS += \
  392. --enable-shared \
  393. --enable-static \
  394. --enable-devel \
  395. --with-kernel="$(LINUX_DIR)/user_headers" \
  396. --with-xtlibdir=/usr/lib/iptables \
  397. --with-xt-lock-name=/var/run/xtables.lock \
  398. $(if $(CONFIG_IPTABLES_CONNLABEL),,--disable-connlabel) \
  399. $(if $(CONFIG_IPTABLES_NFTABLES),,--disable-nftables) \
  400. $(if $(CONFIG_IPV6),,--disable-ipv6)
  401. MAKE_FLAGS := \
  402. $(TARGET_CONFIGURE_OPTS) \
  403. COPT_FLAGS="$(TARGET_CFLAGS)" \
  404. KERNEL_DIR="$(LINUX_DIR)/user_headers/" PREFIX=/usr \
  405. KBUILD_OUTPUT="$(LINUX_DIR)" \
  406. BUILTIN_MODULES="$(patsubst ip6t_%,%,$(patsubst ipt_%,%,$(patsubst xt_%,%,$(IPT_BUILTIN) $(IPT_CONNTRACK-m) $(IPT_NAT-m))))"
  407. ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
  408. define Build/Configure/rebuild
  409. $(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.\?o -or -name \*.a | $(XARGS) rm -f
  410. rm -f $(PKG_BUILD_DIR)/.config_*
  411. rm -f $(PKG_BUILD_DIR)/.configured_*
  412. touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
  413. endef
  414. endif
  415. define Build/Configure
  416. $(Build/Configure/rebuild)
  417. $(Build/Configure/Default)
  418. endef
  419. define Build/InstallDev
  420. $(INSTALL_DIR) $(1)/usr/include
  421. $(INSTALL_DIR) $(1)/usr/include/iptables
  422. $(INSTALL_DIR) $(1)/usr/include/net/netfilter
  423. # XXX: iptables header fixup, some headers are not installed by iptables anymore
  424. $(CP) $(PKG_BUILD_DIR)/include/iptables/*.h $(1)/usr/include/iptables/
  425. $(CP) $(PKG_BUILD_DIR)/include/iptables.h $(1)/usr/include/
  426. $(CP) $(PKG_BUILD_DIR)/include/ip6tables.h $(1)/usr/include/
  427. $(CP) $(PKG_BUILD_DIR)/include/libipulog $(1)/usr/include/
  428. $(CP) $(PKG_BUILD_DIR)/include/libiptc $(1)/usr/include/
  429. $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
  430. $(INSTALL_DIR) $(1)/usr/lib
  431. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
  432. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip*tc.so* $(1)/usr/lib/
  433. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  434. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/xtables.pc $(1)/usr/lib/pkgconfig/
  435. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libip*tc.pc $(1)/usr/lib/pkgconfig/
  436. # XXX: needed by firewall3
  437. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext*.so $(1)/usr/lib/
  438. endef
  439. define Package/iptables/install
  440. $(INSTALL_DIR) $(1)/usr/sbin
  441. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xtables-multi $(1)/usr/sbin/
  442. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables{,-restore,-save} $(1)/usr/sbin/
  443. $(INSTALL_DIR) $(1)/usr/lib/iptables
  444. endef
  445. define Package/ip6tables/install
  446. $(INSTALL_DIR) $(1)/usr/sbin
  447. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables{,-restore,-save} $(1)/usr/sbin/
  448. endef
  449. define Package/libiptc/install
  450. $(INSTALL_DIR) $(1)/usr/lib
  451. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiptc.so* $(1)/usr/lib/
  452. endef
  453. define Package/libip4tc/install
  454. $(INSTALL_DIR) $(1)/usr/lib
  455. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip4tc.so* $(1)/usr/lib/
  456. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext4.so $(1)/usr/lib/
  457. endef
  458. define Package/libip6tc/install
  459. $(INSTALL_DIR) $(1)/usr/lib
  460. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip6tc.so* $(1)/usr/lib/
  461. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext6.so $(1)/usr/lib/
  462. endef
  463. define Package/libxtables/install
  464. $(INSTALL_DIR) $(1)/usr/lib
  465. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
  466. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext.so $(1)/usr/lib/
  467. endef
  468. define BuildPlugin
  469. define Package/$(1)/install
  470. $(INSTALL_DIR) $$(1)/usr/lib/iptables
  471. for m in $(patsubst xt_%,ipt_%,$(2)) $(patsubst ipt_%,xt_%,$(2)) $(patsubst xt_%,ip6t_%,$(2)) $(patsubst ip6t_%,xt_%,$(2)); do \
  472. if [ -f $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so ]; then \
  473. $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \
  474. fi; \
  475. done
  476. $(3)
  477. endef
  478. $$(eval $$(call BuildPackage,$(1)))
  479. endef
  480. $(eval $(call BuildPackage,iptables))
  481. $(eval $(call BuildPlugin,iptables-mod-conntrack-extra,$(IPT_CONNTRACK_EXTRA-m)))
  482. $(eval $(call BuildPlugin,iptables-mod-conntrack-label,$(IPT_CONNTRACK_LABEL-m)))
  483. $(eval $(call BuildPlugin,iptables-mod-extra,$(IPT_EXTRA-m)))
  484. $(eval $(call BuildPlugin,iptables-mod-physdev,$(IPT_PHYSDEV-m)))
  485. $(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m)))
  486. $(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m)))
  487. $(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m)))
  488. $(eval $(call BuildPlugin,iptables-mod-nat-extra,$(IPT_NAT_EXTRA-m)))
  489. $(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m)))
  490. $(eval $(call BuildPlugin,iptables-mod-cluster,$(IPT_CLUSTER-m)))
  491. $(eval $(call BuildPlugin,iptables-mod-clusterip,$(IPT_CLUSTERIP-m)))
  492. $(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
  493. $(eval $(call BuildPlugin,iptables-mod-hashlimit,$(IPT_HASHLIMIT-m)))
  494. $(eval $(call BuildPlugin,iptables-mod-rpfilter,$(IPT_RPFILTER-m)))
  495. $(eval $(call BuildPlugin,iptables-mod-led,$(IPT_LED-m)))
  496. $(eval $(call BuildPlugin,iptables-mod-tproxy,$(IPT_TPROXY-m)))
  497. $(eval $(call BuildPlugin,iptables-mod-tee,$(IPT_TEE-m)))
  498. $(eval $(call BuildPlugin,iptables-mod-u32,$(IPT_U32-m)))
  499. $(eval $(call BuildPlugin,iptables-mod-nflog,$(IPT_NFLOG-m)))
  500. $(eval $(call BuildPlugin,iptables-mod-trace,$(IPT_DEBUG-m)))
  501. $(eval $(call BuildPlugin,iptables-mod-nfqueue,$(IPT_NFQUEUE-m)))
  502. $(eval $(call BuildPlugin,iptables-mod-checksum,$(IPT_CHECKSUM-m)))
  503. $(eval $(call BuildPackage,ip6tables))
  504. $(eval $(call BuildPlugin,ip6tables-extra,$(IPT_IPV6_EXTRA-m)))
  505. $(eval $(call BuildPlugin,ip6tables-mod-nat,$(IPT_NAT6-m)))
  506. $(eval $(call BuildPackage,libiptc))
  507. $(eval $(call BuildPackage,libip4tc))
  508. $(eval $(call BuildPackage,libip6tc))
  509. $(eval $(call BuildPackage,libxtables))