diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/skipfish | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/skipfish')
-rw-r--r-- | dev-util/skipfish/Manifest | 3 | ||||
-rw-r--r-- | dev-util/skipfish/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/skipfish/skipfish-2.10_beta.ebuild | 62 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-util/skipfish/Manifest b/dev-util/skipfish/Manifest new file mode 100644 index 000000000000..53551b441388 --- /dev/null +++ b/dev-util/skipfish/Manifest @@ -0,0 +1,3 @@ +DIST skipfish-2.10_beta.tar.gz 243827 BLAKE2B 03c60fb1ec8abc3bdca8b9b0d4c720a14ca8aab8609bd88c8e1b1f06d08c4866338126badf220be659012246a23ad85a92c7e6c28be97eabe41bf6f40853110b SHA512 a726bb7e53299ae3941c6a1645b89bb0a4c1d8a4ced6154696932d9a4844fc22d0a1f29d9311d083908b640155d65466ffea7b342c1f7c38e2c26f657c393af9 +EBUILD skipfish-2.10_beta.ebuild 1287 BLAKE2B 32c5fc30e7cee29a94d0641abdc73f573303d998d3cbcd0db465a618e4b4b54c077d2ffce58c99e5f40b7d1223a7b87f61f5ef42c9a58c64af9b13d7a7b880c0 SHA512 6705b497785661f30b2675093314d856b0785ec14ad22358623a64c55559b0676a048b5a16578cc6dcc1aa29c00acf4fb5062a0b85f93e5222ccc7a46d087428 +MISC metadata.xml 249 BLAKE2B 2435af8a77ab88fff0c2810f37d0d19bf5ee30bc9bea2b7c3d276e315ecff30041481e66f91d4be25576446085b0a4e7b4626e634ee6ac50142b479a2186266a SHA512 66df1edc899ada7514e4682ad663bbfc307b526dd7a1c9c2c9492d429fbbb8e220a137de40af26d4d238262888dde0d25f25e5cd5e1a8864454133e5298cf5eb 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 +} |