tcpdump: punt duplicate versioned binary
PATCH 1/1 tcpdump: punt duplicate versioned binary
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 <[email protected]>
--- package/tcpdump/tcpdump.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
package/tcpdump/tcpdump.mk +2 -0
@@ -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)
Signature · 1 line
1.7.3.2
PATCH 1/1 tcpdump: punt duplicate versioned binary
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mike" == Mike Frysinger <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard