1 |
commit: b4fde57e4a6ba8d229c69f32717dea043fe4fea2 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 04:04:07 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Apr 15 00:51:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4fde57e |
7 |
|
8 |
app-crypt/tomb: also install kdf-keys |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-crypt/tomb/tomb-2.9-r1.ebuild | 103 ++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/tomb/tomb-2.9-r1.ebuild b/app-crypt/tomb/tomb-2.9-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..509c6f9e3 |
19 |
--- /dev/null |
20 |
+++ b/app-crypt/tomb/tomb-2.9-r1.ebuild |
21 |
@@ -0,0 +1,103 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI="7" |
26 |
+ |
27 |
+MYP="${P^}" |
28 |
+DESCRIPTION="Tomb :: File Encryption on GNU/Linux" |
29 |
+HOMEPAGE="https://www.dyne.org/software/tomb" |
30 |
+SRC_URI="https://files.dyne.org/tomb/releases/Tomb-${PV}.tar.gz" |
31 |
+LICENSE=" |
32 |
+ GPL-3 |
33 |
+ gui? ( GPL-3+ ) |
34 |
+" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64" |
37 |
+#todo extras/desktop extras/qt-tray extras/kdf |
38 |
+IUSE="gui test" |
39 |
+#test require sudo, can't be done non interactively |
40 |
+RESTRICT="test" |
41 |
+PATCHES=( "${FILESDIR}/gtomb.patch" ) |
42 |
+DOCS=( |
43 |
+ AUTHORS.txt |
44 |
+ ChangeLog.txt |
45 |
+ KNOWN_BUGS.txt |
46 |
+ README.txt |
47 |
+ doc/bertini_thesis.pdf |
48 |
+ doc/HACKING.txt |
49 |
+ doc/KEY_SPECIFICATIONS.txt |
50 |
+ doc/LinuxHDEncSettings.txt |
51 |
+ doc/Luks_on_disk_format.pdf |
52 |
+ doc/New_methods_in_HD_encryption.pdf |
53 |
+ doc/TKS1-draft.pdf |
54 |
+ doc/tomb_manpage.pdf |
55 |
+) |
56 |
+S="${WORKDIR}/${MYP}" |
57 |
+CDEPEND="dev-libs/libgcrypt" |
58 |
+RDEPEND=" |
59 |
+ ${CDEPEND} |
60 |
+ app-admin/sudo |
61 |
+ app-crypt/gnupg |
62 |
+ app-crypt/pinentry |
63 |
+ app-shells/zsh |
64 |
+ sys-fs/cryptsetup |
65 |
+ gui? ( gnome-extra/zenity ) |
66 |
+" |
67 |
+DEPEND="${CDEPEND}" |
68 |
+BDEPEND=" |
69 |
+ dev-python/pygments |
70 |
+ sys-devel/gettext |
71 |
+" |
72 |
+ |
73 |
+src_compile() { |
74 |
+ export PREFIX="${EPREFIX}/usr" |
75 |
+ emake |
76 |
+ |
77 |
+ pushd extras/kdf-keys || die |
78 |
+ emake all |
79 |
+ popd || die |
80 |
+ |
81 |
+ #translations |
82 |
+ pushd extras/translations || die |
83 |
+ emake all |
84 |
+ popd || die |
85 |
+ |
86 |
+ #documentation |
87 |
+ cd doc/literate || die |
88 |
+ emake |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ default |
93 |
+ |
94 |
+ #translations |
95 |
+ export PREFIX="${ED}/usr" |
96 |
+ pushd extras/translations || die |
97 |
+ emake install |
98 |
+ popd || die |
99 |
+ |
100 |
+ #zenity gui |
101 |
+ if use gui ; then |
102 |
+ pushd extras/gtomb || die |
103 |
+ dobin gtomb |
104 |
+ newdoc README.md README-gtomb |
105 |
+ popd || die |
106 |
+ fi |
107 |
+ |
108 |
+ pushd extras/kdf-keys || die |
109 |
+ emake install |
110 |
+ popd || die |
111 |
+ |
112 |
+ #documentation |
113 |
+ einstalldocs |
114 |
+ cd doc/literate || die |
115 |
+ insinto "/usr/share/doc/${PF}/html" |
116 |
+ doins -r *.html *.css public |
117 |
+} |
118 |
+ |
119 |
+src_test() { |
120 |
+ emake test |
121 |
+ |
122 |
+ pushd extras/kdf-keys || die |
123 |
+ emake test |
124 |
+} |