View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/net-misc/dropbear/dropbear-0.48.1.ebuild (-1 / +14 lines)
 Lines 12-18    Link Here 
LICENSE="MIT"
LICENSE="MIT"
SLOT="0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="minimal multicall pam static zlib"
IUSE="minimal multicall pam static zlib savedconfig"
RDEPEND="zlib? ( sys-libs/zlib )
RDEPEND="zlib? ( sys-libs/zlib )
	pam? ( sys-libs/pam )"
	pam? ( sys-libs/pam )"
 Lines 38-43    Link Here 
	cd "${S}"
	cd "${S}"
	epatch "${FILESDIR}"/dropbear-0.45-urandom.patch
	epatch "${FILESDIR}"/dropbear-0.45-urandom.patch
	epatch "${FILESDIR}"/dropbear-0.46-dbscp.patch
	epatch "${FILESDIR}"/dropbear-0.46-dbscp.patch
	# Allow users some custom control over the config
	if use savedconfig ; then
		for conf in ${PN}-${PV}-${PR} ${PN}-${PV} ${PN}; do
			configfile=/etc/portage/savedconfig/${conf}.h
			einfo "Checking existence of ${configfile} ..."
			if [[ -r ${configfile} ]] ; then
				cp "${configfile}" "${S}"/options.h
				einfo "Found your ${configfile} and using it."
				einfo "Note that this feature is *totally unsupported*."
				break
			fi
		done
	fi
}
}
src_compile() {
src_compile() {