summaryrefslogtreecommitdiff
path: root/net-analyzer/rtpbreak
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/rtpbreak
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/rtpbreak')
-rw-r--r--net-analyzer/rtpbreak/Manifest7
-rw-r--r--net-analyzer/rtpbreak/files/rtpbreak-1.3a-limits.patch10
-rw-r--r--net-analyzer/rtpbreak/files/rtpbreak-1.3a-missing-headers.patch14
-rw-r--r--net-analyzer/rtpbreak/metadata.xml5
-rw-r--r--net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild36
5 files changed, 72 insertions, 0 deletions
diff --git a/net-analyzer/rtpbreak/Manifest b/net-analyzer/rtpbreak/Manifest
new file mode 100644
index 000000000000..9042389a54a8
--- /dev/null
+++ b/net-analyzer/rtpbreak/Manifest
@@ -0,0 +1,7 @@
+AUX rtpbreak-1.3a-limits.patch 256 SHA256 81315f4009416fc7bab3ebd2c3cd33cf6344fdfde1c3042bf714ad30f3e5c07c SHA512 b3e8a4cde8ea18dae571791550fcb39936da6108df7b657aad0f61288e2f2636218e403de86f4cfc99d59ef6ca635da184f7a00dbcb13399d23b043e5a0630bc WHIRLPOOL fd37e9bcd11a242ad93245d960afc3c5a4cbdd9a4e62ffe30ef01567276549e8cb388e80c86624c7f9b6d9f58b57c87edef90b909130398daee2a1d4267a3887
+AUX rtpbreak-1.3a-missing-headers.patch 402 SHA256 c03e040022ea57bdc3210e92fc09bdeee7e1880f26b68385c75f3833f6812504 SHA512 742ec5ec41b45ab816fcbfc6e5ef8976567ccaa250eba496bda267cab2842504f10fb99e973ab0870f6989f575e31645c07fa8e9d734adeaa879585322e92d94 WHIRLPOOL 1c2c2989aadca33dec61e8293d45b3c320002832837cc088a9be0a644aa0182e55a650d06bfc0c351006b1eb0812117219b7b4cc095db4b01db87612070ecae6
+DIST rtpbreak-1.3a.tgz 41355 SHA256 9ec7276e3775c13306bcf90ba573cfb77b8162a18f90d5805a3c5a288f4466f8 SHA512 abe0329f91a8c76d4fab5589d834e19615457fe1c5cdb410ce2f6fbf871b750cf917a92a979b92aaf5f0a2644fa4f4dc4ca7e53fb46d71c8fa016a7f41efe5ad WHIRLPOOL be2e60ba09a0b939dd4eac9837e1d2e6aebc7bc6d176879519e39695ae2ed499bd1952983c0e2392b19e5e784a65fda54ea36d32e9c8b76d32330856d515d88b
+EBUILD rtpbreak-1.3a-r1.ebuild 763 SHA256 52de555251a4b17bf0cafa539cc7a87cd78e5fcccbad7e28a9a120faa076d8ee SHA512 aaebbc455e4842003b0c8bdde69ef0fe0c6bc76d24509a0ff7ec85e3b2a6e559f0ff1e16b5bda661a7e07cf14217fc6e8b71625ff420ba129dc32dd1487bfac9 WHIRLPOOL 122495d69f65cd3d43ca14f6e58252822cb7eb673914d86c6e66d45d6b9d3adc17cf2613464947e2ea09948ce3fac007b5d7fa6f7763c1b702a1f67874e7dd4c
+MISC ChangeLog 2616 SHA256 22620820b148c15b1d94044be942e4ffaab05a7b5ecc5db86f5a9ce41eeeffea SHA512 9bf3316d85e8dfb47165e9e970620f65f6bc69dec63f835078085d895783237de4092efd7014535447850b2912a8514010f5f3cbb6ae066bcbc7a3e9b2a0ea4e WHIRLPOOL a2f76228f3111b8703a36ebdaf9c57c76c0059864348dd7c8267c348964a84f6e3019e71f8bb163513198be02d610a1fedb0d8ee34c6fe5023d3b2790287b825
+MISC ChangeLog-2015 1717 SHA256 888f160734ab90f9d4da935a7f344a5286c32f9ae4444784973ca90d11812ad4 SHA512 7c966251b81b2624b629832ff8e52092ce9262afe1e4f153059b338d9430568143f13e7583c12178eef4a206e48b85c655be5883c25090a06fb6623260f6dc06 WHIRLPOOL 8fb3ade8057a939b48653eaa946fd11e18c70b12f1259ecb32ccb809a9a181f2fdf45bd723c204b75869c737cd737ca56d5096c1131f74f232e53557303171fc
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-analyzer/rtpbreak/files/rtpbreak-1.3a-limits.patch b/net-analyzer/rtpbreak/files/rtpbreak-1.3a-limits.patch
new file mode 100644
index 000000000000..78cb5f9a5a78
--- /dev/null
+++ b/net-analyzer/rtpbreak/files/rtpbreak-1.3a-limits.patch
@@ -0,0 +1,10 @@
+--- rtpbreak-1.3a/src/common.h.orig 2009-02-05 14:49:50.000000000 +0100
++++ rtpbreak-1.3a/src/common.h 2009-02-05 14:49:57.000000000 +0100
+@@ -30,6 +30,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
++#include <limits.h>
+
+
+ /* const */
diff --git a/net-analyzer/rtpbreak/files/rtpbreak-1.3a-missing-headers.patch b/net-analyzer/rtpbreak/files/rtpbreak-1.3a-missing-headers.patch
new file mode 100644
index 000000000000..8f9bb14e37cd
--- /dev/null
+++ b/net-analyzer/rtpbreak/files/rtpbreak-1.3a-missing-headers.patch
@@ -0,0 +1,14 @@
+Fix build failure due to missing include of udp.h #351602
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- rtpbreak-1.3a.orig/src/main.c 2011-01-29 11:10:46.960653580 -0500
++++ rtpbreak-1.3a/src/main.c 2011-01-29 11:15:15.833884433 -0500
+@@ -27,6 +27,7 @@
+ #include <sys/stat.h>
+ #include <pwd.h>
+ #include <grp.h>
++#include <netinet/udp.h>
+ #include "queue.h"
+ #include "rtp.h"
+ #include "common.h"
diff --git a/net-analyzer/rtpbreak/metadata.xml b/net-analyzer/rtpbreak/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-analyzer/rtpbreak/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild b/net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild
new file mode 100644
index 000000000000..c10b7bd76cc0
--- /dev/null
+++ b/net-analyzer/rtpbreak/rtpbreak-1.3a-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Analyze any RTP session through heuristics over UDP network traffic"
+HOMEPAGE="http://xenion.reactive-search.com/?page_id=7"
+SRC_URI="http://xenion.antifork.org/rtpbreak/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/libnet:1.1
+ >=net-libs/libpcap-0.7"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Use limits.h PATH_MAX
+ epatch "${FILESDIR}"/${P}-limits.patch \
+ "${FILESDIR}"/${P}-missing-headers.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/rtpbreak
+ dodoc CHANGELOG THANKS
+ dohtml -r doc
+}