1 |
commit: 3a6053c3ef07d62cb9a7f3ffa9e537b32d19dabd |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 28 17:16:01 2012 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 17:16:01 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=3a6053c3 |
7 |
|
8 |
Backported library patch. |
9 |
|
10 |
(Portage version: 2.1.11.12/git/Linux x86_64, signed Manifest commit with key 62EEF090) |
11 |
|
12 |
--- |
13 |
app-crypt/tcplay/Manifest | 22 +++++++++++++++++++- |
14 |
app-crypt/tcplay/files/tcplay-0.10-library.patch | 12 ++++++++++ |
15 |
.../{tcplay-0.10.ebuild => tcplay-0.10-r1.ebuild} | 9 +++---- |
16 |
3 files changed, 37 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/tcplay/Manifest b/app-crypt/tcplay/Manifest |
19 |
index a535b7a..334ce61 100644 |
20 |
--- a/app-crypt/tcplay/Manifest |
21 |
+++ b/app-crypt/tcplay/Manifest |
22 |
@@ -1,11 +1,31 @@ |
23 |
-----BEGIN PGP SIGNED MESSAGE----- |
24 |
Hash: SHA256 |
25 |
|
26 |
+- -----BEGIN PGP SIGNED MESSAGE----- |
27 |
+Hash: SHA256 |
28 |
+ |
29 |
+- - -----BEGIN PGP SIGNED MESSAGE----- |
30 |
+Hash: SHA256 |
31 |
+ |
32 |
DIST tcplay-0.10.tar.gz 31973 SHA256 4ec6a43587fbccf9f97a54a5f7bd074548ef589f978b18b101c887920a8a401f SHA512 eaaa3de7e87c61e19371131c43632af9cdb5158443376c82cf6f1765289bc9fd7625944c51ba7ddb42d32a4c837322e920e0c9d0f014c77a293c7a03e2919ca4 WHIRLPOOL 6e848fc660fd2fe239c1b0d06830d9ae52657169e1a00656c4a66a42caf376f943b247b4f242b3842c44dfc78ab04f4f46f3897be2dd35e6cdcb2302c205ee25 |
33 |
------BEGIN PGP SIGNATURE----- |
34 |
+- - -----BEGIN PGP SIGNATURE----- |
35 |
Version: GnuPG v2.0.19 (GNU/Linux) |
36 |
|
37 |
iF4EAREIAAYFAlA8uvoACgkQknrdDGLu8JDZ7QEAgXLib5fsTGFhAzoCi9Cx0v6m |
38 |
9jqX5KGLWvL40LL5rV8A+QGBoudkX7d2cPe6XeCSPwDb1wH6tTCtpbgPGd4Wp6oa |
39 |
=b8ic |
40 |
+- - -----END PGP SIGNATURE----- |
41 |
+- -----BEGIN PGP SIGNATURE----- |
42 |
+Version: GnuPG v2.0.19 (GNU/Linux) |
43 |
+ |
44 |
+iF4EAREIAAYFAlA8+n8ACgkQknrdDGLu8JCeugD/Y5rMzS+tnJDekpXwnlXVA1oF |
45 |
+Fe66kS2I7zOEsv2o/TQA/Rj4rhR6FdAVBmEd9JuGL0yVTa2DI25jJNc5b79txSfW |
46 |
+=WQEg |
47 |
+- -----END PGP SIGNATURE----- |
48 |
+-----BEGIN PGP SIGNATURE----- |
49 |
+Version: GnuPG v2.0.19 (GNU/Linux) |
50 |
+ |
51 |
+iF4EAREIAAYFAlA8/NAACgkQknrdDGLu8JDFTgEAkQYeN+kg8JNk/XU1oZ59i7zQ |
52 |
+i3W/Q9msiOkPNdr6vxwBAJk6scLxXXSJdUq27JBxMDRaA9yNYYscweg4EDoDufzM |
53 |
+=EPh5 |
54 |
-----END PGP SIGNATURE----- |
55 |
|
56 |
diff --git a/app-crypt/tcplay/files/tcplay-0.10-library.patch b/app-crypt/tcplay/files/tcplay-0.10-library.patch |
57 |
new file mode 100644 |
58 |
index 0000000..0dde2f6 |
59 |
--- /dev/null |
60 |
+++ b/app-crypt/tcplay/files/tcplay-0.10-library.patch |
61 |
@@ -0,0 +1,12 @@ |
62 |
+--- a/tcplay_api.c |
63 |
++++ b/tcplay_api.c |
64 |
+@@ -114,7 +114,8 @@ tc_api_create_volume(tc_api_opts *api_opts) |
65 |
+ check_prf_algo(api_opts->tc_prf_hash_hidden, 1), |
66 |
+ check_cipher_chain(api_opts->tc_cipher_hidden, 1), |
67 |
+ api_opts->tc_passphrase, api_opts->tc_passphrase_hidden, |
68 |
+- api_opts->tc_size_hidden_in_bytes, 0 /* non-interactive */); |
69 |
++ api_opts->tc_size_hidden_in_bytes, 0 /* non-interactive */, |
70 |
++ 0 /* non-secure erase */); |
71 |
+ |
72 |
+ return (err) ? TC_ERR : TC_OK; |
73 |
+ } |
74 |
|
75 |
diff --git a/app-crypt/tcplay/tcplay-0.10.ebuild b/app-crypt/tcplay/tcplay-0.10-r1.ebuild |
76 |
similarity index 80% |
77 |
rename from app-crypt/tcplay/tcplay-0.10.ebuild |
78 |
rename to app-crypt/tcplay/tcplay-0.10-r1.ebuild |
79 |
index 67cefc9..65357e5 100644 |
80 |
--- a/app-crypt/tcplay/tcplay-0.10.ebuild |
81 |
+++ b/app-crypt/tcplay/tcplay-0.10-r1.ebuild |
82 |
@@ -4,7 +4,7 @@ |
83 |
|
84 |
EAPI=4 |
85 |
|
86 |
-inherit toolchain-funcs vcs-snapshot |
87 |
+inherit eutils toolchain-funcs vcs-snapshot |
88 |
|
89 |
DESCRIPTION="Free and simple TrueCrypt Implementation based on dm-crypt" |
90 |
HOMEPAGE="https://github.com/bwalex/tc-play" |
91 |
@@ -24,17 +24,16 @@ src_prepare() { |
92 |
sed -e '/CFLAGS+= -O3/d' \ |
93 |
-e '/$(CC)/s:$: $(LDFLAGS):' \ |
94 |
-i Makefile || die |
95 |
+ epatch "${FILESDIR}"/${P}-library.patch |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
tc-export CC |
100 |
- emake SYSTEM=linux PBKDF_BACKEND=gcrypt program |
101 |
- #emake ${myconf} lib |
102 |
+ emake SYSTEM=linux PBKDF_BACKEND=gcrypt program lib |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
dobin ${PN} |
107 |
- doman ${PN}.8 |
108 |
- #doman ${PN}.3 |
109 |
+ doman ${PN}.{3,8} |
110 |
dodoc README |
111 |
} |