Tomb: updated to version 2.1; added translations and options to build a couple of...
authorfsLeg <fsleg@t-rg.ws>
Mon, 3 Aug 2015 11:39:47 +0000 (14:39 +0300)
committerfsLeg <fsleg@t-rg.ws>
Mon, 3 Aug 2015 11:39:47 +0000 (14:39 +0300)
Tomb/README
Tomb/Tomb.SlackBuild
Tomb/Tomb.info

index 4aadabc08ac63e4b51cd836247265aef856c2966..4b19bc67cf0f8281200d725370e17a71374d5ab5 100644 (file)
@@ -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.
index e9c75a94623ec7af5b00a013559f96b3202ff38c..796273d56936a44d0ab0d8d79818cbe19f054c5f 100755 (executable)
@@ -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
 
index 5020131bbd77410516e49eaa0a24fbe1e75dde73..44306043e539f1bbd06cceaa1fb4f13e67518204 100644 (file)
@@ -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=""