diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-04-27 09:36:01 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-04-27 09:36:01 +0000 |
commit | c58042910ed97dc1c9c76b4c4491640e6911a467 (patch) | |
tree | 449e3f28889cca891e865860a2c0d491ed3fed6a /rules/iptables.make | |
parent | af1eb3b0733abd216e2b7bd3e1058725830e4108 (diff) | |
download | ptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.gz ptxdist-c58042910ed97dc1c9c76b4c4491640e6911a467.tar.xz |
ipkgized
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2535 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/iptables.make')
-rw-r--r-- | rules/iptables.make | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/rules/iptables.make b/rules/iptables.make index a20f2fa9f..6578cf471 100644 --- a/rules/iptables.make +++ b/rules/iptables.make @@ -117,22 +117,29 @@ iptables_targetinstall_deps = $(STATEDIR)/iptables.compile $(STATEDIR)/iptables.targetinstall: $(iptables_targetinstall_deps) @$(call targetinfo, $@) + + @$(call install_init,default) + @$(call install_fixup,PACKAGE,iptables) + @$(call install_fixup,PRIORITY,optional) + @$(call install_fixup,VERSION,$(IPTABLES_VERSION)) + @$(call install_fixup,SECTION,base) + @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup,DEPENDS,libc) + @$(call install_fixup,DESCRIPTION,missing) + ifdef $(IPTABLES_INSTALL_IP6TABLES) - install -D $(IPTABLES_DIR)/ip6tables $(ROOTDIR)/sbin/ip6tables - $(CROSS_STRIP) -R .note -R .comment $(ROOTDIR)/sbin/ip6tables + @$(call install_copy, 0, 0, 0755, (IPTABLES_DIR)/ip6tables, /sbin/ip6tables) endif ifdef $(IPTABLES_INSTALL_IPTABLES) - install -D $(IPTABLES_DIR)/iptables $(ROOTDIR)/sbin/iptables - $(CROSS_STRIP) -R .note -R .comment $(ROOTDIR)/sbin/iptables + @$(call install_copy, 0, 0, 0755, (IPTABLES_DIR)/iptables, /sbin/iptables) endif ifdef $(IPTABLES_INSTALL_IPTABLES_RESTORE) - install -D $(IPTABLES_DIR)/iptables-restore $(ROOTDIR)/sbin/iptables-restore - $(CROSS_STRIP) -R .note -R .comment $(ROOTDIR)/sbin/iptables-restore + @$(call install_copy, 0, 0, 0755, (IPTABLES_DIR)/iptables-restore, /sbin/iptables-restore) endif ifdef $(IPTABLES_INSTALL_IPTABLES_SAVE) - install -D $(IPTABLES_DIR)/iptables $(ROOTDIR)/sbin/iptables-save - $(CROSS_STRIP) -R .note -R .comment $(ROOTDIR)/sbin/iptables + @$(call install_copy, 0, 0, 0755, (IPTABLES_DIR)/iptables-save, /sbin/iptables-save) endif + @$(call install_finish) touch $@ # ---------------------------------------------------------------------------- @@ -141,6 +148,7 @@ endif iptables_clean: rm -rf $(STATEDIR)/iptables.* + rm -rf $(IMAGEDIR)/iptables_* rm -rf $(IPTABLES_DIR) # vim: syntax=make |