adding XBruteForcer ebuild for #341

This commit is contained in:
Guido Kroon 2018-08-28 14:15:29 +02:00
parent 2798bb6fc8
commit 8c7503a901
No known key found for this signature in database
GPG key ID: 394C398C531EFAB0
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST xbruteforcer-20180611.tar.gz 4656 BLAKE2B fd955b18fbf87171b2cbcf56674ecf38b24e4ffa0832d4afff1d471a77d90a0d4a5eba7bb3fbbfdfdca1bce9557f7f5e52b3fa6260c0aee7e53435762e732632 SHA512 ca05f38a23b125fc7106b2ba14b2b307e5112a64366c24e3b6ec9658b9e8d0a5dffbf568f5271f72051e40bf64c3e39c4223f915c188b0befd9a255cb6e465e3

View file

@ -0,0 +1,32 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit perl-module
DESCRIPTION="Login brute forc tool for WordPress, Joomla, DruPal, OpenCart, and Magento."
HOMEPAGE="https://github.com/Moham3dRiahi/XBruteForcer"
COMMIT="48056437cc1abac05b80bf9aabf6066659a41d8a"
MY_P="XBruteForcer-${COMMIT}"
SRC_URI="https://github.com/Moham3dRiahi/XBruteForcer/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="Unknown"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="dev-lang/perl"
S="${WORKDIR}/${MY_P}"
src_prepare() {
sed -e 's#/usr/bin/perl.*#/usr/bin/perl#' -i *.pl || die # there's a ^M at the end of shebang from upstream, and there is no perl_fix_shebang to fix this
eapply_user
}
src_install() {
dobin XBruteForcer.pl
dosym XBruteForcer.pl /usr/bin/xbruteforcer
}