diff options
author | David Seifert <soap@gentoo.org> | 2020-01-18 18:35:43 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-01-18 18:35:43 +0100 |
commit | 5317b6380e9eae78eb7e2d916ad96bb9548e7550 (patch) | |
tree | 4de12574d7f2c03713f353e9d308507730b25724 /net-dns | |
parent | net-dns/totd: Port to EAPI 7 (diff) | |
download | gentoo-5317b6380e9eae78eb7e2d916ad96bb9548e7550.tar.gz gentoo-5317b6380e9eae78eb7e2d916ad96bb9548e7550.tar.bz2 gentoo-5317b6380e9eae78eb7e2d916ad96bb9548e7550.zip |
net-dns/dnshijacker: Port to EAPI 7
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild b/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild index 6a23ca9c088c..2f9090042770 100644 --- a/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild +++ b/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="a libnet/libpcap based packet sniffer and spoofer" HOMEPAGE="http://pedram.redhive.com/projects.php" @@ -12,18 +12,16 @@ SRC_URI="http://pedram.redhive.com/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" -IUSE="" -DEPEND="net-libs/libpcap +DEPEND=" + net-libs/libpcap >=net-libs/libnet-1.0.2a-r3:1.0" RDEPEND="${DEPEND}" -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch -} +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) -src_compile() { - emake CC=$(tc-getCC) +src_configure() { + tc-export CC } src_install() { @@ -32,5 +30,5 @@ src_install() { insinto /etc/dnshijacker doins ftable - dodoc README + einstalldocs } |