diff options
Diffstat (limited to 'dev-util/skipfish')
-rw-r--r-- | dev-util/skipfish/Manifest | 5 | ||||
-rw-r--r-- | dev-util/skipfish/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/skipfish/skipfish-2.10_beta.ebuild | 62 |
3 files changed, 75 insertions, 0 deletions
diff --git a/dev-util/skipfish/Manifest b/dev-util/skipfish/Manifest new file mode 100644 index 000000000000..45240c00d0ff --- /dev/null +++ b/dev-util/skipfish/Manifest @@ -0,0 +1,5 @@ +DIST skipfish-2.10_beta.tar.gz 243827 SHA256 4b239304974dd0d24b54c11072da8a100c92544348030fbc8271a12d2961e3ae SHA512 a726bb7e53299ae3941c6a1645b89bb0a4c1d8a4ced6154696932d9a4844fc22d0a1f29d9311d083908b640155d65466ffea7b342c1f7c38e2c26f657c393af9 WHIRLPOOL 005204ece9cd7efcb6bc2f2512108d89f7fd1478c18c4246328b562b665e2b96b29d630b20833497c1981d9b20801781b1c04feb244fe00d24aab5b620d31ccc +EBUILD skipfish-2.10_beta.ebuild 1287 SHA256 85dd5eae3389f23ecc18f6d7c20fe35d214c4478f3b6121bc828f3c93eba519b SHA512 6705b497785661f30b2675093314d856b0785ec14ad22358623a64c55559b0676a048b5a16578cc6dcc1aa29c00acf4fb5062a0b85f93e5222ccc7a46d087428 WHIRLPOOL 8d6702e152f822b7d974e7645d3e7cc368c1f1b35b3907d6c6bdbe687c35e33173f17dd1fb99dcfe5ae49486e30b504174e292dc49c4f86ba9369a629b101ddb +MISC ChangeLog 2766 SHA256 202f7c136cef00c81119ddd3fb8fda8d0a61a49ba7018b6dfd87fdf5f3f6027d SHA512 1e302fa6438611b43b07b6cb3271023d853ab2930e01d1c51d90077be09c74fae437049705a544ed511b0bf574a2f28e137e29c76b5a2ce910c940b61ed16596 WHIRLPOOL 3824de2606a8a1820d7b9023a3993e73ca3ffedb766fe4eb775992193acf57b329a12951722236644786c994cf42f1fa871bf50cce37e6ac88e3d07e087ca411 +MISC ChangeLog-2015 2419 SHA256 291eeb58f8dd8d4803ef082810932a9aa140aea8af66ce89a1156f842f4cdba1 SHA512 ff54cb4c96c3d0d4ac22c8182d95225e481a3c411d562f3e05e60fdb57223aaf652b8bde4238c9fcf60b3e1330d1cd80f4d054249a7e8f2b8ad1144866f86c33 WHIRLPOOL da0e1cfef823f1ffa654a2eff50ac3de1d3a5906a9161b398e9b0816fbe6a5c81586547678ba50eb8b64c0669bb6179ac23a701d3036977c4a9953bf3387bd2b +MISC metadata.xml 249 SHA256 7809286fde9ce9043f466221737e9caac3ca456bfd28c27691f0d5b271830a3f SHA512 66df1edc899ada7514e4682ad663bbfc307b526dd7a1c9c2c9492d429fbbb8e220a137de40af26d4d238262888dde0d25f25e5cd5e1a8864454133e5298cf5eb WHIRLPOOL f4273c7e4a6d95952dfc4f5588ed695f8c2fe674c71929e2c39274d38140a72325cc621f085f4e02b90d60423e1d393741ee07cf262e42fd907e88ce9e9f591a diff --git a/dev-util/skipfish/metadata.xml b/dev-util/skipfish/metadata.xml new file mode 100644 index 000000000000..3e6841b663b1 --- /dev/null +++ b/dev-util/skipfish/metadata.xml @@ -0,0 +1,8 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">spinkham/skipfish</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/skipfish/skipfish-2.10_beta.ebuild b/dev-util/skipfish/skipfish-2.10_beta.ebuild new file mode 100644 index 000000000000..81bb804912a3 --- /dev/null +++ b/dev-util/skipfish/skipfish-2.10_beta.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs vcs-snapshot versionator + +MY_COMMIT_HASH="093800c9de4116706258982376abce01928a3f7b" + +DESCRIPTION="A fully automated, active web application security reconnaissance tool" +HOMEPAGE="https://github.com/spinkham/skipfish" +SRC_URI="https://github.com/spinkham/${PN}/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="dev-libs/openssl:0 + dev-libs/libpcre + net-dns/libidn + sys-libs/zlib" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i \ + -e '/CFLAGS_GEN/s:-g -ggdb::' \ + -e '/CFLAGS_OPT/s:-O3::' \ + Makefile || die + + sed -i \ + -e "/ASSETS_DIR/s:assets:/usr/share/doc/${PF}/html:" \ + -e "/SIG_FILE/s:signatures/:/etc/skipfish/signatures/:" \ + src/config.h || die + + sed -i \ + -e "s:signatures/:/etc/skipfish/signatures/:g" \ + signatures/signatures.conf || die +} + +src_compile() { + tc-export CC + + local _debug + use debug && _debug=debug + + emake ${_debug} +} + +src_install() { + dobin ${PN} + doman doc/${PN}.1 + + insinto /etc/skipfish + doins -r signatures + + insinto /usr/share/${PN}/dictionaries + doins dictionaries/*.wl + + dohtml assets/* + + dodoc ChangeLog README doc/*.txt +} |