wapiti: compilation fix, old stable version added

This commit is contained in:
Anton Bolshakov 2012-09-06 13:34:07 +00:00
parent 2628575eb5
commit cd7b20fe19
4 changed files with 54 additions and 14 deletions

View file

@ -1 +1,3 @@
EBUILD wapiti-9999.ebuild 723 RMD160 af2be41afb181e06453a261904548cfd05f5e66c SHA1 df4f4b41ae7f2ae38499ac82610b41dc6f847a86 SHA256 b95e458f49e0bbd2295847be307787029cca4f92201279ade68c88494120b81c
DIST wapiti-2.2.1.tar.bz2 405418 SHA256 1ce7de9dd277c1ef2dde969cb0dfea61f551d5d08334fad4edbda08bf0724c09 SHA512 b4ef4452081e9b4067b2cc4b96148df1841cecc75208e26657a66acd3c5975622508106f99c11c5fc18d382c766f798a26c77dcb8f2f67521f09c0ca0dac9fde WHIRLPOOL 5583af4f33bde4f97d486216bc83cc2a5b2ca7558f64b5b078d11a748593615bf1ffb89db729c92a0d4b26a68f63cfa073d52799b888eae1b432fbfb4da95420
EBUILD wapiti-2.2.1.ebuild 639 SHA256 b0e5ee9648d22d5504d8cddad3ad429c1c36030418917b8c0be5b854de349244 SHA512 f3354e816111e11ba86eebff2e3d1d7394a48ac015c51f65a24876ecb4714a118e21a55faf85851d1cbccb4fbb11281e1d06e64229275e56afd618095b50a8ab WHIRLPOOL c9a1d1c31437726d83151771c59aefd5ed3ced293bd03ba34b6ffb1f9513a287c676069decc2e250103841de2e9b005dd429a2d4d8f491a5fef570d6648d8c9e
EBUILD wapiti-9999.ebuild 661 SHA256 db47470e5bea4df92913f04235d9483f37736c0fa623b5ebaf7b25dd2e9627b6 SHA512 5d80a46d53f639c2595796fddeda701d95d865abceb113f74ee1b83eb176c08faf7fb83249252612c48989bc1722b3d4a6b88ffb94ee521fdef3810560e631a9 WHIRLPOOL 48b42bd966cb1f2f64d97fd327e88c729fd5d67c67c9278697f56f301f21e6fbdd030ecf950968f8498f0518767fd5a6af5cc31a0abee17b281e02d36980eead

View file

@ -0,0 +1,34 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
inherit python
DESCRIPTION="Web application security auditor"
HOMEPAGE="http://wapiti.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
DEPEND=""
RDEPEND=""
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
insinto /usr/$(get_libdir)/${PN}
doins -r src/*
chmod +x "${D}/usr/$(get_libdir)/${PN}/${PN}.py"
dosym "/usr/$(get_libdir)/${PN}/${PN}.py" /usr/bin/"${PN}"
dodoc README
}

View file

@ -2,31 +2,33 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
EAPI=4
inherit distutils subversion
PYTHON_DEPEND="2"
inherit subversion python
DESCRIPTION="Web application security auditor"
HOMEPAGE="http://wapiti.sourceforge.net/"
ESVN_REPO_URI="https://wapiti.svn.sourceforge.net/svnroot/wapiti/trunk"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
KEYWORDS=""
IUSE=""
SLOT="0"
DEPEND=""
RDEPEND="dev-lang/python"
RDEPEND=""
src_compile() {
einfo "Nothing to compile"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
dodir /usr/lib/
# should be as simple as copying everything into the target...
cp -pPR "${S}/src" "${D}usr/lib/${PN}" || die
dosym "/usr/lib/${PN}/${PN}.py" "/usr/sbin/${PN}"
chown -R root:0 "${D}"
chmod +x "${D}/usr/lib/${PN}/${PN}.py"
insinto /usr/$(get_libdir)/${PN}
doins -r src/*
chmod +x "${D}/usr/$(get_libdir)/${PN}/${PN}.py"
dosym "/usr/$(get_libdir)/${PN}/${PN}.py" /usr/bin/"${PN}"
dodoc README
}

View file

@ -18,6 +18,9 @@
=net-analyzer/plecost-9999
=net-analyzer/wpscan-9999
#~net-analyzer/wapiti-2.2.1
=net-analyzer/wapiti-9999 **
~net-analyzer/thc-ipv6-1.9
~net-analyzer/nmap-6.01
~net-analyzer/theHarvester-2.2
@ -172,7 +175,6 @@ net-analyzer/vomit
net-analyzer/w3af
net-analyzer/waffit
net-analyzer/wafp
net-analyzer/wapiti
net-analyzer/webfuzzer
net-analyzer/wfuzz
net-analyzer/whatweb