summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/tn5250/ChangeLog9
-rw-r--r--net-misc/tn5250/Manifest4
-rw-r--r--net-misc/tn5250/tn5250-0.17.4.ebuild52
3 files changed, 62 insertions, 3 deletions
diff --git a/net-misc/tn5250/ChangeLog b/net-misc/tn5250/ChangeLog
index 334c6fba3ce2..52e724583e1d 100644
--- a/net-misc/tn5250/ChangeLog
+++ b/net-misc/tn5250/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tn5250
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/ChangeLog,v 1.19 2008/03/15 22:32:05 dertobi123 Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/ChangeLog,v 1.20 2009/01/08 20:15:19 chutzpah Exp $
+
+*tn5250-0.17.4 (08 Jan 2009)
+
+ 08 Jan 2009; Patrick McLean <chutzpah@gentoo.org> +tn5250-0.17.4.ebuild:
+ Version bump.
15 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org>
tn5250-0.17.3-r1.ebuild:
diff --git a/net-misc/tn5250/Manifest b/net-misc/tn5250/Manifest
index 4d683a112602..307e3767369f 100644
--- a/net-misc/tn5250/Manifest
+++ b/net-misc/tn5250/Manifest
@@ -1,4 +1,6 @@
DIST tn5250-0.17.3.tar.gz 999938 RMD160 554eac8a5b4ae690caab1ee3c4a9cf7e48a37b85 SHA1 a60a237e13f4531b3c918076fc009019d9522851 SHA256 956fbcb1eac6b2b2faa0a51733cdfc370103898eaffab61128608b3916061a36
+DIST tn5250-0.17.4.tar.gz 648452 RMD160 a2fd1d96fe89a521c53449174b0898574562ad7b SHA1 2c84f03f798fd5095009d6798d1e6c0b29e48a75 SHA256 354237d400dc46af887cb3ffa4ed1f2c371f5b8bee8be046a683a4ac9db4f9c5
EBUILD tn5250-0.17.3-r1.ebuild 1721 RMD160 b05a75f53ef5b29e7ba6d9be50e3367eaf7a65c4 SHA1 b3fcaf2436df742e7a501de16d93a25bcddec831 SHA256 7206e6b46a11536e1ed04683ef0cfc0dc87244ed0e097449b7cc6034e43c5a4b
-MISC ChangeLog 2225 RMD160 6bbae37313a39ee540d3350d1e79299212f737af SHA1 fc0e953810da7d6f466cf5e6ae3955a43cf1bda9 SHA256 9a3cc2ce4a723fb872ec3d89f6ca463c3040c71179697d3d1866c90dbd51ea3d
+EBUILD tn5250-0.17.4.ebuild 1343 RMD160 38a9069fead4d0f228327b120507b84da8c129b2 SHA1 f2597cc3ea6988d879616c9f9e221ada4f88a743 SHA256 88e125d8f9d9cd1516b8368a2470d0851b8c06274cfec822cff723ecfd7b2636
+MISC ChangeLog 2345 RMD160 43c3f3207ce0495e9f61cd5a0908569ade2eca33 SHA1 362eae497a0aff92d375e3dd83e4c59a1a0d379c SHA256 0fbc3cb67a56be358d0e470c33b0ffab81694e096115b6b1129715e41f916c93
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
diff --git a/net-misc/tn5250/tn5250-0.17.4.ebuild b/net-misc/tn5250/tn5250-0.17.4.ebuild
new file mode 100644
index 000000000000..165fe02dfab8
--- /dev/null
+++ b/net-misc/tn5250/tn5250-0.17.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/tn5250-0.17.4.ebuild,v 1.1 2009/01/08 20:15:19 chutzpah Exp $
+
+inherit eutils python
+
+DESCRIPTION="Telnet client for the IBM AS/400 that emulates 5250 terminals and printers."
+HOMEPAGE="http://tn5250.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="X ssl"
+
+RDEPEND="sys-libs/ncurses
+ ssl? ( dev-libs/openssl )"
+
+DEPEND="${RDEPEND}
+ X? ( x11-libs/libXt )"
+
+src_unpack() {
+ unpack ${A}
+
+ # Next, the Makefile for the terminfo settings tries to remove
+ # some files it doesn't have access to. We can just remove those
+ # lines.
+ cd "${S}/linux"
+ sed -i \
+ -e "/rm -f \/usr\/.*\/terminfo.*5250/d" Makefile.in \
+ || die "sed Makefile.in failed"
+ cd "${S}"
+}
+
+src_compile() {
+ econf \
+ $(use_with X x) \
+ $(use_with ssl) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ # The TERMINFO variable needs to be defined for the install
+ # to work, because the install calls "tic." man tic for
+ # details.
+ dodir /usr/share/terminfo
+ make DESTDIR="${D}" \
+ TERMINFO="${D}/usr/share/terminfo" install \
+ || die "make install failed"
+
+ dodoc AUTHORS BUGS NEWS README README.ssl TODO ChangeLog
+}