ctf-tools/stegdetect/install
2025-03-10 23:43:32 -07:00

21 lines
532 B
Bash
Executable file

#!/bin/bash -ex
INST_DIR="$PWD"
git clone --depth 1 https://github.com/sparticvs/stegdetect
mkdir -p bin etc man/man1 share/stegbreak
pushd stegdetect
git remote set-branches origin '*'
git fetch -v --depth=1
git checkout dev/fix-compilation
git apply ../statics.patch
linux32 autoreconf -i -f
# what the actual fuck
linux32 ./configure --prefix="$INST_DIR"
sed -i -e "s/#ifndef HAVE_TIMERADD//" config.h
linux32 make
linux32 make install
popd
wget https://launchpadlibrarian.net/16697277/rules.ini -O share/stegbreak/rules.ini