Make installation of bl-1 stuff optional.

This commit is contained in:
Wulf C. Krueger 2010-10-09 22:10:47 +02:00 committed by Daniel Mierswa
parent 2ac5940673
commit 534c0b4120

View file

@ -7,7 +7,7 @@ DOWNLOADS="http://matt.ucc.asn.au/dropbear/${PNV}.tar.bz2"
LICENCES="MIT" LICENCES="MIT"
SLOT="0" SLOT="0"
PLATFORMS="~amd64 ~x86" PLATFORMS="~amd64 ~x86"
MYOPTIONS="multi pam scp static MYOPTIONS="baselayout multi pam scp static
multi [[ description = [ Use one binary for all programs. ] ]] multi [[ description = [ Use one binary for all programs. ] ]]
pam [[ description = [ Enable authentication via PAM. ] ]] pam [[ description = [ Enable authentication via PAM. ] ]]
scp [[ description = [ Build the dropbear secure copy binary. ] ]] scp [[ description = [ Build the dropbear secure copy binary. ] ]]
@ -55,8 +55,10 @@ src_install() {
emagicdocs emagicdocs
newinitd "${FILES}"/dropbear.init dropbear if option baselayout ; then
newconfd "${FILES}"/dropbear.conf dropbear newinitd "${FILES}"/dropbear.init dropbear
newconfd "${FILES}"/dropbear.conf dropbear
fi
if option multi ; then if option multi ; then
binprogs="dbclient dropbearkey dropbearconvert" binprogs="dbclient dropbearkey dropbearconvert"