* [Buildroot] [PATCH] tcpdump: punt duplicate versioned binary
@ 2010-11-27 23:55 Mike Frysinger
2010-11-29 9:34 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2010-11-27 23:55 UTC (permalink / raw)
To: buildroot
The tcpdump packag likes to install two binaries into /usr/sbin --
one named "tcpdump" and one named "tcpdump.<ver>". But it does this
by installing the file twice rather than using links. Since the alt
name is useless to us, just punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
package/tcpdump/tcpdump.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk
index e295e69..a359522 100644
--- a/package/tcpdump/tcpdump.mk
+++ b/package/tcpdump/tcpdump.mk
@@ -15,3 +15,5 @@ TCPDUMP_CONF_OPT:=--without-crypto \
TCPDUMP_DEPENDENCIES:=zlib libpcap
$(eval $(call AUTOTARGETS,package,tcpdump))
+
+TCPDUMP_INSTALL_TARGET_CMDS += && rm -f $(TARGET_DIR)/usr/sbin/tcpdump.$(TCPDUMP_VERSION)
--
1.7.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] tcpdump: punt duplicate versioned binary
2010-11-27 23:55 [Buildroot] [PATCH] tcpdump: punt duplicate versioned binary Mike Frysinger
@ 2010-11-29 9:34 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-11-29 9:34 UTC (permalink / raw)
To: buildroot
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> The tcpdump packag likes to install two binaries into /usr/sbin --
Mike> one named "tcpdump" and one named "tcpdump.<ver>". But it does this
Mike> by installing the file twice rather than using links. Since the alt
Mike> name is useless to us, just punt it.
Committed with a small change to use POST_INSTALL_TARGET_HOOKS instead,
thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-29 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-27 23:55 [Buildroot] [PATCH] tcpdump: punt duplicate versioned binary Mike Frysinger
2010-11-29 9:34 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox