From ac87b5edee045314e5976529d4316b5f43eb06bf Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 24 Mar 2006 06:59:45 +0000 Subject: Add patch to fix mirroring to /, thanks to Patric Mueller for the patch (bug #115183). Add ~amd64. Package-Manager: portage-2.1_pre6-r6 --- www-client/w3mir/ChangeLog | 9 +++++++- www-client/w3mir/Manifest | 25 ++++++++++++++++----- www-client/w3mir/files/digest-w3mir-1.0.10-r1 | 3 +++ www-client/w3mir/files/w3mir-1.0.10-cwd.diff | 32 +++++++++++++++++++++++++++ www-client/w3mir/w3mir-1.0.10-r1.ebuild | 27 ++++++++++++++++++++++ 5 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 www-client/w3mir/files/digest-w3mir-1.0.10-r1 create mode 100644 www-client/w3mir/files/w3mir-1.0.10-cwd.diff create mode 100644 www-client/w3mir/w3mir-1.0.10-r1.ebuild (limited to 'www-client/w3mir') diff --git a/www-client/w3mir/ChangeLog b/www-client/w3mir/ChangeLog index 18d83a1d8155..8c618f799fec 100644 --- a/www-client/w3mir/ChangeLog +++ b/www-client/w3mir/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/w3mir # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/w3mir/ChangeLog,v 1.5 2006/02/13 15:23:33 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/w3mir/ChangeLog,v 1.6 2006/03/24 06:59:45 flameeyes Exp $ + +*w3mir-1.0.10-r1 (24 Mar 2006) + + 24 Mar 2006; Diego Pettenò + +files/w3mir-1.0.10-cwd.diff, +w3mir-1.0.10-r1.ebuild: + Add patch to fix mirroring to /, thanks to Patric Mueller for the patch (bug + #115183). Add ~amd64. 13 Feb 2006; Michael Cummings w3mir-1.0.10.ebuild: Virtuals for perl-core diff --git a/www-client/w3mir/Manifest b/www-client/w3mir/Manifest index aaae015affb6..1f60b0dda6ec 100644 --- a/www-client/w3mir/Manifest +++ b/www-client/w3mir/Manifest @@ -1,13 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 809d9a234cb7a2d17dcfcd879c950265 ChangeLog 1189 +MD5 8f87e23e96a76dfbe6248c913e85b6fb ChangeLog 1435 +RMD160 2009136905fb59f21c8dd13685d9927bee6743bb ChangeLog 1435 +SHA256 1fd35e8a87a11d88702006c4b5650fdfe7603cb8948d7ab6376a430a83300515 ChangeLog 1435 MD5 53d0463cf57f91017c262b35c525d597 files/digest-w3mir-1.0.10 63 +RMD160 5e8c02bc82d45e19e10cec88ddef51ddce045722 files/digest-w3mir-1.0.10 63 +SHA256 733f2ceaac9ce29573e6859a48b8db2baf2df63abe62ae13e848b5b3bde9aeb6 files/digest-w3mir-1.0.10 63 +MD5 5878746623f10517ea4773923542eb5c files/digest-w3mir-1.0.10-r1 235 +RMD160 c0ddbfebc08b5edc751f216c292bbffa01e2ffde files/digest-w3mir-1.0.10-r1 235 +SHA256 0967823837cd2bd6146db5096f6ce4669e9634d3528c35c1686883b1ea68c517 files/digest-w3mir-1.0.10-r1 235 +MD5 07e864f42e55a8cd7fcc542f882a8197 files/w3mir-1.0.10-cwd.diff 931 +RMD160 cc582cd74cfc1353561a3084370a1a62b87e83c6 files/w3mir-1.0.10-cwd.diff 931 +SHA256 4fe5e725d669aca3073035fc93340a5f034372ab5f4a5010fa9572dc2e4699ff files/w3mir-1.0.10-cwd.diff 931 +MD5 276c5c6c61b7bc6f1e613d414dd5e0e3 w3mir-1.0.10-r1.ebuild 671 +RMD160 a480008de03ecec991d4a48e8aa2c10b03f40c96 w3mir-1.0.10-r1.ebuild 671 +SHA256 d088119ab632ace599fa5f3dd6cd550b2418007bea440807de8364c3a30f7de1 w3mir-1.0.10-r1.ebuild 671 MD5 73e6c384b1183839691cce069e4756ba w3mir-1.0.10.ebuild 573 +RMD160 8f9e55d74b428521daa36565f3d4eecb950031b5 w3mir-1.0.10.ebuild 573 +SHA256 5d1915baba84c49d6d84f7fc36fc3292f2b8b2f4688c345468b79ce8aee735f8 w3mir-1.0.10.ebuild 573 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFD8KRqtG5z4I8BtQoRAu2KAJ9+N27hUjW2spCRH3A3klQqYM9wlwCeNKM+ -d+W9DljtUEvRMu9J1VLtcjA= -=lYzD +iD8DBQFEI5itAiZjviIA2XgRAlsBAKCtnCGGXHypegj/8QQw/0JJMGuFzACfTQQb +2/BuivQ+gkS4wTErigxrVO8= +=8s0V -----END PGP SIGNATURE----- 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; + diff --git a/www-client/w3mir/w3mir-1.0.10-r1.ebuild b/www-client/w3mir/w3mir-1.0.10-r1.ebuild new file mode 100644 index 000000000000..a8ee86de59e1 --- /dev/null +++ b/www-client/w3mir/w3mir-1.0.10-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/w3mir/w3mir-1.0.10-r1.ebuild,v 1.1 2006/03/24 06:59:45 flameeyes Exp $ + +inherit perl-app eutils + +DESCRIPTION="w3mir is a all purpose HTTP copying and mirroring tool" +SRC_URI="http://langfeldt.net/w3mir/${P}.tar.gz" +HOMEPAGE="http://langfeldt.net/w3mir/" +IUSE="" + +SLOT="0" +LICENSE="Artistic" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="${DEPEND} + >=dev-perl/URI-1.0.9 + >=dev-perl/libwww-perl-5.64-r1 + >=virtual/perl-MIME-Base64-2.12" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-cwd.diff" +} + -- cgit v1.2.3-65-gdbad