diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:25:44 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:25:44 +0000 |
commit | a2914cf83c765d577d8278274d8a3b6211bbc268 (patch) | |
tree | ff5bd82a0bcf175f246f29e3007d39da1d87a09a /net-analyzer/isic | |
parent | Cleanup (diff) | |
download | gentoo-2-a2914cf83c765d577d8278274d8a3b6211bbc268.tar.gz gentoo-2-a2914cf83c765d577d8278274d8a3b6211bbc268.tar.bz2 gentoo-2-a2914cf83c765d577d8278274d8a3b6211bbc268.zip |
Cleanup
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-analyzer/isic')
-rw-r--r-- | net-analyzer/isic/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/isic/files/digest-isic-0.06 | 3 | ||||
-rw-r--r-- | net-analyzer/isic/files/isic-0.06-gcc4.patch | 50 | ||||
-rw-r--r-- | net-analyzer/isic/files/isic-0.06-makefile.patch | 44 | ||||
-rw-r--r-- | net-analyzer/isic/isic-0.06.ebuild | 33 |
5 files changed, 6 insertions, 131 deletions
diff --git a/net-analyzer/isic/ChangeLog b/net-analyzer/isic/ChangeLog index 8e580037b38e..1de2498c29d6 100644 --- a/net-analyzer/isic/ChangeLog +++ b/net-analyzer/isic/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/isic # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/ChangeLog,v 1.13 2007/03/20 14:34:06 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/ChangeLog,v 1.14 2007/09/06 17:25:44 jokey Exp $ + + 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> + -files/isic-0.06-gcc4.patch, -files/isic-0.06-makefile.patch, + -isic-0.06.ebuild: + Cleanup 20 Mar 2007; Raúl Porcel <armin76@gentoo.org> isic-0.07.ebuild: x86 stable diff --git a/net-analyzer/isic/files/digest-isic-0.06 b/net-analyzer/isic/files/digest-isic-0.06 deleted file mode 100644 index 4375a98ec186..000000000000 --- a/net-analyzer/isic/files/digest-isic-0.06 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 289304088b6bd34008449ec20b3af423 isic-0.06.tgz 27611 -RMD160 2f6a336d4a4a59f4e85b51c45bab83ff3f1390b5 isic-0.06.tgz 27611 -SHA256 e198c4061798d47fd4b00f9f90cd56336145e551ca763571c2023624dfa7bc5f isic-0.06.tgz 27611 diff --git a/net-analyzer/isic/files/isic-0.06-gcc4.patch b/net-analyzer/isic/files/isic-0.06-gcc4.patch deleted file mode 100644 index a2b9087650bd..000000000000 --- a/net-analyzer/isic/files/isic-0.06-gcc4.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -urN ../tmp-orig/isic-0.05/icmpsic.c ./icmpsic.c ---- ../tmp-orig/isic-0.05/icmpsic.c 2000-01-25 18:35:25.000000000 +0100 -+++ ./icmpsic.c 2004-12-20 14:29:04.714661648 +0100 -@@ -253,7 +253,7 @@ - - payload = (short int *)((u_char *) icmp + 4); - for(cx = 0; cx <= (payload_s >> 1); cx+=1) -- (u_short) payload[cx] = rand() & 0xffff; -+ payload[cx] = rand() & 0xffff; - - - if ( rand() <= (RAND_MAX * ICMPCksm) ) -diff -urN ../tmp-orig/isic-0.05/isic.c ./isic.c ---- ../tmp-orig/isic-0.05/isic.c 2000-01-30 22:55:25.000000000 +0100 -+++ ./isic.c 2004-12-20 14:28:13.952378688 +0100 -@@ -232,8 +232,8 @@ - - payload = (short int *)(buf + IP_H); - for(cx = 0; cx <= (payload_s >> 1); cx+=1) -- (u_int16_t) payload[cx] = rand() & 0xffff; -- (u_int16_t) payload[payload_s] = rand() & 0xffff; -+ payload[cx] = rand() & 0xffff; -+ payload[payload_s] = rand() & 0xffff; - - if ( printout ) { - printf("%s ->", -diff -urN ../tmp-orig/isic-0.05/tcpsic.c ./tcpsic.c ---- ../tmp-orig/isic-0.05/tcpsic.c 2000-01-29 20:04:13.000000000 +0100 -+++ ./tcpsic.c 2004-12-20 14:28:36.223992888 +0100 -@@ -304,7 +304,7 @@ - - payload = (short int *)((u_char *) tcp + 20); - for(cx = 0; cx <= (payload_s >> 1); cx+=1) -- (u_int16_t) payload[cx] = rand() & 0xffff; -+ payload[cx] = rand() & 0xffff; - - if ( rand() <= (RAND_MAX * TCPCksm) ) - libnet_do_checksum(buf, IPPROTO_TCP, (tcp->th_off << 2) -diff -urN ../tmp-orig/isic-0.05/udpsic.c ./udpsic.c ---- ../tmp-orig/isic-0.05/udpsic.c 2000-01-29 20:04:14.000000000 +0100 -+++ ./udpsic.c 2004-12-20 14:28:51.290702400 +0100 -@@ -279,7 +279,7 @@ - - payload = (short int *)((u_char *) udp + UDP_H); - for(cx = 0; cx <= (payload_s >> 1); cx+=1) -- (u_int16_t) payload[cx] = rand() & 0xffff; -+ payload[cx] = rand() & 0xffff; - - if ( printout ) { - printf("%s,%i ->", diff --git a/net-analyzer/isic/files/isic-0.06-makefile.patch b/net-analyzer/isic/files/isic-0.06-makefile.patch deleted file mode 100644 index 242652af7cca..000000000000 --- a/net-analyzer/isic/files/isic-0.06-makefile.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- Makefile.in.orig 2005-01-08 19:17:21.034270168 +0930 -+++ Makefile.in 2005-01-08 19:19:10.175678152 +0930 -@@ -2,7 +2,7 @@ - # To build for Trinux, add '-static' to LDFLAGS - # and 'strip *sic' after they compile - --PREFIX ?= /usr/local -+BINDIR = @bindir@ - - CC = @CC@ - DEFS = @DEFS@ `libnet-config --defines` -@@ -20,19 +20,19 @@ - all: $(BINS) - - isic: isic.c isic.h -- gcc -o isic isic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) -+ $(CC) -o isic isic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) - - tcpsic: tcpsic.c isic.h -- gcc -o tcpsic tcpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) -+ $(CC) -o tcpsic tcpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) - - udpsic: udpsic.c isic.h -- gcc -o udpsic udpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) -+ $(CC) -o udpsic udpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) - - icmpsic: icmpsic.c isic.h -- gcc -o icmpsic icmpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) -+ $(CC) -o icmpsic icmpsic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) - - esic: esic.c isic.h -- gcc -o esic esic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) -+ $(CC) -o esic esic.c -Wall -W $(CFLAGS) $(DEFS) $(LIBS) $(LDFLAGS) - - realclean: distclean - distclean: clean -@@ -48,5 +48,5 @@ - tar -czvf isic-$(VERSION).tgz isic-$(VERSION)/* ) - - install: $(BINS) -- $(INSTALL) -m 0755 -d ${PREFIX}/bin -- $(INSTALL) -m 0755 -c $(BINS) ${PREFIX}/bin -+ $(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR) -+ $(INSTALL) -m 0755 -c $(BINS) $(DESTDIR)$(BINDIR) diff --git a/net-analyzer/isic/isic-0.06.ebuild b/net-analyzer/isic/isic-0.06.ebuild deleted file mode 100644 index 9fcb7626359d..000000000000 --- a/net-analyzer/isic/isic-0.06.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/isic/isic-0.06.ebuild,v 1.6 2005/08/16 19:25:29 blubb 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="~amd64 ~ppc x86" -IUSE="" - -DEPEND=">=net-libs/libnet-1.1" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-makefile.patch - epatch ${FILESDIR}/${P}-gcc4.patch -} - -src_compile() { - econf --bindir=/usr/bin || die "configure died" - emake || die "make died" -} - -src_install() { - make install DESTDIR=${D} || die - dodoc README -} |