diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-18 00:16:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-18 00:16:49 +0000 |
commit | c83afc96022a6d6339564c233ee2527b02e66604 (patch) | |
tree | 3672cc0771ce04e1d56985f1dd320e612474bcdf /net-misc/lsh | |
parent | old (diff) | |
download | gentoo-2-c83afc96022a6d6339564c233ee2527b02e66604.tar.gz gentoo-2-c83afc96022a6d6339564c233ee2527b02e66604.tar.bz2 gentoo-2-c83afc96022a6d6339564c233ee2527b02e66604.zip |
Version bump for security #85627.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/lsh')
-rw-r--r-- | net-misc/lsh/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/lsh/files/digest-lsh-2.0.1 | 1 | ||||
-rw-r--r-- | net-misc/lsh/lsh-2.0.1.ebuild | 72 |
3 files changed, 79 insertions, 1 deletions
diff --git a/net-misc/lsh/ChangeLog b/net-misc/lsh/ChangeLog index 56a8531eccc8..2748b3c328b3 100644 --- a/net-misc/lsh/ChangeLog +++ b/net-misc/lsh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/lsh # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/ChangeLog,v 1.2 2005/02/06 10:32:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/ChangeLog,v 1.3 2005/03/18 00:16:49 vapier Exp $ + +*lsh-2.0.1 (18 Mar 2005) + + 18 Mar 2005; Mike Frysinger <vapier@gentoo.org> +lsh-2.0.1.ebuild: + Version bump for security #85627. *lsh-2.0 (06 Feb 2005) diff --git a/net-misc/lsh/files/digest-lsh-2.0.1 b/net-misc/lsh/files/digest-lsh-2.0.1 new file mode 100644 index 000000000000..689cda9ed926 --- /dev/null +++ b/net-misc/lsh/files/digest-lsh-2.0.1 @@ -0,0 +1 @@ +MD5 25ca0b4385779de3d58d2d5757f495c3 lsh-2.0.1.tar.gz 1866063 diff --git a/net-misc/lsh/lsh-2.0.1.ebuild b/net-misc/lsh/lsh-2.0.1.ebuild new file mode 100644 index 000000000000..74df8de11332 --- /dev/null +++ b/net-misc/lsh/lsh-2.0.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/lsh-2.0.1.ebuild,v 1.1 2005/03/18 00:16:49 vapier Exp $ + +inherit eutils + +DESCRIPTION="A GNU implementation of the Secure Shell protocols" +HOMEPAGE="http://www.lysator.liu.se/~nisse/lsh/" +SRC_URI="ftp://ftp.lysator.liu.se/pub/security/lsh/${P}.tar.gz + http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="pam tcpd ipv6 zlib X" + +RDEPEND="dev-libs/gmp + dev-libs/liboop + dev-libs/nettle + zlib? ( sys-libs/zlib ) + X? ( virtual/x11 ) + tcpd? ( sys-apps/tcp-wrappers ) + pam? ( sys-libs/pam )" +# kerberos? ( virtual/krb5 ) +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51" + +src_unpack() { + unpack ${A} + cd "${S}" + # remove bundled nettle crap #56156 ... this is pretty ugly sed foo, + # but the alternative is a bigger, uglier patch which would probably + # need updating with every version :/ + sed -i -e '/src\/nettle/d' configure || die "sed configure failed" + sed -i \ + -e '/^SUBDIRS/s:nettle::' \ + -e '/^LDADD/s:nettle/libnettle\.a:-lnettle:' \ + -e 's:nettle/libnettle\.a::' \ + src/Makefile.in || die "sed src failed" + sed -i \ + -e 's:\.\./\.\./nettle/libnettle\.a::' \ + src/spki/tools/Makefile.in || die "sed spki failed" + sed -i \ + -e '/^LDADD/s:\.\./nettle/libnettle\.a:-lnettle:' \ + -e 's:\.\./nettle/libnettle\.a::' \ + src/testsuite/Makefile.in || die "sed test failed" + rm -r src/nettle +} + +src_compile() { + # configure script checks /dev/ptmx in order to enable + # proper unix pty support ... so lets fake that it works :) + addpredict /dev/ptmx +# $(use_enable kerberos) + econf \ + --disable-kerberos \ + $(use_enable pam) \ + $(use_enable ipv6) \ + $(use_with zlib) \ + $(use_with tcpd tcpwrappers) \ + $(use_with X x) \ + || die + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "install failed" + dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README + + newinitd "${FILESDIR}"/lsh.rc lshd + newconfd "${FILESDIR}"/lsh.confd lshd +} |