Skip to content

Commit 5af71a1

Browse files
bunch of fixes to get things to build
1 parent c6d1f24 commit 5af71a1

File tree

8 files changed

+24
-20
lines changed

8 files changed

+24
-20
lines changed

codereason/install

+2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
git clone --depth 1 https://github.com/trailofbits/codereason
44
cd codereason
5+
find . -type f -exec sed -i 's:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain::g' {} \;
56
./install_vex.sh
7+
# This step fails in travis-ci because of CMake 3.2 not finding Boost, while docker has CMake 2.8 which finds Boost just fine
68
./make.sh
79
cd ..
810

codereason/install-root-debian

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash -ex
22
set -eu -o pipefail
33

4-
apt-get -y install build-essential gcc g++ make cmake libboost-dev libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-regex-dev
4+
apt-get -y install build-essential gcc g++ make cmake libboost-dev libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-regex-dev libboost-all-dev
5+

dislocker/install

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
#!/bin/bash -ex
22

3-
wget http://www.hsc.fr/ressources/outils/dislocker/download/dislocker.tar.bz2
4-
tar xjf dislocker.tar.bz2
5-
cd dislocker/src
6-
sed 's?override LDFLAGS.*?& -Wl,-rpath,'`pwd`'?' < Makefile > Makefile.tmp && mv Makefile.tmp Makefile
3+
wget -O dislocker.tar.gz https://github.com/Aorimn/dislocker/archive/v0.7.1.tar.gz
4+
tar xf dislocker.tar.gz
5+
DISLOCKERDIR=$(ls -d dislocker-*)
6+
cd $DISLOCKERDIR
7+
8+
cmake .
79
make -j $(nproc)
8-
cd ../..
10+
cd ..
911
mkdir bin
1012
cd bin
11-
ln -s ../dislocker/src/dislocker-bek .
12-
ln -s ../dislocker/src/dislocker-file .
13-
ln -s ../dislocker/src/dislocker-fuse .
14-
ln -s ../dislocker/src/dislocker-metadata .
13+
ls -l ../$DISLOCKERDIR/src/
14+
15+
ln -s ../$DISLOCKERDIR/src/dislocker-bek .
16+
ln -s ../$DISLOCKERDIR/src/dislocker-file .
17+
ln -s ../$DISLOCKERDIR/src/dislocker-fuse .
18+
ln -s ../$DISLOCKERDIR/src/dislocker-metadata .

sqlmap/install

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -ex
22

33
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git
4-
ctf-tools-pip install pymysql psycopg2 pysqlite2 python-ntlm
4+
ctf-tools-pip install pymysql psycopg2 pysqlite python-ntlm
55
mkdir bin
66
cd bin
77
ln -s ../sqlmap/sqlmap.py .

sqlmap/install-root-debian

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash -ex
22
set -eu -o pipefail
33

4-
apt-get -y install libsqlite3-dev
4+
apt-get -y install libsqlite3-dev libpq-dev

stegdetect/install

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22

33
INST_DIR="$PWD"
44

5-
#wget -O - http://www.outguess.org/stegdetect-0.6.tar.gz | tar xz
6-
#cd stegdetect-0.6
7-
git clone --depth 1 https://github.com/abeluck/stegdetect stegdetect-0.6
8-
wget -O - http://archive.debian.org/debian-archive/debian/pool/main/s/stegdetect/stegdetect_0.6-3.tar.gz | tar xz stegdetect-0.6/file/Magdir/varied.out
5+
git clone --depth 1 https://github.com/AlexandreFournier/stegdetect.git
96

107
mkdir -p bin etc man/man1 share/stegbreak
11-
cd stegdetect-0.6
8+
cd stegdetect
129
linux32 ./configure --prefix="$INST_DIR"
1310
linux32 make
1411
linux32 make install

stegdetect/install-root-debian

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash -ex
22
set -eu -o pipefail
33

4-
apt-get -y install automake1.4
4+
apt-get -y install automake1.4 automake autotools-dev libevent-dev

xrop/install

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
git clone --depth 1 https://github.com/acama/xrop.git
44
cd xrop
55
git submodule update --init --recursive
6-
make -j $(nproc)
6+
make -j 1 # Watch out!! -j $(nproc) makes the build fail
77
cd ..
88

99
mkdir bin
1010
cd bin
11-
ln -s ../xrop/xrop .
11+
ln -s ../xrop
1212
cd ..

0 commit comments

Comments
 (0)