public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: app-crypt/tcplay/, app-crypt/tcplay/files/
Date: Tue, 28 Aug 2012 17:16:19 +0000 (UTC)	[thread overview]
Message-ID: <1346174161.3a6053c3ef07d62cb9a7f3ffa9e537b32d19dabd.xmw@gentoo> (raw)

commit:     3a6053c3ef07d62cb9a7f3ffa9e537b32d19dabd
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 17:16:01 2012 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 17:16:01 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=3a6053c3

Backported library patch.

(Portage version: 2.1.11.12/git/Linux x86_64, signed Manifest commit with key 62EEF090)

---
 app-crypt/tcplay/Manifest                          |   22 +++++++++++++++++++-
 app-crypt/tcplay/files/tcplay-0.10-library.patch   |   12 ++++++++++
 .../{tcplay-0.10.ebuild => tcplay-0.10-r1.ebuild}  |    9 +++----
 3 files changed, 37 insertions(+), 6 deletions(-)

diff --git a/app-crypt/tcplay/Manifest b/app-crypt/tcplay/Manifest
index a535b7a..334ce61 100644
--- a/app-crypt/tcplay/Manifest
+++ b/app-crypt/tcplay/Manifest
@@ -1,11 +1,31 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA256
 
+- -----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+- - -----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
 DIST tcplay-0.10.tar.gz 31973 SHA256 4ec6a43587fbccf9f97a54a5f7bd074548ef589f978b18b101c887920a8a401f SHA512 eaaa3de7e87c61e19371131c43632af9cdb5158443376c82cf6f1765289bc9fd7625944c51ba7ddb42d32a4c837322e920e0c9d0f014c77a293c7a03e2919ca4 WHIRLPOOL 6e848fc660fd2fe239c1b0d06830d9ae52657169e1a00656c4a66a42caf376f943b247b4f242b3842c44dfc78ab04f4f46f3897be2dd35e6cdcb2302c205ee25
------BEGIN PGP SIGNATURE-----
+- - -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (GNU/Linux)
 
 iF4EAREIAAYFAlA8uvoACgkQknrdDGLu8JDZ7QEAgXLib5fsTGFhAzoCi9Cx0v6m
 9jqX5KGLWvL40LL5rV8A+QGBoudkX7d2cPe6XeCSPwDb1wH6tTCtpbgPGd4Wp6oa
 =b8ic
+- - -----END PGP SIGNATURE-----
+- -----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlA8+n8ACgkQknrdDGLu8JCeugD/Y5rMzS+tnJDekpXwnlXVA1oF
+Fe66kS2I7zOEsv2o/TQA/Rj4rhR6FdAVBmEd9JuGL0yVTa2DI25jJNc5b79txSfW
+=WQEg
+- -----END PGP SIGNATURE-----
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlA8/NAACgkQknrdDGLu8JDFTgEAkQYeN+kg8JNk/XU1oZ59i7zQ
+i3W/Q9msiOkPNdr6vxwBAJk6scLxXXSJdUq27JBxMDRaA9yNYYscweg4EDoDufzM
+=EPh5
 -----END PGP SIGNATURE-----

diff --git a/app-crypt/tcplay/files/tcplay-0.10-library.patch b/app-crypt/tcplay/files/tcplay-0.10-library.patch
new file mode 100644
index 0000000..0dde2f6
--- /dev/null
+++ b/app-crypt/tcplay/files/tcplay-0.10-library.patch
@@ -0,0 +1,12 @@
+--- a/tcplay_api.c
++++ b/tcplay_api.c
+@@ -114,7 +114,8 @@ tc_api_create_volume(tc_api_opts *api_opts)
+ 	    check_prf_algo(api_opts->tc_prf_hash_hidden, 1),
+ 	    check_cipher_chain(api_opts->tc_cipher_hidden, 1),
+ 	    api_opts->tc_passphrase, api_opts->tc_passphrase_hidden,
+-	    api_opts->tc_size_hidden_in_bytes, 0 /* non-interactive */);
++	    api_opts->tc_size_hidden_in_bytes, 0 /* non-interactive */,
++	    0 /* non-secure erase */);
+ 
+ 	return (err) ? TC_ERR : TC_OK;
+ }

diff --git a/app-crypt/tcplay/tcplay-0.10.ebuild b/app-crypt/tcplay/tcplay-0.10-r1.ebuild
similarity index 80%
rename from app-crypt/tcplay/tcplay-0.10.ebuild
rename to app-crypt/tcplay/tcplay-0.10-r1.ebuild
index 67cefc9..65357e5 100644
--- a/app-crypt/tcplay/tcplay-0.10.ebuild
+++ b/app-crypt/tcplay/tcplay-0.10-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=4
 
-inherit toolchain-funcs vcs-snapshot
+inherit eutils toolchain-funcs vcs-snapshot
 
 DESCRIPTION="Free and simple TrueCrypt Implementation based on dm-crypt"
 HOMEPAGE="https://github.com/bwalex/tc-play"
@@ -24,17 +24,16 @@ src_prepare() {
 	sed -e '/CFLAGS+= -O3/d' \
 		-e '/$(CC)/s:$: $(LDFLAGS):' \
 		-i Makefile || die
+	epatch "${FILESDIR}"/${P}-library.patch
 }
 
 src_compile() {
 	tc-export CC
-	emake SYSTEM=linux PBKDF_BACKEND=gcrypt program
-	#emake ${myconf} lib
+	emake SYSTEM=linux PBKDF_BACKEND=gcrypt program lib
 }
 
 src_install() {
 	dobin ${PN}
-	doman ${PN}.8
-	#doman ${PN}.3
+	doman ${PN}.{3,8}
 	dodoc README
 }


             reply	other threads:[~2012-08-28 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 17:16 Michael Weber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-29 10:26 [gentoo-commits] dev/xmw:master commit in: app-crypt/tcplay/, app-crypt/tcplay/files/ Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346174161.3a6053c3ef07d62cb9a7f3ffa9e537b32d19dabd.xmw@gentoo \
    --to=xmw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox