diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 05:05:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 05:05:41 +0000 |
commit | 94cee67393c645a95cdbe810e306e46cfd747b7f (patch) | |
tree | 6bfbca98b4bfb489874b5d053b8553533c1a4fc0 /net-analyzer | |
parent | stupid cvs up/down (diff) | |
download | gentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.tar.gz gentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.tar.bz2 gentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.zip |
patch to compile against SLOT-ed libnet #17772
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/zodiac/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/zodiac/files/0.4.9-libnet-1.0.patch | 46 | ||||
-rw-r--r-- | net-analyzer/zodiac/files/digest-zodiac-0.4.9-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/zodiac/zodiac-0.4.9-r1.ebuild | 44 |
4 files changed, 97 insertions, 1 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 +} |