commit:     93aaf069c3fb9de0326646f336ce8e5d707fb2bd
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Wed Jun 28 07:55:06 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 06:22:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93aaf069

net-misc/sipp: add 3.7.1

Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/31653
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/sipp/Manifest          |  1 +
 net-misc/sipp/sipp-3.7.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/net-misc/sipp/Manifest b/net-misc/sipp/Manifest
index 67ff7f47058d..ceb4bd57e7ac 100644
--- a/net-misc/sipp/Manifest
+++ b/net-misc/sipp/Manifest
@@ -1 +1,2 @@
 DIST sipp-3.6.1.tar.gz 744407 BLAKE2B 
a201ecce624c15c51a66c3cb5ac467522755085419c2980b1f76340e7ffca5996516f34d7e52776a8aa0a2170ca2b7301030ecb50272a1c0a8e86aaf18a6de16
 SHA512 
58504c56ca0c14363fafc5d0598fd93857ef33cc5856f579a225fd0e38238f7d2c409127a18a368e22355cc3912758d4dba07bac7eaa3e8a0d2943ea5fdec602
+DIST sipp-3.7.1.tar.gz 927012 BLAKE2B 
d79cde44761a22ca5dcc737dead9163056e0dc2504c225d23d834b4ae2bc204b1b87f87753ac662ec59e1a940cf1b4f0c47ff0b427b30b373a3c0ad91a5ad4ae
 SHA512 
4c4c588bb3feebfbc6bad32c1565bb76de7eb433b9b40aa948dfbb63022a9cbadaf6d38cb0826c06593e10cc6a4d328a9bb9c94f885d8f8763432612963db94b

diff --git a/net-misc/sipp/sipp-3.7.1.ebuild b/net-misc/sipp/sipp-3.7.1.ebuild
new file mode 100644
index 000000000000..f34270650432
--- /dev/null
+++ b/net-misc/sipp/sipp-3.7.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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}/${P}.tar.gz";
+
+LICENSE="GPL-2 ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gsl +pcap sctp +ssl"
+
+DEPEND="sys-libs/ncurses:=
+       gsl? ( sci-libs/gsl:= )
+       pcap? (
+               net-libs/libpcap
+               net-libs/libnet:1.1
+       )
+       sctp? ( net-misc/lksctp-tools )
+       ssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_GSL=$(usex gsl 1 0)
+               -DUSE_PCAP=$(usex pcap 1 0)
+               -DUSE_SCTP=$(usex sctp 1 0)
+               -DUSE_SSL=$(usex ssl 1 0)
+       )
+
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+
+       insinto /usr/share/${PN}
+       use pcap && doins pcap/*.pcap
+       dodoc CHANGES.md README.md
+}

Reply via email to