aboutsummaryrefslogtreecommitdiff
path: root/package/tcpdump/tcpdump.mk
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-15 11:24:27 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-15 11:24:27 +0000
commit014ad48f5f026e0b6cf60d54a6db1f35382693ac (patch)
tree3b1631284d9e8afe2b208b259d1133bde742fee1 /package/tcpdump/tcpdump.mk
parentc1efa9b291f0aa1453ea6359cc6638c0e75b2ca7 (diff)
downloadbuildroot-014ad48f5f026e0b6cf60d54a6db1f35382693ac.tar.gz
buildroot-014ad48f5f026e0b6cf60d54a6db1f35382693ac.tar.bz2
- bump version
Diffstat (limited to 'package/tcpdump/tcpdump.mk')
-rw-r--r--package/tcpdump/tcpdump.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk
index 8892f96290..323383dfca 100644
--- a/package/tcpdump/tcpdump.mk
+++ b/package/tcpdump/tcpdump.mk
@@ -6,7 +6,7 @@
# Copyright (C) 2001-2003 by Erik Andersen <andersen@codepoet.org>
# Copyright (C) 2002 by Tim Riker <Tim@Rikers.org>
-TCPDUMP_VER:=3.9.4
+TCPDUMP_VER:=3.9.5
TCPDUMP_DIR:=$(BUILD_DIR)/tcpdump-$(TCPDUMP_VER)
TCPDUMP_SITE:=http://www.tcpdump.org/release
TCPDUMP_SOURCE:=tcpdump-$(TCPDUMP_VER).tar.gz
@@ -19,7 +19,8 @@ tcpdump-source: $(DL_DIR)/$(TCPDUMP_SOURCE)
$(TCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(TCPDUMP_SOURCE)
$(TCPDUMP_CAT) $(DL_DIR)/$(TCPDUMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(TCPDUMP_DIR)/.unpacked
+ toolchain/patch-kernel.sh $(TCPDUMP_DIR) package/tcpdump tcpdump*\.patch
+ touch $@
$(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked
( \
@@ -47,9 +48,10 @@ $(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked
--infodir=/usr/info \
--with-build-cc="$(HOSTCC)" \
--without-crypto \
+ --disable-smb \
)
$(SED) '/HAVE_PCAP_DEBUG/d' $(TCPDUMP_DIR)/config.h
- touch $(TCPDUMP_DIR)/.configured
+ touch $@
$(TCPDUMP_DIR)/tcpdump: $(TCPDUMP_DIR)/.configured
$(MAKE) CC="$(TARGET_CC)" \
@@ -59,7 +61,8 @@ $(TCPDUMP_DIR)/tcpdump: $(TCPDUMP_DIR)/.configured
-C $(TCPDUMP_DIR)
$(TARGET_DIR)/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump
- cp -af $< $@
+ cp -f $< $@
+ $(STRIP) -s $@
tcpdump: uclibc zlib libpcap $(TARGET_DIR)/sbin/tcpdump