diff options
author | Martin Jackson <mjolnir@gentoo.org> | 2007-12-22 14:54:57 +0000 |
---|---|---|
committer | Martin Jackson <mjolnir@gentoo.org> | 2007-12-22 14:54:57 +0000 |
commit | 822deac3fa58cdd9b58680af3c4b259e8facce71 (patch) | |
tree | 5c56b7b51768f8433a48357537d9b11a12ecf53c /app-misc | |
parent | ppc stable, bug #202615 (diff) | |
download | gentoo-2-822deac3fa58cdd9b58680af3c4b259e8facce71.tar.gz gentoo-2-822deac3fa58cdd9b58680af3c4b259e8facce71.tar.bz2 gentoo-2-822deac3fa58cdd9b58680af3c4b259e8facce71.zip |
multilib fix for #202840; thanks to Eric Lesage for reporting
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/ckermit/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/ckermit/ckermit-8.0.211-r3.ebuild | 60 | ||||
-rw-r--r-- | app-misc/ckermit/files/digest-ckermit-8.0.211-r3 | 3 |
3 files changed, 70 insertions, 1 deletions
diff --git a/app-misc/ckermit/ChangeLog b/app-misc/ckermit/ChangeLog index 8cb67b3cb08a..a51598b85a72 100644 --- a/app-misc/ckermit/ChangeLog +++ b/app-misc/ckermit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/ckermit # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ChangeLog,v 1.25 2007/09/03 23:16:19 mjolnir Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ChangeLog,v 1.26 2007/12/22 14:54:57 mjolnir Exp $ + + 22 Dec 2007; Martin Jackson <mjolnir@gentoo.org> + +ckermit-8.0.211-r3.ebuild: + multilib fix for #202840; thanks to Eric Lasage for reporting + +*ckermit-8.0.211-r3 (22 Dec 2007) 03 Sep 2007; Martin Jackson <mjolnir@gentoo.org> -ckermit-8.0.211.ebuild: Remove old version, now that the real 211 is stable diff --git a/app-misc/ckermit/ckermit-8.0.211-r3.ebuild b/app-misc/ckermit/ckermit-8.0.211-r3.ebuild new file mode 100644 index 000000000000..5b6cfd50faf6 --- /dev/null +++ b/app-misc/ckermit/ckermit-8.0.211-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-8.0.211-r3.ebuild,v 1.1 2007/12/22 14:54:57 mjolnir Exp $ + +inherit versionator multilib + +# Columbia University only uses the third component, e.g. cku211.tar.gz for +# what we would call 8.0.211. +MY_P="cku$( get_version_component_range 3 ${PV} )" + +DESCRIPTION="combined serial and network communication software package" +SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${MY_P}.tar.gz" +HOMEPAGE="http://www.kermit-project.org/" + +LICENSE="Kermit" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.2" +RDEPEND="${DEPEND} + net-dialup/lrzsz" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:-O:${CFLAGS}:" makefile + + # Look for grantpt in the right place - amd64 specific, for #202840 + stdlibdir=$(get_ml_incdir /usr/include) + sed -i -e "s:grep grantpt /usr/include:grep grantpt ${stdlibdir}:" makefile + sed -i -e "s:then HAVE_PTMX=':then HAVE_PTMX='-D_XOPEN_SOURCE -D_BSD_SOURCE :" makefile +} + +src_compile() { + emake KFLAGS="-DCK_SHADOW" linux || die +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/man1 + + emake \ + DESTDIR=${D} \ + BINDIR=/usr/bin \ + MANDIR=${D}/usr/share/man/man1 \ + MANEXT=1 \ + install || die + + # make the correct symlink + rm -f ${D}/usr/bin/kermit-sshsub + dosym /usr/bin/kermit /usr/bin/kermit-sshsub + + #the ckermit.ini script is calling the wrong kermit binary -- the one + # from ${D} + dosed /usr/bin/ckermit.ini + dodoc COPYING.TXT UNINSTALL *.txt +} diff --git a/app-misc/ckermit/files/digest-ckermit-8.0.211-r3 b/app-misc/ckermit/files/digest-ckermit-8.0.211-r3 new file mode 100644 index 000000000000..6ce8c568609d --- /dev/null +++ b/app-misc/ckermit/files/digest-ckermit-8.0.211-r3 @@ -0,0 +1,3 @@ +MD5 5767ec5e6ff0857cbfe2d3ec1ee0e2bc cku211.tar.gz 2878523 +RMD160 c80de6eeec3b4d87a09946a4d440da3b4faaa3b2 cku211.tar.gz 2878523 +SHA256 39e7cd4892502344a635952843487d9b4bfa98e59d1e1acad5ef8aa969abba93 cku211.tar.gz 2878523 |