Instantly share code, notes, and snippets.

@drizzt /
Last active Mar 10, 2016

What would you like to do?
keepassx 2.0.2 binary for Tails

This gist includes the keepassx 2.0.2 (with Twofish support), built under a Virtual Machine with a vanilla Debian 8.3 (i386) using the following commands (as root):

apt-get install build-essential cmake libqt4-dev libgcrypt11-dev zlib1g-dev libxtst-dev makeself wget ca-certificates

tar xzf keepassx-$ver.tar.gz
cd keepassx-$ver
wget -O- | patch -Np1
wget -O- | patch -Np1
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
rm -rf ~/keepassx.out
make install DESTDIR=~/keepassx.out
strip --strip-unneeded /root/keepassx.out/usr/local/keepassx

makeself --nox11 ~/keepassx.out/usr/local ~/ "keepassx $ver" ./bin/keepassx '--config '\''"$(readlink -f "$(dirname "$0")")"'\''/keepassx2.ini'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment