summaryrefslogtreecommitdiff
path: root/net-analyzer/angst
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/angst
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/angst')
-rw-r--r--net-analyzer/angst/Manifest6
-rw-r--r--net-analyzer/angst/angst-0.4b-r2.ebuild41
-rw-r--r--net-analyzer/angst/files/0.4b-libnet-1.0.patch12
-rw-r--r--net-analyzer/angst/metadata.xml12
4 files changed, 71 insertions, 0 deletions
diff --git a/net-analyzer/angst/Manifest b/net-analyzer/angst/Manifest
new file mode 100644
index 000000000000..6e7a36e6e0e2
--- /dev/null
+++ b/net-analyzer/angst/Manifest
@@ -0,0 +1,6 @@
+AUX 0.4b-libnet-1.0.patch 518 SHA256 8492b351fd10697c6fd114645e9ad31dd53eba8724c9c088b0f023219188bab2 SHA512 59164bff22aa252b414820fd47fa06059be5ab2587236c378a08ab7e576bd41947d66ea872e673707586893ae61117aa4320baf583d2a30f603b53a497b49032 WHIRLPOOL ae76bed8e9d45f480bbc17ae360db2447f49fe923977572826310a0c52aa41142b6a3eb20ecb08ac7c524494e41b670424113694a71359f1c54790e7b80f8e40
+DIST angst-0.4b.tar.gz 13909 SHA256 609a7008030649171d6041bd1dd29ec1644db011ad7f8ba2074727a583366dc8 SHA512 5584b1dd01d781cd34b594fcc8970764874599a1f15b1185066ee21c11cde23af148270c178d6a0b3436d71955aaf1cd904703f9dfb0c75d0b70c04d394fb449 WHIRLPOOL 85ece3435a9adf81d20a4579beb86f96002fbe8b8f6d75e96080a88fdc4a0dc3fc133db09fab818874571709e07ec8c73ec26c5391bc2dda46a65b1ef478b0b4
+EBUILD angst-0.4b-r2.ebuild 848 SHA256 e7be369feb100484a3455443a52e4410ebcb7c9a7e6862ca0e28326423204c27 SHA512 7ddd27ba2be944a552127e8fb7f03a7e35a5a2e919d0b4c582eae4360fa9dfca3e2a8e8f65daa3bac5afc72a074e9fedca0ba39774a9f0c836a9ea0001fb4a3b WHIRLPOOL 91b9c8d706d7c9256b7a0f3a03b3497924f2aebf1965b8c77baaccdeac21a614fae25439e4ce92d550d7ca55da4e7b12deb1dd09e646e50a6a46e4d72b0e644c
+MISC ChangeLog 3005 SHA256 be89d4b5cc787b0f7766cb53cad252a0aa777ee7f3cdc2ec05fc1ea6e49d2747 SHA512 318588af0ac0101b83eb93d5a14972871bc23566eaddaef81eb3c98dbb3175ab950359b1a2ae197f82224fa4936fae5ce3578e3ff31a21c923492b368069968d WHIRLPOOL 0c9807abcad3fabe7487ec5345c837c1c4db29e21932db136651b6c875fe713b75d5e31cb6ef54f6874888b73e9c6332016bb8775d5a4399f6d540d8c094d08b
+MISC ChangeLog-2015 1931 SHA256 879e2e657b9a999483841c05c65bb71af16b719b09e7f21e7f31ed92134ad0de SHA512 92e795fc46fdc6820159f8465545362334e4e138f44823a670f3ff216be775c2ec9804c357c527083b57f915db7916808cf8b69497ff94d3020b54c6ab0170cb WHIRLPOOL 4b876e6278d508c46e7379cac14c5294bc5dc01fa5b60f0389e1f26804be4415d29c39230b8cb024158035bdbb3159c12d28a12ff948310321507d84fb6f4bdb
+MISC metadata.xml 471 SHA256 44c37beb334252194232ef19cb7f06275b15d7d670afa8eab145e073f453da9a SHA512 0632876623160e4192bdf280011de0006adec537ad7065da350fde0a0b338b264f60cd6acdaeb439316d28ac84bfe100527b532c20a65606d1bb91ba415a82b4 WHIRLPOOL f1141cf6499dfb1e446aaac78b0f21e7dda21367530648062154c786c7bab9672fffb55f5f7a1341e3415e325996eed930e7bb2d1b62b2a2cf047677eab48041
diff --git a/net-analyzer/angst/angst-0.4b-r2.ebuild b/net-analyzer/angst/angst-0.4b-r2.ebuild
new file mode 100644
index 000000000000..f06986f35421
--- /dev/null
+++ b/net-analyzer/angst/angst-0.4b-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="an active sniffer that provides methods for aggressive sniffing on switched LANs"
+HOMEPAGE="http://angst.sourceforge.net/"
+SRC_URI="http://angst.sourceforge.net/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+
+DEPEND="net-libs/libpcap
+ net-libs/libnet:1.0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ cp -av Makefile.linux{,.orig}
+ epatch "${FILESDIR}"/${PV}-libnet-1.0.patch
+ sed -i Makefile.linux \
+ -e 's|^CC =|CC ?=|g' \
+ -e '/ -o angst /s|$(OBJS)|$(LDFLAGS) &|g' \
+ || die
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ -f Makefile.linux
+}
+
+src_install() {
+ dosbin angst
+ doman angst.8
+ dodoc README TODO ChangeLog
+}
diff --git a/net-analyzer/angst/files/0.4b-libnet-1.0.patch b/net-analyzer/angst/files/0.4b-libnet-1.0.patch
new file mode 100644
index 000000000000..b78243a1a187
--- /dev/null
+++ b/net-analyzer/angst/files/0.4b-libnet-1.0.patch
@@ -0,0 +1,12 @@
+--- Makefile.linux.orig 2003-08-19 01:22:26.737300264 -0400
++++ Makefile.linux 2003-08-19 01:22:26.745299048 -0400
+@@ -14,2 +14,2 @@
+-LIBS = -L/usr/local/lib `libnet-config --libs` -lpcap
+-DEFINE = `libnet-config --defines` -DLINUX #-DDEBUG
++LIBS = -L/usr/local/lib `libnet-1.0-config --libs` -lpcap
++DEFINE = `libnet-1.0-config --defines` -DLINUX #-DDEBUG
+--- angst.h.orig 2003-08-19 01:22:26.741299656 -0400
++++ angst.h 2003-08-19 01:22:26.751298136 -0400
+@@ -12 +12 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
diff --git a/net-analyzer/angst/metadata.xml b/net-analyzer/angst/metadata.xml
new file mode 100644
index 000000000000..8064bf27c79f
--- /dev/null
+++ b/net-analyzer/angst/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <longdescription>an active sniffer that provides methods for aggressive sniffing on switched LAN</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">angst</remote-id>
+ </upstream>
+</pkgmetadata>