| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.7.5 | 8 | ~amd64 ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A free Open Source test tool / traffic generator for the SIP protocol"
HOMEPAGE="https://github.com/SIPp/sipp"
SRC_URI="https://github.com/SIPp/sipp/releases/download/v${PV}/${P}.tar.gz
https://github.com/SIPp/sipp/commit/0ad66bc14fe9ec41cdee50f9300fd6ea3048417d.patch -> ${PN}-3.7.5-cmake.patch"
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}"
PATCHES=(
"${DISTDIR}/${PN}-3.7.5-cmake.patch"
)
src_prepare() {
sed -e 's/ -Werror / /' -i "${S}/CMakeLists.txt" || die
cmake_src_prepare
}
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
}
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:= )
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:= )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sipp-3.7.5-cmake.patch | 1005 bytes | https://github.com/SIPp/sipp/commit/0ad66bc14fe9ec41cdee50f9300fd6ea3048417d.patch |
| DIST | sipp-3.7.5.tar.gz | 934273 bytes | https://github.com/SIPp/sipp/releases/download/v3.7.5/sipp-3.7.5.tar.gz |