summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaciag.artur <maciag.artur@0805d722-a2c2-11dd-9b86-41075523de00>2010-03-20 18:01:30 +0000
committermaciag.artur <maciag.artur@0805d722-a2c2-11dd-9b86-41075523de00>2010-03-20 18:01:30 +0000
commitde845d3e68013cc6c155555c61db18f9b8240d86 (patch)
tree8d01f735350a1b6d21fdd0977b5310bd1f88eb6e
parentjDownloader-0.9421 ebuild added (diff)
downloadpiczu-de845d3e68013cc6c155555c61db18f9b8240d86.tar.gz
piczu-de845d3e68013cc6c155555c61db18f9b8240d86.tar.bz2
piczu-de845d3e68013cc6c155555c61db18f9b8240d86.zip
skipfish ebuild added
git-svn-id: http://piczu-overlay.googlecode.com/svn/trunk@75 0805d722-a2c2-11dd-9b86-41075523de00
-rw-r--r--net-analyzer/skipfish/Manifest2
-rw-r--r--net-analyzer/skipfish/skipfish-1.05_beta.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/net-analyzer/skipfish/Manifest b/net-analyzer/skipfish/Manifest
new file mode 100644
index 0000000..2f3e617
--- /dev/null
+++ b/net-analyzer/skipfish/Manifest
@@ -0,0 +1,2 @@
+DIST skipfish-1.05b.tgz 180023 RMD160 55ff79b0f94e7ae9a4563f43a73ff5ffb3c30a21 SHA1 bbf8b8297b7ebb1f8e9681ac18db8ef74ad885c6 SHA256 4cc0d74dfa5fdb014876cbabed0d51a5b110075a4f42c5099e87696d6f6490b8
+EBUILD skipfish-1.05_beta.ebuild 1062 RMD160 22bb965988ae06ada1b26bc176e1038261627705 SHA1 591c8e051418c05600ffd858faddbdd12864a638 SHA256 e132a2e2c06dc7c518ecd3b9e069c85e9108744d8602987319dd024770e87365
diff --git a/net-analyzer/skipfish/skipfish-1.05_beta.ebuild b/net-analyzer/skipfish/skipfish-1.05_beta.ebuild
new file mode 100644
index 0000000..17c8218
--- /dev/null
+++ b/net-analyzer/skipfish/skipfish-1.05_beta.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Web application security scanner"
+HOMEPAGE="http://code.google.com/p/skipfish/"
+SRC_URI="http://skipfish.googlecode.com/files/${MY_P}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="net-dns/libidn"
+RDEPEND="${DEPEND}"
+
+#src_prepare() {
+# epatch "${FILESDIR}"/${PN}-4.3.3-install.patch
+# eautoreconf
+#}
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ # Change assets path
+ sed -i 's/assets\//\/usr\/share\/skipfish\/assets\//g' report.c skipfish.c || die "sed failed"
+}
+
+src_install() {
+ dobin skipfish
+
+ insinto /usr/share/${PN}/dictionaries
+ doins dictionaries/*
+ insinto /usr/share/${PN}/assets
+ doins assets/*
+
+ dodoc README ChangeLog
+}
+
+pkg_postinst() {
+ echo
+ elog "See README-FIRST in /usr/share/skipfish/dictionaries/ to pick a dictionary and use with -W option:"
+ elog " skipfish -W /usr/share/skipfish/dictionaries/<dictionary_name>"
+ echo
+}