diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 20:57:18 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 20:57:18 +0000 |
commit | 5bd4d6c7c5ae443666a9435a27be07bc64870d01 (patch) | |
tree | 3f9b9b5630177f2456bd2beb757142d2c4f9f625 /dev-java | |
parent | Mark aria-1.0.0 as stable on x86 and amd64 (diff) | |
download | historical-5bd4d6c7c5ae443666a9435a27be07bc64870d01.tar.gz historical-5bd4d6c7c5ae443666a9435a27be07bc64870d01.tar.bz2 historical-5bd4d6c7c5ae443666a9435a27be07bc64870d01.zip |
applied an patch to fix scp with openssh-3.9. also see #77365
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ant-tasks/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/ant-tasks/Manifest | 5 | ||||
-rw-r--r-- | dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild | 10 | ||||
-rw-r--r-- | dev-java/ant-tasks/files/1.6.2-scp.patch | 12 |
4 files changed, 28 insertions, 4 deletions
diff --git a/dev-java/ant-tasks/ChangeLog b/dev-java/ant-tasks/ChangeLog index be4bdbd025d7..39a2f97cca84 100644 --- a/dev-java/ant-tasks/ChangeLog +++ b/dev-java/ant-tasks/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/ant-tasks # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.15 2005/01/29 21:29:03 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.16 2005/02/03 20:57:18 luckyduck Exp $ + + 03 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> ant-tasks-1.6.2-r5.ebuild: + applied an patch to fix scp with openssh-3.9. also see #77365 29 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> ant-tasks-1.6.2-r5.ebuild: update to reflect the new rhino slots. diff --git a/dev-java/ant-tasks/Manifest b/dev-java/ant-tasks/Manifest index b9f3bc76ed39..2d49fe08b414 100644 --- a/dev-java/ant-tasks/Manifest +++ b/dev-java/ant-tasks/Manifest @@ -1,4 +1,5 @@ -MD5 fd58414c9035dc3edc4770fb6f887aa9 ant-tasks-1.6.2-r5.ebuild 3624 -MD5 79a66df5f8a7053b45789825a37afee6 ChangeLog 7193 +MD5 e1a56952108911cae4b0573b332da2c6 ant-tasks-1.6.2-r5.ebuild 3720 +MD5 2a39aef729e59ed222cc52408ac9b85b ChangeLog 7337 MD5 4dad079a28768d183022cff420f01281 metadata.xml 220 MD5 aac477e88787ed6f0ad5cabe0f6a001a files/digest-ant-tasks-1.6.2-r5 74 +MD5 8c69a473b88559829069ac80730f2f1b files/1.6.2-scp.patch 877 diff --git a/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild b/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild index 5d69b1b11b83..bbf11fb500be 100644 --- a/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild +++ b/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild,v 1.8 2005/01/29 21:29:03 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.6.2-r5.ebuild,v 1.9 2005/02/03 20:57:18 luckyduck Exp $ inherit java-pkg eutils @@ -37,6 +37,14 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/apache-ant-${PV}" +src_unpack() { + unpack ${A} + cd ${S} + + # also see #77365 + epatch ${FILESDIR}/${PV}-scp.patch +} + src_compile() { addwrite "/proc/self/maps" export JAVA_HOME=${JDK_HOME} diff --git a/dev-java/ant-tasks/files/1.6.2-scp.patch b/dev-java/ant-tasks/files/1.6.2-scp.patch new file mode 100644 index 000000000000..37174f6114e9 --- /dev/null +++ b/dev-java/ant-tasks/files/1.6.2-scp.patch @@ -0,0 +1,12 @@ +diff -urpN apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java +--- apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java 2005-02-03 21:37:32.032911472 +0100 ++++ apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java 2005-02-03 21:38:37.399974168 +0100 +@@ -112,7 +112,7 @@ public class ScpToMessage extends Abstra + }
+
+ private void doMultipleTransfer() throws IOException, JSchException {
+- Channel channel = openExecChannel("scp -d -t " + remotePath);
++ Channel channel = openExecChannel("scp -r -d -t " + remotePath);
+ try {
+ OutputStream out = channel.getOutputStream();
+ InputStream in = channel.getInputStream();
|