瀏覽代碼

upgrading package: leo 1.25 -> 1.26

Ralf S. Engelschall 19 年之前
父節點
當前提交
7198b7ccb6
共有 2 個文件被更改,包括 9 次插入18 次删除
  1. 6 15
      leo/leo.patch
  2. 3 3
      leo/leo.spec

+ 6 - 15
leo/leo.patch

@@ -1,6 +1,6 @@
 Index: leo
---- leo.orig	2006-04-04 11:13:02 +0200
-+++ leo	2006-12-04 19:51:10 +0100
+--- leo.orig	2007-02-14 09:20:42 +0100
++++ leo	2007-02-14 20:03:04 +0100
 @@ -34,8 +34,8 @@
  #
  my $highlight = 1;
@@ -12,16 +12,7 @@ Index: leo
  
  my $ip        = "dict.leo.org";
  my $port      = "80";
-@@ -295,7 +295,7 @@
-     "$conf{user_agent}
- Host: $ghost
- Accept: text/*;q=1.0, image/png;q=1.0, image/jpeg;q=1.0, image/gif;q=1.0, image/*;q=0.8, */*;q=0.5
--Accept-Encoding: x-gzip; q=1.0, gzip; q=1.0, identity
-+Accept-Encoding: identity
- Accept-Charset: iso-8859-1;q=1.0, *;q=0.9, utf-8;q=0.8
- Accept-Language: en_US, en\r\n";
- 
-@@ -400,6 +400,9 @@
+@@ -399,6 +399,9 @@
    # remove javascript links
    $site =~ s/<a onclick[^>]*>//gsi;
  
@@ -31,7 +22,7 @@ Index: leo
    # make single line per entry
    my @segments = split /<\/TR>\s*<TR>/i, $site;
    my $progress;
-@@ -518,18 +521,13 @@
+@@ -517,18 +520,13 @@
      # dict entry
      $entry->{left} =~ s/^(.*)$/$1 . " " x ($maxsize - length($1))/e;
      if ($highlight) {
@@ -46,8 +37,8 @@ Index: leo
  
 -print "$copy_c" if $highlight;
 -print "\n     Fetched by leo $version via http://dict.leo.org/";
--print "\n     Copyright  ©  LEO  Dictionary Team 1995-2006";
--print "\n     [leo] GPL Copyleft © Thomas Linden 2000-2006\n\n";
+-print "\n     Copyright  ©  LEO  Dictionary Team 1995-2007";
+-print "\n     [leo] GPL Copyleft © Thomas Linden 2000-2007\n\n";
 -print "$default_c" if $highlight;
  
  

+ 3 - 3
leo/leo.spec

@@ -32,11 +32,11 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Searching
 License:      GPL
-Version:      1.25
-Release:      20061204
+Version:      1.26
+Release:      20070214
 
 #   list of sources
-Source0:      ftp://ftp.daemon.de/scip/Scripts/leo-%{version}.tar.gz
+Source0:      http://www.daemon.de/files/mirror/ftp.daemon.de/scip/Scripts/leo-%{version}.tar.gz
 Patch0:       leo.patch
 
 #   build information