diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-02 15:13:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-02 15:13:31 +0000 |
commit | b1b51341b5667058e75015b551cac1b3819f061f (patch) | |
tree | 32b7d2a994e9dc4336364186cebf3f0dc1e95177 /sys-fs | |
parent | slightly expand postinst message (diff) | |
download | historical-b1b51341b5667058e75015b551cac1b3819f061f.tar.gz historical-b1b51341b5667058e75015b551cac1b3819f061f.tar.bz2 historical-b1b51341b5667058e75015b551cac1b3819f061f.zip |
forward port fixes az dropped
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/cryptsetup/Manifest | 8 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild | 26 |
2 files changed, 17 insertions, 17 deletions
diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest index 2d88aec67a43..64015f33e88c 100644 --- a/sys-fs/cryptsetup/Manifest +++ b/sys-fs/cryptsetup/Manifest @@ -1,9 +1,9 @@ MD5 029baf1dcd8c82242a0f3be4d9f04915 ChangeLog 1138 -MD5 959bc35480973c9d05df92afd86973b9 cryptsetup-0.1-r1.ebuild 1289 -MD5 5be5a7266a46591bb4db0cacd9ac8af3 metadata.xml 226 MD5 ce05c82b34956de5608a31a5ef6d3606 cryptsetup-0.1.ebuild 1154 -MD5 0f3b17ce04a644eefd9272f05dd78d01 files/cryptfs.confd 1138 +MD5 5be5a7266a46591bb4db0cacd9ac8af3 metadata.xml 226 +MD5 5b48a591c537a0312e3156edf137e869 cryptsetup-0.1-r1.ebuild 1310 MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1 67 +MD5 0f3b17ce04a644eefd9272f05dd78d01 files/cryptfs.confd 1138 +MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1-r1 67 MD5 531c55342364603a7f5dd53be41ca8c2 files/dm-crypt-start.sh 3751 MD5 129a53379c8a2a677e751a1b3b602e9f files/dm-crypt-stop.sh 1183 -MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1-r1 67 diff --git a/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild b/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild index ddda2aefcb17..87c3109cae08 100644 --- a/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # 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.1 2005/03/01 23:25:14 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-0.1-r1.ebuild,v 1.2 2005/03/02 15:13:31 vapier Exp $ + +inherit kernel-mod DESCRIPTION="Tool to setup encrypted devices with dm-crypt" HOMEPAGE="http://www.saout.de/misc/dm-crypt/" @@ -8,18 +10,16 @@ SRC_URI="http://www.saout.de/misc/dm-crypt/${PN}-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" +KEYWORDS="amd64 arm hppa ia64 ppc s390 x86" +IUSE="" DEPEND=">=sys-fs/device-mapper-1.00.07-r1 - >=dev-libs/libgcrypt-1.1.42" - -IUSE="" + >=dev-libs/libgcrypt-1.1.42" S=${WORKDIR}/${PN}-${PV} pkg_setup() { - if ! grep CONFIG_DM_CRYPT /usr/src/linux/.config > /dev/null 2>&1 - then + if ! kernel-mod_configoption_present CONFIG_DM_CRYPT ; then ewarn "dm-crypt is not enabled in /usr/src/linux/.config" ewarn "please see $HOMEPAGE" ewarn "for details on how to enable dm-crypt for your kernel" @@ -27,19 +27,19 @@ pkg_setup() { } src_compile() { - cd ${S} - - econf --bindir=/bin --disable-nls|| die + econf --bindir=/bin --disable-nls || die - sed -i -e 's|-lgcrypt|/usr/lib/libgcrypt.a|' Makefile src/Makefile - sed -i -e 's|-lgpg-error|/usr/lib/libgpg-error.a|' Makefile src/Makefile + sed -i \ + -e 's|-lgcrypt|/usr/lib/libgcrypt.a|' \ + -e 's|-lgpg-error|/usr/lib/libgpg-error.a|' \ + Makefile src/Makefile sed -i -e 's|-lpopt|/usr/lib/libpopt.a|' src/Makefile emake || die } src_install() { - make DESTDIR=${D} install + make DESTDIR="${D}" install || die "install failed" newconfd ${FILESDIR}/cryptfs.confd cryptfs insinto /lib/rcscripts/addons |