public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/tomb/
Date: Thu, 15 Apr 2021 00:51:43 +0000 (UTC)	[thread overview]
Message-ID: <1618447897.1d96caceaee2cd5902a34c8b563236216939c23b.Alessandro-Barbieri@gentoo> (raw)

commit:     1d96caceaee2cd5902a34c8b563236216939c23b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 14 05:10:01 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 15 00:51:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d96cace

app-crypt/tomb: add tray

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-crypt/tomb/metadata.xml       |   5 ++
 app-crypt/tomb/tomb-2.9-r2.ebuild | 126 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/app-crypt/tomb/metadata.xml b/app-crypt/tomb/metadata.xml
index c5e7c824b..a37638635 100644
--- a/app-crypt/tomb/metadata.xml
+++ b/app-crypt/tomb/metadata.xml
@@ -10,6 +10,8 @@
       <email>J@Dyne.org</email>
       <name>Denis Roio</name>
     </maintainer>
+    <bugs-to>https://github.com/dyne/Tomb/issues</bugs-to>
+    <remote-id type="github">dyne/Tomb</remote-id>
   </upstream>
   <longdescription lang="en">
 Tomb is an 100% free and open source system for file encryption on GNU/Linux, facilitating the backup of secret files. Tomb is written in code that is easy to review and links commonly shared components.
@@ -17,4 +19,7 @@ Tomb generates encrypted storage folders to be opened and closed using their ass
 A tomb is like a locked folder that can be safely transported and hidden in a filesystem; its keys can be kept separate, for instance keeping the tomb file on your computer harddisk and the key files on a USB stick.
 Tomb is a simple tool to manage encrypted storage on GNU/Linux, from the hashes of the dyne:bolic nesting mechanism.
   </longdescription>
+  <use>
+    <flag name="tray">add a tomb tray in a QT desktop toolbar</flag>
+  </use>
 </pkgmetadata>

diff --git a/app-crypt/tomb/tomb-2.9-r2.ebuild b/app-crypt/tomb/tomb-2.9-r2.ebuild
new file mode 100644
index 000000000..7f2cd400d
--- /dev/null
+++ b/app-crypt/tomb/tomb-2.9-r2.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit qmake-utils
+
+MYP="${P^}"
+DESCRIPTION="Tomb :: File Encryption on GNU/Linux"
+HOMEPAGE="
+	https://www.dyne.org/software/tomb
+	https://github.com/dyne/Tomb
+"
+SRC_URI="https://files.dyne.org/tomb/releases/Tomb-${PV}.tar.gz"
+LICENSE="
+	GPL-3
+	gui? ( GPL-3+ )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+#todo extras/desktop
+IUSE="gui test tray"
+#test require sudo, can't be done non interactively
+RESTRICT="test"
+PATCHES=( "${FILESDIR}/gtomb.patch" )
+DOCS=(
+	AUTHORS.txt
+	ChangeLog.txt
+	KNOWN_BUGS.txt
+	README.txt
+	doc/bertini_thesis.pdf
+	doc/HACKING.txt
+	doc/KEY_SPECIFICATIONS.txt
+	doc/LinuxHDEncSettings.txt
+	doc/Luks_on_disk_format.pdf
+	doc/New_methods_in_HD_encryption.pdf
+	doc/TKS1-draft.pdf
+	doc/tomb_manpage.pdf
+)
+S="${WORKDIR}/${MYP}"
+CDEPEND="
+	dev-libs/libgcrypt
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="
+	${CDEPEND}
+	app-admin/sudo
+	app-crypt/gnupg
+	app-crypt/pinentry
+	app-shells/zsh
+	sys-fs/cryptsetup
+	gui? ( gnome-extra/zenity )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+	dev-python/pygments
+	sys-devel/gettext
+"
+
+src_compile() {
+	export PREFIX="${EPREFIX}/usr"
+	emake
+
+	pushd extras/kdf-keys || die
+	emake all
+	popd || die
+
+	if use tray ; then
+		pushd extras/qt-tray || die
+		eqmake5
+		emake all
+		popd || die
+	fi
+
+	#translations
+	pushd extras/translations || die
+	emake all
+	popd || die
+
+	#documentation
+	cd doc/literate || die
+	emake
+}
+
+src_install() {
+	default
+
+	#translations
+	export PREFIX="${ED}/usr"
+	pushd extras/translations || die
+	emake
+	popd || die
+
+	#zenity gui
+	if use gui ; then
+		pushd extras/gtomb || die
+		dobin gtomb
+		newdoc README.md README-gtomb
+		popd || die
+	fi
+
+	if use tray ; then
+		pushd extras/qt-tray || die
+		dobin tomb-qt-tray
+		popd || die
+	fi
+
+	pushd extras/kdf-keys || die
+	emake install
+	popd || die
+
+	#documentation
+	einstalldocs
+	cd doc/literate || die
+	insinto "/usr/share/doc/${PF}/html"
+	doins -r *.html *.css public
+}
+
+src_test() {
+	emake test
+
+	pushd extras/kdf-keys || die
+	emake test
+}


             reply	other threads:[~2021-04-15  0:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15  0:51 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-15  0:51 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/tomb/ Alessandro Barbieri
2021-04-15  0:51 Alessandro Barbieri
2021-04-15  0:51 Alessandro Barbieri
2021-04-17  0:27 Alessandro Barbieri
2021-04-17  2:20 Alessandro Barbieri
2021-04-17 20:00 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-17 20:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-17 23:37 Alessandro Barbieri
2021-04-17 23:56 Alessandro Barbieri
2021-04-25 23:29 Alessandro Barbieri
2024-03-17 15:18 Thomas HUBA

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=1618447897.1d96caceaee2cd5902a34c8b563236216939c23b.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --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