summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-03 22:28:15 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-03 22:28:15 +0000
commitf84389921ec54b134e01875e268489ba353b147c (patch)
tree7507231b3225c8e73746062cc85e3e0f886d6eb1
parent479111c9c7f7cb844cf3d663147b2bc960b73c57 (diff)
iptables: bump version
- bump version to 1.4.2 - add uninstall target Patch by Olaf Rempel <razzor@kopf-tisch.de>
-rw-r--r--package/iptables/iptables.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index fbb5f18ce..93f2c32be 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -3,7 +3,7 @@
# iptables
#
#############################################################
-IPTABLES_VERSION = 1.4.1
+IPTABLES_VERSION = 1.4.2
IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
@@ -16,3 +16,10 @@ IPTABLES_CONFIGURE_OPT = --with-kernel=$(LINUX_HEADERS_DIR)
IPTABLES_MAKE_OPT = GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal GLIB_MKENUMS=$(HOST_GLIB)/bin/glib-mkenums
$(eval $(call AUTOTARGETS,package,iptables))
+
+$(IPTABLES_TARGET_UNINSTALL):
+ $(call MESSAGE,"Uninstalling")
+ rm -f $(TARGET_DIR)/usr/bin/iptables-xml
+ rm -f $(TARGET_DIR)/usr/sbin/iptables* $(TARGET_DIR)/usr/sbin/ip6tables*
+ rm -rf $(TARGET_DIR)/usr/lib/xtables
+ rm -f $(IPTABLES_TARGET_INSTALL_TARGET)