diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/dnshijacker |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/dnshijacker')
-rw-r--r-- | net-dns/dnshijacker/Manifest | 6 | ||||
-rw-r--r-- | net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild | 36 | ||||
-rw-r--r-- | net-dns/dnshijacker/files/dnshijacker-1.3-gentoo.patch | 37 | ||||
-rw-r--r-- | net-dns/dnshijacker/metadata.xml | 5 |
4 files changed, 84 insertions, 0 deletions
diff --git a/net-dns/dnshijacker/Manifest b/net-dns/dnshijacker/Manifest new file mode 100644 index 000000000000..c4edb495a892 --- /dev/null +++ b/net-dns/dnshijacker/Manifest @@ -0,0 +1,6 @@ +AUX dnshijacker-1.3-gentoo.patch 1697 SHA256 3d8d58db6043f3ba086c20ec7db0792311203e3066ad6e433629f5bdaad3e646 SHA512 37fb70e9616690b5da2edd111230647787b5e011a564cc34411bf65e7d198225028a7406fdb885aa092f533b64d038c40db412a9979c47eed491a93fa421b339 WHIRLPOOL 571e53d187bc019041a8fe8f553744c0b3983beda70b13c16944136bcc641136b0b968ab3b38f21ee9ba49172233285dab1dd35f98cc4e8f4799ef4226e80673 +DIST dnshijacker-1.3.tar.gz 23569 SHA256 4040cb211860bec4dd43af09e157da25ebd20189d35884c11639d281ef7cd16a SHA512 628d545f1b6345e641254519cbb696ae2a38e218a5129558dae404d0ef374afdabf06c63775d5bc5d2d020de3bf339342c7e1a1b10beed4beadb703ff63c693d WHIRLPOOL 94bfcaa8ecca3d60dc472d1615e49208127d4c9407d1c19bf1d20a31b7c2f2a80114906d06927bfbe775ccd3ee45c4d348bcf9009f0ab26d878a0f1c78102fb3 +EBUILD dnshijacker-1.3-r2.ebuild 670 SHA256 663b34ee2e1dd85dc53c5966ef9430dd97404824923fd80260e7bab3b612ba50 SHA512 c3efcfaf6be8705efeed8e051d71f011972ea79117cf096b40c76a3528b11b0dbabc4484cc9abaca7ae86833283167d03e0a9cbb25304970ecc4bf71259d89fc WHIRLPOOL 27420f122e1c3491fc37f78148fb54d7a0c52dc32d5de477ed2df1da57ac5ff629fad7926d31949ad2089ba45b89d748235eac5b97f8ff83ae2c6da8145c3164 +MISC ChangeLog 2603 SHA256 dd35f59c81b675e3fbbd4f14f33d179855db2aad55d8f928d1bfbdd092024718 SHA512 5b4dcc384aceb686bc23ad0c3bc06374bd99451980155c47e1d04624bd37744c2ea9de7bcb1b9018cdf0ecdc079370b1da98c224c3402c06b9303b34ae8eeb54 WHIRLPOOL 67adaff8e49a8ade7a7700bf77dc0d079b9f36721bf9de719273b3ecd68f054789185362eeda4445eb79ba80ccb4fafdf8959da7d07af420987b7346a3420110 +MISC ChangeLog-2015 2345 SHA256 e56c1c06471f1a3b53a5883a71b31e6707de8b023d0d23c84a9d30dabff78328 SHA512 6e3a2570a422944904816dbc2d0093762b3f8fbd1837c2d0060f0cd02bdf6b1718ca02b2c66ceb6931b1ff01d271cff81c074c21bfdfd4e68da5cc1863ac41bc WHIRLPOOL 7de08fe4b5e0e4b2b9e1488b63d40b22bb8b66f8f7a5e569a6ce6ac7950080d8fbd1a402e19efd85606759508a46a2a922a8ef21201df7aa894a0014c41a2d44 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild b/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild new file mode 100644 index 000000000000..6a23ca9c088c --- /dev/null +++ b/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="a libnet/libpcap based packet sniffer and spoofer" +HOMEPAGE="http://pedram.redhive.com/projects.php" +SRC_URI="http://pedram.redhive.com/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +DEPEND="net-libs/libpcap + >=net-libs/libnet-1.0.2a-r3:1.0" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + dosbin dnshijacker ask_dns answer_dns + + insinto /etc/dnshijacker + doins ftable + + dodoc README +} diff --git a/net-dns/dnshijacker/files/dnshijacker-1.3-gentoo.patch b/net-dns/dnshijacker/files/dnshijacker-1.3-gentoo.patch new file mode 100644 index 000000000000..9af952067618 --- /dev/null +++ b/net-dns/dnshijacker/files/dnshijacker-1.3-gentoo.patch @@ -0,0 +1,37 @@ +--- a/answer_dns.c 2002-10-28 02:58:37.000000000 +0100 ++++ b/answer_dns.c 2010-09-19 01:16:28.000000000 +0200 +@@ -5 +5 @@ +-#include <libnet.h>
++#include <libnet-1.0.h>
+--- a/ask_dns.c 2002-10-28 02:58:34.000000000 +0100 ++++ b/ask_dns.c 2010-09-19 01:16:28.000000000 +0200 +@@ -5 +5 @@ +-#include <libnet.h>
++#include <libnet-1.0.h>
+--- a/dnshijacker.h 2002-11-18 05:21:48.000000000 +0100 ++++ b/dnshijacker.h 2010-09-19 01:16:28.000000000 +0200 +@@ -10 +10 @@ +-#include <libnet.h> ++#include <libnet-1.0.h> +@@ -12 +12 @@ +- ++#include <resolv.h> +--- a/Makefile 2002-12-02 01:51:09.000000000 +0100 ++++ b/Makefile 2010-09-19 01:16:28.000000000 +0200 +@@ -4 +4 @@ +- gcc ask_dns.c -lnet `libnet-config --defines` -o ask_dns ++ $(CC) $(CFLAGS) $(LDFLAGS) ask_dns.c -lnet-1.0 `libnet-1.0-config --defines` -o ask_dns +@@ -7 +7 @@ +- gcc answer_dns.c -lnet `libnet-config --defines` -o answer_dns ++ $(CC) $(CFLAGS) $(LDFLAGS) answer_dns.c -lnet-1.0 `libnet-1.0-config --defines` -o answer_dns +@@ -10 +10 @@ +- gcc dnshijacker.c -lpcap -lnet -lresolv `libnet-config --defines` -o dnshijacker ++ $(CC) $(CFLAGS) $(LDFLAGS) dnshijacker.c -lpcap -lnet-1.0 -lresolv `libnet-1.0-config --defines` -o dnshijacker +@@ -13 +13 @@ +- gcc dnshijacker.c -lpcap -lnet -lresolv `libnet-config --defines` -o dnshijacker -DDEBUG -ggdb ++ $(CC) $(CFLAGS) $(LDFLAGS) dnshijacker.c -lpcap -lnet-1.0 -lresolv `libnet-1.0-config --defines` -o dnshijacker -DDEBUG -ggdb +--- a/README 2002-10-30 06:12:09.000000000 +0100 ++++ b/README 2010-09-19 01:16:28.000000000 +0200 +@@ -61 +61 @@ +- gcc dnshijacker.c -lpcap -lnet `libnet-config --defines` -o dnshijacker ++ gcc dnshijacker.c -lpcap -lnet-1.0 `libnet-1.0-config --defines` -o dnshijacker diff --git a/net-dns/dnshijacker/metadata.xml b/net-dns/dnshijacker/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-dns/dnshijacker/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |