mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
plecost ebuild: thanks to The_Eccentric
This commit is contained in:
parent
bc9abed5c1
commit
dc98aacb8f
2 changed files with 59 additions and 0 deletions
1
net-analyzer/plecost/Manifest
Normal file
1
net-analyzer/plecost/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
EBUILD plecost-9999.ebuild 1271 RMD160 b4fbb5c3ef1f3717674a833f076fdee445e5d10c SHA1 449833ec4b77e684f80645c5d4616a0d76e7c7fa SHA256 904ceca189f4403064a8ed46dabbb96c3d5ae4aac1625de76d854442c06a11a1
|
||||
58
net-analyzer/plecost/plecost-9999.ebuild
Normal file
58
net-analyzer/plecost/plecost-9999.ebuild
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
#Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
#Thank You to Zero_Chaos for the encouragement & Arfrever for unfucking my
|
||||
#fuckery
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python subversion
|
||||
|
||||
DESCRIPTION="Wordpress finger printing tool, retrieve information about the plugins and versions installed"
|
||||
HOMEPAGE="http://www.iniqua.com/labs/plecost/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/beautifulsoup:python-2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ESVN_REPO_URI="http://plecost.googlecode.com/svn/trunk"
|
||||
|
||||
src_prepare() {
|
||||
# Delete internal copy of dev-python/beautifulsoup.
|
||||
rm -f xgoogle/BeautifulSoup.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
mkdir -p "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin"
|
||||
cp plecost-*.py "${T}/images/${PYTHON_ABI}${EPREFIX}/usr/bin/plecost"
|
||||
|
||||
insinto $(python_get_sitedir)
|
||||
doins -r xgoogle
|
||||
}
|
||||
|
||||
python_execute_function installation
|
||||
python_merge_intermediate_installation_images "${T}/images"
|
||||
|
||||
# wordpress plugin list
|
||||
insinto /usr/share/plecost
|
||||
doins wp_plugin_list.txt
|
||||
|
||||
dodoc README CVE.dat
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
python_mod_optimize xgoogle
|
||||
}
|
||||
|
||||
pkg_postrm(){
|
||||
python_mod_cleanup xgoogle
|
||||
}
|
||||
Loading…
Reference in a new issue