mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
* Added webshag
This commit is contained in:
parent
e4d33e6684
commit
9bbf596522
2 changed files with 39 additions and 0 deletions
2
net-analyzer/webshag/Manifest
Normal file
2
net-analyzer/webshag/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST ws100_src.tar.gz 240250 RMD160 b4cd88b9912a92712bbeb970285eac235d68a395 SHA1 c5dc2567eb49a34433f6d991fa4dd7c700ff7f95 SHA256 c6d1da7cda898bdfe6e5a5ed6d3dd8e0f8d58de36cd3d134a276f7bcb747a842
|
||||
EBUILD webshag-1.0.ebuild 1092 RMD160 97fbb13a487b0e05e2fbc8ff625d4b9233adc40f SHA1 cc556fbe190d036d70ea81af9fe6bbe26352fe42 SHA256 b0406d2022d25bb122dba11c30025da5189d43ae805c9066209952efd871c29c
|
||||
37
net-analyzer/webshag/webshag-1.0.ebuild
Normal file
37
net-analyzer/webshag/webshag-1.0.ebuild
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
DESCRIPTION="An enhanced HTTP URL Scanner and fuzzer"
|
||||
HOMEPAGE="http://www.scrt.ch/pages/outils.html"
|
||||
SRC_URI="http://www.scrt.ch/outils/${PN}/ws100_src.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="nmap"
|
||||
RDEPEND="dev-lang/python
|
||||
dev-python/wxpython
|
||||
nmap? ( net-analyzer/nmap )"
|
||||
DEPEND="${RDEPEND}"
|
||||
SLOT="0"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elog "Running unattendend config"
|
||||
sed -i -e "s/raw_input.*/\'\'/" config_linux.py
|
||||
sed -i -e "/^new_prefix/ s:=.*:= \'/usr/lib/webshag\':" config_linux.py
|
||||
sed -i -e "/codecs.open/ s:config_file:u\'config/webshag.conf\':" config_linux.py
|
||||
sed -i -e "/codecs.open/ s:core_file:u\'webshag/core/core_file.py\':" config_linux.py
|
||||
python config_linux.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib/${PN}
|
||||
cp -R "${S}"/* "${D}"/usr/lib/${PN}
|
||||
dosym /usr/lib/"${PN}/${PN}.py" /usr/sbin/"${PN}"
|
||||
einfo "You can register a live ID at live.com and use it inside"
|
||||
einfo "webshag for special features"
|
||||
}
|
||||
Loading…
Reference in a new issue