Update to development version 2.5.28 patch kit s1

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-02-23 23:48:40 +00:00
parent b12e182283
commit eb6dc7f1d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129628
6 changed files with 6 additions and 42 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mldonkey
PORTVERSION= 2.5.28.p
PORTVERSION= 2.5.28.s1
PORTREVISION= 2
CATEGORIES+= net
MASTER_SITES= http://download.berlios.de/pub/mldonkey/spiralvoice/cvs/

View File

@ -1,4 +1,4 @@
MD5 (mldonkey-2.5.28.tar.bz2) = bee2811a76f83c543ca19e45a9d04ff4
SIZE (mldonkey-2.5.28.tar.bz2) = 2767585
MD5 (patch_pack28p.gz) = f08a21cc3f5f39cea741e054eed49f2c
SIZE (patch_pack28p.gz) = 84638
MD5 (patch_pack28s1.gz) = b1030e702611914f4104dff52889ec39
SIZE (patch_pack28s1.gz) = 100551

View File

@ -1,18 +0,0 @@
--- src/networks/fileTP/fileTPInteractive.ml.orig Mon Jan 31 00:29:00 2005
+++ src/networks/fileTP/fileTPInteractive.ml Mon Jan 31 00:32:08 2005
@@ -354,13 +354,13 @@
let rec op_network_parse_url url =
lprintf "filetp.op_network_parse_url\n";
- let location_regexp = "Location: \([^\n]+\)\n" in
+ let location_regexp = "Location: \\(.*\\)" in
let real_url = get_regexp_string url (Str.regexp location_regexp) in
lprintf "real url: %s\n" real_url;
if (is_http_torrent url real_url) then false else
if (String2.check_prefix real_url "http://") then (
lprintf "http download\n";
- let length_regexp = "Content-Length: \([0-9]+\)\n" in
+ let length_regexp = "Content-Length: \\(.*\\)" in
try let length = get_regexp_int url (Str.regexp length_regexp) in
if (length > 0) then begin
download_file real_url; true

View File

@ -6,7 +6,7 @@
#
PORTNAME= mldonkey
PORTVERSION= 2.5.28.p
PORTVERSION= 2.5.28.s1
PORTREVISION= 2
CATEGORIES+= net
MASTER_SITES= http://download.berlios.de/pub/mldonkey/spiralvoice/cvs/

View File

@ -1,4 +1,4 @@
MD5 (mldonkey-2.5.28.tar.bz2) = bee2811a76f83c543ca19e45a9d04ff4
SIZE (mldonkey-2.5.28.tar.bz2) = 2767585
MD5 (patch_pack28p.gz) = f08a21cc3f5f39cea741e054eed49f2c
SIZE (patch_pack28p.gz) = 84638
MD5 (patch_pack28s1.gz) = b1030e702611914f4104dff52889ec39
SIZE (patch_pack28s1.gz) = 100551

View File

@ -1,18 +0,0 @@
--- src/networks/fileTP/fileTPInteractive.ml.orig Mon Jan 31 00:29:00 2005
+++ src/networks/fileTP/fileTPInteractive.ml Mon Jan 31 00:32:08 2005
@@ -354,13 +354,13 @@
let rec op_network_parse_url url =
lprintf "filetp.op_network_parse_url\n";
- let location_regexp = "Location: \([^\n]+\)\n" in
+ let location_regexp = "Location: \\(.*\\)" in
let real_url = get_regexp_string url (Str.regexp location_regexp) in
lprintf "real url: %s\n" real_url;
if (is_http_torrent url real_url) then false else
if (String2.check_prefix real_url "http://") then (
lprintf "http download\n";
- let length_regexp = "Content-Length: \([0-9]+\)\n" in
+ let length_regexp = "Content-Length: \\(.*\\)" in
try let length = get_regexp_int url (Str.regexp length_regexp) in
if (length > 0) then begin
download_file real_url; true