diff options
Diffstat (limited to 'net-misc/putty')
-rw-r--r-- | net-misc/putty/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/putty/Manifest | 2 | ||||
-rw-r--r-- | net-misc/putty/files/digest-putty-20040313 | 1 | ||||
-rw-r--r-- | net-misc/putty/putty-20040313.ebuild | 69 |
4 files changed, 77 insertions, 2 deletions
diff --git a/net-misc/putty/ChangeLog b/net-misc/putty/ChangeLog index 48f2af3c9973..9b283d91e1f6 100644 --- a/net-misc/putty/ChangeLog +++ b/net-misc/putty/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/putty -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.8 2003/10/29 16:48:08 taviso Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.9 2004/03/13 15:18:02 taviso Exp $ + + 13 Mar 2004; Tavis Ormandy <taviso@gentoo.org> : + new snapshot, i'll use bzip2 instead of gzip. 29 Oct 2003; Tavis Ormandy <taviso@gentoo.org> putty-20030902-r1.ebuild: code cleanups, moving makefile generation into src_unpack() diff --git a/net-misc/putty/Manifest b/net-misc/putty/Manifest index 41f8d4bee30c..d34932dd3e05 100644 --- a/net-misc/putty/Manifest +++ b/net-misc/putty/Manifest @@ -1,4 +1,6 @@ MD5 27c2740c5ab57b401017d35b04b422db putty-20030902-r1.ebuild 1386 +MD5 ca9d9eb078fff638b86b71221b00483d putty-20040313.ebuild 1412 MD5 db5ef4b19662d3734390b67cee9f915a ChangeLog 1326 MD5 a95f430323d2b9413a9ae45efb4d616c metadata.xml 549 +MD5 d3c6f158244af5bb6cdd7bbda46e8dc6 files/digest-putty-20040313 71 MD5 68c88474593f165e89a7cf28fe98f555 files/digest-putty-20030902-r1 70 diff --git a/net-misc/putty/files/digest-putty-20040313 b/net-misc/putty/files/digest-putty-20040313 new file mode 100644 index 000000000000..aaf7b059b130 --- /dev/null +++ b/net-misc/putty/files/digest-putty-20040313 @@ -0,0 +1 @@ +MD5 4c658a8e61933c3fea48ee684ef31dfe putty-cvs-20040313.tar.bz2 699018 diff --git a/net-misc/putty/putty-20040313.ebuild b/net-misc/putty/putty-20040313.ebuild new file mode 100644 index 000000000000..489fcd9e0a9a --- /dev/null +++ b/net-misc/putty/putty-20040313.ebuild @@ -0,0 +1,69 @@ +# 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.ebuild,v 1.1 2004/03/13 15:18:02 taviso Exp $ + +inherit eutils + +DESCRIPTION="UNIX port of the famous Telnet and SSH client" + +HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" +SRC_URI="mirror://gentoo/putty-cvs-${PV}.tar.bz2" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~x86 ~alpha" +IUSE="doc" + +RDEPEND="=x11-libs/gtk+-1.2* virtual/x11" + +DEPEND="${RDEPEND} + >=dev-lang/perl-5.8.0 + >=sys-apps/sed-4" + +S=${WORKDIR}/${PN} + +src_unpack() { + # unpack the tarball... + unpack ${A} + + # generate the makefiles + ebegin "Generating Makefiles" + cd ${S}; ${S}/mkfiles.pl + eend $? + + # change the CFLAGS to those requested by user. + ebegin "Setting CFLAGS" + sed -i "s!-O2!${CFLAGS}!g" ${S}/unix/Makefile.gtk + eend $? +} + +src_compile() { + # build putty. + einfo "Building putty..." + cd ${S}/unix; emake -f Makefile.gtk || die +} + +src_install() { + + cd ${S}/unix + + # man pages... + doman plink.1 pterm.1 putty.1 puttytel.1 + + # binaries... + dobin plink pterm putty puttytel psftp pscp + + cd ${S} + + # docs... + dodoc README README.txt LICENCE CHECKLST.txt LATEST.VER website.url MODULE + use doc && dodoc doc/* + + prepallman + + if test ! -c /dev/ptmx; then + ewarn + ewarn "The pterm application requires kernel UNIX98 PTY support to operate." + ewarn + fi +} |