diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 21:09:22 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-03 21:09:22 +0000 |
commit | 2c622e74379da095716a96828b746d5ff44da18c (patch) | |
tree | 2c936201405a41905157ff8376b1232d1badb254 /dev-java/ant-core | |
parent | fixes build break (Manifest recommit) (diff) | |
download | gentoo-2-2c622e74379da095716a96828b746d5ff44da18c.tar.gz gentoo-2-2c622e74379da095716a96828b746d5ff44da18c.tar.bz2 gentoo-2-2c622e74379da095716a96828b746d5ff44da18c.zip |
applied an patch to fix scp with openssh-3.9. also see #77365
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-java/ant-core')
-rw-r--r-- | dev-java/ant-core/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/ant-core/ant-core-1.6.2.ebuild | 6 | ||||
-rw-r--r-- | dev-java/ant-core/files/1.6.2-scp.patch | 12 |
3 files changed, 22 insertions, 2 deletions
diff --git a/dev-java/ant-core/ChangeLog b/dev-java/ant-core/ChangeLog index 835ed933be72..acf60d42ae5d 100644 --- a/dev-java/ant-core/ChangeLog +++ b/dev-java/ant-core/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/ant-core # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.12 2005/01/29 21:27:25 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.13 2005/02/03 21:09:22 luckyduck Exp $ + + 03 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> +files/1.6.2-scp.patch, + ant-core-1.6.2.ebuild: + applied an patch to fix scp with openssh-3.9. also see #77365 29 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> files/1.6.2-ant: updated java-config -p call in 1.6.2-ant to reflect the new rhino slots. diff --git a/dev-java/ant-core/ant-core-1.6.2.ebuild b/dev-java/ant-core/ant-core-1.6.2.ebuild index 7e8c36e3e899..32230a8d31a2 100644 --- a/dev-java/ant-core/ant-core-1.6.2.ebuild +++ b/dev-java/ant-core/ant-core-1.6.2.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-core/ant-core-1.6.2.ebuild,v 1.9 2005/01/26 20:41:09 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.6.2.ebuild,v 1.10 2005/02/03 21:09:22 luckyduck Exp $ inherit java-pkg eutils @@ -28,6 +28,10 @@ src_unpack() { unpack ${A} cd ${S} + # also see #77365 and + # http://sourceforge.net/mailarchive/forum.php?thread_id=6173225&forum_id=12628 + epatch ${FILESDIR}/${PV}-scp.patch + # Patch build.sh to die with non-zero exit code in case of errors. # This patch may be useful for all ant versions. epatch ${FILESDIR}/build.sh-exit-fix.patch.gz diff --git a/dev-java/ant-core/files/1.6.2-scp.patch b/dev-java/ant-core/files/1.6.2-scp.patch new file mode 100644 index 000000000000..37174f6114e9 --- /dev/null +++ b/dev-java/ant-core/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();
|