1 |
commit: 7dec9ac33a53cdda750f64a1dd79789c0076d418 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 10:58:04 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 11:06:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dec9ac3 |
7 |
|
8 |
sys-fs/cryptmount: add 6.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/864340 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
sys-fs/cryptmount/Manifest | 1 + |
14 |
sys-fs/cryptmount/cryptmount-6.0.ebuild | 77 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/cryptmount/Manifest b/sys-fs/cryptmount/Manifest |
18 |
index a59d3072e054..7b61f5f27489 100644 |
19 |
--- a/sys-fs/cryptmount/Manifest |
20 |
+++ b/sys-fs/cryptmount/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST cryptmount-5.3.3.tar.gz 545925 BLAKE2B 7a20d3a3b5805b1fe9ed84aafe6aaebeab4c62652dc8f53ecd70a7e0a0aa993ab5a03d54967910b94e6d8bde28f7ee7bb90a115a2bf101c9d4f4177fee26f90d SHA512 9945630316feee513a64e11dffa61ece77d0dff43a7b611d91fcb0a7c902402effb30ba15266d52c2f5381aa3ab7290a9a0999ca391c3c15cbdb83debe7dcca0 |
23 |
+DIST cryptmount-6.0.tar.gz 556919 BLAKE2B 54226756a6772810ff68c78ff38502df3890a428830eaa34612640d7e5cefd92085e288c5e45ff5b7e5c8bb8b524f458e55f5080e7e62435ae33a46f76c06845 SHA512 aac4ea4969542ade267b3c697988b15ded23fca3c7a330c7b78d990b2b3ad1a393af2d0bea93908187b50e404847cd580a325182397e2667064165764a55b017 |
24 |
|
25 |
diff --git a/sys-fs/cryptmount/cryptmount-6.0.ebuild b/sys-fs/cryptmount/cryptmount-6.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..e7fbfa348097 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/cryptmount/cryptmount-6.0.ebuild |
30 |
@@ -0,0 +1,77 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit linux-info |
37 |
+ |
38 |
+DESCRIPTION="A utility for management and user-mode mounting of encrypted filesystems" |
39 |
+HOMEPAGE="http://cryptmount.sourceforge.net/" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="argv0switch cswap fsck +gcrypt +largefile mount +nls +luks +openssl selinux systemd udev" |
46 |
+REQUIRED_USE=" |
47 |
+ luks? ( gcrypt ) |
48 |
+ openssl? ( gcrypt ) |
49 |
+" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-fs/lvm2 |
53 |
+ virtual/libiconv |
54 |
+ virtual/libintl |
55 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
56 |
+ luks? ( sys-fs/cryptsetup ) |
57 |
+ openssl? ( dev-libs/openssl:0= ) |
58 |
+ systemd? ( sys-apps/systemd ) |
59 |
+ udev? ( virtual/udev ) |
60 |
+" |
61 |
+ |
62 |
+DEPEND=" |
63 |
+ ${RDEPEND} |
64 |
+ sys-kernel/linux-headers |
65 |
+" |
66 |
+ |
67 |
+BDEPEND="nls? ( sys-devel/gettext )" |
68 |
+ |
69 |
+DOCS=( "AUTHORS" "ChangeLog" "NEWS" "README" "README.sshfs" "RELNOTES" "ToDo" ) |
70 |
+ |
71 |
+CONFIG_CHECK="BLK_DEV_DM" |
72 |
+ERROR_BLK_DEV_DM=" |
73 |
+ Please enable Device Mapper support in your kernel config |
74 |
+ -> Device Drivers |
75 |
+ -> Multiple devices driver support (RAID and LVM) |
76 |
+ -> Multiple devices driver support (RAID and LVM) |
77 |
+ <*>/<M> Device mapper support |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ # Since SELinux is hardcoded, remove it on disabled SELinux profile |
84 |
+ if ! use selinux; then |
85 |
+ sed -e '/selinux/d' -i dmutils.c || die |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local myeconf=( |
91 |
+ --disable-rpath |
92 |
+ $(use_enable argv0switch) |
93 |
+ $(use_enable cswap) |
94 |
+ $(use_enable fsck) |
95 |
+ $(use_with gcrypt libgcrypt) |
96 |
+ $(use_enable largefile) |
97 |
+ $(use_enable mount delegation) |
98 |
+ $(use_enable nls) |
99 |
+ $(use_enable luks) |
100 |
+ $(use_enable openssl openssl-compat) |
101 |
+ $(use_with systemd) |
102 |
+ $(use_enable udev libudev) |
103 |
+ |
104 |
+ ) |
105 |
+ |
106 |
+ econf "${myeconf[@]}" |
107 |
+} |