diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-24 06:59:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-24 06:59:45 +0000 |
commit | e37a4d9030264a8d1f5c5ca91cb0e0fde1d42786 (patch) | |
tree | f90b522be4371e99ea6458ad93d46eda180539b6 /www-client/w3mir/files | |
parent | Added knowledgetree-3.0.1 to the tree, remover 3.0.0 (diff) | |
download | gentoo-2-e37a4d9030264a8d1f5c5ca91cb0e0fde1d42786.tar.gz gentoo-2-e37a4d9030264a8d1f5c5ca91cb0e0fde1d42786.tar.bz2 gentoo-2-e37a4d9030264a8d1f5c5ca91cb0e0fde1d42786.zip |
Add patch to fix mirroring to /, thanks to Patric Mueller for the patch (bug #115183). Add ~amd64.
(Portage version: 2.1_pre6-r6)
Diffstat (limited to 'www-client/w3mir/files')
-rw-r--r-- | www-client/w3mir/files/digest-w3mir-1.0.10-r1 | 3 | ||||
-rw-r--r-- | www-client/w3mir/files/w3mir-1.0.10-cwd.diff | 32 |
2 files changed, 35 insertions, 0 deletions
diff --git a/www-client/w3mir/files/digest-w3mir-1.0.10-r1 b/www-client/w3mir/files/digest-w3mir-1.0.10-r1 new file mode 100644 index 000000000000..c0e18234acdf --- /dev/null +++ b/www-client/w3mir/files/digest-w3mir-1.0.10-r1 @@ -0,0 +1,3 @@ +MD5 b2d5d77461dea8d546b6c8e4f7b92cca w3mir-1.0.10.tar.gz 82791 +RMD160 121fddf2943f86e6480ef462439ba9e0a416579d w3mir-1.0.10.tar.gz 82791 +SHA256 c6a58939a89b2b469db54c639e63438f4fcba3c79ebcea69675d7115ba48369d w3mir-1.0.10.tar.gz 82791 diff --git a/www-client/w3mir/files/w3mir-1.0.10-cwd.diff b/www-client/w3mir/files/w3mir-1.0.10-cwd.diff new file mode 100644 index 000000000000..83c3781efc43 --- /dev/null +++ b/www-client/w3mir/files/w3mir-1.0.10-cwd.diff @@ -0,0 +1,32 @@ +--- w3mir.PL 2005-12-10 20:39:58.000000000 +0100 ++++ w3mir.PL 2005-12-11 12:49:26.000000000 +0100 +@@ -209,6 +209,8 @@ + use URI::URL; + # For flush method + use FileHandle; ++# for determining current working directory ++use Cwd; + + eval ' + use URI; +@@ -581,7 +583,8 @@ + unless ref $rum_url_o; + + # Derive a filename from the url, the filename contains no URL-quoting +- my($lf_name) = (url "file:$lf_url")->unix_path; ++ # filename is relative to current working directory ++ my($lf_name) = (url "file:".getcwd()."/$lf_url")->unix_path; + + # Make all intermediate directories + &mkdir($lf_name) if $s==0; +@@ -680,9 +683,7 @@ + push(@EXTRASTUFF,$w3http::NOUSER) + unless ($do_user); + +- # YES, $lf_url is right, w3http::query handles this like an url so +- # the quoting must all be in place. +- my $binfile=$lf_url; ++ my $binfile=$lf_name; + $binfile='-' if $s==1; + $binfile=$nulldevice if $s==2; + |