diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-06-21 13:32:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-06-21 13:32:07 +0000 |
commit | 1b49704f615ae2cd0be361d0906ba2091d22a9f8 (patch) | |
tree | 560a568242e04852172db09074258f6edd43992a /net-misc | |
parent | font.eclassify (Manifest recommit) (diff) | |
download | gentoo-2-1b49704f615ae2cd0be361d0906ba2091d22a9f8.tar.gz gentoo-2-1b49704f615ae2cd0be361d0906ba2091d22a9f8.tar.bz2 gentoo-2-1b49704f615ae2cd0be361d0906ba2091d22a9f8.zip |
ver bump #54599
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dropbear/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/dropbear/dropbear-0.41.ebuild | 4 | ||||
-rw-r--r-- | net-misc/dropbear/dropbear-0.42.ebuild | 26 | ||||
-rw-r--r-- | net-misc/dropbear/files/digest-dropbear-0.42 | 1 | ||||
-rw-r--r-- | net-misc/dropbear/files/dropbear.conf.d | 8 | ||||
-rw-r--r-- | net-misc/dropbear/files/dropbear.init.d | 36 |
6 files changed, 81 insertions, 4 deletions
diff --git a/net-misc/dropbear/ChangeLog b/net-misc/dropbear/ChangeLog index d4333b94b0a0..b86d0020138f 100644 --- a/net-misc/dropbear/ChangeLog +++ b/net-misc/dropbear/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/dropbear -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/ChangeLog,v 1.7 2004/03/10 22:01:15 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/ChangeLog,v 1.8 2004/06/21 13:32:07 vapier Exp $ + +*dropbear-0.42 (21 Jun 2004) + + 21 Jun 2004; Mike Frysinger <vapier@gentoo.org> +files/dropbear.conf.d, + +files/dropbear.init.d, +dropbear-0.42.ebuild: + Version bump #54599 by Priit Laes. Also add some init.d scripts. *dropbear-0.41 (10 Mar 2004) diff --git a/net-misc/dropbear/dropbear-0.41.ebuild b/net-misc/dropbear/dropbear-0.41.ebuild index e5eb1bb01ee5..e60eda77bae7 100644 --- a/net-misc/dropbear/dropbear-0.41.ebuild +++ b/net-misc/dropbear/dropbear-0.41.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.41.ebuild,v 1.3 2004/05/28 19:40:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.41.ebuild,v 1.4 2004/06/21 13:32:07 vapier Exp $ DESCRIPTION="small SSH 2 server designed for small memory environments" HOMEPAGE="http://matt.ucc.asn.au/dropbear/" diff --git a/net-misc/dropbear/dropbear-0.42.ebuild b/net-misc/dropbear/dropbear-0.42.ebuild new file mode 100644 index 000000000000..d779e0d1ac0d --- /dev/null +++ b/net-misc/dropbear/dropbear-0.42.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.42.ebuild,v 1.1 2004/06/21 13:32:07 vapier Exp $ + +DESCRIPTION="small SSH 2 server designed for small memory environments" +HOMEPAGE="http://matt.ucc.asn.au/dropbear/" +SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="x86 ppc mips arm" +IUSE="zlib" + +DEPEND="zlib? ( sys-libs/zlib )" + +src_compile() { + econf `use_enable zlib` || die + emake || die +} + +src_install() { + make install DESTDIR=${D} || die + exeinto /etc/init.d ; newexe ${FILESDIR}/dropbear.init.d dropbear + insinto /etc/conf.d ; newins ${FILESDIR}/dropbear.conf.d dropbear + dodoc CHANGES README TODO SMALL +} diff --git a/net-misc/dropbear/files/digest-dropbear-0.42 b/net-misc/dropbear/files/digest-dropbear-0.42 new file mode 100644 index 000000000000..904ab373fd4d --- /dev/null +++ b/net-misc/dropbear/files/digest-dropbear-0.42 @@ -0,0 +1 @@ +MD5 cd4c38bdbd0a2665adaa700bed1677d6 dropbear-0.42.tar.bz2 1140348 diff --git a/net-misc/dropbear/files/dropbear.conf.d b/net-misc/dropbear/files/dropbear.conf.d new file mode 100644 index 000000000000..758a03187de3 --- /dev/null +++ b/net-misc/dropbear/files/dropbear.conf.d @@ -0,0 +1,8 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/files/dropbear.conf.d,v 1.1 2004/06/21 13:32:07 vapier Exp $ + +# see `dropbear -h` for more information +# -w disables root logins +# -p # changes the port number to listen on +DROPBEAR_OPTS="" diff --git a/net-misc/dropbear/files/dropbear.init.d b/net-misc/dropbear/files/dropbear.init.d new file mode 100644 index 000000000000..cbd04a176c16 --- /dev/null +++ b/net-misc/dropbear/files/dropbear.init.d @@ -0,0 +1,36 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/files/dropbear.init.d,v 1.1 2004/06/21 13:32:07 vapier Exp $ + +depend() { + use logger dns + need net +} + +check_config() { + if [ ! -e /etc/dropbear/ ] ; then + mkdir /etc/dropbear/ + fi + if [ ! -e /etc/dropbear/dropbear_dss_host_key ] ; then + einfo "Generating DSS-Hostkey..." + /usr/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key + fi + if [ ! -e /etc/dropbear/dropbear_rsa_host_key ] ; then + einfo "Generating RSA-Hostkey..." + /usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key + fi +} + +start() { + check_config || return 1 + ebegin "Starting dropbear" + /usr/sbin/dropbear ${DROPBEAR_OPTS} + eend $? +} + +stop() { + ebegin "Stopping dropbear" + start-stop-daemon --stop --pidfile /var/run/dropbear.pid + eend $? +} |