summaryrefslogtreecommitdiffstats
path: root/base/libpcap
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-06 23:47:40 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-06 23:47:40 +0100
commita17151ba35dd5a21fdd23d7a904eb87a3caf90d2 (patch)
tree27c558f11cc1d80ce19fb137350977ebfaf2bbe0 /base/libpcap
parent453339ac512555b1a454e6b002e5eebabdcebfbf (diff)
downloadnutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.gz
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.bz2
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.xz
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.zip
libpcap, déplacé dans base
Diffstat (limited to 'base/libpcap')
-rw-r--r--base/libpcap/.footprint87
-rw-r--r--base/libpcap/.md5sum1
-rw-r--r--base/libpcap/Pkgfile21
3 files changed, 109 insertions, 0 deletions
diff --git a/base/libpcap/.footprint b/base/libpcap/.footprint
new file mode 100644
index 000000000..87876ab82
--- /dev/null
+++ b/base/libpcap/.footprint
@@ -0,0 +1,87 @@
+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.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/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/pcap-config.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/pcap.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_activate.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_breakloop.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_can_set_rfmon.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_close.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_compile.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_create.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_datalink.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_datalink_name_to_val.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_datalink_val_to_description.3pcap.gz -> pcap_datalink_val_to_name.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_datalink_val_to_name.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_dispatch.3pcap.gz -> pcap_loop.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump_close.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump_file.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump_flush.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_dump_fopen.3pcap.gz -> pcap_dump_open.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump_ftell.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_dump_open.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_file.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_fileno.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_findalldevs.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_fopen_offline.3pcap.gz -> pcap_open_offline.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_free_datalinks.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_freealldevs.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_freecode.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_get_selectable_fd.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_geterr.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_getnonblock.3pcap.gz -> pcap_setnonblock.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_inject.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_is_swapped.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_lib_version.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_list_datalinks.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_lookupdev.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_lookupnet.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_loop.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_major_version.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_minor_version.3pcap.gz -> pcap_major_version.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_next.3pcap.gz -> pcap_next_ex.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_next_ex.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_offline_filter.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_open_dead.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_open_live.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_open_offline.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_perror.3pcap.gz -> pcap_geterr.3pcap.gz
+lrwxrwxrwx root/root usr/share/man/man3/pcap_sendpacket.3pcap.gz -> pcap_inject.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_buffer_size.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_datalink.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_promisc.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_rfmon.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_snaplen.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_set_timeout.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_setdirection.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_setfilter.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_setnonblock.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_snapshot.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_stats.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_statustostr.3pcap.gz
+-rw-r--r-- root/root usr/share/man/man3/pcap_strerror.3pcap.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/pcap-savefile.5.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/pcap-filter.7.gz
+-rw-r--r-- root/root usr/share/man/man7/pcap-linktype.7.gz
diff --git a/base/libpcap/.md5sum b/base/libpcap/.md5sum
new file mode 100644
index 000000000..c62d941c3
--- /dev/null
+++ b/base/libpcap/.md5sum
@@ -0,0 +1 @@
+9ad1358c5dec48456405eac197a46d3d libpcap-1.0.0.tar.gz
diff --git a/base/libpcap/Pkgfile b/base/libpcap/Pkgfile
new file mode 100644
index 000000000..c859ef511
--- /dev/null
+++ b/base/libpcap/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Fourni les fonctions niveau utilisateur pour le fitrage de paquets
+# URL: http://www.tcpdump.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=libpcap
+version=1.0.0
+release=1
+source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ install -d $PKG/usr/bin
+ sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+ make DESTDIR=$PKG install install-shared
+ ln -s $name.so.$version $PKG/usr/lib/$name.so.1
+ ln -s $name.so.$version $PKG/usr/lib/$name.so
+}