spike: remove, abandoned

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-06-25 09:31:03 -04:00
parent 994d9f09df
commit f7895078d5
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 0 additions and 67 deletions

View file

@ -1 +0,0 @@
DIST SPIKE2.9.tgz 1937588 SHA256 51069ab3b52d76f49c21dd0a9af552f754a8377f7533fcb29fc0a361ded88552

View file

@ -1,20 +0,0 @@
--- SPIKE/SPIKE/src/spike.c.orig 2010-12-29 13:27:21.000000000 +0000
+++ SPIKE/SPIKE/src/spike.c 2010-12-29 13:28:23.000000000 +0000
@@ -1082,7 +1082,7 @@
if (current_spike->fd==-1)
{
printf("tried to send to a closed socket!\n");
- return 0;
+ return 1;
}
c=s_get_databuf();
totalsize=s_get_size();
@@ -1160,7 +1160,7 @@
if (current_spike->fd==-1)
{
printf("tried to send to a closed socket!\n");
- return 0;
+ return 1;
}
alarm(5);
signal(SIGALRM,(void*)sighandler);

View file

@ -1,46 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/app-fuzz/bss/bss-0.6.ebuild,v 1.1.1.1 2006/03/29 14:43:43 grimmlin Exp $
EAPI="2"
inherit eutils
MY_PN="SPIKE"
MY_P="${MY_PN}${PV}"
DESCRIPTION="A generic network fuzzer"
HOMEPAGE="http://www.immunitysec.com/resources-freesoftware.shtml"
SRC_URI="http://www.immunitysec.com/downloads/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc"
DEPEND=""
S="${WORKDIR}/${MY_PN}/${MY_PN}/src"
src_prepare() {
# patch from http://resources.infosecinstitute.com/intro-to-fuzzing/
epatch "${FILESDIR}/spike-fix-return_1_on_closed_socket.patch" || die "Patch failed"
}
src_configure(){
econf || die "econf failed"
}
src_install() {
local bin
for bin in `grep "BINS = " Makefile | sed -e 's/BINS = //' -e 's/libdlrpc.so//'`
do
newbin "${bin}" "spike-${bin}"
done
dolib.so libdlrpc.so
insinto /usr/share/${PN}
doins *.spk
doins -r audits/*
cd ..
dodoc README.txt TODO.txt CHANGELOG.txt
if use doc; then
dodoc documentation/*
fi
}