diff options
author | 2006-06-01 09:40:00 +0000 | |
---|---|---|
committer | 2006-06-01 09:40:00 +0000 | |
commit | 7ba164f14d87482c2ca7f6e3cf4f99eb81471448 (patch) | |
tree | 6ce476199f175714d9fd1297419c3431ce102cec /sys-fs | |
parent | Make sure we use the -n option to 'eselect compiler set' when setting up the ... (diff) | |
download | historical-7ba164f14d87482c2ca7f6e3cf4f99eb81471448.tar.gz historical-7ba164f14d87482c2ca7f6e3cf4f99eb81471448.tar.bz2 historical-7ba164f14d87482c2ca7f6e3cf4f99eb81471448.zip |
Version bump to fix bug #135048
Package-Manager: portage-2.0.54-r2
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/cryptsetup-luks/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/cryptsetup-luks/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3-r2.ebuild | 89 | ||||
-rw-r--r-- | sys-fs/cryptsetup-luks/files/digest-cryptsetup-luks-1.0.3-r2 | 1 |
4 files changed, 100 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup-luks/ChangeLog b/sys-fs/cryptsetup-luks/ChangeLog index 2208b94debe4..857e3729d01f 100644 --- a/sys-fs/cryptsetup-luks/ChangeLog +++ b/sys-fs/cryptsetup-luks/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/cryptsetup-luks # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/ChangeLog,v 1.28 2006/05/31 09:10:07 strerror Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/ChangeLog,v 1.29 2006/06/01 09:39:59 strerror Exp $ + +*cryptsetup-luks-1.0.3-r2 (01 Jun 2006) + + 01 Jun 2006; Benjamin Smee <strerror@gentoo.org> + +cryptsetup-luks-1.0.3-r2.ebuild: + Version bump to fix bug #135048 *cryptsetup-luks-1.0.3-r1 (31 May 2006) diff --git a/sys-fs/cryptsetup-luks/Manifest b/sys-fs/cryptsetup-luks/Manifest index eb4a3903b8a9..e143640e61a7 100644 --- a/sys-fs/cryptsetup-luks/Manifest +++ b/sys-fs/cryptsetup-luks/Manifest @@ -1,7 +1,8 @@ -MD5 6adef771f97c3193e3defbb715f183fd ChangeLog 3957 +MD5 db13fc9ca61363b96304c8b0b6977a2b ChangeLog 4120 MD5 e9db29331962729c373695ee3d7e8fed cryptsetup-luks-1.0.1-r1.ebuild 2043 MD5 06345bb64c18f0ab5857556a8bd52de0 cryptsetup-luks-1.0.1-r2.ebuild 2113 MD5 37d175ab74fa667692d33cd505ccbaa0 cryptsetup-luks-1.0.3-r1.ebuild 2206 +MD5 648e59cde465f5acc399f8707299ca1c cryptsetup-luks-1.0.3-r2.ebuild 2261 MD5 6d86b15e07cd0cdf96d8a363b1d778cd files/cryptfs.confd 1548 MD5 906131d3cdd20ac94109052236e469b9 files/cryptsetup-luks-1.0.1-libmapper.patch 534 MD5 c66058fc1ba9f980485e2b9e3b66df52 files/cryptsetup-luks-1.0.1-no-nls.patch 597 @@ -9,6 +10,7 @@ MD5 8e76b60d4e94130170c49c7f32bb2ee6 files/cryptsetup-luks-1.0.3-selinux.patch 4 MD5 1c0c01504919b985fca8352924530b59 files/digest-cryptsetup-luks-1.0.1-r1 268 MD5 1c0c01504919b985fca8352924530b59 files/digest-cryptsetup-luks-1.0.1-r2 268 MD5 1af32c51e65cb0cc90ccf7cb90192283 files/digest-cryptsetup-luks-1.0.3-r1 74 +MD5 1af32c51e65cb0cc90ccf7cb90192283 files/digest-cryptsetup-luks-1.0.3-r2 74 MD5 c653a0b4ace27569ccc659b7cb43b4a9 files/dm-crypt-start.sh 4306 MD5 a3bb6598f67c8922ccb6576ff256ced0 files/dm-crypt-stop.sh 1297 MD5 6c788beeca78bd11e5cd6e759e52fadc metadata.xml 228 diff --git a/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3-r2.ebuild b/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3-r2.ebuild new file mode 100644 index 000000000000..c9df79f46edf --- /dev/null +++ b/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup-luks/cryptsetup-luks-1.0.3-r2.ebuild,v 1.1 2006/06/01 09:39:59 strerror Exp $ + +inherit autotools linux-info eutils flag-o-matic + +DESCRIPTION="Tool to setup encrypted devices with dm-crypt" +HOMEPAGE="http://luks.endorphin.org/" +SRC_URI="http://luks.endorphin.org/source/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="dynamic nls pic selinux" + +DEPEND=">=sys-fs/device-mapper-1.00.07-r1 + >=dev-libs/libgcrypt-1.1.42 + >=dev-libs/libgpg-error-1.0-r1 + selinux? ( sys-libs/libselinux ) + !sys-fs/cryptsetup" + +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_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/"${PN}-${PV}-selinux.patch" + eautoreconf +} + +src_compile() { + local PIC_FLAG="" + if use pic ; then + PIC_FLAG="--with-pic" + fi + + if use dynamic ; then + ewarn "If you need cryptsetup for an initrd or initramfs then you" + ewarn "should NOT use the dynamic USE flag" + epause 5 + econf --sbindir=/bin --disable-static "${PIC_FLAG}" \ + $(use_enable nls) \ + $(use_enable selinux) \ + || die + else + econf --sbindir=/bin --enable-static "${PIC_FLAG}" \ + $(use_enable nls) \ + $(use_enable selinux) \ + || die + fi + + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + rmdir "${D}/usr/lib/cryptsetup" + insinto /lib/rcscripts/addons + newconfd ${FILESDIR}/cryptfs.confd cryptfs + doins "${FILESDIR}"/dm-crypt-{start,stop}.sh +} + +pkg_postinst() { + einfo "Please see the example for configuring a LUKS mountpoint" + einfo "in /etc/conf.d/cryptfs" +} diff --git a/sys-fs/cryptsetup-luks/files/digest-cryptsetup-luks-1.0.3-r2 b/sys-fs/cryptsetup-luks/files/digest-cryptsetup-luks-1.0.3-r2 new file mode 100644 index 000000000000..d1c01d5563c8 --- /dev/null +++ b/sys-fs/cryptsetup-luks/files/digest-cryptsetup-luks-1.0.3-r2 @@ -0,0 +1 @@ +MD5 e134b82b4706a28ba1d73b9176d5ad0c cryptsetup-luks-1.0.3.tar.bz2 304836 |