summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2012-06-14 16:59:26 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2012-06-14 17:02:36 +0200
commit0a3fa321ebcea4cffa6777feae4458a5744b0ec9 (patch)
treebd3151bfcaceb7843e74fd57f9bd6f0b100a1e5b /rules
parent36034cb14174b3eaf1692ccf8df0a54cd9a2d720 (diff)
downloadDistroKit-0a3fa321ebcea4cffa6777feae4458a5744b0ec9.tar.gz
DistroKit-0a3fa321ebcea4cffa6777feae4458a5744b0ec9.tar.xz
iptables: remove local version
It is identical with the version in ptxdist master. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/iptables.make145
1 files changed, 0 insertions, 145 deletions
diff --git a/rules/iptables.make b/rules/iptables.make
deleted file mode 100644
index 64af521..0000000
--- a/rules/iptables.make
+++ /dev/null
@@ -1,145 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2004 by Robert Schwebel
-# 2007 by Carsten Schlote, konzeptpark
-# 2008 by Juergen Beisert
-# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_IPTABLES) += iptables
-
-#
-# Paths and names
-#
-IPTABLES_VERSION := 1.4.14
-IPTABLES_MD5 := 5ab24ad683f76689cfe7e0c73f44855d
-IPTABLES := iptables-$(IPTABLES_VERSION)
-IPTABLES_SUFFIX := tar.bz2
-IPTABLES_URL := http://ftp.netfilter.org/pub/iptables/$(IPTABLES).$(IPTABLES_SUFFIX)
-IPTABLES_SOURCE := $(SRCDIR)/$(IPTABLES).$(IPTABLES_SUFFIX)
-IPTABLES_DIR := $(BUILDDIR)/$(IPTABLES)
-
-# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(IPTABLES_SOURCE):
- @$(call targetinfo)
- @$(call get, IPTABLES)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-IPTABLES_PATH := PATH=$(CROSS_PATH)
-IPTABLES_ENV := $(CROSS_ENV)
-
-#
-# autoconf
-#
-IPTABLES_AUTOCONF := \
- $(CROSS_AUTOCONF_USR) \
- $(GLOBAL_LARGE_FILE_OPTION) \
- --with-kernel=$(KERNEL_HEADERS_DIR) \
- --with-xtlibdir=/usr/lib \
- --enable-devel \
- --$(call ptx/endis, PTXCONF_IPTABLES_IPV4)-ipv4 \
- --$(call ptx/endis, PTXCONF_IPTABLES_IPV6)-ipv6 \
- --$(call ptx/endis, PTXCONF_IPTABLES_LIBIPQ)-libipq
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/iptables.install:
- @$(call targetinfo)
- @$(call install, IPTABLES)
- install $(IPTABLES_DIR)/iptables/iptables-apply $(IPTABLES_PKGDIR)/usr/sbin
- @$(touch)
-
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/iptables.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, iptables)
- @$(call install_fixup, iptables,PRIORITY,optional)
- @$(call install_fixup, iptables,SECTION,base)
- @$(call install_fixup, iptables,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
- @$(call install_fixup, iptables,DESCRIPTION,missing)
-
-# # install the basic libraries
- @$(call install_lib, iptables, 0, 0, 0644, libiptc)
- @$(call install_lib, iptables, 0, 0, 0644, libxtables)
-
-ifdef PTXCONF_IPTABLES_LIBIPQ
- @$(call install_lib, iptables, 0, 0, 0644, libipq)
-endif
-
- @cd $(IPTABLES_PKGDIR)/usr/lib && \
- for file in libxt_*.so; do \
- $(call install_copy, iptables, 0, 0, 0644, -,\
- /usr/lib/$$file); \
- done
-
-ifdef PTXCONF_IPTABLES_IPV6
-# # install the IPv6 relevant shared libraries
- @cd $(IPTABLES_PKGDIR)/usr/lib && \
- for file in libip6t_*.so; do \
- $(call install_copy, iptables, 0, 0, 0644, -, \
- /usr/lib/$$file); \
- done
- $(call install_lib, iptables, 0, 0, 0644, libip6tc)
-
-endif
-
-ifdef PTXCONF_IPTABLES_IPV4
-# # install the IPv4 relevant shared libraries
- @cd $(IPTABLES_PKGDIR)/usr/lib && \
- for file in libipt_*.so; do \
- $(call install_copy, iptables, 0, 0, 0644, -,\
- /usr/lib/$$file); \
- done
- $(call install_lib, iptables, 0, 0, 0644, libip4tc)
-endif
-
-ifdef PTXCONF_IPTABLES_INSTALL_TOOLS
- @$(call install_copy, iptables, 0, 0, 0755, -, /usr/sbin/xtables-multi)
-
- @$(call install_link, iptables, ../sbin/xtables-multi, /usr/bin/iptables-xml)
-
-ifdef PTXCONF_IPTABLES_IPV6
-# # IPv6 part
- @$(call install_link, iptables, xtables-multi, /usr/sbin/ip6tables)
- @$(call install_link, iptables, xtables-multi, /usr/sbin/ip6tables-restore)
- @$(call install_link, iptables, xtables-multi, /usr/sbin/ip6tables-save)
-endif
-
-ifdef PTXCONF_IPTABLES_IPV4
-# # IPv4 part
- @$(call install_link, iptables, xtables-multi, /usr/sbin/iptables)
- @$(call install_link, iptables, xtables-multi, /usr/sbin/iptables-restore)
- @$(call install_link, iptables, xtables-multi, /usr/sbin/iptables-save)
-endif
-endif
-
-ifdef PTXCONF_IPTABLES_INSTALL_IPTABLES_APPLY
- @$(call install_copy, iptables, 0, 0, 0755, -, /usr/sbin/iptables-apply)
-endif
-
- @$(call install_finish, iptables)
-
- @$(call touch)
-
-# vim: syntax=make