diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-crypt/tc-play |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/tc-play')
-rw-r--r-- | app-crypt/tc-play/Manifest | 6 | ||||
-rw-r--r-- | app-crypt/tc-play/files/tc-play-2.0-build.patch | 27 | ||||
-rw-r--r-- | app-crypt/tc-play/metadata.xml | 11 | ||||
-rw-r--r-- | app-crypt/tc-play/tc-play-2.0-r1.ebuild | 62 |
4 files changed, 106 insertions, 0 deletions
diff --git a/app-crypt/tc-play/Manifest b/app-crypt/tc-play/Manifest new file mode 100644 index 000000000000..69dfbcd19d18 --- /dev/null +++ b/app-crypt/tc-play/Manifest @@ -0,0 +1,6 @@ +AUX tc-play-2.0-build.patch 677 SHA256 0718b16ce239c4de7f04638a2fe8053e4da03559653a9ae9fe21da61e05d9cc6 SHA512 0f41f59b8fe4376f5d48dcb3e3ca76698b141924b6f0b3768eb46238f6d597f2a8cf3c6aa840bba57ecfd61337182eb48e627fc1a04b348849e8bc5346c82e9b WHIRLPOOL db674260859cb58990b87c94e99597200b9b69704934ebbda9ff64843eba6810bd45ac5c5344890d41f31e7619e696999397678e1f1c17c19fb56834e103d43c +DIST tc-play-2.0.tar.gz 1015525 SHA256 0e17890f37e862746364b10bad62bbd9f3e2b2811a24b07df12eff266534e42d SHA512 17408b2a664eb6822c77ede4f38ca67cdf643512014619d830a2c024bb8971811eded4edd65f6398d6112a3b57cd11a5b414357878c817c9cc2aac9d851946d7 WHIRLPOOL 0fc8273debd60f421eecced41ba43bd5fc36c6fd09f48f365755bfe844bf3a425be79ca36ffe3011a01d70b9911da0cfcb0e21571b3af97ec9f8d84af3440806 +EBUILD tc-play-2.0-r1.ebuild 1153 SHA256 ebd58fe4f2e4320bbe054da538974acd86fc47aeaf26da0c088245394b872831 SHA512 30557168783f5b4b002610d424a01410f0cd2e845f4dac399a57bcfa42761823a391a5cfb717d9b4da1af9c5e09f87d114cb571524a6d32cbfc47b0bafd79410 WHIRLPOOL 952b3725015f48c6f6fcff826efde45b1645b7ffbb80b89461e0864805e1d6ae3111230f8bd8352d885906165e3ec8e84a749d21c0701548c136e7265cabb572 +MISC ChangeLog 2750 SHA256 bffed40b3f5d7e1d829609ab206553581eff01cd9f413b978a5987539541a125 SHA512 3e1c89fd6506cb2320c6ca9b61c6e88dcefe79e4f4a8703131ece19e0ec20e14330f7d9b29bd4277a2bef935c31ffba7d0026a5b18a6f756c56c9ccd719b4fdc WHIRLPOOL 4534905aa974ecd4025bf3b5a827ca9f07cfab93b3411a7ddcbd312527d2304e5d5f66b5c4c0f1f28ca4ad7c9ffb24f5a69c8c0e8bcbff1013b45088fd2f3fc0 +MISC ChangeLog-2015 809 SHA256 689ea475f1c76dca6361257d7e60b9552213f192ece11947f1f4850c24af25c9 SHA512 35d666d5d71af0ee33004a50176060eb68f542aa22d07c1ac219a710b318e2b13c8f7617186ec49ec18161b18b4c6b53926ca3d5e691ab91ce517ef8672d2a6c WHIRLPOOL 2d94939439235ec369075fa713d7dcb5cbd57c85ab5ad85f87ab2b75bc776a0034b87f68ef1e4fc9cdda9c994241d34807d308051975abb1c8ef2c2899151dbd +MISC metadata.xml 329 SHA256 59747aa229b7deaefd100f012bea9448667660f036754f50526a44a0768aa0c4 SHA512 82f9a92ca705a89f30dd5ae33f45c7b233cd39894083572f8a17c60207d9de15d2188ebe6330da1765b5cd37ce656d904689c8862d3301fb1bd0bb001c1cef73 WHIRLPOOL 54a6a9ca3ae229c70d69fa961532ab9cec25e519052ab9b87e0b72539f228373b7b715b0ec986ae30842f36f94bcd989c95d950298aec736e7fe8a2d45c2eb8c diff --git a/app-crypt/tc-play/files/tc-play-2.0-build.patch b/app-crypt/tc-play/files/tc-play-2.0-build.patch new file mode 100644 index 000000000000..0385f33b45b4 --- /dev/null +++ b/app-crypt/tc-play/files/tc-play-2.0-build.patch @@ -0,0 +1,27 @@ +From 3f9235841ba4494962b3c7dafcd16fd3ff5f6575 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sat, 8 Apr 2017 20:27:17 +0300 +Subject: [PATCH] build: include sys/sysmacros.h for recent glibc + +https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html + +Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> +--- + tcplay.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tcplay.c b/tcplay.c +index cd882cf..a6d4655 100644 +--- a/tcplay.c ++++ b/tcplay.c +@@ -47,6 +47,7 @@ + #if defined(__linux__) + #include <libdevmapper.h> + #include <uuid/uuid.h> ++#include <sys/sysmacros.h> + #elif defined(__DragonFly__) + #include <libdm.h> + #include <uuid.h> +-- +2.10.2 + diff --git a/app-crypt/tc-play/metadata.xml b/app-crypt/tc-play/metadata.xml new file mode 100644 index 000000000000..5f7a0a616455 --- /dev/null +++ b/app-crypt/tc-play/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> + </maintainer> + <upstream> + <remote-id type="github">bwalex/tc-play</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-crypt/tc-play/tc-play-2.0-r1.ebuild b/app-crypt/tc-play/tc-play-2.0-r1.ebuild new file mode 100644 index 000000000000..16df65d19d06 --- /dev/null +++ b/app-crypt/tc-play/tc-play-2.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="a free, pretty much fully featured and stable TrueCrypt implementation" +HOMEPAGE="https://github.com/bwalex/tc-play" +SRC_URI="https://github.com/bwalex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gnutls libressl" + +DEPEND=" + dev-libs/libgpg-error + sys-fs/lvm2 + sys-apps/util-linux + dev-libs/libgcrypt:0 + gnutls? ( net-libs/gnutls ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +RDEPEND="${DEPEND}" + +DOCS=( + README.md +) + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +pkg_setup() { + local backend="openssl" + use gnutls && local backend="gcrypt" + + EXTRA_MAKE_FLAGS=( + PBKDF_BACKEND="${backend}" + WARNFLAGS="" + CC=$(tc-getCC) + AR=$(tc-getAR) + PREFIX=/usr \ + LIBDIR=/usr/$(get_libdir) + ) +} + +src_compile() { + emake -f Makefile.classic \ + tcplay \ + "${EXTRA_MAKE_FLAGS[@]}" +} + +src_install() { + emake -f Makefile.classic \ + "${EXTRA_MAKE_FLAGS[@]}" \ + install_program \ + DESTDIR="${ED}" +} |