responder: 2.3.3.9 new ebuild

This commit is contained in:
blshkv 2018-12-14 11:02:03 +08:00
parent 69f863bcea
commit aca4cecd0d
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST responder-2.3.3.9.tar.gz 816316 BLAKE2B 647d6d67c476516cb8f0cbe47578fd21c8a46acb62f9a428337b4a7b74d6c235fd264d40408029c4beb997066401a57b3864b74ddb2be031a3879d613b4fa369 SHA512 7fde478f51ce437216c0ab430773f46a8bbd842abc9271d33e269fb5db15aa88a5447a7acb69a3be6d62b52cceda37e01d26cbc449ae0f5909508efe585ad83c

View file

@ -0,0 +1,38 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="LLMNR, NBT-NS and MDNS poisoner, HTTP/SMB/MSSQL/FTP/LDAP rogue authentication"
HOMEPAGE="https://github.com/lgandx/Responder"
SRC_URI="https://github.com/lgandx/Responder/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/Responder-${PV}"
src_install() {
dodir /usr/$(get_libdir)/${PN}
cp -R * "${ED}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}
# dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/Responder.py /usr/sbin/responder
dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/Report.py /usr/bin/responder_report
dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/DumpHash.py /usr/bin/responder_dumphash
newsbin - responder <<-EOF
#!/bin/sh
cd /usr/lib/responder
python2 ./Responder.py \${@}
EOF
}

View file

@ -126,3 +126,5 @@ net-analyzer/subfinder
=net-analyzer/yersinia-0.8*
~net-analyzer/xsstrike-3.1.1
~net-analyzer/responder-2.3.3.9