summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2004-12-08 20:09:05 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2004-12-08 20:09:05 +0000
commit0e39e1da6d83e4f279ceb4fa61ad63c86bfc8e1e (patch)
tree6db560006803d871e8b80db21843442ee2d21f64 /net-misc/netkit-rsh
parentStable on x86 wrt bug 73592 (diff)
downloadhistorical-0e39e1da6d83e4f279ceb4fa61ad63c86bfc8e1e.tar.gz
historical-0e39e1da6d83e4f279ceb4fa61ad63c86bfc8e1e.tar.bz2
historical-0e39e1da6d83e4f279ceb4fa61ad63c86bfc8e1e.zip
Added a small patch to prevent from segfaulting on ppc
Diffstat (limited to 'net-misc/netkit-rsh')
-rw-r--r--net-misc/netkit-rsh/ChangeLog6
-rw-r--r--net-misc/netkit-rsh/Manifest17
-rw-r--r--net-misc/netkit-rsh/files/va_start.diff29
-rw-r--r--net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild5
4 files changed, 47 insertions, 10 deletions
diff --git a/net-misc/netkit-rsh/ChangeLog b/net-misc/netkit-rsh/ChangeLog
index a0d2f9af8b4a..d493e861447a 100644
--- a/net-misc/netkit-rsh/ChangeLog
+++ b/net-misc/netkit-rsh/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/netkit-rsh
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/ChangeLog,v 1.16 2004/07/23 02:38:29 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/ChangeLog,v 1.17 2004/12/08 20:09:05 hansmi Exp $
+
+ 08 Dec 2004; Michael Hanselmann <hansmi@gentoo.org>
+ netkit-rsh-0.17-r5.ebuild:
+ Added a patch to prevent from segfaulting on ppc. See bug #72359.
22 Jul 2004; Jon Portnoy <avenj@gentoo.org> netkit-rsh-0.17-r5.ebuild :
Optional PAM support from Christer Ekholm in bug #56503.
diff --git a/net-misc/netkit-rsh/Manifest b/net-misc/netkit-rsh/Manifest
index 556ba589e429..b614871120a8 100644
--- a/net-misc/netkit-rsh/Manifest
+++ b/net-misc/netkit-rsh/Manifest
@@ -1,14 +1,15 @@
-MD5 ae0c1d43aa52162f89d700b9ada01062 ChangeLog 2443
MD5 c3806717094d7aa3952ac9f71591f798 netkit-rsh-0.17-r3.ebuild 1644
+MD5 98a6b01d19b840de3ef5de961e3f1648 ChangeLog 2596
+MD5 149ae6d5352bd8b569dc467f0a8e2ced netkit-rsh-0.17-r5.ebuild 1952
MD5 df7cf8558ff83d3d875f4a66694a063f netkit-rsh-0.17-r4.ebuild 1818
-MD5 c95c0271bbb68b4b00446deacc7fa498 netkit-rsh-0.17-r5.ebuild 1898
+MD5 7b9d8d0930734500608538c166d0179a files/rsh.pamd 445
MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r3 71
-MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r4 71
-MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r5 71
-MD5 849aa086002eda305d4d6d59a94fadd8 files/rexec.pamd 457
+MD5 14c9e8ca2d9f8b9ae525e14fdd13df31 files/rlogind-auth.diff 260
MD5 501cf426db7510decc4dee17b07c5ea2 files/rexec.xinetd 280
-MD5 ec3d6de902670c90897507f4a098f668 files/rlogin.pamd 580
+MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r4 71
MD5 85d47a9df3698dfa22f21aa92c345902 files/rlogin.xinetd 282
-MD5 14c9e8ca2d9f8b9ae525e14fdd13df31 files/rlogind-auth.diff 260
-MD5 7b9d8d0930734500608538c166d0179a files/rsh.pamd 445
MD5 0586a4c1829df038be6179b9be20c458 files/rsh.xinetd 279
+MD5 ec3d6de902670c90897507f4a098f668 files/rlogin.pamd 580
+MD5 9b184bf125dc1c12dea5364f6aeb2f69 files/va_start.diff 569
+MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r5 71
+MD5 849aa086002eda305d4d6d59a94fadd8 files/rexec.pamd 457
diff --git a/net-misc/netkit-rsh/files/va_start.diff b/net-misc/netkit-rsh/files/va_start.diff
new file mode 100644
index 000000000000..e3ed0090f7dd
--- /dev/null
+++ b/net-misc/netkit-rsh/files/va_start.diff
@@ -0,0 +1,29 @@
+--- netkit-rsh-0.17/rcp/rcp.c.org 2004-11-24 19:15:02.000000000 +0300
++++ netkit-rsh-0.17/rcp/rcp.c 2004-11-24 19:22:47.000000000 +0300
+@@ -877,17 +877,22 @@ error(const char *fmt, ...)
+ static FILE *fp;
+ va_list ap;
+
+- va_start(ap, fmt);
+-
+ ++errs;
+ if (!fp && !(fp = fdopen(rem, "w")))
+ return;
++
++ va_start(ap, fmt);
+ fprintf(fp, "%c", 0x01);
+ vfprintf(fp, fmt, ap);
+ fflush(fp);
+- if (!iamremote) vfprintf(stderr, fmt, ap);
+-
+ va_end(ap);
++
++ if (!iamremote) {
++ va_start(ap, fmt);
++ vfprintf(stderr, fmt, ap);
++ va_end(ap);
++ }
++
+ }
+
+ static void
diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild
index 9cf937de2f27..fcd182898199 100644
--- a/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild
+++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild,v 1.8 2004/07/23 02:38:29 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r5.ebuild,v 1.9 2004/12/08 20:09:05 hansmi Exp $
inherit eutils
@@ -20,6 +20,9 @@ DEPEND=">=sys-libs/ncurses-5.2
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/rlogind-auth.diff
+
+ # See bug #72359
+ epatch ${FILESDIR}/va_start.diff
}
src_compile() {