Browse Source

tcpdump: added patch to not install an additional versioned tcpdump binary

user/amery/next/luajit
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
decc8bd8a8
  1. 31
      network/tcpdump/tcpdump-4.1.1-no-versioned-binary-install.patch

31
network/tcpdump/tcpdump-4.1.1-no-versioned-binary-install.patch

@ -0,0 +1,31 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../tcpdump/tcpdump-4.1.1-no-versioned-binary-install.patch
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Description: Do not install an additional versioned tcpdump binary
When running `make install` the tcpdump binary gets installed twice, first
without version suffix and the second time appending a version suffix.
--- tcpdump-4.1.1/Makefile.in.orig 2010-04-06 03:18:35.000000000 +0200
+++ tcpdump-4.1.1/Makefile.in 2012-01-26 08:10:37.605347384 +0100
@@ -403,7 +403,6 @@
[ -d $(DESTDIR)$(sbindir) ] || \
(mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
- $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG).`cat ${srcdir}/VERSION`
[ -d $(DESTDIR)$(mandir)/man1 ] || \
(mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
$(INSTALL_DATA) $(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
Loading…
Cancel
Save