This repository was archived by the owner on Jul 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,5 +58,8 @@ Vagrant.configure(2) do |config|
5858 s . inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\ &\\ & mesg n/' /root/.profile"
5959 end
6060
61- config . vm . provision "shell" , path : "bootstrap.bash"
61+ config . vm . provision "bootsrap" , type : "shell" , path : "bootstrap.bash"
62+ config . vm . provision "truecrypt_compile" , type : "shell" , path : "truecryptcompile.bash"
63+ #config.vm.provision "full_instance", type: "shell", inline: "echo Themis VM provisioning mode: full_instance"
64+ #config.vm.provision "dev_instance", type: "shell" , inline: "echo Themis VM provisioning mode: dev_instance"
6265end
Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ echo " "
6464# wget https://www.grc.com/misc/truecrypt/truecrypt-7.1a-linux-console-x64.tar.gz
6565# tar -xvf truecrypt-7.1a-linux-console-x64.tar.gz
6666# ./truecrypt-7.1a-setup-console-x64
67- # echo " "
67+ # echo "done"
68+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " Compile truecrypt"
4+
5+ # Compile Truecrypt on Ubuntu: http://ubuntuforums.org/showthread.php?t=812350
6+ # http://jankarres.de/2013/04/raspberry-pi-truecrypt-installieren-und-mounten/
7+ cd /tmp
8+ wget http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz
9+ wget https://github.com/DrWhax/truecrypt-archive/raw/master/TrueCrypt%207.1a%20Source.tar.gz
10+ sudo apt-get -y install libfuse-dev screen
11+ mkdir pkcs-header-files
12+ cd pkcs-header-files
13+ wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/* .h
14+ cd ../
15+
16+ tar xf " TrueCrypt 7.1a Source.tar.gz"
17+ tar xf wxWidgets-2.8.12.tar.gz
18+
19+ sudo apt-get -y install build-essential g++ nasm
20+
21+ # LIBS=-ldl make
22+
23+ cd truecrypt-7.1a-source/
24+ make NOGUI=1 WX_ROOT=/tmp/wxWidgets-2.8.12 wxbuild
25+
26+ figure out this step manually
27+ sudo make NOGUI=1 WXSTATIC=1 PKCS11_INC=/tmp/pkcs-header-files
28+
29+ sudo cp Main/truecrypt /usr/bin
30+ sudo chmod +x /usr/bin/truecrypt
31+
32+ echo " "
You can’t perform that action at this time.
0 commit comments