Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/iptables

Buildroot egtvedt at uclibc.org 2 participants 2 messages Sep 18, 2008

lore
Share & tools
lore
#0 lore raw

Author: egtvedt
Date: 2008-09-18 04:08:27 -0700 (Thu, 18 Sep 2008) New Revision: 23425

Log:
iptables: fix install rule to install everything in appropriate directories

This patch will install iptables with the install-strip command, and also use /usr/lib as target for the filter libraries.

Modified:
trunk/buildroot/package/iptables/iptables.mk

Changeset:
Modified: trunk/buildroot/package/iptables/iptables.mk
===================================================================

buildroot/package/iptables/iptables.mk +4 -5
@@ -7,14 +7,13 @@
 IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
 IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
 
-IPTABLES_INSTALL_STAGING = NO
+IPTABLES_CONF_OPT = --libexecdir=/usr/lib
 IPTABLES_INSTALL_TARGET = YES
-IPTABLES_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-exec-am
+IPTABLES_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip
 
 IPTABLES_AUTORECONF = YES
-IPTABLES_DEPENDENCIES = 
-IPTABLES_CONFIGURE_OPT = --with-kernel=$(LINUX_HEADERS_DIR) 
+IPTABLES_DEPENDENCIES =
+IPTABLES_CONFIGURE_OPT = --with-kernel=$(LINUX_HEADERS_DIR)
 IPTABLES_MAKE_OPT = GLIB_GENMARSHAL=/usr/bin/glib-genmarshal GLIB_MKENUMS=/usr/bin
 
 $(eval $(call AUTOTARGETS,package,iptables))
-
#1 lore raw
Quoted 11 lines · On Thu, 18 Sep 2008 04:08:27 -0700 (PDT) egtvedt at uclibc.org wrote:

Author: egtvedt
Date: 2008-09-18 04:08:27 -0700 (Thu, 18 Sep 2008) New Revision: 23425

Log:
iptables: fix install rule to install everything in appropriate directories

This patch will install iptables with the install-strip command, and also use /usr/lib as target for the filter libraries.

Sorry, this log message is not entirely accurate, the old install-exec-am did not install the filter libraries at all. Thus iptables did not work.

<snipp patch>

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt