summaryrefslogtreecommitdiff
path: root/net-dns/dnshijacker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-18 18:58:09 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-18 18:58:09 +0000
commit6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 (patch)
tree860348d8573f52d9ddf8a87c31099b8bb3a04806 /net-dns/dnshijacker
parent1118729405d206538433388e0a8bd578f7ae7303 (diff)
gentoo resync : 18.01.2020
Diffstat (limited to 'net-dns/dnshijacker')
-rw-r--r--net-dns/dnshijacker/Manifest2
-rw-r--r--net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild20
2 files changed, 10 insertions, 12 deletions
diff --git a/net-dns/dnshijacker/Manifest b/net-dns/dnshijacker/Manifest
index 2bf8237172b0..14e33e352959 100644
--- a/net-dns/dnshijacker/Manifest
+++ b/net-dns/dnshijacker/Manifest
@@ -1,4 +1,4 @@
AUX dnshijacker-1.3-gentoo.patch 1697 BLAKE2B 43fab06def7ae88def968fd2848f2905ba19a85cfa078917af6f3b64e2e414c89880f43a9c4b28ee9c1df9b1df7c127cf65cb91472799307669b6a9bc17ebf0d SHA512 37fb70e9616690b5da2edd111230647787b5e011a564cc34411bf65e7d198225028a7406fdb885aa092f533b64d038c40db412a9979c47eed491a93fa421b339
DIST dnshijacker-1.3.tar.gz 23569 BLAKE2B cd7631f94b5048ab6bbf8afe8fa27f0c2eb0b4295e7d4cbcf43907f32155a0c32a9ac589a75e9ddadc00f4a879239e16ef90289caaacd3f2a7a41e94366685a9 SHA512 628d545f1b6345e641254519cbb696ae2a38e218a5129558dae404d0ef374afdabf06c63775d5bc5d2d020de3bf339342c7e1a1b10beed4beadb703ff63c693d
-EBUILD dnshijacker-1.3-r2.ebuild 670 BLAKE2B 3b2c5073931b493d20d503d78b27bcba1c9d873f08880dcbf226c6686f5d32acc910b6dca1b0734ddb688328f1bd9f01bf9a41aff76023df5b19872c30eb6c8d SHA512 c3efcfaf6be8705efeed8e051d71f011972ea79117cf096b40c76a3528b11b0dbabc4484cc9abaca7ae86833283167d03e0a9cbb25304970ecc4bf71259d89fc
+EBUILD dnshijacker-1.3-r2.ebuild 634 BLAKE2B 81e0c493cc479986a91bc0c9590e82a9cddda6be62673e81f40e823543c6072081122915da53113ceaef8d232e7aa6ace05c1d9c72aeb66ef9ce08401f5f0638 SHA512 38b10eb78cd13d89e1bdb1f1ee0dd62b7f6a42aa553933e99bd3433eaa04e7cbd661921bf41dfb035c91153aff44c72fda28e2dd0c3446bd3c84f33bd8295479
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
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
}