diff options
Diffstat (limited to 'net-misc/sipp')
-rw-r--r-- | net-misc/sipp/Manifest | 2 | ||||
-rw-r--r-- | net-misc/sipp/sipp-3.6.1.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/sipp/Manifest b/net-misc/sipp/Manifest index 20b47dab2a15..eb44e0eebcd0 100644 --- a/net-misc/sipp/Manifest +++ b/net-misc/sipp/Manifest @@ -1,4 +1,6 @@ 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 +DIST sipp-3.6.1.tar.gz 744407 BLAKE2B a201ecce624c15c51a66c3cb5ac467522755085419c2980b1f76340e7ffca5996516f34d7e52776a8aa0a2170ca2b7301030ecb50272a1c0a8e86aaf18a6de16 SHA512 58504c56ca0c14363fafc5d0598fd93857ef33cc5856f579a225fd0e38238f7d2c409127a18a368e22355cc3912758d4dba07bac7eaa3e8a0d2943ea5fdec602 EBUILD sipp-3.6.0.ebuild 960 BLAKE2B aff654d4ba7a2a4bf00b5151242e9fe57f711ac6fe67e2d7e6746955f4d55f2226b6181fc423f61ca115ac95228be64b232326d8d4c4a8950e5c601171cac430 SHA512 1a4585f9b910b5e67f2abf71409c09515af2713b0199456a34be6a23bee89a24fec66f6840790593bd29c980ca02f5fd613c5292c23604e7ae6e921d2fc57728 +EBUILD sipp-3.6.1.ebuild 1103 BLAKE2B f6ab8fea4e1b96626b5e80fcf8f8b8fce2a927d7585e2d12dfdbda47c9910301d9c994c02377e21ec7a489ac5a1802f0189ffc531adacb8460c5f5f045467d16 SHA512 7a6525943a713873a3602a818099255f682bd56193c186ffe2c62d275f406f59c726e07bd199260c5026faa5b68b5582647a9188b831b6ab17ed0c2a23484b6c MISC metadata.xml 456 BLAKE2B f7dff8c7cdc43d043f5a84c590e084a0ad39f973738a58a991f9971794c4ea904df0e95d47b7669ab0f76c193586aa8feea6b1414111d374af301dcd44ee055b SHA512 0268164af9c3e0e1558549021c47b9374f5f565996a730335d5ff7c8132f7e8bd2685c36db74dd9ab7be2029ddbb56250519b7b0bf85d54997d247a4bb26365a diff --git a/net-misc/sipp/sipp-3.6.1.ebuild b/net-misc/sipp/sipp-3.6.1.ebuild new file mode 100644 index 000000000000..3145570a2b56 --- /dev/null +++ b/net-misc/sipp/sipp-3.6.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 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}/${PF}.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 + ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # version.h is in ${S}, and needs to be in ${S}/include for cmake to work. + ln -s ../version.h "${S}/include/" || die "Error creating version.h symlink" + + 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() { + default + insinto /usr/share/${PN} + use pcap && doins pcap/*.pcap + dodoc CHANGES.md README.md +} |