Skip to content

Commit d5ec06f

Browse files
committed
updated install-root scripts
1 parent 44a8228 commit d5ec06f

6 files changed

+24
-6
lines changed

lief/install-root-archlinux

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash -ex
2+
3+
pacman -Syu --noconfirm --needed cmake

lief/install-root-debian

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

3-
apt-get -y install cmake python2-dev
3+
apt-get -y install cmake

lief/install-root-fedora

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash -ex
2+
3+
dnf install -y cmake

miasm/install

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
git clone --depth 1 https://github.com/serpilliere/elfesteem.git
44
git clone --depth 1 https://github.com/cea-sec/miasm.git
55

6-
ctf-tools-pip install -U llvmlite
6+
if which llvm-config-3.9 2>&1 >/dev/null; then
7+
export LLVM_CONFIG=$(which llvm-config-3.9)
8+
ctf-tools-pip install -U enum34 "llvmlite==0.16"
9+
elif which llvm-config-3.8 2>&1 >/dev/null; then
10+
export LLVM_CONFIG=$(which llvm-config-3.8)
11+
ctf-tools-pip install -U enum34 "llvmlite==0.15"
12+
fi
13+
714
ctf-tools-pip install -e elfesteem
815
ctf-tools-pip install -e miasm

miasm/install-root-debian

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

3-
apt-get install -y zlib zlib-dev libstdc++6-4.9-dev libstdc++6 \
4-
llvm-3.5 llvm--3.5-dev libedit libedit-dev
3+
apt-get install -y \
4+
zlib1g zlib1g-dev \
5+
libstdc++6 \
6+
llvm-3.8 llvm-3.8-dev clang-3.8 \
7+
libedit2 libedit-dev

miasm/install-root-fedora

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

3-
dnf install -y zlib zlib-devel libstdc++-devel libstdc++ libstdc++-static \
4-
llvm-3.5.0 llvm-devel-3.5.0 libedit libedit-devel
3+
dnf install -y zlib zlib-devel \
4+
libstdc++-devel libstdc++ libstdc++-static \
5+
llvm llvm-devel \
6+
libedit libedit-devel

0 commit comments

Comments
 (0)