public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/veracrypt/
Date: Fri,  4 Aug 2017 08:02:57 +0000 (UTC)	[thread overview]
Message-ID: <1501833771.74d3bcfacdd14ed24e1b9490277dda5da19d9fee.mgorny@gentoo> (raw)

commit:     74d3bcfacdd14ed24e1b9490277dda5da19d9fee
Author:     soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Thu Jul  6 21:44:07 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 08:02:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d3bcfa

app-crypt/veracrypt: version bump to 1.21

Closes: https://github.com/gentoo/gentoo/pull/5056

 app-crypt/veracrypt/Manifest              |  1 +
 app-crypt/veracrypt/veracrypt-1.21.ebuild | 87 +++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/app-crypt/veracrypt/Manifest b/app-crypt/veracrypt/Manifest
index 40f806b5820..0fcd4503eef 100644
--- a/app-crypt/veracrypt/Manifest
+++ b/app-crypt/veracrypt/Manifest
@@ -1 +1,2 @@
 DIST VeraCrypt_1.19.tar.gz 23235780 SHA256 7d3fa5007b8e9dc93691c2da78dee497954b0596763a50e21724ec0564eb761b SHA512 ebce681099e04d938ff0dc10a1af848c82dafd80b165b2431ec355d64e29be4e60d1d63f0d5c9fd1182394080d00f0f573e3ae90f3e2167533dea2b895bd0164 WHIRLPOOL 7a1968e29a6f2757c2d7a1187e9e062872ffd26721b27b3df791cbe8c82c18dc98d42d249725f8bc4fd721fe80eb7dbe4642dde26f89ad0c0f84803c1f06a439
+DIST VeraCrypt_1.21.tar.gz 24106162 SHA256 4071d3d1e87839a7c2bdc9a3837940d49f38bfd92d71f9cbc670b61a48824885 SHA512 5186d339f8fb0d88acfc35b1e7a916f797e30be93e8f252cca542b6d5c1cd916110111ef7b859d66b1790ce05d7d02bc72def26857eb003ea114a911fcec6c41 WHIRLPOOL 80f52ac1917e251e3af9a227c544d606ed303e899d87d74121ae775f09df4be75bbdf8b77b0caa24adba809314bf8661e49c7e313ef0e4cee2f63cdc2bd3a48e

diff --git a/app-crypt/veracrypt/veracrypt-1.21.ebuild b/app-crypt/veracrypt/veracrypt-1.21.ebuild
new file mode 100644
index 00000000000..dd4f4dc2c80
--- /dev/null
+++ b/app-crypt/veracrypt/veracrypt-1.21.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils linux-info pax-utils toolchain-funcs wxwidgets
+
+DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
+HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
+SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz"
+
+LICENSE="Apache-2.0 truecrypt-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+asm +doc X"
+RESTRICT="bindist mirror"
+
+WX_GTK_VER="3.0"
+
+RDEPEND="
+	sys-fs/lvm2
+	sys-fs/fuse:0
+	x11-libs/wxGTK:${WX_GTK_VER}[X?]
+	app-admin/sudo
+	dev-libs/pkcs11-helper
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	asm? ( dev-lang/yasm )
+"
+
+S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src"
+HTML_DOCS=( "${S}"/../doc/html/. )
+DOCS=( Readme.txt )
+
+pkg_setup() {
+	local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
+	linux-info_pkg_setup
+
+	setup-wxwidgets
+}
+
+src_compile() {
+	local myemakeargs=(
+		NOSTRIP=1
+		NOTEST=1
+		VERBOSE=1
+		CC="$(tc-getCC)"
+		CXX="$(tc-getCXX)"
+		AR="$(tc-getAR)"
+		RANLIB="$(tc-getRANLIB)"
+		TC_EXTRA_CFLAGS="${CFLAGS}"
+		TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
+		TC_EXTRA_LFLAGS="${LDFLAGS}"
+		WX_CONFIG="${WX_CONFIG}"
+	)
+	use X || myemakeargs+=( NOGUI=1 )
+	use asm || myemakeargs+=( NOASM=1 )
+
+	emake "${myemakeargs[@]}"
+}
+
+src_test() {
+	"${S}/Main/veracrypt" --text --test || die "tests failed"
+}
+
+src_install() {
+	dobin Main/veracrypt
+	use doc && einstalldocs
+
+	newinitd "${FILESDIR}/${PN}.init" ${PN}
+
+	if use X; then
+		local s
+		for s in 16 48 128 256; do
+			newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
+		done
+		make_desktop_entry ${PN} "VeraCrypt" ${PN} "Encryption;Encryption Tools;Utility;"
+	fi
+
+	pax-mark -m "${D%/}/usr/bin/veracrypt"
+}
+
+pkg_postinst() {
+	ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
+	ewarn "of the limitations on redistribution of binaries or modified source."
+}


             reply	other threads:[~2017-08-04  8:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04  8:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-22 16:30 [gentoo-commits] repo/gentoo:master commit in: app-crypt/veracrypt/ Mikle Kolyada
2018-07-18 21:11 Jonas Stein
2018-11-07 22:47 Göktürk Yüksek
2019-02-07 11:00 Mikle Kolyada
2019-10-11 20:50 Göktürk Yüksek
2019-10-15 23:29 Göktürk Yüksek
2019-10-29 20:22 Göktürk Yüksek
2019-10-29 20:22 Göktürk Yüksek
2020-01-15  9:17 Agostino Sarubbo
2020-01-25  0:55 Göktürk Yüksek
2020-03-30 12:16 Mikle Kolyada
2020-03-30 12:20 Göktürk Yüksek
2020-07-21  1:39 Aaron Bauman
2020-09-25 19:30 Göktürk Yüksek
2020-11-25  7:43 Agostino Sarubbo
2020-12-09  0:20 Göktürk Yüksek
2021-03-07 14:41 Agostino Sarubbo
2021-03-14 19:55 Göktürk Yüksek
2021-04-05 22:26 David Seifert
2021-04-17 13:18 David Seifert
2021-08-01 20:41 David Seifert
2022-02-14  4:26 Göktürk Yüksek
2022-05-29  3:14 Sam James
2022-11-29 11:26 Jakov Smolić
2023-09-09 13:17 David Seifert
2023-09-09 13:17 David Seifert
2023-10-29  5:44 Göktürk Yüksek
2024-06-16  9:37 Pacho Ramos
2024-07-05 18:43 Pacho Ramos
2024-10-31  6:29 Göktürk Yüksek

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=1501833771.74d3bcfacdd14ed24e1b9490277dda5da19d9fee.mgorny@gentoo \
    --to=mgorny@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