metagoofil: v2.2 bump

This commit is contained in:
blshkv 2018-03-28 19:43:25 +08:00
parent aab085b2e8
commit 5f5c81f15e
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
5 changed files with 49 additions and 5 deletions

View file

@ -1 +1,2 @@
DIST metagoofil-1.4b.tar 34304 SHA256 d8e64321661e3a2012bc1766d6cce09b73a7a1eaf1bc11e8ee5bb6a89c2cf26e SHA512 340c7df7c56b83e7f4977d342c5b1a5982d267a009fcc4f3e64c61dc77fb070d7512d69809db07d69a8d759ad60a4cf4b22a1faf7a4c3c43a5d17331d572ac44 WHIRLPOOL e8ffb06707f887fe868923056e06a5656d1ab69daeabbafd7880d9d1b29cc1f635012d6814e4d9a74eeedcc1152124b8edf88bedbfb61a39c834d12762ee7da8
DIST metagoofil-1.4b.tar 34304 BLAKE2B cb6c7fd0a1725c0aee1d3571c1d29c088f8965968980974884d7930da58c22f5a50e8ce8a0eb2345dd6135877f5f93c0998cfe2d47b20d32e50a41e2fa3e3767 SHA512 340c7df7c56b83e7f4977d342c5b1a5982d267a009fcc4f3e64c61dc77fb070d7512d69809db07d69a8d759ad60a4cf4b22a1faf7a4c3c43a5d17331d572ac44
DIST metagoofil-2.2.zip 699382 BLAKE2B 7318732d3f6502e3352e8d0af1598cc2a03e6f4a798e49e67b6c373639f4bab5e32c8c1c66adf368bd8c3fc8a2c3675493fe3f564fb610699a1c7f8116794ba2 SHA512 dc25ffe8bd2527cc4f8cd4eda869cbb37a32fc87a62ed7c18e76d465ecc8783c509f717615fee52a9bcfaead75e9652e5857e953a7bdb94629dc8a2e205f24f6

View file

@ -0,0 +1,4 @@
#!/bin/sh
cd /usr/share/metagoofil
python2 ./metagoofil.py "$@"

View file

@ -1,13 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="Metagoofil is an information gathering tool designed for extracting metadata of public documents"
DESCRIPTION="Information gathering tool designed for extracting metadata of public documents"
HOMEPAGE="http://www.edge-security.com/metagoofil.php"
SRC_URI="http://www.edge-security.com/soft/${P}.tar"

View file

@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
MY_COMMIT="823b1146eb13a6e5c4f72b33461af5289b191abb"
DESCRIPTION="Information gathering tool designed for extracting metadata of public documents"
HOMEPAGE="http://www.edge-security.com/metagoofil.php"
SRC_URI="https://github.com/laramies/metagoofil/archive/${MY_COMMIT}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
RDEPEND="media-libs/libextractor"
S=${WORKDIR}/${PN}-${MY_COMMIT}
src_configure() {
# Add the following line, so metagoofil.py can be executed directly.
sed -i '1i#!\/usr\/bin\/python' "${PN}".py || die
# change libextractor default location
# sed -i -e "s:/opt/local/bin/extract:/usr/bin/extract:g" "${PN}".py || die
}
src_install() {
dobin "${FILESDIR}/${PN}"
dodir /usr/share/"${PN}"
cp -r . "${ED}"/usr/share/${PN}/
dodoc README LICENSES
}

View file

@ -64,7 +64,7 @@ net-analyzer/hyenae
~net-analyzer/masscan-1.0.3
~net-analyzer/mbrowse-0.4.3
=net-analyzer/medusa-2.2*
~net-analyzer/metagoofil-1.4b
~net-analyzer/metagoofil-2.2
=net-analyzer/nacker-0.0.1_pre*
~net-analyzer/nbtscan-1.5.1
~net-analyzer/ncrack-0.4_alpha