summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/bigeye')
-rw-r--r--net-analyzer/bigeye/ChangeLog5
-rw-r--r--net-analyzer/bigeye/bigeye-0.3.ebuild40
-rw-r--r--net-analyzer/bigeye/files/0.3-gcc3.patch11
3 files changed, 33 insertions, 23 deletions
diff --git a/net-analyzer/bigeye/ChangeLog b/net-analyzer/bigeye/ChangeLog
index 520af77deaee..94b9e8264b34 100644
--- a/net-analyzer/bigeye/ChangeLog
+++ b/net-analyzer/bigeye/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-analyzer/bigeye
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bigeye/ChangeLog,v 1.2 2003/02/12 07:43:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bigeye/ChangeLog,v 1.3 2004/02/21 05:55:23 vapier Exp $
*bigeye-0.3 (18 Aug 2002)
+ 21 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Add gcc3 patch by Sven Wegener #41692.
+
18 Aug 2002; Bruce A. Locke <blocke@shivan.org> bigeye-0.3.ebuild:
Initial import.
diff --git a/net-analyzer/bigeye/bigeye-0.3.ebuild b/net-analyzer/bigeye/bigeye-0.3.ebuild
index 86f9cd1c32ba..85aea77f9c96 100644
--- a/net-analyzer/bigeye/bigeye-0.3.ebuild
+++ b/net-analyzer/bigeye/bigeye-0.3.ebuild
@@ -1,44 +1,40 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bigeye/bigeye-0.3.ebuild,v 1.3 2003/02/13 13:39:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bigeye/bigeye-0.3.ebuild,v 1.4 2004/02/21 05:55:23 vapier Exp $
+
+inherit gcc eutils
-S=${WORKDIR}/${P}
DESCRIPTION="Bigeye is a network utility dump and simple honeypot utility"
HOMEPAGE="http://violating.us/projects/bigeye/"
SRC_URI="http://violating.us/projects/bigeye/download/${P}.tgz"
-SLOT="0"
+
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/glibc"
-src_compile() {
-
- cd ${S}/src
- gcc ${CFLAGS} bigeye.c emulate.c -o bigeye -W
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc3.patch
+}
+src_compile() {
+ cd src
+ $(gcc-getCC) ${CFLAGS} bigeye.c emulate.c -o bigeye || die
}
src_install() {
+ dobin src/bigeye || die
- dobin src/bigeye
-
- dodir /usr/share/bigeye/messages
insinto /usr/share/bigeye
doins sig.file
-
- cp -r messages/* ${D}/usr/share/bigeye/messages
-
+ cp -r messages ${D}/usr/share/bigeye/
dodoc README
-
}
pkg_postinst() {
-
- einfo
- einfo The service emulation files mentioned in the README are located in
- einfo /usr/share/bigeye/messages.
- einfo
-
+ einfo "The service emulation files mentioned in the README"
+ einfo "are located in /usr/share/bigeye/messages"
}
-
diff --git a/net-analyzer/bigeye/files/0.3-gcc3.patch b/net-analyzer/bigeye/files/0.3-gcc3.patch
new file mode 100644
index 000000000000..1d30cc24914b
--- /dev/null
+++ b/net-analyzer/bigeye/files/0.3-gcc3.patch
@@ -0,0 +1,11 @@
+--- src/bigeye.c.orig 2004-02-15 19:12:19.270277021 +0000
++++ src/bigeye.c 2004-02-15 19:12:37.477869417 +0000
+@@ -1132,7 +1132,7 @@
+ lt = time(NULL);
+ ptr = localtime(&lt);
+
+- fprintf(fp, "IP address: %s - time: %sPort: %s - Protocol:
++ fprintf(fp, "IP address: %s - time: %sPort: %s - Protocol: \
+ %s\n",connection,asctime(ptr),port,protocol);
+ if(emulate == 1 && signature != NULL) fprintf(fp,"server response: %s\n",signature);
+ if(emulate == 0 && signature != NULL) fprintf(fp,"server response: %s\n",signature);