diff options
author | Rob Holland <tigger@gentoo.org> | 2004-07-21 13:18:55 +0000 |
---|---|---|
committer | Rob Holland <tigger@gentoo.org> | 2004-07-21 13:18:55 +0000 |
commit | 452f70ec7e14a85f351badfd86b2b32005fc6529 (patch) | |
tree | e115837061008015e333ffc941c231b2bc656e79 /sys-fs/cryptsetup | |
parent | bump again to avoid fcntl/readadhead problems on native glibc hosts (Manifest... (diff) | |
download | gentoo-2-452f70ec7e14a85f351badfd86b2b32005fc6529.tar.gz gentoo-2-452f70ec7e14a85f351badfd86b2b32005fc6529.tar.bz2 gentoo-2-452f70ec7e14a85f351badfd86b2b32005fc6529.zip |
Initial version. Closes bug #44079. Thanks to ripple@ripple.be and ben@disciplina.net for submitting ebuilds for it
Diffstat (limited to 'sys-fs/cryptsetup')
-rw-r--r-- | sys-fs/cryptsetup/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/cryptsetup/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-0.1.ebuild | 42 | ||||
-rw-r--r-- | sys-fs/cryptsetup/files/digest-cryptsetup-0.1 | 1 | ||||
-rw-r--r-- | sys-fs/cryptsetup/metadata.xml | 8 |
5 files changed, 63 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/ChangeLog b/sys-fs/cryptsetup/ChangeLog new file mode 100644 index 000000000000..3e334abdb3b7 --- /dev/null +++ b/sys-fs/cryptsetup/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-fs/cryptsetup +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.1 2004/07/21 13:18:55 tigger Exp $ + +*cryptsetup-0.1 (21 Jul 2004) + + 21 Jul 2004; Rob Holland <tigger@gentoo.org> +cryptsetup-0.1.ebuild: + Initial version. Closes bug #44079. Thanks to ripple@ripple.be and + ben@disciplina.net for submitting ebuilds for it + diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest new file mode 100644 index 000000000000..9d83c080c687 --- /dev/null +++ b/sys-fs/cryptsetup/Manifest @@ -0,0 +1,2 @@ +MD5 2ad346850a4167dfc984644317cb7efc cryptsetup-0.1.ebuild 978 +MD5 959c303c3bfeab6c12e28ae4e16400b3 files/digest-cryptsetup-0.1 67 diff --git a/sys-fs/cryptsetup/cryptsetup-0.1.ebuild b/sys-fs/cryptsetup/cryptsetup-0.1.ebuild new file mode 100644 index 000000000000..582c1e079b57 --- /dev/null +++ b/sys-fs/cryptsetup/cryptsetup-0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +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="~x86" + +DEPEND=">=sys-libs/device-mapper-1.00.07-r1 + >=dev-libs/libgcrypt-1.1.42" + +IUSE="" + +S=${WORKDIR}/${PN}-${PV} + +pkg_setup() { + if ! grep CONFIG_DM_CRYPT /usr/src/linux/.config > /dev/null 2>&1 + 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" + fi +} + +src_compile() { + cd ${S} + + 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|-lpopt|/usr/lib/libpopt.a|' src/Makefile + + emake || die +} + +src_install() { + make DESTDIR=${D} install +} diff --git a/sys-fs/cryptsetup/files/digest-cryptsetup-0.1 b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1 new file mode 100644 index 000000000000..e129539b0444 --- /dev/null +++ b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1 @@ -0,0 +1 @@ +MD5 c813ca6b5e8ecd9a48ec126c3b8ce857 cryptsetup-0.1.tar.bz2 249013 diff --git a/sys-fs/cryptsetup/metadata.xml b/sys-fs/cryptsetup/metadata.xml new file mode 100644 index 000000000000..1fe1cc3b9927 --- /dev/null +++ b/sys-fs/cryptsetup/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +<maintainer> + <email>tigger@gentoo.org</email> +</maintainer> +</pkgmetadata> |