summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/zodiac/ChangeLog7
-rw-r--r--net-analyzer/zodiac/files/0.4.9-libnet-1.0.patch46
-rw-r--r--net-analyzer/zodiac/files/digest-zodiac-0.4.9-r11
-rw-r--r--net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild44
-rw-r--r--net-dns/dnshijacker/ChangeLog7
-rw-r--r--net-dns/dnshijacker/dnshijacker-1.3-r1.ebuild37
-rw-r--r--net-dns/dnshijacker/files/1.3-libnet-1.0.patch39
-rw-r--r--net-dns/dnshijacker/files/digest-dnshijacker-1.3-r11
8 files changed, 180 insertions, 2 deletions
diff --git a/net-analyzer/zodiac/ChangeLog b/net-analyzer/zodiac/ChangeLog
index ef42c7c35308..3505783952a8 100644
--- a/net-analyzer/zodiac/ChangeLog
+++ b/net-analyzer/zodiac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/zodiac
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zodiac/ChangeLog,v 1.2 2003/03/07 23:35:49 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zodiac/ChangeLog,v 1.3 2003/08/21 05:05:41 vapier Exp $
+
+*zodiac-0.4.9-r1 (21 Aug 2003)
+
+ 21 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Patch to compile against SLOT-ed libnet-1.0.x #17772.
*zodiac-0.4.9 (25 Feb 2003)
diff --git a/net-analyzer/zodiac/files/0.4.9-libnet-1.0.patch b/net-analyzer/zodiac/files/0.4.9-libnet-1.0.patch
new file mode 100644
index 000000000000..9818522d74ea
--- /dev/null
+++ b/net-analyzer/zodiac/files/0.4.9-libnet-1.0.patch
@@ -0,0 +1,46 @@
+diff -U 0 -r src.orig/Makefile src/Makefile
+--- src.orig/Makefile 2003-08-19 15:12:11.779823392 -0400
++++ src/Makefile 2003-08-19 15:14:33.410292288 -0400
+@@ -1,2 +1,2 @@
+-CFLAGS=-Wall -g -ggdb -DDEBUG `libnet-config --defines` -D_REENTRANT -pthread
+-LIBS= -lncurses -lpcap -lnet
++CFLAGS=-Wall -g -ggdb -DDEBUG `libnet-1.0-config --defines` -D_REENTRANT -pthread
++LIBS= -lncurses -lpcap -lnet-1.0
+diff -U 0 -r src.orig/dns-build.c src/dns-build.c
+--- src.orig/dns-build.c 2003-08-19 15:12:11.777823696 -0400
++++ src/dns-build.c 2003-08-19 15:15:06.721228256 -0400
+@@ -9 +9 @@
+-#include <libnet.h> /* route's owning library =) */
++#include <libnet-1.0.h> /* route's owning library =) */
+diff -U 0 -r src.orig/dns-tools.c src/dns-tools.c
+--- src.orig/dns-tools.c 2003-08-19 15:12:11.777823696 -0400
++++ src/dns-tools.c 2003-08-19 15:15:06.725227648 -0400
+@@ -11 +11 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r src.orig/io-udp.c src/io-udp.c
+--- src.orig/io-udp.c 2003-08-19 15:12:11.779823392 -0400
++++ src/io-udp.c 2003-08-19 15:15:06.728227192 -0400
+@@ -17 +17 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r src.orig/packet.h src/packet.h
+--- src.orig/packet.h 2003-08-19 15:12:11.779823392 -0400
++++ src/packet.h 2003-08-19 15:15:06.729227040 -0400
+@@ -16 +16 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r src.orig/zsp/Makefile src/zsp/Makefile
+--- src.orig/zsp/Makefile 2003-08-19 15:12:11.779823392 -0400
++++ src/zsp/Makefile 2003-08-19 15:14:33.411292136 -0400
+@@ -1,2 +1,2 @@
+-CFLAGS=-Wall -g -ggdb -DDEBUG `libnet-config --defines` -D_REENTRANT
+-LIBS=-lnet
++CFLAGS=-Wall -g -ggdb -DDEBUG `libnet-1.0-config --defines` -D_REENTRANT
++LIBS=-lnet-1.0
+diff -U 0 -r src.orig/zsp/zsp.c src/zsp/zsp.c
+--- src.orig/zsp/zsp.c 2003-08-19 15:12:11.779823392 -0400
++++ src/zsp/zsp.c 2003-08-19 15:15:06.731226736 -0400
+@@ -18 +18 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
diff --git a/net-analyzer/zodiac/files/digest-zodiac-0.4.9-r1 b/net-analyzer/zodiac/files/digest-zodiac-0.4.9-r1
new file mode 100644
index 000000000000..83e115242019
--- /dev/null
+++ b/net-analyzer/zodiac/files/digest-zodiac-0.4.9-r1
@@ -0,0 +1 @@
+MD5 9cca1d25152f969e0e28db1d1cc9a4e7 zodiac-0.4.9.tar.gz 67620
diff --git a/net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild b/net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild
new file mode 100644
index 000000000000..cafa5f3b60b1
--- /dev/null
+++ b/net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild,v 1.1 2003/08/21 05:05:41 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="DNS protocol analyzer"
+HOMEPAGE="http://www.packetfactory.net/projects/zodiac/"
+SRC_URI="http://www.packetfactory.net/projects/zodiac/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="sys-libs/ncurses
+ >=net-libs/libnet-1.0.2a-r3
+ <net-libs/libnet-1.1
+ net-libs/libpcap"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/${PV}-libnet-1.0.patch
+ sed -i \
+ -e "s:-g -ggdb -DDEBUG:${CFLAGS}:" \
+ -e 's:-static::' \
+ Makefile
+}
+
+src_compile() {
+ cd src
+ emake || die
+}
+
+src_install() {
+ dobin zodiac
+ mv README{,.dev}
+ dodoc README.dev doc/*
+ dodir /usr/share/${PF}-src
+ cd src && make clean
+ cp -rf * ${D}/usr/share/${PF}-src
+}
diff --git a/net-dns/dnshijacker/ChangeLog b/net-dns/dnshijacker/ChangeLog
index e2bb00382a9a..d8061a0ebb32 100644
--- a/net-dns/dnshijacker/ChangeLog
+++ b/net-dns/dnshijacker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/dnshijacker
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/ChangeLog,v 1.4 2003/05/04 19:17:05 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/ChangeLog,v 1.5 2003/08/21 05:04:32 vapier Exp $
+
+*dnshijacker-1.3-r1 (21 Aug 2003)
+
+ 21 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Patch to compile against SLOT-ed libnet-1.0.x #17772.
*dnshijacker-1.3 (07 Mar 2003)
diff --git a/net-dns/dnshijacker/dnshijacker-1.3-r1.ebuild b/net-dns/dnshijacker/dnshijacker-1.3-r1.ebuild
new file mode 100644
index 000000000000..d45e4860a69c
--- /dev/null
+++ b/net-dns/dnshijacker/dnshijacker-1.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/dnshijacker-1.3-r1.ebuild,v 1.1 2003/08/21 05:04:32 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="dnshijacker is 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="~x86"
+
+DEPEND=">=net-libs/libpcap-0.7.1
+ >=net-libs/libnet-1.0.2a-r3
+ <net-libs/libnet-1.1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-libnet-1.0.patch
+ sed -i "s|gcc |gcc ${CFLAGS} |g" Makefile || die
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ dosbin dnshijacker ask_dns answer_dns
+
+ insinto /etc/dnshijacker
+ doins ftable
+
+ dodoc README
+}
diff --git a/net-dns/dnshijacker/files/1.3-libnet-1.0.patch b/net-dns/dnshijacker/files/1.3-libnet-1.0.patch
new file mode 100644
index 000000000000..08337d5c8282
--- /dev/null
+++ b/net-dns/dnshijacker/files/1.3-libnet-1.0.patch
@@ -0,0 +1,39 @@
+diff -U 0 -r dnshijacker-1.3.orig/Makefile dnshijacker-1.3/Makefile
+--- dnshijacker-1.3.orig/Makefile 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/Makefile 2003-08-19 15:40:26.836135664 -0400
+@@ -4 +4 @@
+- gcc ask_dns.c -lnet `libnet-config --defines` -o ask_dns
++ gcc 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
++ gcc 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
++ gcc 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
++ gcc dnshijacker.c -lpcap -lnet-1.0 -lresolv `libnet-1.0-config --defines` -o dnshijacker -DDEBUG -ggdb
+diff -U 0 -r dnshijacker-1.3.orig/README dnshijacker-1.3/README
+--- dnshijacker-1.3.orig/README 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/README 2003-08-19 15:40:26.840135056 -0400
+@@ -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 -U 0 -r dnshijacker-1.3.orig/answer_dns.c dnshijacker-1.3/answer_dns.c
+--- dnshijacker-1.3.orig/answer_dns.c 2003-08-19 15:39:54.069117008 -0400
++++ dnshijacker-1.3/answer_dns.c 2003-08-19 15:40:48.815794248 -0400
+@@ -5 +5 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r dnshijacker-1.3.orig/ask_dns.c dnshijacker-1.3/ask_dns.c
+--- dnshijacker-1.3.orig/ask_dns.c 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/ask_dns.c 2003-08-19 15:40:48.816794096 -0400
+@@ -5 +5 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r dnshijacker-1.3.orig/dnshijacker.h dnshijacker-1.3/dnshijacker.h
+--- dnshijacker-1.3.orig/dnshijacker.h 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/dnshijacker.h 2003-08-19 15:40:48.818793792 -0400
+@@ -10 +10 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
diff --git a/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1 b/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1
new file mode 100644
index 000000000000..4f6a0e3932dd
--- /dev/null
+++ b/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1
@@ -0,0 +1 @@
+MD5 f7e8f1432de7f63538b3a7ed91ecf2bd dnshijacker-1.3.tar.gz 23569