* [Buildroot] svn commit: trunk/buildroot/package/tcpdump
@ 2007-10-13 23:12 ulf at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: ulf at uclibc.org @ 2007-10-13 23:12 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-10-13 16:12:05 -0700 (Sat, 13 Oct 2007)
New Revision: 20249
Log:
Config update of tcpdump
Modified:
trunk/buildroot/package/tcpdump/tcpdump.mk
Changeset:
Modified: trunk/buildroot/package/tcpdump/tcpdump.mk
===================================================================
--- trunk/buildroot/package/tcpdump/tcpdump.mk 2007-10-13 23:11:17 UTC (rev 20248)
+++ trunk/buildroot/package/tcpdump/tcpdump.mk 2007-10-13 23:12:05 UTC (rev 20249)
@@ -26,6 +26,7 @@
$(TCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(TCPDUMP_SOURCE)
$(TCPDUMP_CAT) $(DL_DIR)/$(TCPDUMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(TCPDUMP_DIR) package/tcpdump tcpdump\*.patch
+ $(CONFIG_UPDATE) $(TCPDUMP_DIR)
touch $@
$(TCPDUMP_DIR)/.configured: $(TCPDUMP_DIR)/.unpacked
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tcpdump
@ 2007-09-01 19:42 aldot at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: aldot at uclibc.org @ 2007-09-01 19:42 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-09-01 12:42:11 -0700 (Sat, 01 Sep 2007)
New Revision: 19759
Log:
- add option to turn on SMB dump routines
- honour BR2_INET_IPV6
Modified:
trunk/buildroot/package/tcpdump/Config.in
trunk/buildroot/package/tcpdump/tcpdump.mk
Changeset:
Modified: trunk/buildroot/package/tcpdump/Config.in
===================================================================
--- trunk/buildroot/package/tcpdump/Config.in 2007-09-01 18:46:46 UTC (rev 19758)
+++ trunk/buildroot/package/tcpdump/Config.in 2007-09-01 19:42:11 UTC (rev 19759)
@@ -7,6 +7,13 @@
http://www.tcpdump.org/
+config BR2_PACKAGE_TCPDUMP_SMB
+ bool "smb dump support"
+ default n
+ depends on BR2_PACKAGE_TCPDUMP
+ help
+ enable possibly-buggy SMB printer
+
config BR2_PACKAGE_DHCPDUMP
bool "dhcpdump"
default n
Modified: trunk/buildroot/package/tcpdump/tcpdump.mk
===================================================================
--- trunk/buildroot/package/tcpdump/tcpdump.mk 2007-09-01 18:46:46 UTC (rev 19758)
+++ trunk/buildroot/package/tcpdump/tcpdump.mk 2007-09-01 19:42:11 UTC (rev 19759)
@@ -12,6 +12,12 @@
TCPDUMP_SOURCE:=tcpdump-$(TCPDUMP_VERSION).tar.gz
TCPDUMP_CAT:=$(ZCAT)
+ifneq ($(BR2_PACKAGE_TCPDUMP_SMB),y)
+TCPDUMP_ENABLE_SMB:=--disable-smb
+else
+TCPDUMP_ENABLE_SMB:=--enable-smb
+endif
+
$(DL_DIR)/$(TCPDUMP_SOURCE):
$(WGET) -P $(DL_DIR) $(TCPDUMP_SITE)/$(TCPDUMP_SOURCE)
@@ -37,7 +43,8 @@
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--without-crypto \
- --disable-smb \
+ $(TCPDUMP_ENABLE_SMB) \
+ $(DISABLE_IPV6) \
)
$(SED) '/HAVE_PCAP_DEBUG/d' $(TCPDUMP_DIR)/config.h
touch $@
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tcpdump
@ 2007-08-19 21:17 ulf at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: ulf at uclibc.org @ 2007-08-19 21:17 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-08-19 14:17:48 -0700 (Sun, 19 Aug 2007)
New Revision: 19572
Log:
move tcpdump from lib to usr/lib, simplify configure, general cleanup
Modified:
trunk/buildroot/package/tcpdump/Config.in
trunk/buildroot/package/tcpdump/dhcpdump.mk
trunk/buildroot/package/tcpdump/tcpdump.mk
Changeset:
Modified: trunk/buildroot/package/tcpdump/Config.in
===================================================================
--- trunk/buildroot/package/tcpdump/Config.in 2007-08-19 21:15:42 UTC (rev 19571)
+++ trunk/buildroot/package/tcpdump/Config.in 2007-08-19 21:17:48 UTC (rev 19572)
@@ -1,5 +1,6 @@
config BR2_PACKAGE_TCPDUMP
bool "tcpdump"
+ select BR2_PACKAGE_LIBPCAP
default n
help
A tool for network monitoring and data acquisition.
@@ -9,6 +10,6 @@
config BR2_PACKAGE_DHCPDUMP
bool "dhcpdump"
default n
- depends BR2_PACKAGE_TCPDUMP
+ select BR2_PACKAGE_LIBPCAP
help
A tool for monitoring dhcp requests using tcpdump.
Modified: trunk/buildroot/package/tcpdump/dhcpdump.mk
===================================================================
--- trunk/buildroot/package/tcpdump/dhcpdump.mk 2007-08-19 21:15:42 UTC (rev 19571)
+++ trunk/buildroot/package/tcpdump/dhcpdump.mk 2007-08-19 21:17:48 UTC (rev 19572)
@@ -19,7 +19,7 @@
$(DHCPDUMP_DIR)/.unpacked: $(DL_DIR)/$(DHCPDUMP_SOURCE)
$(DHCPDUMP_CAT) $(DL_DIR)/$(DHCPDUMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(DHCPDUMP_DIR)/.unpacked
+ touch $@
$(DHCPDUMP_DIR)/.configured: $(DHCPDUMP_DIR)/.unpacked
( \
@@ -32,31 +32,23 @@
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/lib \
- --libexecdir=/usr/lib \
--sysconfdir=/etc \
- --datadir=/usr/share \
--localstatedir=/var \
- --includedir=/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-build-cc="$(HOSTCC)" \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
)
- touch $(DHCPDUMP_DIR)/.configured
+ touch $@
$(DHCPDUMP_DIR)/dhcpdump: $(DHCPDUMP_DIR)/.configured
$(MAKE) CC="$(TARGET_CC)" -C $(DHCPDUMP_DIR)
-$(TARGET_DIR)/sbin/dhcpdump: $(DHCPDUMP_DIR)/dhcpdump
+$(TARGET_DIR)/usr/sbin/dhcpdump: $(DHCPDUMP_DIR)/dhcpdump
cp -af $< $@
-dhcpdump: uclibc zlib libpcap $(TARGET_DIR)/sbin/dhcpdump
+dhcpdump: uclibc zlib libpcap $(TARGET_DIR)/usr/sbin/dhcpdump
dhcpdump-clean:
- rm -f $(TARGET_DIR)/sbin/dhcpdump
+ rm -f $(TARGET_DIR)/usr/sbin/dhcpdump
-$(MAKE) -C $(DHCPDUMP_DIR) clean
dhcpdump-dirclean:
Modified: trunk/buildroot/package/tcpdump/tcpdump.mk
===================================================================
--- trunk/buildroot/package/tcpdump/tcpdump.mk 2007-08-19 21:15:42 UTC (rev 19571)
+++ trunk/buildroot/package/tcpdump/tcpdump.mk 2007-08-19 21:17:48 UTC (rev 19572)
@@ -34,18 +34,8 @@
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/lib \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --includedir=/usr/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-build-cc="$(HOSTCC)" \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
--without-crypto \
--disable-smb \
)
@@ -54,19 +44,19 @@
$(TCPDUMP_DIR)/tcpdump: $(TCPDUMP_DIR)/.configured
$(MAKE) CC="$(TARGET_CC)" \
- LDFLAGS="-L$(STAGING_DIR)/lib" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
LIBS="-lpcap" \
INCLS="-I. -I$(STAGING_DIR)/usr/include" \
-C $(TCPDUMP_DIR)
-$(TARGET_DIR)/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump
+$(TARGET_DIR)/usr/sbin/tcpdump: $(TCPDUMP_DIR)/tcpdump
cp -f $< $@
- $(STRIP) -s $@
+ $(STRIP) $@
-tcpdump: uclibc zlib libpcap $(TARGET_DIR)/sbin/tcpdump
+tcpdump: uclibc zlib libpcap $(TARGET_DIR)/usr/sbin/tcpdump
tcpdump-clean:
- rm -f $(TARGET_DIR)/sbin/tcpdump
+ rm -f $(TARGET_DIR)/usr/sbin/tcpdump
-$(MAKE) -C $(TCPDUMP_DIR) clean
tcpdump-dirclean:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-13 23:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-13 23:12 [Buildroot] svn commit: trunk/buildroot/package/tcpdump ulf at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2007-09-01 19:42 aldot at uclibc.org
2007-08-19 21:17 ulf at uclibc.org
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.