summaryrefslogtreecommitdiff
path: root/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-18 18:48:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-18 18:48:55 +0000
commit1118729405d206538433388e0a8bd578f7ae7303 (patch)
treeffcbd53d48fc8d4e2e5d887fd86eb8f768482342 /net-analyzer/dnsenum/dnsenum-1.2.2.ebuild
parent52f895faaaf01579a8d9528cafec20bf2c873f5c (diff)
gentoo resync : 18.01.2010
Diffstat (limited to 'net-analyzer/dnsenum/dnsenum-1.2.2.ebuild')
-rw-r--r--net-analyzer/dnsenum/dnsenum-1.2.2.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild b/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild
index 166ae344f4ec..ac19ef55f4d4 100644
--- a/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild
+++ b/net-analyzer/dnsenum/dnsenum-1.2.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
DESCRIPTION="A perl script to enumerate DNS from a server"
HOMEPAGE="https://github.com/fwaeytens/dnsenum"
@@ -10,10 +10,9 @@ SRC_URI="https://dnsenum.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=""
-RDEPEND="dev-perl/Net-DNS
+RDEPEND="
+ dev-perl/Net-DNS
dev-perl/Net-IP
dev-perl/Net-Netmask
dev-perl/Net-Whois-IP
@@ -23,11 +22,9 @@ RDEPEND="dev-perl/Net-DNS
S="${WORKDIR}"
-src_prepare() {
- sed -i 's|dnsenum.pl|dnsenum|g' dnsenum.pl || die
-}
+PATCHES=( "${FILESDIR}"/${PN}-1.2.2-remove-extension.patch )
-src_install () {
+src_install() {
dodoc *.txt
newbin ${PN}.pl ${PN}
}