snmpenum: update src_uri

This commit is contained in:
blshkv 2016-04-20 00:14:49 +08:00
parent 45385f9c84
commit cc5ea02e2b
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 38 additions and 1 deletions

View file

@ -1 +1 @@
DIST snmpenum.zip 3030 SHA256 4f4f920f8b8d8bb5b11f535163c3bba075a441377d423b39895918db914bc1b4
DIST snmpenum.zip 3030 SHA256 4f4f920f8b8d8bb5b11f535163c3bba075a441377d423b39895918db914bc1b4 SHA512 7ad97c118872228a3243398b9ebde2a20cb1a2823669707479d3dd0c44ab8ffd650e232bee8ec28c6b5de6dd68fcc05936d382de6239381608c2fe423781c11b WHIRLPOOL ce268903403f0510ee46e8cc6243d366ceb0638ed97ef7318e1730e19a8c77c4e0d8cdd59f173de27f35e60c48fb97ea3efbaa99b5498b2c10061c43c7b37977

View file

@ -0,0 +1,37 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="A perl script to enumerate SNMP table dumper"
HOMEPAGE="http://packetstormsecurity.org"
SRC_URI="https://dl.packetstormsecurity.net/UNIX/scanners/${PN}.zip"
RESTRICT="fetch"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="dev-perl/Net-SNMP"
S="${WORKDIR}"
pkg_nofetch() {
einfo "Upstream's certificate chain is incomplete. Run the following command:"
einfo "wget \"${SRC_URI}\" --no-check-certificate"
einfo "and placed the file into ${DISTDIR}"
}
src_configure() {
epatch "${FILESDIR}"/${PN}-gentoo.patch
}
src_install() {
dodoc *.txt
newsbin ${PN}.pl ${PN}
}