public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sipp/, net-misc/sipp/files/
Date: Sun, 22 Dec 2019 16:59:42 +0000 (UTC)	[thread overview]
Message-ID: <1577033963.b7268b35a1f1a0b04112239cfd84c225558948c3.juippis@gentoo> (raw)

commit:     b7268b35a1f1a0b04112239cfd84c225558948c3
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Tue Nov 19 07:26:49 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 16:59:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7268b35

net-misc/sipp: new package.

A free Open Source test tool / traffic generator for the SIP protocol.
Closes: https://bugs.gentoo.org/108506
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/13699
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/sipp/Manifest                             |  1 +
 .../sipp/files/sipp-3.6.0-parallel-build.patch     | 11 +++++
 net-misc/sipp/metadata.xml                         | 15 +++++++
 net-misc/sipp/sipp-3.6.0.ebuild                    | 48 ++++++++++++++++++++++
 4 files changed, 75 insertions(+)

diff --git a/net-misc/sipp/Manifest b/net-misc/sipp/Manifest
new file mode 100644
index 00000000000..b6391ce79e6
--- /dev/null
+++ b/net-misc/sipp/Manifest
@@ -0,0 +1 @@
+DIST sipp-3.6.0.tar.gz 1055201 BLAKE2B 48b431bfc33d3a03e6e972ef3ce184989afb12c7e0f20c6c3cf9b72ebcd65cb12cf4cab2b90e010d16e17b9bb4832f42915b104ea9bd1253242d304ab4f3cb32 SHA512 eecbc18a18558a3fbc4f7c841d1fc8bd5be4b0c5d2bb363a12faf730f3c6a0773a24f07dbf062e68baf1a93b21686fa09258d0e08b45b4f941eb5d573bb25c12

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 00000000000..6521918339d
--- /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 00000000000..2308b2753fd
--- /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 00000000000..e4b282e3f3f
--- /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:=
+	ssl? ( dev-libs/openssl:= )
+	pcap? (
+		net-libs/libpcap
+		net-libs/libnet:1.1
+	)
+	gsl? ( sci-libs/gsl:= )
+"
+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
+}


             reply	other threads:[~2019-12-22 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-22 16:59 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-01 19:27 [gentoo-commits] repo/gentoo:master commit in: net-misc/sipp/, net-misc/sipp/files/ Andreas Sturmlechner
2024-10-06 18:28 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1577033963.b7268b35a1f1a0b04112239cfd84c225558948c3.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox