summaryrefslogtreecommitdiff
path: root/net-analyzer/bigeye
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/bigeye
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/bigeye')
-rw-r--r--net-analyzer/bigeye/Manifest7
-rw-r--r--net-analyzer/bigeye/bigeye-0.3-r3.ebuild39
-rw-r--r--net-analyzer/bigeye/files/bigeye-0.3-overflow.patch11
-rw-r--r--net-analyzer/bigeye/metadata.xml8
4 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/bigeye/Manifest b/net-analyzer/bigeye/Manifest
new file mode 100644
index 000000000000..46e53ae89ca9
--- /dev/null
+++ b/net-analyzer/bigeye/Manifest
@@ -0,0 +1,7 @@
+AUX bigeye-0.3-overflow.patch 364 SHA256 f253ec4b701bbda57f9273c5e5ca30352dbef99d5a93f6c4bc497170e2f3c232 SHA512 4076e00b11c5c11d432f52a536f6d32a6329b8946ea6a8db64d61c395728483e9631fd93d136390d3e34e7c05ce113f3b2e7ef2113f686bd0184b8a5cb436d18 WHIRLPOOL 29126e7966f36853e1576916f8bb647f57d1b78953f22dcb1c504495f57dad8e052d8c470562432b9c1cc4808463ad24f83a2bc622407eb4ab9e2791f1702fe7
+DIST bigeye-0.3-gcc34.diff.bz2 2774 SHA256 06e50f31e6e162502dc9e24db416301ad7bbd5439b7611faa405020085668738 SHA512 8ed54aa7b95aac8703e2bf99fde985cbbe7e62f7a6b549e58b2b54856336c5560c450a8c6ad9cbcdcd6bf61c842797c1abca001cfca20ff82614d8c328cab4ba WHIRLPOOL 72ea0009f5c55369fa5faf0e0b89d13a62ec77e7c1a3691a848ebffb9b906134b48faa7daab4682eaa304dfc34f622f6157ec40473af166ad3feaf480f73add2
+DIST bigeye-0.3.tgz 32462 SHA256 e03aacd1797dece3b8a1521f7df44dd63f8417e988ce0be218079ae49cd7490d SHA512 73a146fd2f5df86a3d16dec05cf3f278393347f341a5cc319feccf6d23e1f2fe9d29070ac154a5b2336ade146843ab163e3545e9aefad1a0fa8903928d9b1ed0 WHIRLPOOL 491699b8470472ecd9907b4d5a2e207c34ab3ed9777cdaaf3cd323daaaadb80ee8e39dbc6e718cc808393ba65daeddc0b248b5c7b46fea78765fb3d656969a7f
+EBUILD bigeye-0.3-r3.ebuild 826 SHA256 1e9c09e1ea46e94943246568d7803f46f233e523b7a4e2bf5f1cd35449f5bbb0 SHA512 5e55b334a0201118cf00363a29c86846573666bb01709858d1f8955473aba0526da6e52c7b59dcb34dabff0081946a262afca27c6fe0dd0f004aa8e9b15efaf7 WHIRLPOOL c05a2c509b489a33672b836e58af98267063fdb41d0f630cfde6d62107a1b979b0f31b661019daede84c41580f3747a9c7f5e34bb47c2dc32b0a2a5816de8461
+MISC ChangeLog 2464 SHA256 fc25a5b4b5d1c1a535fedd7965327d70faa6aac032be03b10bf777899ef28dd2 SHA512 1660d408a7288bd5073e4d1dba2b36854752db0a5757c0065c8908d300dca7d3ad1991493e22002ebcf16cba42c5c6d60a08fcf07ca8402d87112261e02b4cf2 WHIRLPOOL 1797e7397003507c0db8a600778adc820ea14c47a8ad1e4fcdd333016650a0fecc1d92c192972d1ae8637b9730ed3937739d7a6065085c0affd8f07c9ee32a1c
+MISC ChangeLog-2015 2766 SHA256 576c17fe1a885d3f3ce05a62ae624088d4f0766377cc02fde6c977df4e19a62c SHA512 ac10a85f44fbc992787680366e43c7f15e1e896e04550311d0328ca140b77665402ffcbb29ed50be3f789906f751ee20f301cf06275aff8a5385273e5885bc5b WHIRLPOOL d37200aa458fb6830989f46ae959807e8b1f82a42e430c4cfd0d2a91486624fea1342b6433803bb8e939822e03341859e4727fd98746e3b263baf8132b8d6375
+MISC metadata.xml 276 SHA256 d15d6b6bd9ffc8a642c7469d01788ba9158efb4ca27fcf3324d9e52d1b70ec93 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 WHIRLPOOL 26b9e81575f613b751f76234013c30a8da84a1c0dd75c12b8df32706ee753691bbc889a2dec5001cc8c4b05c47aca49ed9fabbb5a6fefed74aaa86d6c3f56cee
diff --git a/net-analyzer/bigeye/bigeye-0.3-r3.ebuild b/net-analyzer/bigeye/bigeye-0.3-r3.ebuild
new file mode 100644
index 000000000000..597005a10170
--- /dev/null
+++ b/net-analyzer/bigeye/bigeye-0.3-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="network utility dump and simple honeypot utility"
+HOMEPAGE="http://violating.us/projects/bigeye/"
+SRC_URI="http://violating.us/projects/bigeye/download/${P}.tgz
+ mirror://gentoo/${P}-gcc34.diff.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/${P}-gcc34.diff \
+ "${FILESDIR}"/${P}-overflow.patch
+ sed -i README \
+ -e "s|-- /messages/|-- /usr/share/bigeye/messages/|g" \
+ || die "sed README"
+}
+
+src_compile() {
+ cd src || die
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} bigeye.c emulate.c -o bigeye || die
+}
+
+src_install() {
+ dobin src/bigeye
+
+ insinto /usr/share/bigeye
+ doins sig.file
+ doins -r messages
+
+ dodoc README
+}
diff --git a/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch b/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch
new file mode 100644
index 000000000000..1ca159a65b79
--- /dev/null
+++ b/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch
@@ -0,0 +1,11 @@
+--- a/src/bigeye.c
++++ b/src/bigeye.c
+@@ -787,7 +787,7 @@
+ local.sin_family = AF_INET;
+ local.sin_port = htons(porta);
+ local.sin_addr.s_addr = INADDR_ANY;
+- bzero(&(local.sin_zero),sizeof(local));
++ memset(&(local.sin_zero), "\0", sizeof(local.sin_zero));
+
+ if(setsockopt(sock_a, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) {
+ perror("setsockopt");
diff --git a/net-analyzer/bigeye/metadata.xml b/net-analyzer/bigeye/metadata.xml
new file mode 100644
index 000000000000..74c2baebb4ec
--- /dev/null
+++ b/net-analyzer/bigeye/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+</maintainer>
+</pkgmetadata>