|
|
# 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/" |
|
|
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 |