Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/fpdns/
Date: Mon, 01 Nov 2021 21:56:12
Message-Id: 1635803706.321ef374ef1eb1270c8dbb14a7d48986afe6f8eb.jsmolic@gentoo
1 commit: 321ef374ef1eb1270c8dbb14a7d48986afe6f8eb
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 19:13:47 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 1 21:55:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=321ef374
7
8 net-dns/fpdns: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/819348
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild | 19 +++++++------------
14 1 file changed, 7 insertions(+), 12 deletions(-)
15
16 diff --git a/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild b/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild
17 index 41acf92d360..69910304830 100644
18 --- a/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild
19 +++ b/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild
20 @@ -1,33 +1,28 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 -inherit epatch perl-module
28 +inherit perl-module
29
30 DESCRIPTION="Fingerprinting DNS servers"
31 HOMEPAGE="https://github.com/kirei/fpdns/"
32 -
33 MY_P="${PN}-${PV##*_pre}"
34 SRC_URI="https://github.com/kirei/fpdns/archive/20130404.tar.gz -> ${P}.tar.gz"
35 +S="${WORKDIR}"/"${MY_P}"
36
37 LICENSE="BSD"
38 SLOT="0"
39 KEYWORDS="~amd64 ~x86"
40 -IUSE=""
41
42 -DEPEND=""
43 RDEPEND=">=dev-perl/Net-DNS-0.74"
44
45 -S="${WORKDIR}"/"${MY_P}"
46 -
47 -src_prepare() {
48 - ## fixes https://github.com/kirei/fpdns/issues/6
49 - epatch "${FILESDIR}/${P}.ro-header.patch"
50 -}
51 +PATCHES=(
52 + "${FILESDIR}"/${P}.ro-header.patch
53 +)
54
55 src_install() {
56 - newbin apps/fpdns fpdns
57 + dobin apps/fpdns
58 insinto "${VENDOR_LIB}"/Net/DNS/
59 doins lib/Net/DNS/Fingerprint.pm
60 }