r34327 - in /trunk/libnet-pcap-perl/debian: README.source changelog control patches/ patches/safe_signals.patch patches/series rules
thialme-guest at users.alioth.debian.org
thialme-guest at users.alioth.debian.org
Wed Apr 29 17:58:17 UTC 2009
Author: thialme-guest
Date: Wed Apr 29 17:58:12 2009
New Revision: 34327
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=34327
Log:
Patched Pcap.xs to avoid segfaults.
* 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.
* Add /me to Uploaders.
Added:
trunk/libnet-pcap-perl/debian/README.source
trunk/libnet-pcap-perl/debian/patches/
trunk/libnet-pcap-perl/debian/patches/safe_signals.patch
trunk/libnet-pcap-perl/debian/patches/series
Modified:
trunk/libnet-pcap-perl/debian/changelog
trunk/libnet-pcap-perl/debian/control
trunk/libnet-pcap-perl/debian/rules
Added: trunk/libnet-pcap-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/README.source?rev=34327&op=file
==============================================================================
--- trunk/libnet-pcap-perl/debian/README.source (added)
+++ trunk/libnet-pcap-perl/debian/README.source Wed Apr 29 17:58:12 2009
@@ -1,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.
Modified: trunk/libnet-pcap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/changelog?rev=34327&op=diff
==============================================================================
--- trunk/libnet-pcap-perl/debian/changelog (original)
+++ trunk/libnet-pcap-perl/debian/changelog Wed Apr 29 17:58:12 2009
@@ -1,8 +1,19 @@
libnet-pcap-perl (0.16-2) UNRELEASED; urgency=low
+ [Gregor Hermann]
* 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.
+ * Add /me to Uploaders.
- -- gregor herrmann <gregoa at debian.org> Sat, 06 Dec 2008 18:38:01 +0100
+ -- Franck Joncourt <franck.mail at dthconnex.com> Wed, 29 Apr 2009 19:46:22 +0200
libnet-pcap-perl (0.16-1) unstable; urgency=low
Modified: trunk/libnet-pcap-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/control?rev=34327&op=diff
==============================================================================
--- trunk/libnet-pcap-perl/debian/control (original)
+++ trunk/libnet-pcap-perl/debian/control Wed Apr 29 17:58:12 2009
@@ -3,9 +3,10 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ola Lundqvist <opal at debian.org>,
- gregor herrmann <gregoa at debian.org>
-Build-Depends: debhelper (>= 7), perl (>= 5.8), libpcap0.8-dev
- libtest-pod-perl
+ gregor herrmann <gregoa at debian.org>,
+ Franck Joncourt <franck.mail at dthconnex.com>
+Build-Depends: debhelper (>= 7), perl (>= 5.8), libpcap0.8-dev,
+ libtest-pod-perl, quilt
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/Net-Pcap/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-pcap-perl/
Added: trunk/libnet-pcap-perl/debian/patches/safe_signals.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/patches/safe_signals.patch?rev=34327&op=file
==============================================================================
--- trunk/libnet-pcap-perl/debian/patches/safe_signals.patch (added)
+++ trunk/libnet-pcap-perl/debian/patches/safe_signals.patch Wed Apr 29 17:58:12 2009
@@ -1,0 +1,21 @@
+Author: MartÃn Ferrari <tincho at debian.org>
+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.
+ 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);
Added: trunk/libnet-pcap-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/patches/series?rev=34327&op=file
==============================================================================
--- trunk/libnet-pcap-perl/debian/patches/series (added)
+++ trunk/libnet-pcap-perl/debian/patches/series Wed Apr 29 17:58:12 2009
@@ -1,0 +1,1 @@
+safe_signals.patch
Modified: trunk/libnet-pcap-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/rules?rev=34327&op=diff
==============================================================================
--- trunk/libnet-pcap-perl/debian/rules (original)
+++ trunk/libnet-pcap-perl/debian/rules Wed Apr 29 17:58:12 2009
@@ -1,11 +1,13 @@
#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh build
touch $@
-clean:
+clean: unpatch
dh $@
install: install-stamp
More information about the Pkg-perl-cvs-commits
mailing list