commit:     c5b74cf344eb1b0c380c565130054d957c2fffd9
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jun  2 20:55:20 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Jun  7 19:21:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b74cf3

net-dns/dnscap: EAPI=7, improve ebuild, fix HTTPS

Closes: https://github.com/gentoo/gentoo/pull/8697

 net-dns/dnscap/dnscap-20130814.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/net-dns/dnscap/dnscap-20130814.ebuild 
b/net-dns/dnscap/dnscap-20130814.ebuild
index baed5d54266..229ade9c0a2 100644
--- a/net-dns/dnscap/dnscap-20130814.ebuild
+++ b/net-dns/dnscap/dnscap-20130814.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils
-
-DESCRIPTION="dnscap is a network capture utility designed specifically for DNS 
traffic"
-HOMEPAGE="http://dnscap.dns-oarc.net/";
+DESCRIPTION="network capture utility designed specifically for DNS traffic"
+HOMEPAGE="https://dnscap.dns-oarc.net/";
 
 ## github commit tarball
 MY_GIT_COMMIT="727ed7d5e46625abc2c8d988689a300589e948b6"
@@ -23,7 +21,4 @@ IUSE=""
 RDEPEND="net-libs/libpcap"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       ## adds DESTDIR to install target
-       epatch "${FILESDIR}/${P}.install.patch"
-}
+PATCHES=( "${FILESDIR}/${P}.install.patch" )

Reply via email to