r37177 - in /trunk/liburi-perl: Changes META.yml Makefile.PL URI.pm URI/Escape.pm URI/QueryParam.pm URI/file.pm debian/changelog debian/control t/cwd.t t/heuristic.t

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Mon Jun 1 15:00:28 UTC 2009


Author: ryan52-guest
Date: Mon Jun  1 15:00:16 2009
New Revision: 37177

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37177
Log:
* New upstream release
* Add myself to Uploaders
* Debian Policy 3.8.1

Modified:
    trunk/liburi-perl/Changes
    trunk/liburi-perl/META.yml
    trunk/liburi-perl/Makefile.PL
    trunk/liburi-perl/URI.pm
    trunk/liburi-perl/URI/Escape.pm
    trunk/liburi-perl/URI/QueryParam.pm
    trunk/liburi-perl/URI/file.pm
    trunk/liburi-perl/debian/changelog
    trunk/liburi-perl/debian/control
    trunk/liburi-perl/t/cwd.t
    trunk/liburi-perl/t/heuristic.t

Modified: trunk/liburi-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/Changes?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/Changes (original)
+++ trunk/liburi-perl/Changes Mon Jun  1 15:00:16 2009
@@ -1,3 +1,18 @@
+2009-05-27   Gisle Aas <gisle at ActiveState.com>
+
+   Release 1.38
+
+   Ville Skyttä (3):
+      Spelling fixes.
+
+   Tatsuhiko Miyagawa (1):
+      skip DNS test if wildcard domain catcher (e.g. OpenDNS) is there
+
+   Gisle Aas (1):
+      Avoid "Insecure $ENV{PATH} while running with -T switch" error with perl-5.6.
+
+
+
 2008-06-16   Gisle Aas <gisle at ActiveState.com>
 
    Release 1.37
@@ -84,7 +99,7 @@
    Added uri_escape_utf8() function to URI::Escape module.
 
    Fixed abs/rel behaviour for sip: URIs.  Fixed by
-   Ville Skyttä <ville.skytta at iki.fi>.
+   Ville Skyttä <ville.skytta at iki.fi>.
 
    Avoid croaking on code like $u->query_form(a => { foo => 1 }).
    It will still not really do anything useful.
@@ -159,9 +174,9 @@
    the 'userinfo' delimiter.
 
    Make URI->query_form escape '[' and ']'.  These chars where added
-   to the reserved set in RFC 2732.  This also match MSIE behaviour.
-
-   Silience warning from 'sip' support class.
+   to the reserved set in RFC 2732.  This also matches MSIE behaviour.
+
+   Silence warning from 'sip' support class.
 
 
 
@@ -231,7 +246,7 @@
    CPAN-RT-Bug #1224.
 
    The host for URI::file was not unescaped.
-   Patch by Ville Skyttä <ville.skytta at iki.fi>.
+   Patch by Ville Skyttä <ville.skytta at iki.fi>.
 
 
 
@@ -269,7 +284,7 @@
 
    Don't try to come up with the e-mail address of the user as
    the anonymous password.
-   Patch by Eduardo Pérez <eperez at dei.inf.uc3m.es>.
+   Patch by Eduardo Pérez <eperez at dei.inf.uc3m.es>.
 
 
 
@@ -552,7 +567,7 @@
    Included URI::Escape and URI::Heuristic from LWP.  URI::Escape
    updated with new default set of characters to escape (according
    to RFC 2396) and a faster uri_unescape() function.  URI::Heuristic
-   with new funtion that returns an URI object.
+   updated with a new function that returns an URI object.
 
    First argument to URI->new is always treated as a string now.
 
@@ -623,8 +638,8 @@
 
    Protect literal % in various places by escaping
 
-   Path segments with parameters is not arrays of class URI::_segment,
-   which overload stingify operator.
+   Path segments with parameters are not arrays of class URI::_segment,
+   which overloads the stringify operator.
 
    URI::http->canonical will now unescape unreserved characters.
 

Modified: trunk/liburi-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/META.yml?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/META.yml (original)
+++ trunk/liburi-perl/META.yml Mon Jun  1 15:00:16 2009
@@ -1,13 +1,26 @@
 --- #YAML:1.0
-name:                URI
-version:             1.37
-abstract:            ~
-license:             ~
-author:              ~
-generated_by:        ExtUtils::MakeMaker version 6.42_01
-distribution_type:   module
-requires:     
-    MIME::Base64:                  2
+name:               URI
+version:            1.38
+abstract:           Uniform Resource Identifiers (absolute and relative)
+author:
+    - Gisle Aas <gisle at activestate.com>
+license:            perl
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    MIME::Base64:  2
+    perl:          5.004
+resources:
+    MailingList:  mailto:libwww at perl.org
+    repository:   http://gitorious.org/projects/perl-uri
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.4801
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4
+recommends:
+    Business::ISBN:  0

Modified: trunk/liburi-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/Makefile.PL?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/Makefile.PL (original)
+++ trunk/liburi-perl/Makefile.PL Mon Jun  1 15:00:16 2009
@@ -19,8 +19,43 @@
 WriteMakefile(
     'NAME'	   => 'URI',
     'VERSION_FROM' => 'URI.pm',
+    'ABSTRACT'     => 'Uniform Resource Identifiers (absolute and relative)',
+    'AUTHOR'       => 'Gisle Aas <gisle at activestate.com>',
+    'LICENSE'      => 'perl',
+    'MIN_PERL_VERSION' => 5.004,
     'PREREQ_PM'    => {	
-	                 'MIME::Base64' => 2,
-		      },
-    dist           => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+	'MIME::Base64' => 2,
+    },
+    'META_MERGE' => {
+        'recommends' => {
+            'Business::ISBN' => 0,
+        },
+        'resources' => {
+            'repository' => 'http://gitorious.org/projects/perl-uri',
+            'MailingList' => 'mailto:libwww at perl.org',
+        }
+    },
 );
+
+
+BEGIN {
+    # compatibility with older versions of MakeMaker
+    my $developer = -f ".gitignore";
+    my %mm_req = (
+        LICENCE => 6.31,
+        META_MERGE => 6.45,
+        META_ADD => 6.45,
+        MIN_PERL_VERSION => 6.48,
+    );
+    undef(*WriteMakefile);
+    *WriteMakefile = sub {
+        my %arg = @_;
+        for (keys %mm_req) {
+            unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) }) {
+                warn "$_ $@" if $developer;
+                delete $arg{$_};
+            }
+        }
+        ExtUtils::MakeMaker::WriteMakefile(%arg);
+    };
+}

Modified: trunk/liburi-perl/URI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/URI.pm?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/URI.pm (original)
+++ trunk/liburi-perl/URI.pm Mon Jun  1 15:00:16 2009
@@ -2,7 +2,7 @@
 
 use strict;
 use vars qw($VERSION);
-$VERSION = "1.37";
+$VERSION = "1.38";
 
 use vars qw($ABS_REMOTE_LEADING_DOTS $ABS_ALLOW_RELATIVE_SCHEME $DEFAULT_QUERY_FORM_DELIMITER);
 
@@ -107,7 +107,7 @@
     # preloaded (with 'use') implementation
     $ic = "URI::$scheme";  # default location
 
-    # turn scheme into a valid perl identifier by a simple tranformation...
+    # turn scheme into a valid perl identifier by a simple transformation...
     $ic =~ s/\+/_P/g;
     $ic =~ s/\./_O/g;
     $ic =~ s/\-/_/g;
@@ -622,7 +622,7 @@
 
 The $delim parameter can be passed as ";" to force the key/value pairs
 to be delimited by ";" instead of "&" in the query string.  This
-practice is often recommened for URLs embedded in HTML or XML
+practice is often recommended for URLs embedded in HTML or XML
 documents as this avoids the trouble of escaping the "&" character.
 You might also set the $URI::DEFAULT_QUERY_FORM_DELIMITER variable to
 ";" for the same global effect.

Modified: trunk/liburi-perl/URI/Escape.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/URI/Escape.pm?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/URI/Escape.pm (original)
+++ trunk/liburi-perl/URI/Escape.pm Mon Jun  1 15:00:16 2009
@@ -88,12 +88,12 @@
 
 but will even work for perl-5.6 for chars in the 128 .. 255 range.
 
-Note: Javascript has a function called escape() that produce the
+Note: Javascript has a function called escape() that produces the
 sequence "%uXXXX" for chars in the 256 .. 65535 range.  This function
 has really nothing to do with URI escaping but some folks got confused
 since it "does the right thing" in the 0 .. 255 range.  Because of
 this you sometimes see "URIs" with these kind of escapes.  The
-JavaScript encodeURI() function is similar to uri_escape_utf8().
+JavaScript encodeURIComponent() function is similar to uri_escape_utf8().
 
 =item uri_unescape($string,...)
 

Modified: trunk/liburi-perl/URI/QueryParam.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/URI/QueryParam.pm?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/URI/QueryParam.pm (original)
+++ trunk/liburi-perl/URI/QueryParam.pm Mon Jun  1 15:00:16 2009
@@ -181,7 +181,7 @@
 
 Note that sequence information is lost.  This means that:
 
-   $u->query_form_hash($u->query_form_hash)
+   $u->query_form_hash($u->query_form_hash);
 
 is not necessarily a no-op, as it may reorder the key/value pairs.
 The values returned by the query_param() method should stay the same

Modified: trunk/liburi-perl/URI/file.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/URI/file.pm?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/URI/file.pm (original)
+++ trunk/liburi-perl/URI/file.pm Mon Jun  1 15:00:16 2009
@@ -281,7 +281,7 @@
    The special value "localhost" is used in the host field to indicate
    that the filename should really be used on whatever host one is.
    This for example allows links to be made to files which are
-   distribted on many machines, or to "your unix local password file"
+   distributed on many machines, or to "your unix local password file"
    subject of course to consistency across the users of the data.
 
    A void host field is equivalent to "localhost".

Modified: trunk/liburi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/debian/changelog?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/debian/changelog (original)
+++ trunk/liburi-perl/debian/changelog Mon Jun  1 15:00:16 2009
@@ -1,3 +1,11 @@
+liburi-perl (1.38+dfsg-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Add myself to Uploaders
+  * Debian Policy 3.8.1
+
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Mon, 01 Jun 2009 08:00:07 -0700
+
 liburi-perl (1.37+dfsg-1) unstable; urgency=low
 
   [ Kees Cook ]

Modified: trunk/liburi-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/debian/control?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/debian/control (original)
+++ trunk/liburi-perl/debian/control Mon Jun  1 15:00:16 2009
@@ -5,8 +5,9 @@
 Build-Depends-Indep: perl (>= 5.6.0-16), libbusiness-isbn-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Stefan Hornburg (Racke) <racke at linuxia.de>,
- Kees Cook <kees at outflux.net>, Rene Mayorga <rmayorga at debian.org.sv>
-Standards-Version: 3.8.0
+ Kees Cook <kees at outflux.net>, Rene Mayorga <rmayorga at debian.org.sv>,
+ Ryan Niebur <ryanryan52 at gmail.com>
+Standards-Version: 3.8.1
 Homepage: http://search.cpan.org/dist/URI/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/liburi-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/liburi-perl/

Modified: trunk/liburi-perl/t/cwd.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/t/cwd.t?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/t/cwd.t (original)
+++ trunk/liburi-perl/t/cwd.t Mon Jun  1 15:00:16 2009
@@ -5,6 +5,7 @@
 plan tests => 1;
 
 use URI::file;
+$ENV{PATH} = "/bin:/usr/bin";
 
 my $cwd = eval { URI::file->cwd };
 ok($@, '');

Modified: trunk/liburi-perl/t/heuristic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liburi-perl/t/heuristic.t?rev=37177&op=diff
==============================================================================
--- trunk/liburi-perl/t/heuristic.t (original)
+++ trunk/liburi-perl/t/heuristic.t Mon Jun  1 15:00:16 2009
@@ -41,7 +41,7 @@
 }
 print "ok 5\n";
 
-if (gethostbyname("www.netscape.com")) {
+if (gethostbyname("www.netscape.com") && !gethostbyname("example.xyz")) {
     # DNS probably work, lets run test 6..8
 
     $URI::Heuristic::MY_COUNTRY = "bv";




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