Split install-root scripts into distribution specific ones

This commit is contained in:
Michael Rodler 2016-06-06 15:11:08 +02:00
parent 402aced1a5
commit 1d47962e58
93 changed files with 273 additions and 640 deletions

2
.gitignore vendored
View file

@ -2,6 +2,6 @@
bin/*
!*/install
!*/uninstall
!*/install-root
!*/install-root-*
!*/upgrade
!*/test

View file

@ -1,19 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y build-dep qemu
apt-get -y install bison
;;
"archlinux")
pacman -Syu --noconfirm bison
pacman -Syu --noconfirm qemu
;;
*)
echo "Unkown distribution"
exit 1
;;
esac

4
afl/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed bison qemu

5
afl/install-root-debian Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y build-dep qemu
apt-get -y install bison

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install openjdk-7-jre openjdk-7-jdk
;;
"archlinux")
pacman -Syu --noconfirm --needed jre7-openjdk jdk7-openjdk
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed jre7-openjdk jdk7-openjdk

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install openjdk-7-jre openjdk-7-jdk

View file

@ -1,24 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
# for angr
apt-get -y install virtualenvwrapper python2.7-dev build-essential libxml2-dev libxslt1-dev git libffi-dev cmake libreadline-dev libtool debootstrap debian-archive-keyring libglib2.0-dev libpixman-1-dev
# for angr-management
apt-get -y install python-qt4 python-sip python-pygraphviz
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

8
angr/install-root-debian Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -eu -o pipefail
# for angr
apt-get -y install virtualenvwrapper python2.7-dev build-essential libxml2-dev libxslt1-dev git libffi-dev cmake libreadline-dev libtool debootstrap debian-archive-keyring libglib2.0-dev libpixman-1-dev
# for angr-management
apt-get -y install python-qt4 python-sip python-pygraphviz

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get install -y default-jre
;;
"archlinux")
pacman -Syu --noconfirm --needed jre8-openjdk
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed jre8-openjdk

4
apktool/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get install -y default-jre

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install binutils-multiarch-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
barf/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install binutils-multiarch-dev

0
beef/install Normal file → Executable file
View file

View file

@ -1,24 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
debian)
echo "Need to get ruby with RVM... Unsupported for now"
exit 1
apt-get install build-essential openssl libreadline6 \
libreadline6-dev zlib1g zlib1g-dev libssl-dev \
libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 \
libxml2-dev libxslt1-dev autoconf libc6-dev \
libncurses5-dev automake libtool bison subversion
;;
archlinux)
pacman -Syu --noconfirm --needed \
ruby python2 ruby-bundler \
git make gcc openssl patch readline \
zlib libyaml libffi bzip2 autoconf automake \
libtool bison sqlite
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac

7
beef/install-root-archlinux Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash -e
pacman -Syu --noconfirm --needed \
ruby python2 ruby-bundler \
git make gcc openssl patch readline \
zlib libyaml libffi bzip2 autoconf automake \
libtool bison sqlite

9
beef/install-root-debian Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash -e
echo "Need to get ruby with RVM... Unsupported for now"
exit 1
apt-get install build-essential openssl libreadline6 \
libreadline6-dev zlib1g zlib1g-dev libssl-dev \
libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 \
libxml2-dev libxslt1-dev autoconf libc6-dev \
libncurses5-dev automake libtool bison subversion

View file

@ -212,14 +212,31 @@ case $ACTION in
tool_log "starting install, logging to $PWD/install.log"
rm -f install.log
if [ -x ./install-root -a "$ALLOW_SUDO" -eq 1 ]; then
if ! sudo env DISTRI=$DISTRI ./install-root >> install.log 2>&1;
then
tool_log "INSTALL FAILED"
cat install.log >&2
exit 1
fi
fi
# first get distri specific dependencies
if [[ $(find . -name 'install-root*' | wc -l) -ge 1 ]]; then
INSTALL_ROOT_SCRIPT="./install-root-$DISTRI"
# use debian install script if we are on ubuntu and no ubuntu
# specific install script exists
if [[ "$DISTRI" == "ubuntu" \
&& ! -x "$INSTALL_ROOT_SCRIPT" \
&& -x "./install-root-debian" ]]
then
INSTALL_ROOT_SCRIPT="./install-root-debian"
fi
if [[ -x "$INSTALL_ROOT_SCRIPT" && "$ALLOW_SUDO" -eq 1 ]]; then
if ! sudo env DISTRI=$DISTRI "$INSTALL_ROOT_SCRIPT" >> install.log 2>&1;
then
tool_log "INSTALL FAILED"
cat install.log >&2
exit 1
fi
else
tool_log "Warning: make sure build dependencies are installed!"
fi
fi
# execute install script
if env DISTRI=$DISTRI ./install >>install.log 2>&1
then
tool_log "install finished"

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install maven libprotobuf-dev openjdk-7-jre openjdk-7-jdk
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
bindead/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install maven libprotobuf-dev openjdk-7-jre openjdk-7-jdk

View file

@ -1,21 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
"debian")
echo "Need pwntools compatible binutils from PPA"
exit 1
;;
"ubuntu")
apt-add-repository -y ppa:pwntools/binutils
apt-get update
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev
;;
"archlinux")
pacman -Syu --noconfirm --needed binutils openssl libffi
;;
*)
echo "Unknown distribution"
exit 1
;;
esac

View file

@ -0,0 +1,3 @@
#!/bin/bash -e
pacman -Syu --noconfirm --needed binutils openssl libffi

5
binjitsu/install-root-ubuntu Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash -e
apt-add-repository -y ppa:pwntools/binutils
apt-get update
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev

View file

@ -1,19 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install openjdk-7-jre
;;
"archlinux")
pacman -Syu --noconfirm --needed jre7-openjdk
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed jre7-openjdk

4
burpsuite/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install openjdk-7-jre

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
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
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
codereason/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
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

View file

@ -1,13 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
debian)
apt-get install -y gperf flex bison help2man gawk libncurses5-dev
;;
archlinux)
pacman -Syu --noconfirm gperf flex bison help2man gawk ncurses
;;
*)
echo "Unsupported distro"
;;
esac

View file

@ -0,0 +1,3 @@
#!/bin/bash -e
pacman -Syu --noconfirm gperf flex bison help2man gawk ncurses

3
crosstool/install-root-debian Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -e
apt-get install -y gperf flex bison help2man gawk libncurses5-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libasound2:i386 libasyncns0:i386 libatk1.0-0:i386 libc6:i386 libcaca0:i386 libcairo2:i386 libdatrie1:i386 libdbus-1-3:i386 libdrm2:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgdk-pixbuf2.0-0:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgraphite2-3:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libjbig0:i386 libjpeg-turbo8:i386 libjson-c2:i386 liblzma5:i386 libncursesw5:i386 libogg0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libpulse0:i386 libsdl1.2debian:i386 libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libselinux1:i386 libslang2:i386 libsndfile1:i386 libthai0:i386 libtiff5:i386 libtinfo5:i386 libvorbis0a:i386 libvorbisenc2:i386 libwebp5:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxxf86vm1:i386 zlib1g:i386
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
df/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libasound2:i386 libasyncns0:i386 libatk1.0-0:i386 libc6:i386 libcaca0:i386 libcairo2:i386 libdatrie1:i386 libdbus-1-3:i386 libdrm2:i386 libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgdk-pixbuf2.0-0:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libgraphite2-3:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libjbig0:i386 libjpeg-turbo8:i386 libjson-c2:i386 liblzma5:i386 libncursesw5:i386 libogg0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libpulse0:i386 libsdl1.2debian:i386 libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libselinux1:i386 libslang2:i386 libsndfile1:i386 libthai0:i386 libtiff5:i386 libtinfo5:i386 libvorbis0a:i386 libvorbisenc2:i386 libwebp5:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxxf86vm1:i386 zlib1g:i386

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libcurl4-gnutls-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
dirb/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed curl gnutls

4
dirb/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libcurl4-gnutls-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libfuse-dev libpolarssl-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed mbedtls fuse

4
dislocker/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libfuse-dev libpolarssl-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get install -y libqt5widgets5
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
elfparser/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get install -y libqt5widgets5

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install liblzma-dev python-magic zlib1g-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed zlib xz python2-magic

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install liblzma-dev python-magic zlib1g-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install texinfo
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
gdb/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --needed --noconfirm texinfo

4
gdb/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install texinfo

View file

@ -1,11 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
debian)
apt-get -y install tofrodos
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac

View file

@ -0,0 +1,3 @@
#!/bin/bash -e
apt-get -y install tofrodos

View file

@ -1,15 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
debian)
apt-get -y install libssl-dev
;;
archlinux)
pacman -Syu --noconfirm openssl
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed openssl

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libssl-dev

View file

@ -1,15 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
debian)
apt-get -y install libssl-dev
;;
archlinux)
pacman -Syu --noconfirm openssl
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed openssl

4
hashpump/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libssl-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get install libbfd-dev libunwind8-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu -o pipefail
apt-get install libbfd-dev libunwind8-dev
pacman -Syu --noconfirm --needed libunwind binutils

4
honggfuzz/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get install libbfd-dev libunwind8-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libssl-dev libpcap-dev libsqlite3-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed openssl libpcap sqlite

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libssl-dev libpcap-dev libsqlite3-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libgmp3-dev libgmp-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
msieve/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed gmp

4
msieve/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libgmp3-dev libgmp-dev

View file

@ -1,21 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install nasm libssl-dev libpcap-dev subversion curl \
autoconf libtool libc++-dev llvm-3.3-dev clang-3.3 unzip
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

5
panda/install-root-archlinux Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --needed --noconfirm nasm openssl libpcap subversion curl \
autoconf libtool libc++ unzip clang llvm

5
panda/install-root-debian Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install nasm libssl-dev libpcap-dev subversion curl \
autoconf libtool libc++-dev llvm-3.3-dev clang-3.3 unzip

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libc6-dev-i386 libc6-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
pathgrind/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libc6-dev-i386 libc6-dev

View file

@ -1,21 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
"debian")
echo "Need pwntools compatible binutils from PPA"
exit 1
;;
"ubuntu")
apt-add-repository -y ppa:pwntools/binutils
apt-get update
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev
;;
"archlinux")
pacman -Syu --noconfirm --needed binutils openssl libffi
;;
*)
echo "Unknown distribution"
exit 1
;;
esac

View file

@ -0,0 +1,3 @@
#!/bin/bash -e
pacman -Syu --noconfirm --needed binutils openssl libffi

5
pwntools/install-root-ubuntu Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash -e
apt-add-repository -y ppa:pwntools/binutils
apt-get update
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev

View file

@ -1,13 +0,0 @@
#!/bin/bash -e
case "$DISTRI" in
debian)
;;
archlinux)
pacman -Syu --noconfirm --needed python2
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac

3
qemu/install-root-archlinux Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -e
pacman -Syu --noconfirm --needed python2

3
qemu/install-root-debian Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -e
apt-get install -y python

View file

@ -1,24 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install python-pip libssl-dev build-essential python-dev python-pip debootstrap libjpeg-dev zlib1g-dev unzip wget graphviz software-properties-common libgmp-dev llvm-3.4-dev time clang-3.4 ocaml ocaml-native-compilers camlp4-extra opam clang python-virtualenv wget flex bison libtool automake autoconf autotools-dev pkg-config libglib2.0-dev libevent-2.0-5
apt-get -y build-dep qemu
# plugin deps
apt-get -y install libssl1.0.0:i386
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

6
qira/install-root-archlinux Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed python2-pip openssl libjpeg-turbo zlib \
unzip wget graphviz gmp llvm clang ocaml llvm-ocaml python2-virtualenv \
wget flex bison libtool automake autoconf pkg-config libevent glib2

8
qira/install-root-debian Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install python-pip libssl-dev build-essential python-dev python-pip debootstrap libjpeg-dev zlib1g-dev unzip wget graphviz software-properties-common libgmp-dev llvm-3.4-dev time clang-3.4 ocaml ocaml-native-compilers camlp4-extra opam clang python-virtualenv wget flex bison libtool automake autoconf autotools-dev pkg-config libglib2.0-dev libevent-2.0-5
apt-get -y build-dep qemu
# plugin deps
apt-get -y install libssl1.0.0:i386

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libboost-dev cmake libqt4-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
snowman/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --needed --noconfirm boost boost-libs cmake

4
snowman/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libboost-dev cmake libqt4-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libbz2-dev libfftw3-dev libsndfile1-dev libsamplerate0-dev vamp-plugin-sdk librubberband-dev libsord-dev liblo-dev liblrdf0-dev liboggz2-dev libfishsound1-dev libid3tag0-dev libportaudio-dev libmad0-dev qt5-qmake
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,6 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed bzip2 fftw libsndfile libsamplerate \
vamp-plugin-sdk rubberband sord liblo liblrdf liboggz libfishsound \
libid3tag portaudio libmad qt5-base

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libbz2-dev libfftw3-dev libsndfile1-dev libsamplerate0-dev vamp-plugin-sdk librubberband-dev libsord-dev liblo-dev liblrdf0-dev liboggz2-dev libfishsound1-dev libid3tag0-dev libportaudio-dev libmad0-dev qt5-qmake

View file

@ -1,17 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libsqlite3-dev
;;
"archlinux")
pacman -Syu --noconfirm --needed sqlite
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
sqlmap/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed sqlite

4
sqlmap/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libsqlite3-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install libevent-dev
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed libevent

4
sslsplit/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install libevent-dev

View file

@ -1,20 +0,0 @@
#!/bin/bash
set -eu -o pipefail
case "$DISTRI" in
"ubuntu")
;& # fallthrough
"debian")
apt-get -y install automake1.4
;;
"archlinux")
echo "archlinux is currently not supported!"
echo "Update install-root and do a pull-request ;)"
exit 1
;;
*)
echo "Unsupported distribution: ''"
exit 1
;;
esac

4
stegdetect/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install automake1.4