summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 21:36:57 +0000
committerSam James <sam@gentoo.org>2021-04-03 21:36:57 +0000
commit83df5741674e7004c90ce18bb1d94d22620fd59b (patch)
tree0f87f953c5da4fe8ea6cca4fce53342725e618d9 /net-misc
parentnet-misc/dhcping: update EAPI 5 -> 7 (diff)
downloadgentoo-83df5741674e7004c90ce18bb1d94d22620fd59b.tar.gz
gentoo-83df5741674e7004c90ce18bb1d94d22620fd59b.tar.bz2
gentoo-83df5741674e7004c90ce18bb1d94d22620fd59b.zip
net-misc/netstat-nat: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/netstat-nat/netstat-nat-1.4.10.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/net-misc/netstat-nat/netstat-nat-1.4.10.ebuild b/net-misc/netstat-nat/netstat-nat-1.4.10.ebuild
index cc7e4cb41180..2d94fe2f5dfc 100644
--- a/net-misc/netstat-nat/netstat-nat-1.4.10.ebuild
+++ b/net-misc/netstat-nat/netstat-nat-1.4.10.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="Display NAT connections"
HOMEPAGE="http://tweegy.nl/projects/netstat-nat/index.html"
@@ -12,7 +13,14 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc sparc x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-install.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-install.patch
+ default
+
+ mv configure.{in,ac} || die
+
eautoreconf
}