r57343 - in /trunk/libnet-netmask-perl/debian: README.source changelog control patches/ patches/series patches/uselongdouble.patch rules
dom at users.alioth.debian.org
dom at users.alioth.debian.org
Sun May 2 16:58:04 UTC 2010
Author: dom
Date: Sun May 2 16:57:49 2010
New Revision: 57343
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57343
Log:
* Add quilt
* Add uselongdouble.patch: use POSIX::floor rather than int to avoid
a rounding error when used with a perl configured with -Duselongdouble
(Closes: #578847)
Added:
trunk/libnet-netmask-perl/debian/README.source
trunk/libnet-netmask-perl/debian/patches/
trunk/libnet-netmask-perl/debian/patches/series
trunk/libnet-netmask-perl/debian/patches/uselongdouble.patch
Modified:
trunk/libnet-netmask-perl/debian/changelog
trunk/libnet-netmask-perl/debian/control
trunk/libnet-netmask-perl/debian/rules
Added: trunk/libnet-netmask-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/README.source?rev=57343&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/README.source (added)
+++ trunk/libnet-netmask-perl/debian/README.source Sun May 2 16:57:49 2010
@@ -1,0 +1,2 @@
+This package uses quilt for patch management, Please see
+/usr/share/doc/quilt/README.source for full details.
Modified: trunk/libnet-netmask-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/changelog?rev=57343&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/changelog (original)
+++ trunk/libnet-netmask-perl/debian/changelog Sun May 2 16:57:49 2010
@@ -9,7 +9,13 @@
perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
permitted by Debian Policy 3.8.3).
- -- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:45:26 +0100
+ [ Dominic Hargreaves ]
+ * Add quilt
+ * Add uselongdouble.patch: use POSIX::floor rather than int to avoid
+ a rounding error when used with a perl configured with -Duselongdouble
+ (Closes: #578847)
+
+ -- Dominic Hargreaves <dom at earth.li> Sun, 02 May 2010 17:56:48 +0100
libnet-netmask-perl (1.9015-3) unstable; urgency=medium
Modified: trunk/libnet-netmask-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/control?rev=57343&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/control (original)
+++ trunk/libnet-netmask-perl/debian/control Sun May 2 16:57:49 2010
@@ -1,9 +1,9 @@
Source: libnet-netmask-perl
Section: perl
Priority: optional
-Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), dh-buildinfo, debhelper (>= 5.0.44), perl
+Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), dh-buildinfo, debhelper (>= 5.0.44), perl, quilt (>= 0.40)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jonas Smedegaard <dr at jones.dk>
+Uploaders: Jonas Smedegaard <dr at jones.dk>, Dominic Hargreaves <dom at earth.li>
Standards-Version: 3.7.3
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-netmask-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnet-netmask-perl/
Added: trunk/libnet-netmask-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/patches/series?rev=57343&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/patches/series (added)
+++ trunk/libnet-netmask-perl/debian/patches/series Sun May 2 16:57:49 2010
@@ -1,0 +1,1 @@
+uselongdouble.patch
Added: trunk/libnet-netmask-perl/debian/patches/uselongdouble.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/patches/uselongdouble.patch?rev=57343&op=file
==============================================================================
--- trunk/libnet-netmask-perl/debian/patches/uselongdouble.patch (added)
+++ trunk/libnet-netmask-perl/debian/patches/uselongdouble.patch Sun May 2 16:57:49 2010
@@ -1,0 +1,21 @@
+Index: libnet-netmask-perl/Netmask.pm
+===================================================================
+--- libnet-netmask-perl.orig/Netmask.pm 2010-05-02 17:40:16.000000000 +0100
++++ libnet-netmask-perl/Netmask.pm 2010-05-02 17:38:14.000000000 +0100
+@@ -28,6 +28,7 @@
+ use strict;
+ use warnings;
+ use Carp;
++use POSIX qw(floor);
+ use overload
+ '""' => \&desc,
+ '<=>' => \&cmp_net_netmask_block,
+@@ -462,7 +463,7 @@
+ my @result;
+ while ($end >= $start) {
+ my $maxsize = imaxblock($start, 32);
+- my $maxdiff = 32 - int(log($end - $start + 1)/log(2));
++ my $maxdiff = 32 - floor(log($end - $start + 1)/log(2));
+ $maxsize = $maxdiff if $maxsize < $maxdiff;
+ push (@result, bless {
+ 'IBASE' => $start,
Modified: trunk/libnet-netmask-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-netmask-perl/debian/rules?rev=57343&op=diff
==============================================================================
--- trunk/libnet-netmask-perl/debian/rules (original)
+++ trunk/libnet-netmask-perl/debian/rules Sun May 2 16:57:49 2010
@@ -9,6 +9,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
# Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST
include /usr/share/cdbs/1/class/perlmodule.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_UPSTREAM_PACKAGE = Net-Netmask
DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Net
More information about the Pkg-perl-cvs-commits
mailing list