r65239 - in /trunk/libhttp-browserdetect-perl: Build.PL Changes MANIFEST META.yml Makefile.PL README debian/changelog debian/copyright dist.ini http-browserdetect.komodoproject lib/HTTP/BrowserDetect.pm t/author-critic.t t/useragents.yaml

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Wed Nov 24 12:45:17 UTC 2010


Author: angelabad-guest
Date: Wed Nov 24 12:45:03 2010
New Revision: 65239

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65239
Log:
* New upstream release
* debian/copyright: Update license information

Added:
    trunk/libhttp-browserdetect-perl/http-browserdetect.komodoproject
      - copied unchanged from r65238, branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject
Modified:
    trunk/libhttp-browserdetect-perl/Build.PL
    trunk/libhttp-browserdetect-perl/Changes
    trunk/libhttp-browserdetect-perl/MANIFEST
    trunk/libhttp-browserdetect-perl/META.yml
    trunk/libhttp-browserdetect-perl/Makefile.PL
    trunk/libhttp-browserdetect-perl/README
    trunk/libhttp-browserdetect-perl/debian/changelog
    trunk/libhttp-browserdetect-perl/debian/copyright
    trunk/libhttp-browserdetect-perl/dist.ini
    trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm
    trunk/libhttp-browserdetect-perl/t/author-critic.t
    trunk/libhttp-browserdetect-perl/t/useragents.yaml

Modified: trunk/libhttp-browserdetect-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Build.PL?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Build.PL (original)
+++ trunk/libhttp-browserdetect-perl/Build.PL Wed Nov 24 12:45:03 2010
@@ -25,7 +25,7 @@
     'Olaf Alders <olaf at wundercounter.com> (current maintainer)'
   ],
   'dist_name' => 'HTTP-BrowserDetect',
-  'dist_version' => '1.19',
+  'dist_version' => '1.20',
   'license' => 'perl',
   'module_name' => 'HTTP::BrowserDetect',
   'recommends' => {},

Modified: trunk/libhttp-browserdetect-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Changes?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Changes (original)
+++ trunk/libhttp-browserdetect-perl/Changes Wed Nov 24 12:45:03 2010
@@ -1,5 +1,10 @@
 Revision history for Perl extension HTTP::BrowserDetect.
 
+1.20 2010-11-23
+    - Be a little more selective in marking ua as robot when contains search
+      or seek (Graham Barr)
+    - Add facebook crawler as a robot (Graham Barr) (Enrico Sorcinelli)
+    
 1.19 2010-09-24
     - Added support for WebOS (Jesse Thompson) RT #61437
 

Modified: trunk/libhttp-browserdetect-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/MANIFEST?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/MANIFEST (original)
+++ trunk/libhttp-browserdetect-perl/MANIFEST Wed Nov 24 12:45:03 2010
@@ -8,6 +8,7 @@
 README
 TODO
 dist.ini
+http-browserdetect.komodoproject
 lib/HTTP/BrowserDetect.pm
 t/01-detect.t
 t/author-critic.t

Modified: trunk/libhttp-browserdetect-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/META.yml?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/META.yml (original)
+++ trunk/libhttp-browserdetect-perl/META.yml Wed Nov 24 12:45:03 2010
@@ -15,7 +15,7 @@
   ExtUtils::MakeMaker: 6.31
   Module::Build: 0.3601
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,4 +27,4 @@
 resources:
   bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect
   repository: http://github.com/oalders/http-browserdetect
-version: 1.19
+version: 1.20

Modified: trunk/libhttp-browserdetect-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Makefile.PL?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Makefile.PL (original)
+++ trunk/libhttp-browserdetect-perl/Makefile.PL Wed Nov 24 12:45:03 2010
@@ -31,7 +31,7 @@
     'Exporter' => '0',
     'vars' => '0'
   },
-  'VERSION' => '1.19',
+  'VERSION' => '1.20',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: trunk/libhttp-browserdetect-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/README?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/README (original)
+++ trunk/libhttp-browserdetect-perl/README Wed Nov 24 12:45:03 2010
@@ -3,7 +3,7 @@
     an HTTP user agent string
 
 VERSION
-    version 1.19
+    version 1.20
 
 SYNOPSIS
         use HTTP::BrowserDetect;
@@ -304,6 +304,7 @@
    googlemobile
    msn (same as bing)
    puf
+   facebook
 CREDITS
     Lee Semel, lee at semel.net (Original Author)
 
@@ -355,6 +356,12 @@
     Heiko Weber
 
     Jon Jensen
+
+    Jesse Thompson
+
+    Graham Barr
+
+    Enrico Sorcinelli
 
 TO DO
     The _engine() method currently only handles Gecko. It needs to be

Modified: trunk/libhttp-browserdetect-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/debian/changelog?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/debian/changelog (original)
+++ trunk/libhttp-browserdetect-perl/debian/changelog Wed Nov 24 12:45:03 2010
@@ -1,8 +1,13 @@
-libhttp-browserdetect-perl (1.19-2) UNRELEASED; urgency=low
+libhttp-browserdetect-perl (1.20-1) unstable; urgency=low
 
+  [ Ansgar Burchardt ]
   * Update my email address.
+  
+  [ Angel Abad ]
+  * New upstream release
+  * debian/copyright: Update license information
 
- -- Ansgar Burchardt <ansgar at debian.org>  Mon, 01 Nov 2010 11:16:51 +0100
+ -- Angel Abad <angelabad at gmail.com>  Wed, 24 Nov 2010 13:44:47 +0100
 
 libhttp-browserdetect-perl (1.19-1) unstable; urgency=low
 

Modified: trunk/libhttp-browserdetect-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/debian/copyright?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/debian/copyright (original)
+++ trunk/libhttp-browserdetect-perl/debian/copyright Wed Nov 24 12:45:03 2010
@@ -20,8 +20,8 @@
  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'.
+ On Debian 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
@@ -29,5 +29,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of version 1 of the
- General Public License can be found in `/usr/share/common-licenses/GPL-1'.
+ On Debian systems, the complete text of version 1 of the General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libhttp-browserdetect-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/dist.ini?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/dist.ini (original)
+++ trunk/libhttp-browserdetect-perl/dist.ini Wed Nov 24 12:45:03 2010
@@ -5,7 +5,7 @@
 license = Perl_5
 copyright_holder = Lee Semel
 copyright_year   = 2010
-version = 1.19
+version = 1.20
 main_module = lib/HTTP/BrowserDetect.pm
 
 [MetaResources]
@@ -14,7 +14,7 @@
 repository.type   = git
 
 [@Classic]
-[AutoPrereq]
+[AutoPrereqs]
 [CriticTests]
 [ReadmeFromPod]
 [InstallGuide]

Modified: trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm (original)
+++ trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm Wed Nov 24 12:45:03 2010
@@ -1,7 +1,7 @@
 use strict;
 package HTTP::BrowserDetect;
 BEGIN {
-  $HTTP::BrowserDetect::VERSION = '1.19';
+  $HTTP::BrowserDetect::VERSION = '1.20';
 }
 
 use vars qw(@ISA @EXPORT @EXPORT_OK @ALL_TESTS);
@@ -70,7 +70,7 @@
     slurp       webtv       staroffice
     lotusnotes  konqueror   icab
     google      java        googlemobile
-    msn         msnmobile
+    msn         msnmobile   facebook
 );
 
 # Properties
@@ -409,6 +409,7 @@
     $tests->{WEBCRAWLER}   = ( index( $ua, "webcrawler" ) != -1 );
     $tests->{LINKEXCHANGE} = ( index( $ua, "lecodechecker" ) != -1 );
     $tests->{SLURP}        = ( index( $ua, "slurp" ) != -1 );
+    $tests->{FACEBOOK}     = ( index( $ua, "facebookexternalhit" ) != -1 );
     $tests->{ROBOT}        = (
         (          $tests->{WGET}
                 || $tests->{PUF}
@@ -425,13 +426,14 @@
                 || $tests->{GOOGLEMOBILE}
                 || $tests->{MSN}
                 || $tests->{MSNMOBILE}
+                || $tests->{FACEBOOK}
         )
             || index( $ua, "bot" ) != -1
             || index( $ua, "spider" ) != -1
             || index( $ua, "crawl" ) != -1
             || index( $ua, "agent" ) != -1
-            || index( $ua, "seek" ) != -1
-            || index( $ua, "search" ) != -1
+            || $ua =~ /seek (?! mo (?: toolbar )? \s+ \d+\.\d+ )/x
+            || $ua =~ /search (?! [\w\s]* toolbar \b | bar \b )/x
             || index( $ua, "reap" ) != -1
             || index( $ua, "worm" ) != -1
             || index( $ua, "find" ) != -1
@@ -1080,7 +1082,7 @@
 
 =head1 VERSION
 
-version 1.19
+version 1.20
 
 =head1 SYNOPSIS
 
@@ -1458,6 +1460,8 @@
 
 =head3 puf
 
+=head3 facebook
+
 =head1 CREDITS
 
 Lee Semel, lee at semel.net (Original Author)
@@ -1511,6 +1515,12 @@
 Heiko Weber
 
 Jon Jensen
+
+Jesse Thompson
+
+Graham Barr
+
+Enrico Sorcinelli
 
 =head1 TO DO
 

Modified: trunk/libhttp-browserdetect-perl/t/author-critic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/t/author-critic.t?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/t/author-critic.t (original)
+++ trunk/libhttp-browserdetect-perl/t/author-critic.t Wed Nov 24 12:45:03 2010
@@ -16,4 +16,5 @@
 
 eval "use Test::Perl::Critic";
 plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
+Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
 all_critic_ok();

Modified: trunk/libhttp-browserdetect-perl/t/useragents.yaml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/t/useragents.yaml?rev=65239&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/t/useragents.yaml (original)
+++ trunk/libhttp-browserdetect-perl/t/useragents.yaml Wed Nov 24 12:45:03 2010
@@ -2159,4 +2159,115 @@
 engine_string: KHTML
 device: webos
 device_name: webOS
-
+---
+useragent: 'facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)'
+match:
+  - robot
+  - facebook
+---
+useragent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.10 NET_mmhpset SearchToolbar/1.2'
+browser_string: Firefox
+language: EN
+country: US
+major: 3
+match:
+  - windows
+  - win32
+  - winnt
+minor: 0.6
+no_match:
+  - robot
+---
+useragent: 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 SearchToolbar'
+browser_string: Firefox
+language: EN
+country: US
+major: 3
+match:
+  - windows
+  - win32
+  - winnt
+minor: 0.6
+no_match:
+  - robot
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; GTB6.6; PicMorphSearchToolbar 1.2; InfoPath.2)'
+browser_string: MSIE
+major: 6
+match:
+  - windows
+  - win32
+  - winnt
+  - ie
+  - ie4up
+  - ie5up
+  - ie55up
+minor: 0
+no_match:
+  - robot
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.5; SearchToolbar 1.2)'
+browser_string: MSIE
+major: 6
+match:
+  - windows
+  - win32
+  - winnt
+  - ie
+  - ie4up
+  - ie5up
+  - ie55up
+minor: 0
+no_match:
+  - robot
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.5400; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Seekmo 10.0.430.0; 3P_UPCPC 1.0.21.2; .NET CLR 3.5.30729; Tablet PC 2.0; .NET CLR 3.0.30729; .NET4.0C)'
+browser_string: AOL Browser
+major: 7
+match:
+  - windows
+  - win32
+  - winnt
+  - dotnet
+  - ie
+  - ie7
+  - ie4up
+  - ie5up
+  - ie55up
+minor: 0
+no_match:
+  - robot
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; SeekmoToolbar 4.8.4)'
+browser_string: MSIE
+major: 7
+match:
+  - windows
+  - win32
+  - winnt
+  - dotnet
+  - ie
+  - ie7
+  - ie4up
+  - ie5up
+  - ie55up
+minor: 0
+no_match:
+  - robot
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6; .NET CLR 1.1.4322; Seekmo 10.3.79.0)'
+browser_string: MSIE
+major: 7
+match:
+  - windows
+  - win32
+  - winnt
+  - dotnet
+  - ie
+  - ie7
+  - ie4up
+  - ie5up
+  - ie55up
+minor: 0
+no_match:
+  - robot




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