weevely: new tool, issue #266

This commit is contained in:
Anton Bolshakov 2014-05-24 02:28:34 +00:00
parent 5b1511c614
commit 8cae65cd12
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST weevely-1.1.tar.gz 129159 SHA256 cb242cc515883e88bfa2449bd5460781ae8edc928b46b6c9cdf3326ea9de1a0c SHA512 164c8231bf76c29e28b306099764ea851a9a4242cfad96a2fcf1b39fd578912682a00b82f18a30ea7b76c6378af3c7f4c676b8331a5671051ed78919abe38051 WHIRLPOOL 6833ec9e30cc5608945db55dd900d94bedfa97b8fbacbd917465db305b50e73845f759e78ede4c6a258b6caeab6f3e9181584693bc809fd2207887f6653b0b7e
EBUILD weevely-1.1.ebuild 747 SHA256 a166365daf7e330e232c4c2fb2c23475b46ad7c8acd128b4c80c1501bacc4935 SHA512 ce1a5b4a08174a745a434fa5c4227fc7b338141411a09226c78f956e92addff224974e36ce2bfd4e1b92c8e0c0a1d87794311db8f61175794024d51ea0dc2d2d WHIRLPOOL 58231b1ededbb0aeaab758a76a8892593014f4e1e856db67a0a07da9cf61df5d783ab533d93a0b6c7f7757100046351fc3fc7dabc4fd2a1f0ffaddcb6a4481f7

View file

@ -0,0 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Weevely is a stealth PHP web shell that simulate telnet-like console"
HOMEPAGE="http://epinna.github.com/Weevely/"
SRC_URI="https://github.com/epinna/Weevely/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/Weevely-${PV}"
src_install() {
dodoc README
rm README LICENSE
insinto /usr/share/${PN}
doins -r "${S}"/*
python_fix_shebang "${ED}"/usr/share/${PN}
fperms +x /usr/share/${PN}/${PN}.py
dosym /usr/share/${PN}/${PN}.py /usr/bin/${PN}
}