netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iptables: Fix connlabel.conf install location
@ 2013-06-10  9:35 Phil Oester
  2013-06-12  7:51 ` Florian Westphal
  2013-06-12  8:04 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 9+ messages in thread
From: Phil Oester @ 2013-06-10  9:35 UTC (permalink / raw)
  To: netfilter-devel; +Cc: pablo

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

As reported by Danny Rawlins in bug #828, connlabel.conf is unconditionally
installed in /etc/xtables instead of using prefix set at configure time.  Fix
to use sysconfdir variable.

This closes bugzilla #828.

Phil

Signed-off-by: Phil Oester <kernel@linuxace.com>



[-- Attachment #2: patch-828 --]
[-- Type: text/plain, Size: 675 bytes --]

diff --git a/Makefile.am b/Makefile.am
index cd008a1..73f1352 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,8 +25,8 @@ tarball:
 	rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};
 
 install-data-hook:
-	@mkdir -p -m 755 $(DESTDIR)/etc/xtables/ || :
-	@test -f /etc/xtables/connlabel.conf || $(INSTALL) -m 644 etc/xtables/connlabel.conf $(DESTDIR)/etc/xtables/connlabel.conf || :
+	@mkdir -p -m 755 @sysconfdir@/xtables/ || :
+	@test -f @sysconfdir@/xtables/connlabel.conf || $(INSTALL) -m 644 etc/xtables/connlabel.conf @sysconfdir@/xtables/connlabel.conf || :
 
 config.status: extensions/GNUmakefile.in \
 	include/xtables-version.h.in include/iptables/internal.h.in

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-07-03  0:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10  9:35 [PATCH] iptables: Fix connlabel.conf install location Phil Oester
2013-06-12  7:51 ` Florian Westphal
2013-06-12  8:50   ` Pablo Neira Ayuso
2013-06-12  9:08     ` Pablo Neira Ayuso
2013-06-12 10:06       ` Florian Westphal
2013-06-25 16:01         ` Pablo Neira Ayuso
2013-06-25 19:52           ` Florian Westphal
2013-07-03  0:13             ` Pablo Neira Ayuso
2013-06-12  8:04 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).