summaryrefslogtreecommitdiff
path: root/net-misc/sipp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-misc/sipp
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'net-misc/sipp')
-rw-r--r--net-misc/sipp/Manifest4
-rw-r--r--net-misc/sipp/files/sipp-3.6.0-parallel-build.patch11
-rw-r--r--net-misc/sipp/metadata.xml15
-rw-r--r--net-misc/sipp/sipp-3.6.0.ebuild48
4 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/sipp/Manifest b/net-misc/sipp/Manifest
new file mode 100644
index 000000000000..20b47dab2a15
--- /dev/null
+++ b/net-misc/sipp/Manifest
@@ -0,0 +1,4 @@
+AUX sipp-3.6.0-parallel-build.patch 309 BLAKE2B e5c790cae99c31ba4cc79800f2991787401865b41bc270ecb648a9534da0322ef0b0a4f029146c7fca013f295565bc18c8c424139782a42de779b75e775e3b3c SHA512 41b052b3612cc3cd4afbd0a1437a4502c27e3cd948d800a4229c99561a88d1dc488f1feb06aa68faae83d9acec0977e3f4be2b65fef4cd5c541e2b4a023a9ff1
+DIST sipp-3.6.0.tar.gz 1055201 BLAKE2B 48b431bfc33d3a03e6e972ef3ce184989afb12c7e0f20c6c3cf9b72ebcd65cb12cf4cab2b90e010d16e17b9bb4832f42915b104ea9bd1253242d304ab4f3cb32 SHA512 eecbc18a18558a3fbc4f7c841d1fc8bd5be4b0c5d2bb363a12faf730f3c6a0773a24f07dbf062e68baf1a93b21686fa09258d0e08b45b4f941eb5d573bb25c12
+EBUILD sipp-3.6.0.ebuild 960 BLAKE2B aff654d4ba7a2a4bf00b5151242e9fe57f711ac6fe67e2d7e6746955f4d55f2226b6181fc423f61ca115ac95228be64b232326d8d4c4a8950e5c601171cac430 SHA512 1a4585f9b910b5e67f2abf71409c09515af2713b0199456a34be6a23bee89a24fec66f6840790593bd29c980ca02f5fd613c5292c23604e7ae6e921d2fc57728
+MISC metadata.xml 456 BLAKE2B f7dff8c7cdc43d043f5a84c590e084a0ad39f973738a58a991f9971794c4ea904df0e95d47b7669ab0f76c193586aa8feea6b1414111d374af301dcd44ee055b SHA512 0268164af9c3e0e1558549021c47b9374f5f565996a730335d5ff7c8132f7e8bd2685c36db74dd9ab7be2029ddbb56250519b7b0bf85d54997d247a4bb26365a
diff --git a/net-misc/sipp/files/sipp-3.6.0-parallel-build.patch b/net-misc/sipp/files/sipp-3.6.0-parallel-build.patch
new file mode 100644
index 000000000000..6521918339d2
--- /dev/null
+++ b/net-misc/sipp/files/sipp-3.6.0-parallel-build.patch
@@ -0,0 +1,11 @@
+--- sipp-3.6.0/Makefile.am.o 2019-12-22 10:40:37.766229344 +0200
++++ sipp-3.6.0/Makefile.am 2019-12-22 10:42:09.006266083 +0200
+@@ -172,7 +172,7 @@
+
+ # Ensure that after a reconfigure the source is cleaned.
+ .autoclean: Makefile
+- make clean
++ $(MAKE) clean
+ echo > .autoclean
+ BUILT_SOURCES = .autoclean
+
diff --git a/net-misc/sipp/metadata.xml b/net-misc/sipp/metadata.xml
new file mode 100644
index 000000000000..2308b2753fdf
--- /dev/null
+++ b/net-misc/sipp/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jaco@uls.co.za</email>
+ <name>Jaco Kroon</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="pcap">Enable functionality to replay RTP data from a pcap file</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-misc/sipp/sipp-3.6.0.ebuild b/net-misc/sipp/sipp-3.6.0.ebuild
new file mode 100644
index 000000000000..5ffd92882ca4
--- /dev/null
+++ b/net-misc/sipp/sipp-3.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A free Open Source test tool / traffic generator for the SIP protocol"
+HOMEPAGE="http://sipp.sourceforge.net/ https://github.com/SIPp/sipp/releases"
+SRC_URI="https://github.com/SIPp/sipp/releases/download/v${PV}/${PF}.tar.gz"
+
+LICENSE="GPL-2 ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gsl +pcap sctp +ssl"
+
+PATCHES=( "${FILESDIR}/sipp-3.6.0-parallel-build.patch" )
+
+DEPEND="sys-libs/ncurses:=
+ gsl? ( sci-libs/gsl:= )
+ pcap? (
+ net-libs/libpcap
+ net-libs/libnet:1.1
+ )
+ ssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with gsl) \
+ $(use_with pcap) \
+ $(use_with sctp) \
+ $(use_with ssl openssl) \
+ --with-rtpstream
+}
+
+src_install() {
+ default
+ insinto /usr/share/${PN}
+ use pcap && doins pcap/*.pcap
+ dodoc CHANGES.md README.md
+}