new package: feroxbuster

This commit is contained in:
Pooya Moradi 2022-10-03 21:26:18 +03:30 committed by Leonid Pliushch
parent 3a0ba9ce78
commit 85dacbb584
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
TERMUX_PKG_HOMEPAGE="https://github.com/epi052/feroxbuster"
TERMUX_PKG_DESCRIPTION="A fast, simple, recursive content discovery tool written in Rust"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.7.1"
TERMUX_PKG_SRCURL="https://github.com/epi052/feroxbuster/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=4fc37897d98bb09bfe738067eb5889adff20e0caef70e4487d20f41ec920381b
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
# FIXME Why building with 'openssl' fails?
# ld: error: undefined symbol: ERR_get_error_all
# >>> referenced by feroxbuster.52795224-cgu.0 >>>
# ... -cgu.0.rcgu.o:(openssl::error::Error::get::hfccd210421e4f03c)
# clang-14: error: linker command failed with exit code 1
TERMUX_PKG_DEPENDS="openssl-1.1"
termux_step_pre_configure() {
rm -f Makefile
}
termux_step_post_make_install() {
# shell completions
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/feroxbuster.bash" \
"$TERMUX_PREFIX"/share/bash-completion/completions/feroxbuster
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/_feroxbuster" \
"$TERMUX_PREFIX"/share/zsh/site-functions/_feroxbuster
install -Dm644 "$TERMUX_PKG_SRCDIR/shell_completions/feroxbuster.fish" \
"$TERMUX_PREFIX"/share/fish/vendor_completions.d/feroxbuster.fish
}