summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr>2010-08-13 15:09:42 +0000
committerLABBE Corentin (Montjoie) <corentin.labbe@geomatys.fr>2010-08-13 15:09:42 +0000
commit34a173681530178332e13e38ee73260ffd17f20a (patch)
tree17b98d892e5de133264e9f91f748913c749ec83e /net-analyzer
parentdev-perl/Gnome2-Vte: Correct LICENSE, DEPENDS and HOMEPAGE (diff)
downloadsunrise-34a173681530178332e13e38ee73260ffd17f20a.tar.gz
sunrise-34a173681530178332e13e38ee73260ffd17f20a.tar.bz2
sunrise-34a173681530178332e13e38ee73260ffd17f20a.zip
net-analyzer/w3af: Adding remarks of Tommy
svn path=/sunrise/; revision=11133
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/w3af/Manifest2
-rw-r--r--net-analyzer/w3af/w3af-1.0_rc3.ebuild20
2 files changed, 9 insertions, 13 deletions
diff --git a/net-analyzer/w3af/Manifest b/net-analyzer/w3af/Manifest
index 2ed27c72d..f263efbda 100644
--- a/net-analyzer/w3af/Manifest
+++ b/net-analyzer/w3af/Manifest
@@ -1,4 +1,4 @@
DIST w3af-1.0-rc3.tar.bz2 19128303 RMD160 63f775c967d0c5d5149befc868f1872a021b0d68 SHA1 f0004aece2a21c12acddb90c71cc40b9cc5d557f SHA256 36bf724726ec152f125680597f7314a424717cf2f1aa464ca4f18b7c5361ac86
-EBUILD w3af-1.0_rc3.ebuild 1583 RMD160 76ab531ee034b7f3f4ca870cc8e9871d70b7d523 SHA1 e64f9980e9e25f17b185fc9b4055befc5e1fb53c SHA256 d09cdd81d366dfb6d17e1aab7114d555e0f18f80d10ead2174b0018dba318bd7
+EBUILD w3af-1.0_rc3.ebuild 1364 RMD160 bbf290558c49feef4395b719798028d9439dec44 SHA1 b365be18573fbe941f3868481163d9cad5897e65 SHA256 7559908f39fa6dab85cf2dafb47da5852dcc108495707caeab801655a2b396cc
MISC ChangeLog 325 RMD160 e60f25252b43fabadb754200e9f06b6a6e3d2a56 SHA1 16f06df8536c463d71f05df7113047a583f24aa2 SHA256 a5f5fbbabaac1c3e599e9e87089b47f79dc27206c290b4f087182b941b963d6d
MISC metadata.xml 231 RMD160 6aebfea93d789d2b96ea6d8259dc842dd1fdacd3 SHA1 e10a04c4c18a66af326abc1f40c61b28cc610fae SHA256 48054ea190d00518c1e035fc6663b2368854cdea5ff69a94830e4f9a38260987
diff --git a/net-analyzer/w3af/w3af-1.0_rc3.ebuild b/net-analyzer/w3af/w3af-1.0_rc3.ebuild
index 7caad0575..769e2dfc8 100644
--- a/net-analyzer/w3af/w3af-1.0_rc3.ebuild
+++ b/net-analyzer/w3af/w3af-1.0_rc3.ebuild
@@ -33,23 +33,19 @@ RDEPEND="dev-python/beautifulsoup
S=${WORKDIR}/${PN}
src_prepare(){
- for i in BeautifulSoup.py fpconst-0.7.2 jsonpy nltk nltk_contrib pygoogle pyPdf scapy SOAPpy yaml; do
- rm -r "${S}"/extlib/$i || die
- done
+ rm -r extlib/{BeautifulSoup.py,fpconst-0.7.2,jsonpy,nltk,nltk_contrib,pygoogle,pyPdf,scapy,SOAPpy,yaml} || die
+ rm readme/{GPL,INSTALL} || die
}
src_install() {
insinto /usr/$(get_libdir)/w3af
- doins -r * || die "initial copy failed"
- dosym /usr/$(get_libdir)/w3af/w3af_gui usr/bin/w3af_gui || die "making w3af_gui symlink failed"
- dosym /usr/$(get_libdir)/w3af/w3af_console usr/bin/w3af_console || die "making w3af_console symlink failed"
- chmod +x "${D}"/usr/$(get_libdir)/w3af/w3af_gui || die
- chmod +x "${D}"/usr/$(get_libdir)/w3af/w3af_console || die
+ doins -r core extlib locales plugins profiles scripts tools w3af_gui w3af_console || die
+ dosym /usr/$(get_libdir)/w3af/w3af_gui usr/bin/w3af_gui || die
+ dosym /usr/$(get_libdir)/w3af/w3af_console usr/bin/w3af_console || die
+ fperms +x /usr/$(get_libdir)/w3af/w3af_{gui,console} || die
#use flag doc is here because doc is bigger than 3 Mb
if use doc ; then
- dodir /usr/share/doc/${PF} || die "dodir failed"
- mv "${D}"/usr/$(get_libdir)/w3af/readme "${D}"/usr/share/doc/${PF} || die
- else
- rm -r "${D}"/usr/$(get_libdir)/w3af/readme || die "rm of docs failed"
+ insinto /usr/share/doc/${PF}/
+ doins -r readme/* || die
fi
}