diff options
author | Benjamin Smee <strerror@gentoo.org> | 2005-06-01 23:03:58 +0000 |
---|---|---|
committer | Benjamin Smee <strerror@gentoo.org> | 2005-06-01 23:03:58 +0000 |
commit | b1646c8f0dcac8cc79ab7686331f074b9d1ba912 (patch) | |
tree | 7acb67a68914e8c45f3c6428523157ede645e935 /sys-fs/cryptsetup | |
parent | Another fix regarding the removal of multiple-mpm installations. (diff) | |
download | historical-b1646c8f0dcac8cc79ab7686331f074b9d1ba912.tar.gz historical-b1646c8f0dcac8cc79ab7686331f074b9d1ba912.tar.bz2 historical-b1646c8f0dcac8cc79ab7686331f074b9d1ba912.zip |
Now blocks with cryptsetup-luks
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-fs/cryptsetup')
-rw-r--r-- | sys-fs/cryptsetup/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/cryptsetup/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-0.1-r2.ebuild | 65 | ||||
-rw-r--r-- | sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r2 | 1 |
4 files changed, 76 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup/ChangeLog b/sys-fs/cryptsetup/ChangeLog index 176bbf1d368e..1eeb90d888c6 100644 --- a/sys-fs/cryptsetup/ChangeLog +++ b/sys-fs/cryptsetup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/cryptsetup # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.14 2005/05/29 14:42:12 strerror Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.15 2005/06/01 23:03:58 strerror Exp $ + +*cryptsetup-0.1-r2 (02 Jun 2005) + + 02 Jun 2005; Benjamin Smee <strerror@gentoo.org> + +cryptsetup-0.1-r2.ebuild: + Now blocks with cryptsetup-luks 29 May 2005; Benjamin Smee <strerror@gentoo.org> cryptsetup-0.1-r1.ebuild: Removed "die" call as per Spanky's request. diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest index 99f67b161374..f5a382fb2953 100644 --- a/sys-fs/cryptsetup/Manifest +++ b/sys-fs/cryptsetup/Manifest @@ -1,9 +1,11 @@ MD5 a562ab3dfba05c3f52de4afde1a829de cryptsetup-0.1.ebuild 1147 MD5 4d39fde8b124c6395174e3e93c699d4e cryptsetup-0.1-r1.ebuild 1702 -MD5 ee6fb8ec262d0011659e3ad1bd549b3f ChangeLog 1918 +MD5 af9a3ef93c517bf5f378f4a5859c5d77 ChangeLog 2067 MD5 cd57823a7232b359b6a8674cde9fadde metadata.xml 290 +MD5 5e6caca8f081c06635d6368783b8839e cryptsetup-0.1-r2.ebuild 1627 MD5 3232a190894a35b7d2f3610f2eb652dc files/dm-crypt-start.sh 3937 MD5 327d83538ed5305bdc3568cd353410bb files/cryptfs.confd 1337 MD5 8619b3f74d4d362bab9f430b63243a74 files/dm-crypt-stop.sh 1290 MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1 67 MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1-r1 67 +MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1-r2 67 diff --git a/sys-fs/cryptsetup/cryptsetup-0.1-r2.ebuild b/sys-fs/cryptsetup/cryptsetup-0.1-r2.ebuild new file mode 100644 index 000000000000..72f1c4c8f32e --- /dev/null +++ b/sys-fs/cryptsetup/cryptsetup-0.1-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit linux-info multilib eutils + +DESCRIPTION="Tool to setup encrypted devices with dm-crypt" +HOMEPAGE="http://www.saout.de/misc/dm-crypt/" +SRC_URI="http://www.saout.de/misc/dm-crypt/${PN}-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86" +IUSE="" + +DEPEND=">=sys-fs/device-mapper-1.00.07-r1 + >=dev-libs/libgcrypt-1.1.42 + !sys-fs/cryptsetup-luks" + +S=${WORKDIR}/${PN}-${PV} + +dm-crypt_check() { + ebegin "Checking for dm-crypt support" + linux_chkconfig_present DM_CRYPT + eend $? + + if [[ $? -ne 0 ]] ; then + ewarn "cryptsetup requires dm-crypt support!" + ewarn "Please enable dm-crypt support in your kernel config, found at:" + ewarn "(for 2.6 kernels)" + ewarn + ewarn " Device Drivers" + ewarn " Multi-Device Support" + ewarn " Device mapper support" + ewarn " [*] Crypt Target Support" + ewarn + ewarn "and recompile your kernel if you want this package to work with this kernel" + epause 5 + fi +} + +pkg_setup() { + linux-info_pkg_setup + dm-crypt_check; +} + +src_compile() { + econf --bindir=/bin --disable-nls || die + + sed -i \ + -e "s|-lgcrypt|/usr/$(get_libdir)/libgcrypt.a|" \ + -e "s|-lgpg-error|/usr/$(get_libdir)/libgpg-error.a|" \ + Makefile src/Makefile + sed -i -e "s|-lpopt|/usr/$(get_libdir)/libpopt.a|" src/Makefile + + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + + newconfd ${FILESDIR}/cryptfs.confd cryptfs + insinto /lib/rcscripts/addons + doins "${FILESDIR}"/dm-crypt-{start,stop}.sh +} diff --git a/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r2 b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r2 new file mode 100644 index 000000000000..e129539b0444 --- /dev/null +++ b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r2 @@ -0,0 +1 @@ +MD5 c813ca6b5e8ecd9a48ec126c3b8ce857 cryptsetup-0.1.tar.bz2 249013 |