diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:44:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:44:44 +0000 |
commit | dac0d51f7f60773e58085c591b281a64407bc30b (patch) | |
tree | 5bc838525bd4eace2f5bcf33b689d0afaf248ea4 /net-analyzer/isic | |
parent | old (diff) | |
download | gentoo-2-dac0d51f7f60773e58085c591b281a64407bc30b.tar.gz gentoo-2-dac0d51f7f60773e58085c591b281a64407bc30b.tar.bz2 gentoo-2-dac0d51f7f60773e58085c591b281a64407bc30b.zip |
patch to compile against SLOT-ed libnet #17772
Diffstat (limited to 'net-analyzer/isic')
-rw-r--r-- | net-analyzer/isic/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/isic/files/0.05-libnet-1.0.patch | 35 | ||||
-rw-r--r-- | net-analyzer/isic/files/digest-isic-0.05-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/isic/isic-0.05-r1.ebuild | 33 |
4 files changed, 75 insertions, 1 deletions
diff --git a/net-analyzer/isic/ChangeLog b/net-analyzer/isic/ChangeLog index 6afccd4e18ab..ce3d600e1aee 100644 --- a/net-analyzer/isic/ChangeLog +++ b/net-analyzer/isic/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/isic # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/ChangeLog,v 1.2 2003/03/07 23:12:26 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/ChangeLog,v 1.3 2003/08/21 04:44:44 vapier Exp $ + +*isic-0.05-r1 (21 Aug 2003) + + 21 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Patch to compile against SLOT-ed libnet-1.0.x #17772. *isic-0.05 (25 Feb 2003) diff --git a/net-analyzer/isic/files/0.05-libnet-1.0.patch b/net-analyzer/isic/files/0.05-libnet-1.0.patch new file mode 100644 index 000000000000..33c69c7ec039 --- /dev/null +++ b/net-analyzer/isic/files/0.05-libnet-1.0.patch @@ -0,0 +1,35 @@ +--- configure.in.orig 2003-08-19 01:27:01.696500112 -0400 ++++ configure.in 2003-08-19 01:27:01.711497832 -0400 +@@ -6 +6 @@ +-dnl Bah.... Quick hack to fine libnet ++dnl Bah.... Quick hack to fine libnet-1.0 +@@ -8,2 +8,2 @@ +-AC_CHECK_FILE($PREFIX/lib/libnet.a, [FOO=$LIBS; CFLAGS="$CFLAGS -I$PREFIX/include" LIBS="-L$PREFIX/lib $LIBS"]) +-AC_CHECK_FILE(/usr/lib/aout/libnet.a, [FOO=$LIBS; LIBS=-L/usr/lib/aout $LIBS]) ++AC_CHECK_FILE($PREFIX/lib/libnet-1.0.a, [FOO=$LIBS; CFLAGS="$CFLAGS -I$PREFIX/include" LIBS="-L$PREFIX/lib $LIBS"]) ++AC_CHECK_FILE(/usr/lib/aout/libnet-1.0.a, [FOO=$LIBS; LIBS=-L/usr/lib/aout $LIBS]) +@@ -11 +11 @@ +- AC_MSG_ERROR([Cannot find libnet... please get it from ++ AC_MSG_ERROR([Cannot find libnet-1.0... please get it from +@@ -14,1 +14,1 @@ +-AC_CHECK_LIB(net, open_raw_sock) ++AC_CHECK_LIB(net-1.0, open_raw_sock) +--- esic.c.orig 2003-08-19 01:27:01.700499504 -0400 ++++ esic.c 2003-08-19 01:27:01.720496464 -0400 +@@ -13 +13 @@ +-#include <libnet.h> ++#include <libnet-1.0.h> +--- isic.h.orig 2003-08-19 01:27:01.703499048 -0400 ++++ isic.h 2003-08-19 01:27:01.721496312 -0400 +@@ -8 +8 @@ +-#include <libnet.h> ++#include <libnet-1.0.h> +--- Makefile.in.orig 2003-08-19 01:27:01.707498440 -0400 ++++ Makefile.in 2003-08-19 01:27:01.725495704 -0400 +@@ -8,3 +8,3 @@ +-DEFS = @DEFS@ `libnet-config --defines` +-CFLAGS = @CFLAGS@ `libnet-config --cflags` +-LIBS = @LIBS@ `libnet-config --libs` ++DEFS = @DEFS@ `libnet-1.0-config --defines` ++CFLAGS = @CFLAGS@ `libnet-1.0-config --cflags` ++LIBS = @LIBS@ `libnet-1.0-config --libs` diff --git a/net-analyzer/isic/files/digest-isic-0.05-r1 b/net-analyzer/isic/files/digest-isic-0.05-r1 new file mode 100644 index 000000000000..c89acfcbbcf3 --- /dev/null +++ b/net-analyzer/isic/files/digest-isic-0.05-r1 @@ -0,0 +1 @@ +MD5 652d07978f050f090924bd98d2548cd7 isic-0.05.tgz 26855 diff --git a/net-analyzer/isic/isic-0.05-r1.ebuild b/net-analyzer/isic/isic-0.05-r1.ebuild new file mode 100644 index 000000000000..83361dce1ba5 --- /dev/null +++ b/net-analyzer/isic/isic-0.05-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/isic-0.05-r1.ebuild,v 1.1 2003/08/21 04:44:44 vapier Exp $ + +inherit eutils + +DESCRIPTION="IP Stack Integrity Checker" +HOMEPAGE="http://www.packetfactory.net/projects/ISIC/" +SRC_URI="http://www.packetfactory.net/projects/ISIC/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=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 + env WANT_AUTOCONF_2_5=1 autoconf || die +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + make install PREFIX=${D}/usr || die + dodoc README +} |