diff options
Diffstat (limited to 'sys-fs/cryptmount')
-rw-r--r-- | sys-fs/cryptmount/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/cryptmount/Manifest | 16 | ||||
-rw-r--r-- | sys-fs/cryptmount/cryptmount-1.1.ebuild | 63 | ||||
-rw-r--r-- | sys-fs/cryptmount/files/digest-cryptmount-1.1 | 3 | ||||
-rw-r--r-- | sys-fs/cryptmount/metadata.xml | 19 |
5 files changed, 109 insertions, 0 deletions
diff --git a/sys-fs/cryptmount/ChangeLog b/sys-fs/cryptmount/ChangeLog new file mode 100644 index 000000000..0eb48f7b1 --- /dev/null +++ b/sys-fs/cryptmount/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-fs/cryptmount +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 14 Sep 2006; Thomas Patrick (curmudgeon) <throw_away_2002@yahoo.com> + +cryptmount-1.1.ebuild, +metadata.xml: + New ebuild (my first :) ) #147491 + diff --git a/sys-fs/cryptmount/Manifest b/sys-fs/cryptmount/Manifest new file mode 100644 index 000000000..7b094fda1 --- /dev/null +++ b/sys-fs/cryptmount/Manifest @@ -0,0 +1,16 @@ +DIST cryptmount-1.1.tar.gz 201989 RMD160 80e47bb2ebf95fc56bf2505c4e57385406c979ea SHA1 bb0dde6a80ec7e098c19ecdbf8391ade5a17c618 SHA256 80f79ef2f4042708e867716079357adb505244a93cab4ccb1809c8a9d291044c +EBUILD cryptmount-1.1.ebuild 1513 RMD160 b6804f2c70ebc8c358b94dbfce579987a77efb16 SHA1 ac1675889a7e89ec1abc939abd4be5097b24e4a2 SHA256 f5db806476a3bf67c55ed62992db11bde540c7fc24ff8a0099b5f1b502ce85d7 +MD5 a215ebac23c97e95dd01adefb0c6da7a cryptmount-1.1.ebuild 1513 +RMD160 b6804f2c70ebc8c358b94dbfce579987a77efb16 cryptmount-1.1.ebuild 1513 +SHA256 f5db806476a3bf67c55ed62992db11bde540c7fc24ff8a0099b5f1b502ce85d7 cryptmount-1.1.ebuild 1513 +MISC ChangeLog 267 RMD160 1937090d9e061f7e2bfb05ad59f7df31afced591 SHA1 23bfbcf22625efe0c30bd3789eafb7d332376c1a SHA256 c248f0c067f8c22294e9e1954267d1412b02f706316caf950656dec5e74eab21 +MD5 ccc38cc5275dbf5e7c35023b24ddcc17 ChangeLog 267 +RMD160 1937090d9e061f7e2bfb05ad59f7df31afced591 ChangeLog 267 +SHA256 c248f0c067f8c22294e9e1954267d1412b02f706316caf950656dec5e74eab21 ChangeLog 267 +MISC metadata.xml 479 RMD160 5e4dc631b5ef9d0599ceab035ee0144ca2b70eda SHA1 e4814157fff93c8d95b4aedaf5a651276f0a799f SHA256 de5b4b7c2a0ae4e0a7b9474ac0bbdf97ba73da2175b2cce8cf6cb914d004fb15 +MD5 bc03e211a0a3b68398ab438f00bd7688 metadata.xml 479 +RMD160 5e4dc631b5ef9d0599ceab035ee0144ca2b70eda metadata.xml 479 +SHA256 de5b4b7c2a0ae4e0a7b9474ac0bbdf97ba73da2175b2cce8cf6cb914d004fb15 metadata.xml 479 +MD5 f0b83d60c096b959d0bcc4f1d3ee8e95 files/digest-cryptmount-1.1 244 +RMD160 a1d9e434c989c456e1cf13fb23ff6c2b3564fa7d files/digest-cryptmount-1.1 244 +SHA256 7659ff7fba0eccf994981a0e959d0f5a683181020b38776c0e76cbfec12ee8f3 files/digest-cryptmount-1.1 244 diff --git a/sys-fs/cryptmount/cryptmount-1.1.ebuild b/sys-fs/cryptmount/cryptmount-1.1.ebuild new file mode 100644 index 000000000..8e1f5dd6d --- /dev/null +++ b/sys-fs/cryptmount/cryptmount-1.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit flag-o-matic linux-info + +DESCRIPTION="A utility for management and user-mode mounting of encrypted filesystems" +HOMEPAGE="http://cryptmount.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls ssl" + +DEPEND="sys-fs/device-mapper + >=dev-libs/libgcrypt-1.1.94 + ssl? ( dev-libs/openssl ) + nls? ( sys-devel/gettext )" +RDEPEND="${DEPEND}" + +dm-crypt_check() { + ebegin "Checking for Device mapper support (BLK_DEV_DM)" + linux_chkconfig_present BLK_DEV_DM + eend $? + + if [[ $? -ne 0 ]] ; then + ewarn "Cryptmount requires Device mapper support!" + ewarn "Please enable Device mapper 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 + ewarn "and recompile your kernel if you want this package to work." + epause 10 + fi +} + +pkg_setup() { + linux-info_pkg_setup + dm-crypt_check +} + +src_compile() { + # recommended for setXid, dynamically linked biraries + append-ldflags -Wl,-z,now + + econf \ + --with-gnu-ld \ + --with-libgcrypt \ + $(use_enable nls) \ + $(use_with ssl openssl) \ + || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make install DESTDIR="${D}" || die "Installation failed" + dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README RELNOTES ToDo +} diff --git a/sys-fs/cryptmount/files/digest-cryptmount-1.1 b/sys-fs/cryptmount/files/digest-cryptmount-1.1 new file mode 100644 index 000000000..93b63a8ff --- /dev/null +++ b/sys-fs/cryptmount/files/digest-cryptmount-1.1 @@ -0,0 +1,3 @@ +MD5 fd94854f22171da73333920b494cd1cd cryptmount-1.1.tar.gz 201989 +RMD160 80e47bb2ebf95fc56bf2505c4e57385406c979ea cryptmount-1.1.tar.gz 201989 +SHA256 80f79ef2f4042708e867716079357adb505244a93cab4ccb1809c8a9d291044c cryptmount-1.1.tar.gz 201989 diff --git a/sys-fs/cryptmount/metadata.xml b/sys-fs/cryptmount/metadata.xml new file mode 100644 index 000000000..4ef871208 --- /dev/null +++ b/sys-fs/cryptmount/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd> + maintainer-wanted + </herd> + <longdescription> + A utility for management and user-mode mounting of encrypted filesystems. + Easy to use and works with both block devices and files via loopback. + </longdescription> + <maintainer> + <email> + throw_away_2002@yahoo.com + </email> + <name> + Thomas Patrick + </name> + </maintainer> +</pkgmetadata> |