summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2023-06-28 09:55:06 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-07-21 09:22:12 +0300
commit93aaf069c3fb9de0326646f336ce8e5d707fb2bd (patch)
tree02a23d19c9f0ce61c140fb93b89c856f407570e8 /net-misc/sipp
parentnet-misc/sipp: Add upstream remote-id. (diff)
downloadgentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.tar.gz
gentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.tar.bz2
gentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.zip
net-misc/sipp: add 3.7.1
Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/31653 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/sipp')
-rw-r--r--net-misc/sipp/Manifest1
-rw-r--r--net-misc/sipp/sipp-3.7.1.ebuild45
2 files changed, 46 insertions, 0 deletions
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
+}