summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2022-12-15 15:47:29 +0300
committerFlorian Schmaus <flow@gentoo.org>2023-04-14 21:58:14 +0200
commitf477c756a6a6bdb516de990b1ce069205b346760 (patch)
tree624b97f830da55002b01badafb57d358686f8f91
parentdev-perl/String-Random: new package, add 0.32 (diff)
downloadgentoo-f477c756a6a6bdb516de990b1ce069205b346760.tar.gz
gentoo-f477c756a6a6bdb516de990b1ce069205b346760.tar.bz2
gentoo-f477c756a6a6bdb516de990b1ce069205b346760.zip
net-analyzer/dnsenum: add 1.3.1
Closes: https://bugs.gentoo.org/558986 Closes: https://bugs.gentoo.org/741552 Closes: https://github.com/gentoo/gentoo/pull/28672 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--net-analyzer/dnsenum/Manifest1
-rw-r--r--net-analyzer/dnsenum/dnsenum-1.3.1.ebuild34
-rw-r--r--net-analyzer/dnsenum/metadata.xml2
3 files changed, 36 insertions, 1 deletions
diff --git a/net-analyzer/dnsenum/Manifest b/net-analyzer/dnsenum/Manifest
index fbfcc568646e..4b9d71389a55 100644
--- a/net-analyzer/dnsenum/Manifest
+++ b/net-analyzer/dnsenum/Manifest
@@ -1 +1,2 @@
DIST dnsenum-1.2.2.tar.gz 902708 BLAKE2B 4ce8b9b4f641949f9d06f60e452b3c9cfc32819a6d3aa0bdcbb37c58ef22b2dcfd4b3805e5b9a1a264326ddf1f24e4b68b6cb8b2bc7ee4f7ac5ae11017da8aab SHA512 3915be8e3ddf1102520594fcb1a41506401c662175455414226165e473844fa94f8577e68395586bfbf7e97b7c5a29e20e1ad63bb40a214c53e141afe66eddd6
+DIST dnsenum-1.3.1.tar.gz 21452 BLAKE2B e2ef22d2c001294a4c5417a571ed647b97cdf76af8534b4ff9648405d086c47aa39ca646e7b134122a085b97f2c6698ccb6d6e198cb564255c7f4d8df4838a78 SHA512 26cec4056ae787ee297868e58ca384946e1edb80be36b0a92beca846a8abb9be21963295cb2cc3349d9ec765b30b308f3721347d24208481c35dce371c32db97
diff --git a/net-analyzer/dnsenum/dnsenum-1.3.1.ebuild b/net-analyzer/dnsenum/dnsenum-1.3.1.ebuild
new file mode 100644
index 000000000000..30be96ccd221
--- /dev/null
+++ b/net-analyzer/dnsenum/dnsenum-1.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A perl script to enumerate DNS from a server"
+HOMEPAGE="https://github.com/SparrowOchon/dnsenum2"
+SRC_URI="https://github.com/SparrowOchon/dnsenum2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-perl/HTML-Parser
+ dev-perl/Net-DNS
+ dev-perl/Net-IP
+ dev-perl/Net-Netmask
+ dev-perl/Net-Whois-IP
+ dev-perl/String-Random
+ dev-perl/WWW-Mechanize
+ dev-perl/XML-Writer"
+
+S="${WORKDIR}/${PN}2-${PV}"
+
+src_prepare() {
+ default
+ sed -i -e "s:dnsenum\.pl:dnsenum:g" dnsenum.pl || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_DEPS=0 install
+ dodoc README.md
+}
diff --git a/net-analyzer/dnsenum/metadata.xml b/net-analyzer/dnsenum/metadata.xml
index 406dc79289ef..73183f603795 100644
--- a/net-analyzer/dnsenum/metadata.xml
+++ b/net-analyzer/dnsenum/metadata.xml
@@ -6,6 +6,6 @@
<name>Rick Farina</name>
</maintainer>
<upstream>
- <remote-id type="github">fwaeytens/dnsenum</remote-id>
+ <remote-id type="github">SparrowOchon/dnsenum2</remote-id>
</upstream>
</pkgmetadata>