Name: libpcap Summary: A system-independent interface for user-level packet capture. Summary(ja): ユーザレベルでパケットをキャプチャするインターフェイス Version: 1.5.3 Release: 1%{?_dist_release} Epoch: 1 Group: System Environment/Libraries # XXX epoch is necessary to obsolete tcpdump-3.4a5 License: BSD URL: http://www.tcpdump.org/ Source0: http://www.tcpdump.org/release/libpcap-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: kernel-headers >= 2.2.0 BuildRequires: flex >= 2.4 BuildRequires: bison BuildRequires: openssl-devel BuildRequires: libnl-devel Vendor: Project Vine Distribution: Vine Linux Packager: daisuke %description Libpcap provides a portable framework for low-level network monitoring. Libpcap can provide network statistics collection, security monitoring and network debugging. Since almost every system vendor provides a different interface for packet capture, the libpcap authors created this system-independent API to ease in porting and to alleviate the need for several system-dependent packet capture modules in each application. Install libpcap if you need to do low-level network traffic monitoring on your network. %description -l ja Libpcap は低レベルでネットワークをモニタするためのポータブルなフレーム ワークを提供します.Libpcap はネットワークの統計を収集したり,セキュリ ティの為のモニタリングやネットワークのデバッグなどの用途に使用できます. ほぼ全てのシステムベンダがパケットのキャプチャに異なるインターフェイス を提供していたので,libpcap の作者は 移植性を良くして 各々のアプリケー ションにおける数々のシステムに依存したパケットキャプチャモジュールを 可能にするために,このシステムに依存しない API を作成しました. ネットワークの低レベルのトラフィックを監視する必要がある場合,libpcap をインストールして下さい. %package devel Summary: Development package for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} %description devel The %{name}-devel package contains the files needed for development with %{name}. %description devel -l ja %{name}-devel パッケージには,%{name} を使った開発に必要なファイルが 含まれています. %prep %setup -q %build %configure DEFS="-g -D_U_=\"\" -fPIC -DHAVE_CONFIG_H" %ifarch alpha sparc sparc64 DEFS="$DEFS -DHAVE_ETHER_HOSTTON=1 -DLBL_ALIGN=1" %endif make DEFS="$DEFS" %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_bindir} make DESTDIR=%{buildroot} install rm -f %{buildroot}%{_libdir}/libpcap.a %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README CHANGES %{_libdir}/libpcap.so.* %files devel %defattr(-,root,root) %{_bindir}/pcap-config %{_includedir}/pcap*.h %dir %{_includedir}/pcap %{_includedir}/pcap/* %{_libdir}/libpcap.so %{_mandir}/man1/* %{_mandir}/man3/* %{_mandir}/man5/* %{_mandir}/man7/* %changelog * Wed Jan 15 2014 Yoji TOYODA 1:1.5.3-1 - new upstream release * Fri Jun 22 2012 Yoji TOYODA 1:1.3.0-1 - new upstream release * Sat Apr 28 2012 Daisuke SUZUKI 1:1.2.1-2 - re-merge 1.1.1-3 * Wed Apr 11 2012 Daisuke SUZUKI 1:1.2.1-1 - update to 1.2.1 - remove R: kernel * Thu Mar 22 2012 MATSUBAYASHI Kohji - 1:1.1.1-3 - rebuild; remove *.a file * Sat Sep 18 2010 Ryoichi INAGAKI 1:1.1.1-2 - fixed header file location - added URL tag * Sun May 23 2010 Ryoichi INAGAKI 1:1.1.1-1 - new upstream release - dropt Patch50 - built with new toolchain - added BR: libnl-devel * Fri Apr 24 2009 Ryoichi INAGAKI 1:1.0.0-2vl5 - split devel package * Wed Oct 29 2008 Satoshi IWAMOTO 1:1.0.0-1vl5 - new upstream release - update Patch50 to fit 1.0.0 * Mon Apr 14 2008 Satoshi IWAMOTO 1:0.9.8-2vl5 - add BuildRequires: flex >= 2.4, bison * Sat Apr 12 2008 Ryoichi INAGAKI 1:0.9.8-1vl5 - new upstream release * Sat Sep 1 2007 Ryoichi INAGAKI 1:0.9.7-0vl1 - new upstream release * Sat Jul 7 2007 Ryoichi INAGAKI 1:0.9.6-0vl1 - new upstream release * Sun Aug 21 2005 Satoshi MACHINO 1:0.9.3-0vl1 - new upstream release * Sun Jun 13 2004 Daisuke SUZUKI 1:0.8.3-0vl1 - new upstream release * Sat Oct 11 2003 Ryoichi INAGAKI 1:0.7.2-0vl1 - updated to 0.7.2 - dropped patch52 - s/Copyright/License/ * Fri Feb 21 2003 Daisuke SUZUKI 1:0.7.1-0vl1 - libpcap standalone package splitted from tcpdump * Fri Feb 21 2003 Daisuke SUZUKI 1:3.7.1-0vl1 - update to new upstream release tcpdump 3.7.1 - drop unneeded patches - use autoconf213, automake14 - split arpwatch * Fri Feb 21 2003 Daisuke SUZUKI 1:3.6.2-13vl2 - add patch16 to fix print_bgp security bug - errata 20030221-3 * Wed Jun 12 2002 Daisuke SUZUKI 1:3.6.2-13vl1 - merged with 3.6.2-13 - fix buffer overflow for errata * Thu May 16 2002 Harald Hoyer 12:3.6.2-13 - added official 3.6.3 fix - fixed 6.2 compat #63113 * Wed Jan 23 2002 Harald Hoyer 12:3.6.2-12 - tcpdump-3.6.2-snaplen.patch added to fix #55145 * Tue Dec 18 2001 Harald Hoyer 12:3.6.2-10 - took old purge patch for filters - fixed #54225,#58346 - drop root by default #49635 - fixed #54593 - fixed #57711 * Thu Oct 25 2001 IWAI Masaharu - 3.6.2-9vl1 - used PRM macros - changed File Name to Package Name in Prereq tag - marged 3.6.2-9 (RedHat7.2) * Tue Jan 23 2001 MATSUBAYASHI 'Shaolin' Kohji - 3.4-19vl2 - use better macros * Thu Sep 21 2000 Yoshihiro Kajiki - add libpcap-0.4-guy-gerald.patch to fix the timeout problem (by Ethereal) - add Japanese summarys and descriptions - modify spec file to build as a normal user * Thu Feb 17 2000 Bernhard Rosenkraenzer - Compile shared libpcap with -fPIC (Bug #6342) * Wed Feb 02 2000 Cristian Gafton - fix descriptions - man pages are compressed * Wed Dec 22 1999 Jeff Johnson - remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40. - upgrade to ANK ss991030 snapshot with pcap magic fix (#6773). - add getprotobyname lookup (#6725). - getservbyname port lookup appears functional (#7569). - remove uid 2090 backdoor (sorry Dave) (#7116). * Thu Sep 09 1999 Cristian Gafton - fox the pcap.h header * Fri Aug 20 1999 Jeff Johnson - prevent segfault on obscure spoofed ip header (#4634). * Wed Aug 18 1999 Jeff Johnson - add defattr to arpwatch (#4591). * Mon Aug 16 1999 Bill Nottingham - initscript munging * Sun Aug 8 1999 Jeff Johnson - add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61. * Tue Aug 3 1999 Jeff Johnson - include A. Kuznetsov's patches to libpcap/tcpdump. - added arpsnmp to package (#3258). - arp2ethers written for different of awk (#4326). * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 10) * Fri Mar 19 1999 Jeff Johnson - strip binaries. * Wed Jan 13 1999 Bill Nottingham - autoconf fixes for arm * Tue Sep 29 1998 Jeff Johnson - libpcap description typo. * Sat Sep 19 1998 Jeff Johnson - fix arpwatch summary line. * Mon Aug 17 1998 Jeff Johnson - enable arpwatch * Mon Aug 3 1998 Jeff Johnson - separate package for libpcap. - update tcpdump to 3.4, libpcap to 0.4. - added arpwatch (but disabled for now) * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Sat May 2 1998 Alan Cox - Added the SACK printing fix so you can dump Linux 2.1+. * Tue Oct 21 1997 Erik Troan - updated to release 3.4a5 - uses a buildroot and %attr * Thu Jul 17 1997 Erik Troan - built against glibc * Fri Aug 31 2001 Harald Hoyer 12:3.6.2-9 - took better fix for #52654 from tcpdump cvs * Thu Aug 30 2001 Harald Hoyer 11:3.6.2-8 - fixed #52654 * Thu Jul 19 2001 Harald Hoyer 10:3.6.2-7 - added shared library to libpcap (#47174) - afs printing security patch (#49294) * Wed Jun 20 2001 Harald Hoyer - use initgroups, instead of setgroups * Mon Jun 18 2001 Harald Hoyer - added dropgroup patches (#44563) * Mon May 07 2001 Harald Hoyer - switched to Pekka's tcpdump-3.6.2 package - incremented epoch * Sat Apr 14 2001 Pekka Savola - fix building of tcpslice on glibc 2.2.2 (time.h) - disable /etc/init.d requirement and fix %post scripts in arpwatch * Wed Feb 14 2001 Harald Hoyer - glibc sys/time -> time include patch * Wed Feb 7 2001 Trond Eivind Glomsr - Add space to this check * Wed Feb 07 2001 Harald Hoyer - added check for presence of /etc/sysconfig/arpwatch (#23172) * Wed Feb 7 2001 Pekka Savola - update to 3.6.2, 0.6.2 and new CVS of tcpslice. - i18n'ize arpwatch init script * Fri Feb 2 2001 Trond Eivind Glomsr - i18nize initscript * Mon Jan 29 2001 Harald Hoyer - fixed EINTR stopping for e.g. SIGSTOP. (#22008) - added -u option for tcpdump (#20231) - new arpwatch version (#23172) - added "all" and "one" interface for -i (#20907) - added arpwatch sysconfig (#23172) * Mon Jan 22 2001 Harald Hoyer - more (potential) overflows in libpcap. #21373 - documentation fix for #20906 * Sun Jan 14 2001 Pekka Savola - use --enable-ipv6 - Add two patches from CVS to enhance 802.2 printing, and more importantly, to be able to specify 'no stp' * Sat Jan 13 2001 Pekka Savola - Make SMB printing output a lot more quiet unless in verbose mode. - Make -n resolve port/protocol numbers but not hostnames, -nn for no resolving at all - Separate droproot patch from a more generic man/usage fix one - Add non-promiscuous mode -by default patch, but don't apply it by default * Thu Jan 11 2001 Pekka Savola - Update to tcpdump 3.6.1 and libpcap 0.6.1 releases. * Mon Jan 8 2001 Pekka Savola - Update to 20010108 CVS, disable some upstreamed patches. - Change some additional .1 pages to .8. - Add droproot patch, some --usage and man page fixes. * Mon Jan 1 2001 Pekka Savola - Initial packaging with latest tcpdump.org CVS tcpdump-3.6 and libpcap-0.6. - add earlier print-domain.c, the latest is segfaulting - don't unnecesessarily include snprintf.o, it didn't compile with gcc 2.96 anyway - don't use savestr, require openssl, tweak tweak tweak - add tcpslice, patch it a bit for egcs detection * Sun Dec 31 2000 Pekka Savola - tcpdump: spice up the manpage about interfaces - tcpdump: add 'all' and 'any' keywords to -i, saner default behaviour. - upgrade arpwatch to 2.1a10 * Sun Nov 26 2000 Jeff Johnson - more (potential) overflows in libpcap. * Sun Nov 12 2000 Jeff Johnson - eliminate still more buffer overflows (from FreeBSD) (#20069). * Thu Nov 2 2000 Jeff Johnson - eliminate more buffer overflows (from FreeBSD) (#20069). - 802.1q ether type incorrect (#19850). - add -u flag to drop arpwatch privs (#19696). * Sun Oct 15 2000 Jeff Johnson - updated ethercodes.dat * Thu Oct 12 2000 Jeff Johnson - fix arpwatch tmp race (#18943). * Fri Aug 11 2000 Bill Nottingham - fix condrestart * Fri Aug 11 2000 Jeff Johnson - correct arpsnmp man pages (#15442). - don't print harmless ENOPROTOOPT message (#13518). * Fri Aug 4 2000 Jeff Johnson - rebuild with final kernel headers (#13518). * Sat Jul 22 2000 Jeff Johnson - add STP patch (#14112). * Fri Jul 14 2000 Matt Wilson - source /etc/init.d/functions - back out /etc/init.d/arpwatch, place file in /etc/rc.d - move initscript to /etc/init.d - changed initscript to use start() and stop() functions - added condrestart to init script - added %%post %%preun %%postun scripts to register arpwatch script - added Prereq: for all things needed in post/preun/postun * Wed Jul 12 2000 Prospector - automatic rebuild * Tue Jul 11 2000 Jeff Johnson - updated man page and help (pekkas@netcore.fi) (#10739 et al). * Sun Jun 18 2000 Jeff Johnson - FHS packaging. * Tue May 9 2000 Bill Nottingham - minor tweaks for ia64 (prototypes) * Thu Feb 17 2000 Bernhard Rosenkraenzer - Compile shared libpcap with -fPIC (Bug #6342) * Wed Feb 02 2000 Cristian Gafton - fix descriptions - man pages are compressed * Wed Dec 22 1999 Jeff Johnson - remove sparc64 SIOCGIFNAME hack, not needed with (at least) kernel 2.2.12-40. - upgrade to ANK ss991030 snapshot with pcap magic fix (#6773). - add getprotobyname lookup (#6725). - getservbyname port lookup appears functional (#7569). - remove uid 2090 backdoor (sorry Dave) (#7116). * Thu Sep 09 1999 Cristian Gafton - fox the pcap.h header * Fri Aug 20 1999 Jeff Johnson - prevent segfault on obscure spoofed ip header (#4634). * Wed Aug 18 1999 Jeff Johnson - add defattr to arpwatch (#4591). * Mon Aug 16 1999 Bill Nottingham - initscript munging * Sun Aug 8 1999 Jeff Johnson - add -DWORDS_BIGINDIAN to tcpdump compile on sparc sparc61. * Tue Aug 3 1999 Jeff Johnson - include A. Kuznetsov's patches to libpcap/tcpdump. - added arpsnmp to package (#3258). - arp2ethers written for different of awk (#4326). * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 10) * Fri Mar 19 1999 Jeff Johnson - strip binaries. * Wed Jan 13 1999 Bill Nottingham - autoconf fixes for arm * Tue Sep 29 1998 Jeff Johnson - libpcap description typo. * Sat Sep 19 1998 Jeff Johnson - fix arpwatch summary line. * Mon Aug 17 1998 Jeff Johnson - enable arpwatch * Mon Aug 3 1998 Jeff Johnson - separate package for libpcap. - update tcpdump to 3.4, libpcap to 0.4. - added arpwatch (but disabled for now) * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Sat May 2 1998 Alan Cox - Added the SACK printing fix so you can dump Linux 2.1+. * Tue Oct 21 1997 Erik Troan - updated to release 3.4a5 - uses a buildroot and %attr * Thu Jul 17 1997 Erik Troan - built against glibc