net-dns/dnscap: EAPI=7, improve ebuild, fix HTTPS
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 2 Jun 2018 20:55:20 +0000 (22:55 +0200)
committerAaron Bauman <bman@gentoo.org>
Thu, 7 Jun 2018 19:21:42 +0000 (15:21 -0400)
Closes: https://github.com/gentoo/gentoo/pull/8697

net-dns/dnscap/dnscap-20130814.ebuild

index baed5d542660590d81446fa2bb7d39408459606f..229ade9c0a25d059103d720c6269eb3a91ee6a42 100644 (file)
@@ -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" )