mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 18:21:03 +02:00
commix: 2.7 bump
This commit is contained in:
parent
71709b32ad
commit
7100dea9c8
3 changed files with 52 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST commix-2.5.tar.gz 215830 BLAKE2B a4e8c46d35f6b4d99f5e6de179cca6d6e7550887243e5a1998742c9a9e409eb13ed5988300dca5f54418fb84d2592d3eea29903dd345cd9d728ec6ee16ffff7f SHA512 8c226493e8d5b08cbc4c7ecdf55239acae43389fb2de4fae7419d1542cc286afc4702494df4a9451d9b546380fe7c8bbd55210cd09509ced153514a75d8e632d
|
||||
DIST commix-2.6.tar.gz 218928 BLAKE2B 96ad3e9f96ec203c8368ef2a3a90d65a9d9ae9790350dc12e4e84d2a2f19f27b2cca1eaf3a90594c45ea9402856f344a6cd45d6f302e3cb4b687d69c6737a033 SHA512 35eae285224da1e2ec82e0f248f78a9b8df48c77c3022d9cf920c54aacfac6229e5b1286f947a167e160b4f192b4aef65dee35ed92e254c5f0b31860a509172b
|
||||
DIST commix-2.7.tar.gz 222825 BLAKE2B 09ed8d3c6a7e8773959ea5231d5539231099fca3cb02aa7b317726ce4f889bfb367a94121939f2632476d6412ddcc7191aa91e0584673b47e94472c46661e25b SHA512 d60c90a9201b2297723a3803ebffe6832badf2091e8a950baa9643692963e0ec0766867ad1026188ad628fe22d503f1daef6dea316e2da408dd664f5ad57928f
|
||||
|
|
|
|||
49
net-analyzer/commix/commix-2.7.ebuild
Normal file
49
net-analyzer/commix/commix-2.7.ebuild
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
EGO_PN=github.com/commixproject/${PN}
|
||||
|
||||
inherit python-single-r1 multilib
|
||||
|
||||
MY_PV="${PV}-20181218"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/commixproject/commix.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Automated All-in-One OS command injection and exploitation tool"
|
||||
HOMEPAGE="https://github.com/commixproject/commix"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/"${PN}"-"${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
default
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms +x /usr/$(get_libdir)/${PN}/${PN}.py
|
||||
dosym "${EPREFIX}"/usr/$(get_libdir)/${PN}/${PN}.py /usr/bin/${PN}
|
||||
|
||||
python_optimize "${D}"usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
|
@ -130,3 +130,5 @@ net-analyzer/subfinder
|
|||
~net-analyzer/responder-2.3.3.9
|
||||
|
||||
~app-exploits/empire-2.5
|
||||
|
||||
~net-analyzer/commix-2.7
|
||||
|
|
|
|||
Loading…
Reference in a new issue