+++ /dev/null
-# ChangeLog for dev-libs/lsh
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/lsh/ChangeLog,v 1.8 2004/11/23 02:25:04 vapier Exp $
-
- 22 Nov 2004; Mike Frysinger <vapier@gentoo.org> +files/lsh.confd,
- +files/lsh.rc, lsh-1.4.3-r1.ebuild:
- Add init.d scripts #71088 by Grzegorz Artur Daszuta.
-
- 21 Nov 2004; Mike Frysinger <vapier@gentoo.org>
- +files/1.4.3-configure.patch, files/1.4.3-gcc34.patch,
- lsh-1.4.3-r1.ebuild:
- Add fix for configure script from upstream.
-
- 17 Jul 2004; David Holm <dholm@gentoo.org> lsh-1.4.3-r1.ebuild:
- Added to ~ppc.
-
-*lsh-1.4.3-r1 (11 Jul 2004)
-
- 11 Jul 2004; Mike Frysinger <vapier@gentoo.org> +files/1.4.3-gcc34.patch,
- +lsh-1.4.3-r1.ebuild, -lsh-1.4.3.ebuild:
- Make sure we dont install the bundled nettle library since it is tracked with
- dev-libs/nettle #56156 by Rainer Groesslinger.
-
- 29 Dec 2003; Jason Wever <weeve@gentoo.org> lsh-1.4.3.ebuild:
- And on the 7th day, the ~sparc keyword appeared. And the insane Gentoo/SPARC
- gods looked down on it and saw it was good.
-
-*lsh-1.4.3 (28 Oct 2003)
-
- 28 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by Justin Heesemann <jh-gentoo@ionium.org> #28971.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 829c50f77326e5c9cc057f26cfa946c4 ChangeLog 1253
-MD5 b86248162d60c551de0ee1cfa7f4eacb lsh-1.4.3-r1.ebuild 1521
-MD5 f4285a50a3773a3214e1c27318f8e564 files/lsh.confd 367
-MD5 12d8d84a70281a27cccb14cc8e2c83e2 files/digest-lsh-1.4.3-r1 62
-MD5 e2a988c83f0406d964502a58a4f58cd3 files/1.4.3-gcc34.patch 2002
-MD5 5e752fc7adf408a2f4a3fb4601132787 files/1.4.3-configure.patch 355
-MD5 13a8cdb1e4adc742fe28a3710abf2c0c files/lsh.rc 814
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBop/CHTu7gpaalycRAmuKAJkB59r0NR+qHywRHl6dRZC0mJIu+gCgmb7e
-7Kg2tSlJTpI7reEIfZ26Jpc=
-=RAob
------END PGP SIGNATURE-----
+++ /dev/null
---- lsh-1.4.3/configure.ac.orig 2004-11-21 19:47:44.363105536 -0500
-+++ lsh-1.4.3/configure.ac 2004-11-21 19:48:20.205656640 -0500
-@@ -406,7 +406,9 @@
- AC_PATH_X
-
- if test -z "$no_x" ; then
-+ if test x"$x_includes" != x ; then
- CPPFLAGS="$CPPFLAGS -I$x_includes"
-+ fi
- LDFLAGS="$LDFLAGS -L$x_libraries"
- LSH_RPATH_ADD($x_libraries)
- fi
+++ /dev/null
---- lsh-1.4.3/src/sftp/sftp_c.c.orig 2004-07-11 16:33:04.488647128 -0400
-+++ lsh-1.4.3/src/sftp/sftp_c.c 2004-07-11 16:33:29.583832080 -0400
-@@ -1096,9 +1096,10 @@
- int ret;
- int write_needed = 0;
- UINT32 i;
-+ struct sftp_callback *pos = state;
-
- /* FIXME: state is const */
-- state->mem.used = 0;
-+ pos->mem.used = 0;
-
- sftp_get_mem_main(next, msg, id, in, out, state );
-
---- lsh-1.4.3/src/argp/argp.h.orig 2004-11-21 18:26:53.256585824 -0500
-+++ lsh-1.4.3/src/argp/argp.h 2004-11-21 18:27:08.438277856 -0500
-@@ -554,13 +554,13 @@
- # endif
-
- ARGP_EI void
--__argp_usage (__const struct argp_state *__state) __THROW
-+__argp_usage (__const struct argp_state *__state)
- {
- __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
- }
-
- ARGP_EI int
--__option_is_short (__const struct argp_option *__opt) __THROW
-+__option_is_short (__const struct argp_option *__opt)
- {
- if (__opt->flags & OPTION_DOC)
- return 0;
-@@ -572,7 +572,7 @@
- }
-
- ARGP_EI int
--__option_is_end (__const struct argp_option *__opt) __THROW
-+__option_is_end (__const struct argp_option *__opt)
- {
- return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
- }
---- lsh-1.4.3/src/argp/argp-parse.c.orig 2004-11-21 18:27:21.137347304 -0500
-+++ lsh-1.4.3/src/argp/argp-parse.c 2004-11-21 18:27:38.008782456 -0500
-@@ -1267,13 +1267,13 @@
- /* Defined here, in case a user is not inlining the definitions in
- * argp.h */
- void
--__argp_usage (__const struct argp_state *__state) __THROW
-+__argp_usage (__const struct argp_state *__state)
- {
- __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
- }
-
- int
--__option_is_short (__const struct argp_option *__opt) __THROW
-+__option_is_short (__const struct argp_option *__opt)
- {
- if (__opt->flags & OPTION_DOC)
- return 0;
-@@ -1287,7 +1287,7 @@
- }
-
- int
--__option_is_end (__const struct argp_option *__opt) __THROW
-+__option_is_end (__const struct argp_option *__opt)
- {
- return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
- }
+++ /dev/null
-MD5 e3b6c88a8efce3f24ef9094e8ab47206 lsh-1.4.3.tar.gz 1414008
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/lsh/files/lsh.confd,v 1.1 2004/11/23 02:25:04 vapier Exp $
-
-# see `lshd --help` for more information
-# -p [num] changes the port number to listen on
-# --no-root-login don't allow root to login
-
-LSHD_OPTS=""
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/lsh/files/lsh.rc,v 1.1 2004/11/23 02:25:04 vapier Exp $
-
-depend() {
- use logger dns net
-}
-
-check_config() {
- local vardir="/var/spool/lsh"
- [ ! -d ${vardir} ] && mkdir ${vardir}
- [ ! -e ${vardir}/yarrow-seed-file ] && lsh-make-seed -o ${vardir}/yarrow-seed-file
- if [ ! -e /etc/lsh_host_key ] ; then
- einfo "Generating DSA-Hostkey..."
- /usr/bin/lsh-keygen --server -a dsa -l 8 -q | /usr/bin/lsh-writekey --server -q
- fi
- return 0
-}
-
-start() {
- check_config || return 1
- ebegin "Starting lshd"
- /usr/sbin/lshd --daemonic ${LSHD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping lshd"
- start-stop-daemon --stop --pidfile /var/run/lshd.pid
- eend $?
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/lsh/lsh-1.4.3-r1.ebuild,v 1.5 2004/11/23 02:25:04 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="x86 ~sparc ~ppc"
-IUSE="pam tcpd ipv6 zlib X"
-
-RDEPEND="dev-libs/gmp
- dev-libs/liboop
- 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}
- epatch ${FILESDIR}/${PV}-gcc34.patch
- epatch ${FILESDIR}/${PV}-configure.patch
- autoconf || die
-}
-
-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
-}
-
-src_install() {
- emake install DESTDIR=${D} || die
- dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README
-
- newinitd ${FILESDIR}/lsh.rc lshd
- newconfd ${FILESDIR}/lsh.confd lshd
-
- # remove bundled crap #56156
- cd ${D}/usr
- rm -rf lib include share/info/nettle.info*
-}