Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptmount/
Date: Mon, 17 Jul 2017 21:38:24
Message-Id: 1500327492.832ad1449fcbc8a81eed4712202f29ba8382b4b0.monsieurp@gentoo
1 commit: 832ad1449fcbc8a81eed4712202f29ba8382b4b0
2 Author: Igor Savlook <isav <AT> alzari <DOT> pw>
3 AuthorDate: Tue Jul 11 05:45:44 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 17 21:38:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832ad144
7
8 sys-fs/crypmount: new ebuild.
9
10 cryptmount allows management and user-mode mounting of encrypted filing systems
11 on GNU/Linux systems. Filesystems & crypto-swap can be on either raw block
12 devices or ordinary files, with device-mapper (dm-crypt) and loopback devices
13 setup automatically.
14
15 Gentoo-Bug: https://bugs.gentoo.org/624520
16
17 Closes: https://github.com/gentoo/gentoo/pull/5086
18
19 sys-fs/cryptmount/Manifest | 1 +
20 sys-fs/cryptmount/cryptmount-5.2.2.ebuild | 52 +++++++++++++++++++++++++++++++
21 sys-fs/cryptmount/metadata.xml | 11 +++++++
22 3 files changed, 64 insertions(+)
23
24 diff --git a/sys-fs/cryptmount/Manifest b/sys-fs/cryptmount/Manifest
25 new file mode 100644
26 index 00000000000..fd79944ef9a
27 --- /dev/null
28 +++ b/sys-fs/cryptmount/Manifest
29 @@ -0,0 +1 @@
30 +DIST cryptmount-5.2.2.tar.gz 743638 SHA256 2730782bcf1834e6f1b3575db1dde53e638d3679bc09d4eaf63111b428767859 SHA512 e8767728c49b7f8dc4f777778d5a9d1b912ea2c4c5363dbb5035a208aa1bd1f2565ce12a0666d75e9ee677bde04029082d20c22cf46a216f5e87a4adf7093572 WHIRLPOOL 772479a152b8ee3f2bb645b4d35a387522ba242b768a1d81b476734395d6696fa12923655e18e1bb69b07f15eeafa7a895dd4c7f685a9c93ac777cf87c6c0a1f
31
32 diff --git a/sys-fs/cryptmount/cryptmount-5.2.2.ebuild b/sys-fs/cryptmount/cryptmount-5.2.2.ebuild
33 new file mode 100644
34 index 00000000000..75d179508ab
35 --- /dev/null
36 +++ b/sys-fs/cryptmount/cryptmount-5.2.2.ebuild
37 @@ -0,0 +1,52 @@
38 +# Copyright 1999-2017 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +
43 +inherit linux-info systemd
44 +
45 +DESCRIPTION="A utility for management and user-mode mounting of encrypted filesystems"
46 +HOMEPAGE="http://cryptmount.sourceforge.net/"
47 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +IUSE="nls +ssl systemd"
54 +
55 +
56 +DOCS=( AUTHORS ChangeLog NEWS README RELNOTES ToDo )
57 +
58 +RDEPEND="
59 + dev-libs/libgcrypt
60 + nls? ( virtual/libintl )
61 + ssl? ( dev-libs/openssl )
62 + systemd? ( sys-apps/systemd )"
63 +
64 +DEPEND="
65 + ${RDEPEND}
66 + nls? ( sys-devel/gettext )"
67 +
68 +CONFIG_CHECK="BLK_DEV_DM"
69 +ERROR_BLK_DEV_DM="Please enable Device mapper support in your kernel config
70 + -> Device Drivers
71 + -> Multi-device support (RAID and LVM)
72 + -> Multiple devices driver support (RAID and LVM) (MD)
73 + <M> Device mapper support"
74 +
75 +src_configure() {
76 + econf \
77 + --enable-cswap \
78 + --enable-delegation \
79 + --enable-fsck \
80 + --enable-luks \
81 + --with-libgcrypt \
82 + $(use_enable nls) \
83 + $(use_enable ssl openssl-compat) \
84 + $(use_with systemd)
85 +}
86 +
87 +src_install() {
88 + default
89 +}
90
91 diff --git a/sys-fs/cryptmount/metadata.xml b/sys-fs/cryptmount/metadata.xml
92 new file mode 100644
93 index 00000000000..33947efb5f3
94 --- /dev/null
95 +++ b/sys-fs/cryptmount/metadata.xml
96 @@ -0,0 +1,11 @@
97 +<?xml version="1.0" encoding="UTF-8"?>
98 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
99 +<pkgmetadata>
100 + <maintainer type="person">
101 + <email>sav@××××××.pw</email>
102 + </maintainer>
103 + <maintainer type="project">
104 + <email>proxy-maint@g.o</email>
105 + </maintainer>
106 + <longdescription>A utility for management and user-mode mounting of encrypted filesystems</longdescription>
107 +</pkgmetadata>