Сравнение dnsenum-1.2.2 с dnsenum-1.3.1
| /usr/portage/net-analyzer/dnsenum/dnsenum-1.3.1.ebuild 2024-12-25 14:59:51.231270144 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
DESCRIPTION="A perl script to enumerate DNS from a server" |
| 7 |
HOMEPAGE="https://github.com/fwaeytens/dnsenum" |
|
| 8 |
SRC_URI="https://dnsenum.googlecode.com/files/${P}.tar.gz"
|
|
| 7 |
HOMEPAGE="https://github.com/SparrowOchon/dnsenum2" |
|
| 8 |
SRC_URI="https://github.com/SparrowOchon/dnsenum2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 9 | 9 | |
| 10 | 10 |
LICENSE="GPL-2+" |
| 11 | 11 |
SLOT="0" |
| 12 | 12 |
KEYWORDS="amd64 ~x86" |
| 13 | 13 | |
| 14 | 14 |
RDEPEND=" |
| 15 |
dev-perl/HTML-Parser |
|
| 15 | 16 |
dev-perl/Net-DNS |
| 16 | 17 |
dev-perl/Net-IP |
| 17 | 18 |
dev-perl/Net-Netmask |
| 18 | 19 |
dev-perl/Net-Whois-IP |
| 19 |
dev-perl/HTML-Parser |
|
| 20 |
dev-perl/String-Random |
|
| 20 | 21 |
dev-perl/WWW-Mechanize |
| 21 | 22 |
dev-perl/XML-Writer" |
| 22 | 23 | |
| 23 |
S="${WORKDIR}"
|
|
| 24 |
S="${WORKDIR}/${PN}2-${PV}"
|
|
| 24 | 25 | |
| 25 |
PATCHES=( "${FILESDIR}"/${PN}-1.2.2-remove-extension.patch )
|
|
| 26 |
src_prepare() {
|
|
| 27 |
default |
|
| 28 |
sed -i -e "s:dnsenum\.pl:dnsenum:g" dnsenum.pl || die |
|
| 29 |
} |
|
| 26 | 30 | |
| 27 | 31 |
src_install() {
|
| 28 |
dodoc *.txt |
|
| 29 |
newbin ${PN}.pl ${PN}
|
|
| 32 |
emake DESTDIR="${D}" INSTALL_DEPS=0 install
|
|
| 33 |
dodoc README.md |
|
| 30 | 34 |
} |