summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-24 06:59:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-24 06:59:45 +0000
commite37a4d9030264a8d1f5c5ca91cb0e0fde1d42786 (patch)
treef90b522be4371e99ea6458ad93d46eda180539b6
parentAdded knowledgetree-3.0.1 to the tree, remover 3.0.0 (diff)
downloadgentoo-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)
-rw-r--r--www-client/w3mir/ChangeLog9
-rw-r--r--www-client/w3mir/Manifest24
-rw-r--r--www-client/w3mir/files/digest-w3mir-1.0.10-r13
-rw-r--r--www-client/w3mir/files/w3mir-1.0.10-cwd.diff32
-rw-r--r--www-client/w3mir/w3mir-1.0.10-r1.ebuild27
5 files changed, 83 insertions, 12 deletions
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ò <flameeyes@gentoo.org>
+ +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 <mcummings@gentoo.org> w3mir-1.0.10.ebuild:
Virtuals for perl-core
diff --git a/www-client/w3mir/Manifest b/www-client/w3mir/Manifest
index aaae015affb6..1b120dcf93bb 100644
--- a/www-client/w3mir/Manifest
+++ b/www-client/w3mir/Manifest
@@ -1,13 +1,15 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 809d9a234cb7a2d17dcfcd879c950265 ChangeLog 1189
+RMD160 2acf582b9e502936373e581ab4fac359cac3e4e1 ChangeLog 1189
+SHA256 c64236380d5affddc31c5042b95dd6dcc5895ec601e7ef6c157d6a7d43f7df9f ChangeLog 1189
MD5 53d0463cf57f91017c262b35c525d597 files/digest-w3mir-1.0.10 63
-MD5 73e6c384b1183839691cce069e4756ba w3mir-1.0.10.ebuild 573
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD8KRqtG5z4I8BtQoRAu2KAJ9+N27hUjW2spCRH3A3klQqYM9wlwCeNKM+
-d+W9DljtUEvRMu9J1VLtcjA=
-=lYzD
------END PGP SIGNATURE-----
+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 9325b2f678abbe816486c635758fb837 w3mir-1.0.10-r1.ebuild 665
+RMD160 a048e08071c924cf83fe933b141a1292893a0be7 w3mir-1.0.10-r1.ebuild 665
+SHA256 c82c0722bc6058504f9410c081299f52a0b78ff87ab6f7a21828529d14d7e0bb w3mir-1.0.10-r1.ebuild 665
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"
+}
+