View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild (-3 / +4 lines)
 Lines 2-8    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild,v 1.7 2005/04/12 01:04:26 gustavoz Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild,v 1.7 2005/04/12 01:04:26 gustavoz Exp $
inherit kernel-mod
inherit linux-mod
DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
HOMEPAGE="http://www.saout.de/misc/dm-crypt/"
HOMEPAGE="http://www.saout.de/misc/dm-crypt/"
 Lines 19-26    Link Here 
S=${WORKDIR}/${PN}-${PV}
S=${WORKDIR}/${PN}-${PV}
pkg_setup() {
pkg_setup() {
	if ! kernel-mod_configoption_present DM_CRYPT ; then
	get_version
		ewarn "dm-crypt is not enabled in /usr/src/linux/.config"
	if ! linux_chkconfig_present DM_CRYPT ; then
		ewarn "dm-crypt is not enabled in ${KV_OUT_DIR}.config"
		ewarn "please see $HOMEPAGE"
		ewarn "please see $HOMEPAGE"
		ewarn "for details on how to enable dm-crypt for your kernel"
		ewarn "for details on how to enable dm-crypt for your kernel"
	fi
	fi