From fd7f06822931f2792073341e0d698f0c3456a0bf Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Thu, 30 Oct 2008 12:14:07 +0100 Subject: [PATCH] libpcap: update to 1.0.0 --- libpcap/.footprint | 81 +++++++++++++++++++++++++++++++++++++++++++--- libpcap/.md5sum | 2 +- libpcap/Pkgfile | 10 +++--- 3 files changed, 83 insertions(+), 10 deletions(-) diff --git a/libpcap/.footprint b/libpcap/.footprint index 3ef50ac5f..bf17897d1 100644 --- a/libpcap/.footprint +++ b/libpcap/.footprint @@ -1,13 +1,86 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pcap-config drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/pcap-bpf.h -rw-r--r-- root/root usr/include/pcap-namedb.h -rw-r--r-- root/root usr/include/pcap.h +drwxr-xr-x root/root usr/include/pcap/ +-rw-r--r-- root/root usr/include/pcap/bpf.h +-rw-r--r-- root/root usr/include/pcap/namedb.h +-rw-r--r-- root/root usr/include/pcap/pcap.h +-rw-r--r-- root/root usr/include/pcap/sll.h +-rw-r--r-- root/root usr/include/pcap/usb.h drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libpcap.a -lrwxrwxrwx root/root usr/lib/libpcap.so -> libpcap.so.0.9.8 -lrwxrwxrwx root/root usr/lib/libpcap.so.0 -> libpcap.so.0.9.8 --rwxr-xr-x root/root usr/lib/libpcap.so.0.9.8 +lrwxrwxrwx root/root usr/lib/libpcap.so -> libpcap.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libpcap.so.1 -> libpcap.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libpcap.so.1.0.0 drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/pcap-config.1.gz drwxr-xr-x root/root usr/man/man3/ --rw-r--r-- root/root usr/man/man3/pcap.3.gz +-rw-r--r-- root/root usr/man/man3/pcap.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_activate.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_breakloop.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_can_set_rfmon.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_close.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_compile.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_create.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_datalink.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_datalink_name_to_val.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_datalink_val_to_description.3pcap.gz -> pcap_datalink_val_to_name.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_datalink_val_to_name.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_dispatch.3pcap.gz -> pcap_loop.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump_close.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump_file.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump_flush.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_dump_fopen.3pcap.gz -> pcap_dump_open.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump_ftell.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_dump_open.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_file.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_fileno.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_findalldevs.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_fopen_offline.3pcap.gz -> pcap_open_offline.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_free_datalinks.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_freealldevs.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_freecode.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_get_selectable_fd.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_geterr.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_getnonblock.3pcap.gz -> pcap_setnonblock.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_inject.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_is_swapped.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_lib_version.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_list_datalinks.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_lookupdev.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_lookupnet.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_loop.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_major_version.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_minor_version.3pcap.gz -> pcap_major_version.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_next.3pcap.gz -> pcap_next_ex.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_next_ex.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_offline_filter.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_open_dead.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_open_live.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_open_offline.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_perror.3pcap.gz -> pcap_geterr.3pcap.gz +lrwxrwxrwx root/root usr/man/man3/pcap_sendpacket.3pcap.gz -> pcap_inject.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_buffer_size.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_datalink.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_promisc.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_rfmon.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_snaplen.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_set_timeout.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_setdirection.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_setfilter.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_setnonblock.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_snapshot.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_stats.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_statustostr.3pcap.gz +-rw-r--r-- root/root usr/man/man3/pcap_strerror.3pcap.gz +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/pcap-savefile.5.gz +drwxr-xr-x root/root usr/man/man7/ +-rw-r--r-- root/root usr/man/man7/pcap-filter.7.gz +-rw-r--r-- root/root usr/man/man7/pcap-linktype.7.gz diff --git a/libpcap/.md5sum b/libpcap/.md5sum index 3bd7123f0..c62d941c3 100644 --- a/libpcap/.md5sum +++ b/libpcap/.md5sum @@ -1 +1 @@ -5208f24d0328ee7c20b52c43eaa9aa0e libpcap-0.9.8.tar.gz +9ad1358c5dec48456405eac197a46d3d libpcap-1.0.0.tar.gz diff --git a/libpcap/Pkgfile b/libpcap/Pkgfile index d5e20fd3c..28fd16273 100644 --- a/libpcap/Pkgfile +++ b/libpcap/Pkgfile @@ -3,17 +3,17 @@ # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de name=libpcap -version=0.9.8 +version=1.0.0 release=1 source=(http://www.tcpdump.org/release/$name-$version.tar.gz) build () { cd $name-$version - ./configure --prefix=/usr \ - --mandir=/usr/man \ - --enable-ipv6 + install -d $PKG/usr/bin + sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in + ./configure --prefix=/usr --mandir=/usr/man make make DESTDIR=$PKG install install-shared - ln -s $name.so.$version $PKG/usr/lib/$name.so.0 + ln -s $name.so.$version $PKG/usr/lib/$name.so.1 ln -s $name.so.$version $PKG/usr/lib/$name.so }