diff options
Diffstat (limited to 'net-misc/putty')
-rw-r--r-- | net-misc/putty/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/putty/Manifest | 11 | ||||
-rw-r--r-- | net-misc/putty/files/putty-ut_time.patch | 21 | ||||
-rw-r--r-- | net-misc/putty/putty-20030902-r1.ebuild | 4 | ||||
-rw-r--r-- | net-misc/putty/putty-20040313-r1.ebuild | 7 |
5 files changed, 39 insertions, 10 deletions
diff --git a/net-misc/putty/ChangeLog b/net-misc/putty/ChangeLog index 7aee7e3ca84b..a2a169a56c6e 100644 --- a/net-misc/putty/ChangeLog +++ b/net-misc/putty/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/putty # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.13 2004/05/06 09:10:12 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.14 2004/05/07 15:47:48 jhuebel Exp $ + + 07 May 2004; Jason Eric Huebel <jhuebel@gentoo.org> + +files/putty-ut_time.patch, putty-20040313-r1.ebuild: + ~amd64 and added ut_time patch for amd64 *putty-20040313-r1 (06 May 2004) diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index 1c0fa78498e1..f339eb47f15e 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -1,9 +1,10 @@ -MD5 27c2740c5ab57b401017d35b04b422db putty-20030902-r1.ebuild 1386 -MD5 00299f5bd645fcf6682dd7633b61dbc8 putty-20040313.ebuild 1420 -MD5 7789014df54172ce2ef6a100b1c0f939 putty-20040313-r1.ebuild 1571 -MD5 d1f3a64378af37065e86ca8001f8e62a ChangeLog 1956 MD5 a95f430323d2b9413a9ae45efb4d616c metadata.xml 549 +MD5 6e1d2ebb8b9e186fb94e4ed36ff70724 ChangeLog 2111 +MD5 00299f5bd645fcf6682dd7633b61dbc8 putty-20040313.ebuild 1420 +MD5 0110674e0d21db908903d28c29e071b8 putty-20040313-r1.ebuild 1666 +MD5 be03921776a8632fd1270c10791e0b32 putty-20030902-r1.ebuild 1387 +MD5 68c88474593f165e89a7cf28fe98f555 files/digest-putty-20030902-r1 70 MD5 d3c6f158244af5bb6cdd7bbda46e8dc6 files/digest-putty-20040313 71 MD5 d3c6f158244af5bb6cdd7bbda46e8dc6 files/digest-putty-20040313-r1 71 MD5 85355228c88a7a925e751df0f058f0ea files/putty.desktop 207 -MD5 68c88474593f165e89a7cf28fe98f555 files/digest-putty-20030902-r1 70 +MD5 4f674a5fd23877ac6d76c6d9baa33041 files/putty-ut_time.patch 824 diff --git a/net-misc/putty/files/putty-ut_time.patch b/net-misc/putty/files/putty-ut_time.patch new file mode 100644 index 000000000000..5d5d8b026de5 --- /dev/null +++ b/net-misc/putty/files/putty-ut_time.patch @@ -0,0 +1,21 @@ +diff -ur putty.old/unix/pty.c putty/unix/pty.c +--- putty.old/unix/pty.c 2003-05-11 07:28:53.000000000 -0500 ++++ putty/unix/pty.c 2004-05-07 10:03:44.174148128 -0500 +@@ -106,7 +106,7 @@ + strncpy(utmp_entry.ut_id, ttyname+8, lenof(utmp_entry.ut_id)); + strncpy(utmp_entry.ut_user, pw->pw_name, lenof(utmp_entry.ut_user)); + strncpy(utmp_entry.ut_host, location, lenof(utmp_entry.ut_host)); +- time(&utmp_entry.ut_time); ++ utmp_entry.ut_time = time(NULL); + + #if defined HAVE_PUTUTLINE + utmpname(UTMP_FILE); +@@ -147,7 +147,7 @@ + + utmp_entry.ut_type = DEAD_PROCESS; + memset(utmp_entry.ut_user, 0, lenof(utmp_entry.ut_user)); +- time(&utmp_entry.ut_time); ++ utmp_entry.ut_time = time(NULL); + + if ((wtmp = fopen(WTMP_FILE, "a")) != NULL) { + fwrite(&utmp_entry, 1, sizeof(utmp_entry), wtmp); diff --git a/net-misc/putty/putty-20030902-r1.ebuild b/net-misc/putty/putty-20030902-r1.ebuild index cff0d75bb982..77abfe18129f 100644 --- a/net-misc/putty/putty-20030902-r1.ebuild +++ b/net-misc/putty/putty-20030902-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-20030902-r1.ebuild,v 1.3 2003/10/29 16:48:08 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-20030902-r1.ebuild,v 1.4 2004/05/07 15:47:48 jhuebel Exp $ DESCRIPTION="UNIX port of the famous Telnet and SSH client" diff --git a/net-misc/putty/putty-20040313-r1.ebuild b/net-misc/putty/putty-20040313-r1.ebuild index 5095c531d363..5bb2cf9674c2 100644 --- a/net-misc/putty/putty-20040313-r1.ebuild +++ b/net-misc/putty/putty-20040313-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-20040313-r1.ebuild,v 1.1 2004/05/06 09:10:12 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-20040313-r1.ebuild,v 1.2 2004/05/07 15:47:48 jhuebel Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/putty-cvs-${PV}.tar.bz2" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~alpha ~ppc ~sparc" +KEYWORDS="~x86 ~alpha ~ppc ~sparc ~amd64" IUSE="doc" RDEPEND="=x11-libs/gtk+-1.2* virtual/x11" @@ -33,6 +33,9 @@ src_unpack() { ebegin "Setting CFLAGS" sed -i "s!-O2!${CFLAGS}!g" ${S}/unix/Makefile.gtk eend $? + + # apply ut_time patch for amd64 + use amd64 && epatch ${FILESDIR}/putty-ut_time.patch } src_compile() { |