--- libnet-pcap-perl-0.16.orig/debian/changelog +++ libnet-pcap-perl-0.16/debian/changelog @@ -0,0 +1,100 @@ +libnet-pcap-perl (0.16-2build1) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sun, 08 May 2011 13:20:57 +0100 + +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 + --- libnet-pcap-perl-0.16.orig/debian/rules +++ libnet-pcap-perl-0.16/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libnet-pcap-perl-0.16.orig/debian/watch +++ libnet-pcap-perl-0.16/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Net-Pcap/ .*/Net-Pcap-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libnet-pcap-perl-0.16.orig/debian/clean +++ libnet-pcap-perl-0.16/debian/clean @@ -0,0 +1,3 @@ +funcs.txt +const-xs.inc +const-c.inc --- libnet-pcap-perl-0.16.orig/debian/README.source +++ libnet-pcap-perl-0.16/debian/README.source @@ -0,0 +1,5 @@ +Quilt +=============================================================================== +This package uses quilt to manage all modifications to the upstream tarball. +So, you may have a look at the /usr/share/doc/quilt/README.source file to get +further information on how to use it. --- libnet-pcap-perl-0.16.orig/debian/libnet-pcap-perl.examples +++ libnet-pcap-perl-0.16/debian/libnet-pcap-perl.examples @@ -0,0 +1 @@ +eg/* --- libnet-pcap-perl-0.16.orig/debian/compat +++ libnet-pcap-perl-0.16/debian/compat @@ -0,0 +1 @@ +7 --- libnet-pcap-perl-0.16.orig/debian/control +++ libnet-pcap-perl-0.16/debian/control @@ -0,0 +1,23 @@ +Source: libnet-pcap-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Ola Lundqvist , + gregor herrmann , + Franck Joncourt +Build-Depends: debhelper (>= 7), perl (>= 5.8), libpcap0.8-dev, + libtest-pod-perl, quilt +Standards-Version: 3.8.1 +Homepage: http://search.cpan.org/dist/Net-Pcap/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-pcap-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnet-pcap-perl/ + +Package: libnet-pcap-perl +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends} +Description: Perl binding to the LBL pcap packet capture library + Net::Pcap module 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. --- libnet-pcap-perl-0.16.orig/debian/copyright +++ libnet-pcap-perl-0.16/debian/copyright @@ -0,0 +1,45 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Sebastien Aperghis-Tramoni +Upstream-Source: http://search.cpan.org/dist/Net-Pcap/ +Upstream-Name: Net-Pcap + +Files: * +Copyright: + Copyright (C) 2005-2008 Sébastien Aperghis-Tramoni. All rights reserved. + Portions are + Copyright (c) 2003 Marco Carnut. All rights reserved. + Copyright (c) 1999-2000 Tim Potter. All rights reserved. + Copyright (c) 1998 Bo Adler. All rights reserved. + Copyright (c) 1997 Peter Lister. All rights reserved. +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: ppport.h +Copyright: + Version 3.x, Copyright (c) 2004-2005, Marcus Holland-Moritz. + Version 2.x, Copyright (C) 2001, Paul Marquess. + Version 1.x, Copyright (C) 1999, Kenneth Albanowski. +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + © 2002-2004, Ola Lundqvist + © 2008, Gregor Herrmann + © 2009, Franck Joncourt +License: Artistic | 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 GNU/Linux 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 GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libnet-pcap-perl-0.16.orig/debian/patches/safe_signals.patch +++ libnet-pcap-perl-0.16/debian/patches/safe_signals.patch @@ -0,0 +1,22 @@ +Author: Martín Ferrari +Bugs: #508432, RT#43308 +Description: Do not allow pcap_loop to be interrupted by signals + Allowing pcap_loop to be interrupted by external signals causes segfaults + on i386 architectures. + This patch makes the Net::Pcap (0.16) module behave the same way as its + previous release. + Upstream is working on it since this feature can be useful for some people. + +--- libnet-pcap-perl.orig/Pcap.xs ++++ libnet-pcap-perl/Pcap.xs +@@ -410,10 +410,7 @@ + callback_fn = newSVsv(callback); + user = newSVsv(user); + +- SAVE_signals = PL_signals; /* Allow the call to be interrupted by signals */ +- PL_signals |= PERL_SIGNALS_UNSAFE_FLAG; + RETVAL = pcap_loop(p, cnt, callback_wrapper, (u_char *)user); +- PL_signals = SAVE_signals; + + SvREFCNT_dec(user); + SvREFCNT_dec(callback_fn); --- libnet-pcap-perl-0.16.orig/debian/patches/series +++ libnet-pcap-perl-0.16/debian/patches/series @@ -0,0 +1 @@ +safe_signals.patch