CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
tcpdump: updated to 4.1.1
authorVictor Martinez <pitillo@ono.com>
Thu, 8 Jul 2010 07:03:05 +0000 (07:03 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 8 Jul 2010 07:03:05 +0000 (07:03 +0000)
tcpdump/.md5sum
tcpdump/Pkgfile

index 21a8920e5ae00aa95dcbc7ba11a31961ba88b2a6..0cf9ce514507eeb9cd8f841cf58b723e8afbd5d4 100644 (file)
@@ -1 +1 @@
-b22ca72890df2301d922c9f2d17867f9  tcpdump-4.0.0.tar.gz
+d0dd58bbd6cd36795e05c6f1f74420b0  tcpdump-4.1.1.tar.gz
index 6aaa2f2a780748ae6e6c44a2fe829deb7d177e08..4707d3cb03a7e68486f18302fac3d024566c6be9 100644 (file)
@@ -5,23 +5,21 @@
 # Depends on: libpcap openssl
 
 name=tcpdump
-version=4.0.0
+version=4.1.1
 release=1
 source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
 
 build() {
-    cd $name-$version
-    echo "ac_cv_linux_vers=2" > config.cache
-    ./configure --build=$CHOST \
-                --host=$CTARGET \
-                --prefix=/usr \
-                --mandir=/usr/man \
-                --disable-ipv6 \
-                --cache-file=config.cache
-    sed -i 's|\-I/usr/include|\-I$(CLFS)/usr/include|g' Makefile
-    sed -i 's|LDFLAGS = \-L/usr/lib|LDFLAGS = \-L$(CLFS)/usr/lib|g' Makefile
-    sed -i -e '80 d' -e '81 d' -e '82 d' print-enc.c
-    make
-    make DESTDIR=$PKG install
-    rm $PKG/usr/sbin/tcpdump.$version
+  cd $name-$version
+  echo "ac_cv_linux_vers=2" > config.cache
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --disable-ipv6 \
+              --cache-file=config.cache
+  sed -i 's|\-I/usr/include|\-I$(CLFS)/usr/include|g' Makefile
+  make
+  make DESTDIR=$PKG install
+  rm $PKG/usr/sbin/tcpdump.$version
 }