mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
responder-3.0.1.0.ebuild
This commit is contained in:
parent
56a8b4e559
commit
b58d94bf9a
2 changed files with 51 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST responder-3.0.0.0.tar.gz 824467 BLAKE2B 88f0743fe07806b5d7fa3cbd1fd92f9b7940e90669a715345f04e9a4e83fd5e3503ae392b4fd95daa4d7adffaeb24a6b4550c6864d486c03999b5930f1f9a3ed SHA512 fe13756b3b2c880bfc76c9d46a5edf838edef60921578f6acd0527a5f50bce39128d2572eb541bdca54dc07c1b03c4df620d06734e3df71c44d831e1fcffe197
|
||||
DIST responder-3.0.1.0.tar.gz 826822 BLAKE2B 9e230a4da3fc6924962b5fa2ff3bdcd9fc35ff81a95cad824de6190cac0b33ab4966cc2d4baf635c67fa9e7487fde7193813b2e6f75d2569ee742a59a726bdc8 SHA512 79059ad75b59dd305d1420009cada7e9364f44916942adac05fcbf0c28d18c4ee77b33cada2269d86cd66547caded16aa01c441f589463e9f3e9a58cc0e5cb14
|
||||
|
|
|
|||
50
net-analyzer/responder/responder-3.0.1.0.ebuild
Normal file
50
net-analyzer/responder/responder-3.0.1.0.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
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"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/Responder-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
cp -R * "${ED}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
|
||||
|
||||
# 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/$(get_libdir)/responder
|
||||
${EPYTHON} ./Responder.py \${@}
|
||||
EOF
|
||||
|
||||
python_optimize "${ED}/usr/$(get_libdir)/${PN}"
|
||||
}
|
||||
Loading…
Reference in a new issue