iptables.mk 808 B

123456789101112131415161718192021222324252627
  1. #############################################################
  2. #
  3. # iptables
  4. #
  5. #############################################################
  6. IPTABLES_VERSION = 1.4.2
  7. IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
  8. IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
  9. IPTABLES_CONF_OPT = --libexecdir=/usr/lib --with-kernel=$(LINUX_HEADERS_DIR)
  10. ifneq ($(BR2_INET_IPV6),y)
  11. IPTABLES_CONF_OPT += --enable-ipv6=no
  12. endif
  13. IPTABLES_INSTALL_TARGET = YES
  14. IPTABLES_AUTORECONF = YES
  15. IPTABLES_DEPENDENCIES =
  16. $(eval $(call AUTOTARGETS,package,iptables))
  17. $(IPTABLES_TARGET_UNINSTALL):
  18. $(call MESSAGE,"Uninstalling")
  19. rm -f $(TARGET_DIR)/usr/bin/iptables-xml
  20. rm -f $(TARGET_DIR)/usr/sbin/iptables* $(TARGET_DIR)/usr/sbin/ip6tables*
  21. rm -rf $(TARGET_DIR)/usr/lib/xtables
  22. rm -f $(IPTABLES_TARGET_INSTALL_TARGET)