added dislocker

This commit is contained in:
Chris Salls 2015-05-10 00:19:14 -07:00
parent e8de1344aa
commit bcab6980e7
2 changed files with 17 additions and 0 deletions

14
dislocker/install Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
wget http://www.hsc.fr/ressources/outils/dislocker/download/dislocker.tar.bz2
tar xvjf dislocker.tar.bz2
cd dislocker/src
sed 's?override LDFLAGS.*?& -Wl,-rpath,'`pwd`'?' < Makefile > Makefile.tmp && mv Makefile.tmp Makefile
make -j $(nproc)
cd ../..
mkdir bin
cd bin
ln -s ../dislocker/src/dislocker-bek .
ln -s ../dislocker/src/dislocker-file .
ln -s ../dislocker/src/dislocker-fuse .
ln -s ../dislocker/src/dislocker-metadata .

3
dislocker/install-root Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
apt-get -y install libfuse-dev libpolarssl-dev