SOURCES: clive-delfi.patch, clive-reporter.patch - updated for 2.1.10

lisu lisu at pld-linux.org
Mon Apr 27 11:30:19 CEST 2009


Author: lisu                         Date: Mon Apr 27 09:30:19 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 2.1.10

---- Files affected:
SOURCES:
   clive-delfi.patch (1.21 -> 1.22) , clive-reporter.patch (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/clive-delfi.patch
diff -u SOURCES/clive-delfi.patch:1.21 SOURCES/clive-delfi.patch:1.22
--- SOURCES/clive-delfi.patch:1.21	Tue Apr 21 08:26:10 2009
+++ SOURCES/clive-delfi.patch	Mon Apr 27 11:30:13 2009
@@ -1,22 +1,21 @@
---- clive-2.1.9/clive~  2009-03-30 11:55:42.000000000 +0200
-+++ clive-2.1.9/clive   2009-03-30 12:05:00.000000000 +0200
-@@ -85,6 +85,7 @@
-                  IsLiveleak  => qr|liveleak.com|i,
+--- clive-2.1.10/clive~ 2009-04-27 11:14:37.000000000 +0200
++++ clive-2.1.10/clive  2009-04-27 11:21:15.000000000 +0200
+@@ -87,6 +87,7 @@
                   IsEvisor    => qr|evisor.tv|i,
                   IsDmotion   => qr|dailymotion.com|i,
+                  IsCctv      => qr|tv.cctv.com|i,
 +                 IsDelfi     => qr|.delfi.|i,
                 );
 
- # Parse config
-@@ -324,6 +325,8 @@
-         ($xurl, $id) = handle_evisor($response_ref);
-     } elsif ($url =~ /$re_hosts{IsDmotion}/) {
-         ($xurl, $id) = handle_dmotion($response_ref);
-+    } elsif ( $url =~ /$re_hosts{IsDelfi}/ ) {
-+       ($xurl, $id) = handle_delfi($response_ref, $response_fh);
-     }
-     return -1
-         if !$xurl or !$id or !$title;
+ my @re_hosts_arr = (
+@@ -99,6 +100,7 @@
+                     [$re_hosts{IsEvisor},    \&handle_evisor],
+                     [$re_hosts{IsDmotion},   \&handle_dmotion],
+                     [$re_hosts{IsCctv},      \&handle_cctv],
++                    [$re_hosts{IsDelfi},     \&handle_delfi],
+                    );
+
+ # Parse config              
 @@ -992,6 +993,64 @@
      return ($xurl, $id);
  }

================================================================
Index: SOURCES/clive-reporter.patch
diff -u SOURCES/clive-reporter.patch:1.10 SOURCES/clive-reporter.patch:1.11
--- SOURCES/clive-reporter.patch:1.10	Mon Mar 30 12:11:59 2009
+++ SOURCES/clive-reporter.patch	Mon Apr 27 11:30:14 2009
@@ -1,22 +1,21 @@
---- clive-2.1.9/clive~  2009-03-30 12:13:37.000000000 +0200
-+++ clive-2.1.9/clive   2009-03-30 12:15:01.000000000 +0200
-@@ -86,6 +86,7 @@
-                  IsEvisor    => qr|evisor.tv|i,
+--- clive-2.1.10/clive~ 2009-04-27 11:29:24.000000000 +0200
++++ clive-2.1.10/clive  2009-04-27 11:30:52.000000000 +0200
+@@ -88,6 +88,7 @@
                   IsDmotion   => qr|dailymotion.com|i,
+                  IsCctv      => qr|tv.cctv.com|i,
                   IsDelfi     => qr|.delfi.|i,
 +                IsReporter  => qr|www.reporter.ee|i,
                 );
 
+ my @re_hosts_arr = (
+@@ -101,6 +102,7 @@
+                     [$re_hosts{IsDmotion},   \&handle_dmotion],
+                     [$re_hosts{IsCctv},      \&handle_cctv],
+                     [$re_hosts{IsDelfi},     \&handle_delfi],
++                   [$re_hosts{IsReporter},  \&handle_reporter],
+                    );
+
  # Parse config
-@@ -328,6 +328,8 @@
-         ($xurl, $id) = handle_dmotion($response_ref);
-     } elsif ( $url =~ /$re_hosts{IsDelfi}/ ) {
-        ($xurl, $id) = handle_delfi($response_ref, $response_fh);
-+    } elsif ( $url =~ /$re_hosts{IsReporter}/ ) {
-+       ($xurl, $id) = handle_reporter($response_ref, $response_fh);
-     }
-     return -1
-         if !$xurl or !$id or !$title;
 @@ -369,6 +372,14 @@
                          $content_ok = 1;
                      }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/clive-delfi.patch?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/clive-reporter.patch?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list