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