diff options
Diffstat (limited to 'net-misc/dropbear/dropbear-0.45.ebuild')
-rw-r--r-- | net-misc/dropbear/dropbear-0.45.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/net-misc/dropbear/dropbear-0.45.ebuild b/net-misc/dropbear/dropbear-0.45.ebuild index ca1a85e53ced..cde119535daf 100644 --- a/net-misc/dropbear/dropbear-0.45.ebuild +++ b/net-misc/dropbear/dropbear-0.45.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.45.ebuild,v 1.1 2005/03/08 21:10:02 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbear/dropbear-0.45.ebuild,v 1.1.1.1 2005/11/30 09:54:50 chriswhite Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://matt.ucc.asn.au/dropbear/releases/${P}.tar.bz2 LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~sh ~x86" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc sh sparc x86" IUSE="minimal multicall pam static zlib" RDEPEND="zlib? ( sys-libs/zlib ) @@ -27,9 +27,15 @@ set_options() { use static && makeopts="${makeopts} STATIC=1" } +pkg_setup() { + enewgroup sshd 22 + enewuser sshd 22 -1 /var/empty sshd +} + src_unpack() { unpack ${A} - epatch ${FILESDIR}/dropbear-0.45-urandom.patch || die + cd "${S}" + epatch "${FILESDIR}"/dropbear-0.45-urandom.patch } src_compile() { @@ -44,8 +50,9 @@ src_compile() { src_install() { set_options make install DESTDIR="${D}" ${makeopts} PROGRAMS="${progs}" || die "make install failed" - newinitd ${FILESDIR}/dropbear.init.d dropbear - newconfd ${FILESDIR}/dropbear.conf.d dropbear + doman *.8 + newinitd "${FILESDIR}"/dropbear.init.d dropbear + newconfd "${FILESDIR}"/dropbear.conf.d dropbear dodoc CHANGES README TODO SMALL MULTI # The multi install target does not install the links @@ -60,4 +67,6 @@ src_install() { dosym ../bin/dropbearmulti /usr/sbin/dropbear cd "${S}" fi + + mv "${D}"/usr/bin/{,db}scp } |