r65237 - in /branches/upstream/libhttp-browserdetect-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL README 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:36:51 UTC 2010
Author: angelabad-guest
Date: Wed Nov 24 12:36:20 2010
New Revision: 65237
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65237
Log:
[svn-upgrade] new version libhttp-browserdetect-perl (1.20)
Added:
branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject
Modified:
branches/upstream/libhttp-browserdetect-perl/current/Build.PL
branches/upstream/libhttp-browserdetect-perl/current/Changes
branches/upstream/libhttp-browserdetect-perl/current/MANIFEST
branches/upstream/libhttp-browserdetect-perl/current/META.yml
branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL
branches/upstream/libhttp-browserdetect-perl/current/README
branches/upstream/libhttp-browserdetect-perl/current/dist.ini
branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm
branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t
branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml
Modified: branches/upstream/libhttp-browserdetect-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Build.PL?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Build.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Build.PL Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Changes?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Changes (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Changes Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/MANIFEST?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/MANIFEST (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/MANIFEST Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/META.yml?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/META.yml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/META.yml Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL Wed Nov 24 12:36:20 2010
@@ -31,7 +31,7 @@
'Exporter' => '0',
'vars' => '0'
},
- 'VERSION' => '1.19',
+ 'VERSION' => '1.20',
'test' => {
'TESTS' => 't/*.t'
}
Modified: branches/upstream/libhttp-browserdetect-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/README?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/README (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/README Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/dist.ini?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/dist.ini (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/dist.ini Wed Nov 24 12:36:20 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]
Added: branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject?rev=65237&op=file
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject (added)
+++ branches/upstream/libhttp-browserdetect-perl/current/http-browserdetect.komodoproject Wed Nov 24 12:36:20 2010
@@ -1,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Komodo Project File - DO NOT EDIT -->
+<project id="018c76ef-85a2-0d4c-87a2-15d228772baf" kpf_version="5" name="http-browserdetect.komodoproject">
+<preference-set idref="018c76ef-85a2-0d4c-87a2-15d228772baf">
+ <boolean id="import_live">1</boolean>
+</preference-set>
+</project>
Modified: branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t Wed Nov 24 12:36:20 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: branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml?rev=65237&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml Wed Nov 24 12:36:20 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