From a644b5ab205c2c6a9183875709d783528536760e Mon Sep 17 00:00:00 2001 From: fsLeg Date: Mon, 3 Aug 2015 14:39:47 +0300 Subject: [PATCH] Tomb: updated to version 2.1; added translations and options to build a couple of extra tools. --- Tomb/README | 5 +++++ Tomb/Tomb.SlackBuild | 24 ++++++++++++++++++++++-- Tomb/Tomb.info | 6 +++--- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/Tomb/README b/Tomb/README index 4aadabc..4b19bc6 100644 --- a/Tomb/README +++ b/Tomb/README @@ -6,4 +6,9 @@ Tomb generates encrypted storage files to be opened and closed using their associated keyfiles, which are also protected with a password chosen by the user. +To install a tool to create keys armored against dictionary attacks, supply +KDF=yes + +To install GTK icon, supply TRAY=yes + steghide, qrencode are optional dependencies. diff --git a/Tomb/Tomb.SlackBuild b/Tomb/Tomb.SlackBuild index e9c75a9..796273d 100755 --- a/Tomb/Tomb.SlackBuild +++ b/Tomb/Tomb.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Tomb -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-fsleg} @@ -61,6 +61,26 @@ fi make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man +# Install translations +cd extras/po +make install DESTDIR=$PKG PREFIX=/usr +cd ../.. + +if [ "${KDF}" == "yes" ]; then + cd extras/kdf-keys + make + make install DESTDIR=$PKG PREFIX=/usr + cd ../.. +fi + +if [ "${TRAY}" == "yes" ]; then + cd extras/gtk-tray + make install DESTDIR=$PKG PREFIX=/usr + mkdir -p $PKG/doc/$PRGNAM-$VERSION/gtk-tray + cp README.md $PKG/doc/$PRGNAM-$VERSION/gtk-tray/ + cd ../.. +fi + # Compress man pages find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -69,7 +89,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -aR \ doc/*.{pdf,txt,org} \ - AUTHORS.txt ChangeLog.txt COPYING INSTALL.txt KNOWN_BUGS.txt README.txt \ + AUTHORS.md ChangeLog.md COPYING INSTALL.md KNOWN_BUGS.md README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/Tomb/Tomb.info b/Tomb/Tomb.info index 5020131..4430604 100644 --- a/Tomb/Tomb.info +++ b/Tomb/Tomb.info @@ -1,8 +1,8 @@ PRGNAM="tomb" -VERSION="2.0.1" +VERSION="2.1" HOMEPAGE="http://www.dyne.org/software/tomb/" -DOWNLOAD="https://files.dyne.org/.xsend.php?file=tomb/Tomb-2.0.1.tar.gz" -MD5SUM="4a6499fa5c8ddf3945b443c3df3a02f7" +DOWNLOAD="https://files.dyne.org/tomb/Tomb-2.1.tar.gz" +MD5SUM="b5a7ef6dc74fa3419795e48d021f4acf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- 2.46.3