r26875 - in /trunk/libgeo-ipfree-perl/debian: changelog control patches/ patches/fix_tests.patch patches/series rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Nov 14 21:32:48 UTC 2008


Author: gregoa
Date: Fri Nov 14 21:32:45 2008
New Revision: 26875

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26875
Log:
add patch fix_tests.patch to adjust the tests to the changed database

Added:
    trunk/libgeo-ipfree-perl/debian/patches/
    trunk/libgeo-ipfree-perl/debian/patches/fix_tests.patch
    trunk/libgeo-ipfree-perl/debian/patches/series
Modified:
    trunk/libgeo-ipfree-perl/debian/changelog
    trunk/libgeo-ipfree-perl/debian/control
    trunk/libgeo-ipfree-perl/debian/rules

Modified: trunk/libgeo-ipfree-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgeo-ipfree-perl/debian/changelog?rev=26875&op=diff
==============================================================================
--- trunk/libgeo-ipfree-perl/debian/changelog (original)
+++ trunk/libgeo-ipfree-perl/debian/changelog Fri Nov 14 21:32:45 2008
@@ -6,6 +6,7 @@
     - add debian/webgeo2ipct.pl by Claus Herwig (utility script for producing an
       updated ipscountry.dat file)
     - debian/copyright: information about the two new files
+    - add patch fix_tests.patch to adjust the tests to the changed database
     Closes: $bugnr
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 14 Nov 2008 21:53:39 +0100

Modified: trunk/libgeo-ipfree-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgeo-ipfree-perl/debian/control?rev=26875&op=diff
==============================================================================
--- trunk/libgeo-ipfree-perl/debian/control (original)
+++ trunk/libgeo-ipfree-perl/debian/control Fri Nov 14 21:32:45 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gustavo Franco <stratus at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>, Carlo Segre <segre at debian.org>, Gunnar Wolf <gwolf at debian.org>
-Build-Depends: debhelper (>= 5.0.0), cdbs
+Build-Depends: debhelper (>= 5.0.0), cdbs, quilt
 Build-Depends-Indep: perl(>= 5.6.0-16)
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Geo-IPfree/

Added: trunk/libgeo-ipfree-perl/debian/patches/fix_tests.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgeo-ipfree-perl/debian/patches/fix_tests.patch?rev=26875&op=file
==============================================================================
--- trunk/libgeo-ipfree-perl/debian/patches/fix_tests.patch (added)
+++ trunk/libgeo-ipfree-perl/debian/patches/fix_tests.patch Fri Nov 14 21:32:45 2008
@@ -1,0 +1,29 @@
+Author: gregor herrmann <gregoa at debian.org>
+Description: adjust tests to new database
+
+--- a/test.pl
++++ b/test.pl
+@@ -9,12 +9,12 @@
+ ######################### localhost
+ 
+ my ($country,$country_name,$ip) = Geo::IPfree::LookUp("127.0.0.1") ;
+-ok($country,'L0');
++ok($country,'ZZ');
+ 
+ ######################### intranet
+ 
+ my ($country,$country_name,$ip) = Geo::IPfree::LookUp("10.0.0.1") ;
+-ok($country,'I0');
++ok($country,'ZZ');
+ 
+ ######################### www.nic.br
+ 
+@@ -29,7 +29,7 @@
+ ######################### www.nic.fr
+ 
+ my ($country,$country_name,$ip) = Geo::IPfree::LookUp("192.134.4.20") ;
+-ok($country,'FR');
++ok($country,'EU');
+ 
+ #########################
+ 

Added: trunk/libgeo-ipfree-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgeo-ipfree-perl/debian/patches/series?rev=26875&op=file
==============================================================================
--- trunk/libgeo-ipfree-perl/debian/patches/series (added)
+++ trunk/libgeo-ipfree-perl/debian/patches/series Fri Nov 14 21:32:45 2008
@@ -1,0 +1,1 @@
+fix_tests.patch

Modified: trunk/libgeo-ipfree-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgeo-ipfree-perl/debian/rules?rev=26875&op=diff
==============================================================================
--- trunk/libgeo-ipfree-perl/debian/rules (original)
+++ trunk/libgeo-ipfree-perl/debian/rules Fri Nov 14 21:32:45 2008
@@ -3,6 +3,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/perlmodule.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 install/libgeo-ipfree-perl::
 	rm debian/libgeo-ipfree-perl/usr/share/perl5/Geo/ipct2txt.pl




More information about the Pkg-perl-cvs-commits mailing list