debian/0000755000000000000000000000000012231171513007162 5ustar debian/watch0000644000000000000000000000015312150172052010211 0ustar version=3 https://metacpan.org/release/Net-Pcap/ .*/Net-Pcap-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/clean0000644000000000000000000000004312150172052010163 0ustar funcs.txt const-xs.inc const-c.inc debian/rules0000755000000000000000000000003612150172052010240 0ustar #!/usr/bin/make -f %: dh $@ debian/copyright0000644000000000000000000000312112150172052011111 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net-Pcap Source: https://metacpan.org/release/Net-Pcap/ Upstream-Contact: Sebastien Aperghis-Tramoni Files: * Copyright: 1997, Peter Lister 1998, Bo Adler 1999-2000, Tim Potter 2003, Marco Carnut 2005-2009, Sebastien Aperghis-Tramoni License: Artistic or GPL-1+ Files: ppport.h Copyright: 2004-2010, Marcus Holland-Moritz 2001, Paul Marquess (Version 2.x) 1999, Kenneth Albanowski (Version 1.x) License: Artistic or GPL-1+ Files: debian/* Copyright: 2002, 2003, 2004, Ola Lundqvist 2002, Ben Burton 2002, Torsten Landschoff 2008-2011, gregor herrmann 2009, Franck Joncourt 2013, Xavier Guimard License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000012150172052010461 5ustar debian/source/format0000644000000000000000000000001412150172052011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012150172052010610 5ustar debian/patches/spelling-errors.patch0000644000000000000000000000106312150172052014760 0ustar Description: Spelling error Author: Xavier Guimard Bug: https://rt.cpan.org/Ticket/Display.html?id=83842 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=83842 Last-Update: 2013-03-09 --- a/Pcap.pm +++ b/Pcap.pm @@ -263,7 +263,7 @@ itself, but provides facilities so the user has full control of how signals are delivered. -First, there C function allows to select how +First, there C function allows one to select how signals are handled: pcap_perl_settings(PERL_SIGNALS_UNSAFE); debian/patches/fail-without-libpcap.patch0000644000000000000000000000334612150172052015663 0ustar Description: die instead of warn when libpcap isn't found otherwise the build proceeds and ends with an empty package Origin: vendor Bug-Debian: http://bugs.debian.org/633414 Forwarded: no Author: gregor herrmann Last-Update: 2013-05-21 --- a/Makefile.PL +++ b/Makefile.PL @@ -39,7 +39,7 @@ # in recent version and is the only function that can be called # with no argument. if ($has_Win32) { # ActivePerl, Cygwin - warn <<"REASON" and exit unless have_library('wpcap', 'blank', 'pcap'); + die <<"REASON" and exit unless have_library('wpcap', 'blank', 'pcap'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The WinPcap driver is not installed on this machine. \a @@ -48,7 +48,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - REASON - warn <<"REASON" unless have_library('wpcap', 'pcap_lib_version', 'pcap'); + die <<"REASON" unless have_library('wpcap', 'pcap_lib_version', 'pcap'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to lack the WinPcap developer pack. \a @@ -64,7 +64,7 @@ REASON } else { # other systems (Unix) - warn <<"REASON" and exit unless have_library('pcap'); + die <<"REASON" and exit unless have_library('pcap'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to lack the pcap(3) library. \a @@ -79,7 +79,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - REASON - warn <<"REASON" unless have_library('pcap', 'pcap_lib_version'); + die <<"REASON" unless have_library('pcap', 'pcap_lib_version'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to have an old version of the pcap library. \a debian/patches/series0000644000000000000000000000016112150172052012023 0ustar 0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch spelling-errors.patch fail-without-libpcap.patch debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch0000644000000000000000000000154112150172052023552 0ustar Description: Append CCFLAGS to $Config{ccflags} instead of overriding it As discussed in [rt.cpan.org #68613], overriding $Config{ccflags} breaks XS extensions on Perl 5.14 / x86. This manifests in > looking for -lpcap... no because the test distribution in .testlink/ fails its test suite. . Manually append to $Config{ccflags} as a change in EU::MM seems improbable. Author: Niko Tyni Bug-Debian: http://bugs.debian.org/629302 Forwarded: no, but see RT#68613 Reviewed-By: Xavier Guimard Last-Update: 2013-03-09 --- a/Makefile.PL +++ b/Makefile.PL @@ -22,7 +22,7 @@ cygwin_pcap_headers(); } else { - $options{CCFLAGS} = "-Wall -Wwrite-strings" + $options{CCFLAGS} = $Config{ccflags} . " -Wall -Wwrite-strings" if $Config{ccname} eq "gcc" and $] >= 5.006; $options{LIBS} = '-lpcap'; } debian/compat0000644000000000000000000000000212150172052010357 0ustar 9 debian/control0000644000000000000000000000231712150172052010567 0ustar Source: libnet-pcap-perl Maintainer: Debian Perl Group Uploaders: Ola Lundqvist , gregor herrmann , Franck Joncourt , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), libpcap0.8-dev, libtest-pod-perl, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-pcap-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-pcap-perl.git Homepage: https://metacpan.org/release/Net-Pcap/ Package: libnet-pcap-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl binding to the LBL pcap packet capture library Net::Pcap allows the user to interface with the LBL pcap(3) library. Libpcap describes itself as "a system-independent interface for user-level packet capture. Libpcap provides a portable framework for low-level network monitoring." This modules gives a program the ability to capture data from a network interface in a similar way tcpdump does. debian/libnet-pcap-perl.examples0000644000000000000000000000000512150172052014052 0ustar eg/* debian/changelog0000644000000000000000000001227012231171513011036 0ustar libnet-pcap-perl (0.17-1build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:26:35 +0100 libnet-pcap-perl (0.17-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ Xavier Guimard ] * Imported Upstream version 0.17 * Update debian/copyright (years and format) * Bump Standards-Version to 3.9.4 * Bump debhelper compatibility to 9 to get hardening flags * Remove safe_signals patch now included in upstream * Add spelling patch (reported to RT) * Refresh ccflags patch [ gregor herrmann ] * Add a patch to make Makefile.PL die if libpcap isn't found. (Closes: #633414) -- Xavier Guimard Sat, 25 May 2013 08:23:59 +0200 libnet-pcap-perl (0.16-3) unstable; urgency=low [ Franck Joncourt ] * Minimized debian/rules: + Refreshed debian/rules + Updated BD versions on debhelper and quilt to be able to use dh --with quilt [ gregor herrmann ] * debian/control: improve long description, thanks to Peter Pentchev for spotting. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Add patch by Niko Tyni to work with perl 5.14 (closes: #629302). * Switch to source format 3.0 (quilt); drop quilt framework. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.2, drop version from perl build dependency. * debian/copyright: refresh formatting. -- gregor herrmann Sun, 10 Jul 2011 21:39:19 +0200 libnet-pcap-perl (0.16-2) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: ${misc:Depends} to Depends: field. [ Franck Joncourt ] * Do not allow the pcap loop function to be interrupted by signals. It happens this causes segfault. (Closes: #508432) - Documented the usage of quilt through README.source. - Added Build-dependency on quilt in d.control - Updated d.rules - Added safe_signal.patch. This patch makes Net::Pcap behave the same way as its previous release. * Set Standards-Version to 3.8.1 (no changes). * Removed the created const-xs.inc and const-c.inc during clean. * d.copyright: add © symbol for Debian copyright holders. * d.control: - Add /me to Uploaders. - Refresh both short and long descriptions -- Franck Joncourt Wed, 29 Apr 2009 19:46:22 +0200 libnet-pcap-perl (0.16-1) unstable; urgency=low * Take over for the Debian Perl Group on maintainer's request (http://lists.debian.org/debian-perl/2008/11/msg00047.html). * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Changed: Maintainer set to Debian Perl Group (was: Ola Lundqvist ); Ola Lundqvist moved to Uploaders. * debian/watch: use dist-based URL. * New upstream release (closes: #329635). Includes fixes for - "pcap_setnonblock and pcap_getnonblocl implementation" (closes: #270942) - "Example/test 07-stats.t fails" (closes: #272869) * Remove README.Debian, which just points to a manpage. * Don't install README anymore, just a text version of the POD documentation. * Install "real" examples instead of test scripts. * Set debhelper compatibility level to 7; adapt debian/{control,compat,rules}. * Set Standards-Version to 3.8.0 (no changes). * debian/copyright: switch to new format. * Remove the created funcs.txt during clean. * debian/control: - build depend on libpcap0.8-dev instead of (transitional) libpcap-dev - mention module name in long description - add /me to Uploaders - add build dependency on libtest-pod-perl to enable an additional test (various other tests depend on not existing packages or are not functional) - change Section to perl -- gregor herrmann Thu, 13 Nov 2008 23:33:45 +0100 libnet-pcap-perl (0.04-3) unstable; urgency=low * Added directory t from sources to examples directory, closes: #203294. * Updated standards version to 3.6.1. -- Ola Lundqvist Sat, 14 Aug 2004 22:46:37 +0200 libnet-pcap-perl (0.04-2) unstable; urgency=low * Updated standards version from 3.5.2 to 3.5.8. * Fixed description line. * Maintainer keepup, closes: #158964. * Rebuilt using latest libpcap-dev, closes: #156213. -- Ola Lundqvist Fri, 18 Jul 2003 13:54:15 +0200 libnet-pcap-perl (0.04-1.2) unstable; urgency=low * NMU: Rebuilt against perl 5.8, closes: #158964. -- Ben Burton Sun, 1 Sep 2002 11:12:15 +1000 libnet-pcap-perl (0.04-1.1) unstable; urgency=low * Non maintainer upload * Rebuilt with new libpcap to remove dependency on libpcap0, which I got removed from unstable by accident. Sorry about this... -- Torsten Landschoff Sat, 10 Aug 2002 11:37:10 +0200 libnet-pcap-perl (0.04-1) unstable; urgency=low * Initial release, closes: #140191. -- Ola Lundqvist Wed, 27 Mar 2002 22:37:04 +0100