]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/tcpdump
Viele Pakete gemacht und ISO verkleinert.
[ipfire-2.x.git] / lfs / tcpdump
index 923907ace0fea3f38906ac797fc9187a05c0e83e..2ce6fc34c6b924fd8a6f803060e6cb3e7c84322a 100644 (file)
@@ -33,6 +33,12 @@ DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = tcpdump
+PAK_VER    = 1
+
+DESCDE     = "tcpdump kann Netzverkehr mitschneiden."
+DESCEN     = "tcpdump dumps networking traffic."
+DEPS       = ""
 
 ###############################################################################
 # Top-level Rules
@@ -52,6 +58,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist: 
+       @$(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -77,8 +86,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/tcpdump-3.8.2-bgp-dos-2.patch      #CAN 2005-1279
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/tcpdump-3.8.2-isis-dos.patch       #CAN 2005-1278
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/tcpdump-3.8.2-ldp-dos.patch        #CAN 2005-1279
-       cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
-       cd $(DIR_APP) && make DEFS="-D_U_=\"\" -DHAVE_CONFIG_H"
+       cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls --disable-ipv6
+       cd $(DIR_APP) && sed -i -e 's/#define\ HAVE_PCAP_DEBUG\ 1/#undef\ HAVE_PCAP_DEBUG/' config.h
+       cd $(DIR_APP) && make $(MAKETUNING) DEFS="-D_U_=\"\" -DHAVE_CONFIG_H"
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)