From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsrtp/
Date: Mon, 23 Apr 2018 14:35:26 +0000 (UTC) [thread overview]
Message-ID: <1524494110.9d005030aa7bc9f8039b5512dac4d59177934c5c.bman@gentoo> (raw)
commit: 9d005030aa7bc9f8039b5512dac4d59177934c5c
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 02:24:00 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 14:35:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d005030
net-libs/libsrtp: drop vulnerable
Bug: https://bugs.gentoo.org/579318
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8113
net-libs/libsrtp/Manifest | 4 --
net-libs/libsrtp/libsrtp-1.4.4-r1.ebuild | 75 -------------------
net-libs/libsrtp/libsrtp-1.4.4-r2.ebuild | 74 -------------------
net-libs/libsrtp/libsrtp-1.4.4_p20121108-r1.ebuild | 76 --------------------
net-libs/libsrtp/libsrtp-1.4.4_p20121108.ebuild | 73 -------------------
net-libs/libsrtp/libsrtp-1.5.2-r1.ebuild | 79 --------------------
net-libs/libsrtp/libsrtp-1.5.2.ebuild | 75 -------------------
net-libs/libsrtp/libsrtp-1.5.4-r1.ebuild | 83 ----------------------
net-libs/libsrtp/libsrtp-1.5.4.ebuild | 77 --------------------
9 files changed, 616 deletions(-)
diff --git a/net-libs/libsrtp/Manifest b/net-libs/libsrtp/Manifest
index ce5b03cd2c1..84f89dd671a 100644
--- a/net-libs/libsrtp/Manifest
+++ b/net-libs/libsrtp/Manifest
@@ -1,7 +1,3 @@
-DIST libsrtp-1.5.2.tar.gz 1690272 BLAKE2B 1fc433d80202d15cb4c0437816c421f4b0526d85b291d7524a47b3e1d8f58dc24c5bbc644c21ce1e87cef0492130604feccfb169d26a900009a89eddcde3e3dc SHA512 fb09252edaca6da5b579fae34d3b6382ee0cf61a706e38283158ef10c879b9a0f80cfd0c354852e771b4649288dd5cc41158a4e046e8073cf26a586dfd41b024
-DIST libsrtp-1.5.4.tar.gz 1646184 BLAKE2B e3f7cbc404424726aa8ecef6c5e642dfe8400220ddc752a562eb2b046b2de970a6000a1ed5cbe9b6497dc7bc871c4662aca0d1180d731e7df0e33b80b43c2c36 SHA512 fcf6a36a0f687a6aa2b245e4055332ae892c953e19ebe3bfb7d091da0a7afbfcb804d9f602bd2d849235b559d3ca7924ee00c7f0da419c23b053b096ef4ccd19
DIST libsrtp-1.6.0.tar.gz 1648862 BLAKE2B 5526d7659db160df3b6d9f14922bd731d083f04c6dd084ef473c439d720733d0fd8b38bdfe92e30e05a8a94c41df965d04bca52601b2644352428b49b1ed9093 SHA512 5ac712d0d343c3b63ed248503cc7d33c637895a274c4434c91f513be117836f27cd5daba83088b4647bbd9c82d841e216e6346af8d485cb9ddcd35dee21d4887
DIST libsrtp-2.0.0.tar.gz 265564 BLAKE2B ebae4a88fd5c77f3ed656569ee4300e4213d5be5c788efc84d8439a14a7773cfa60dc2b7c35a044ad1b5633af581f1526d1c3caa10e3ec800a2d66d5f837ce96 SHA512 61bba9aba9bb3e888c2bbc150411d0b3d583ed71ca455c5a3d4d6d06ecd383fdd61f86ad1979fb9c04da1b824e3fb9bb63f0d97e50b4a469d56907fb9dbc42d6
DIST libsrtp-2.1.0.tar.gz 306090 BLAKE2B c5055a66bf12997cd1b0d996a930d413d144280ccf40a1bed4b1ef10caa097f9c4fa40910a66a41bd8e33732b810d8ca5f7cb8acd9cb506cc42ab7e5b5adaf6e SHA512 60f4eb6fd37517eb96df80ab8a9c6fd79dfc89d969bdb04673cd98364f7108fbc703a64b1898056f9220a55315574b6f3f796b6814086360f6fd143e3b20fb3f
-DIST srtp-1.4.4.tgz 502890 BLAKE2B 5336853630a6ed607dfe2304cf4266fa68a075abfe7aa156566ed810ae090c68a44b16849ee93058922aea3063ec35a938f904fbe53577b7e90467d2446b3128 SHA512 951bfec212f579daae4a5a7fc9eded163dd6790da2e3840629dbeac36d7d960f95a1f1b844505629c7815816515f0784bf9b6e1c47f2986416ec04ec9d4b7564
-DIST srtp-1.4.4_p20121108.tar.gz 485875 BLAKE2B d5337e9ab4f14531b755db01ce6ac9d676488f4cc0e6a894a49be73468d8111e3c45182f2edbb5455f52a214a564d8650b4756967b30c49fb5d9e5769e9edfab SHA512 a6bf2674babed512bd90fd11d63adecf4ddf357d26652f321651fcc42d932d3d9f8713ecab4bdcddb026106a2d5bfbac0a626938f70822f5b1ee05881bb823d9
diff --git a/net-libs/libsrtp/libsrtp-1.4.4-r1.ebuild b/net-libs/libsrtp/libsrtp-1.4.4-r1.ebuild
deleted file mode 100644
index a1cf69cf69c..00000000000
--- a/net-libs/libsrtp/libsrtp-1.4.4-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils multilib
-
-MY_PN="srtp"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
-SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 -sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc syslog"
-
-S=${WORKDIR}/${MY_PN}
-
-src_prepare() {
- # generate a shared lib
- epatch "${FILESDIR}"/${P}-shared.patch
-}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable syslog)
-}
-
-src_compile() {
- # target all is building test
- emake ${PN}.a ${PN}$(get_libname) || die "emake failed"
-}
-
-src_test() {
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c \
- || die "fixing getopt errors failed"
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh \
- || die "patching test/rtpw_test.sh failed"
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c \
- || die "patching test/rtpw.c failed"
-
- emake test || die "building test failed"
- emake -j1 runtest || die "tests failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc CHANGES README TODO || die "dodoc failed"
-
- if use doc; then
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- dodoc doc/*.txt doc/${PN}.pdf || die "dodoc failed"
- fi
-}
diff --git a/net-libs/libsrtp/libsrtp-1.4.4-r2.ebuild b/net-libs/libsrtp/libsrtp-1.4.4-r2.ebuild
deleted file mode 100644
index 403cd47ab0c..00000000000
--- a/net-libs/libsrtp/libsrtp-1.4.4-r2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit base multilib
-
-MY_PN="srtp"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
-SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc static-libs syslog"
-PATCHES=( "${FILESDIR}/${P}-shared.patch"
- "${FILESDIR}/${P}-invalid-index.patch" )
-
-S=${WORKDIR}/${MY_PN}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable syslog)
-}
-
-src_compile() {
- if use static-libs; then
- emake ${PN}.a || die "Failed to build static library"
- fi
- emake ${PN}$(get_libname) || die "Failed to build dynamic library"
-}
-
-src_test() {
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c \
- || die "fixing getopt errors failed"
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh \
- || die "patching test/rtpw_test.sh failed"
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c \
- || die "patching test/rtpw.c failed"
-
- emake test || die "building test failed"
- emake -j1 runtest || die "tests failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc CHANGES README TODO || die "dodoc failed"
-
- if use doc; then
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- dodoc doc/*.txt doc/${PN}.pdf || die "dodoc failed"
- fi
-}
diff --git a/net-libs/libsrtp/libsrtp-1.4.4_p20121108-r1.ebuild b/net-libs/libsrtp/libsrtp-1.4.4_p20121108-r1.ebuild
deleted file mode 100644
index 506809717b1..00000000000
--- a/net-libs/libsrtp/libsrtp-1.4.4_p20121108-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit base multilib
-
-MY_PN="srtp"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
-SRC_URI="https://dev.gentoo.org/~phajdan.jr/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 -sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc static-libs syslog"
-PATCHES=(
- "${FILESDIR}/${P}-shared.patch"
- "${FILESDIR}/${PN}-CVE-2013-2139.diff"
- )
-
-S=${WORKDIR}/${MY_PN}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable syslog)
-}
-
-src_compile() {
- if use static-libs; then
- emake ${PN}.a || die "Failed to build static library"
- fi
- emake ${PN}$(get_libname) || die "Failed to build dynamic library"
-}
-
-src_test() {
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c \
- || die "fixing getopt errors failed"
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh \
- || die "patching test/rtpw_test.sh failed"
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c \
- || die "patching test/rtpw.c failed"
-
- emake test || die "building test failed"
- emake -j1 runtest || die "tests failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc CHANGES README TODO || die "dodoc failed"
-
- if use doc; then
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- dodoc doc/*.txt doc/${PN}.pdf || die "dodoc failed"
- fi
-}
diff --git a/net-libs/libsrtp/libsrtp-1.4.4_p20121108.ebuild b/net-libs/libsrtp/libsrtp-1.4.4_p20121108.ebuild
deleted file mode 100644
index 516523cd0a8..00000000000
--- a/net-libs/libsrtp/libsrtp-1.4.4_p20121108.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit base multilib
-
-MY_PN="srtp"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
-SRC_URI="https://dev.gentoo.org/~phajdan.jr/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 -sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc static-libs syslog"
-PATCHES=( "${FILESDIR}/${P}-shared.patch" )
-
-S=${WORKDIR}/${MY_PN}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable syslog)
-}
-
-src_compile() {
- if use static-libs; then
- emake ${PN}.a || die "Failed to build static library"
- fi
- emake ${PN}$(get_libname) || die "Failed to build dynamic library"
-}
-
-src_test() {
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c \
- || die "fixing getopt errors failed"
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh \
- || die "patching test/rtpw_test.sh failed"
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c \
- || die "patching test/rtpw.c failed"
-
- emake test || die "building test failed"
- emake -j1 runtest || die "tests failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc CHANGES README TODO || die "dodoc failed"
-
- if use doc; then
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- dodoc doc/*.txt doc/${PN}.pdf || die "dodoc failed"
- fi
-}
diff --git a/net-libs/libsrtp/libsrtp-1.5.2-r1.ebuild b/net-libs/libsrtp/libsrtp-1.5.2-r1.ebuild
deleted file mode 100644
index 306208cfa01..00000000000
--- a/net-libs/libsrtp/libsrtp-1.5.2-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools eutils
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="https://github.com/cisco/libsrtp"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc openssl static-libs syslog test"
-
-DEPEND="openssl? ( dev-libs/openssl:0 )"
-RDEPEND="${DEPEND}"
-
-DOCS=( CHANGES README TODO )
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-pcap-automagic-r0.patch"
- epatch "${FILESDIR}/${P}-fix-make-install.patch"
- epatch "${FILESDIR}/${P}-bindir.patch"
-
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c || die
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh || die
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
-
- eautoreconf
-}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- # pcap: seems to be test-only
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- --disable-pcap \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable openssl) \
- $(use_enable syslog)
-}
-
-src_compile() {
- use static-libs && emake ${PN}.a
- emake shared_library
- use test && emake test
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}" emake -j1 runtest
-
- # Makefile.in has '$(testapp): libsrtp.a'
- if use !static-libs; then
- rm libsrtp.a || die
- fi
-}
-
-src_install() {
- default
-
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- use doc && dodoc doc/*.txt doc/${PN}.pdf
-}
diff --git a/net-libs/libsrtp/libsrtp-1.5.2.ebuild b/net-libs/libsrtp/libsrtp-1.5.2.ebuild
deleted file mode 100644
index d13db21b998..00000000000
--- a/net-libs/libsrtp/libsrtp-1.5.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools base multilib
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="https://github.com/cisco/libsrtp"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc openssl static-libs syslog"
-
-DEPEND="openssl? ( dev-libs/openssl:0 )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-pcap-automagic-r0.patch"
- eautoreconf || die
-}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- # pcap: seems to be test-only
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- --disable-pcap \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable openssl) \
- $(use_enable syslog)
-}
-
-src_compile() {
- if use static-libs; then
- emake ${PN}.a || die
- fi
- emake shared_library || die
-}
-
-src_test() {
- # getopt returns an int, not a char
- sed -i -e "s/char q/int q/" \
- test/rdbx_driver.c test/srtp_driver.c test/dtls_srtp_driver.c || die
-
- # test/rtpw_test.sh is assuming . is in $PATH
- sed -i -e "s:\$RTPW :./\$RTPW :" test/rtpw_test.sh || die
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
-
- emake test || die
- emake -j1 runtest || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- dodoc CHANGES README TODO || die
-
- if use doc; then
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- dodoc doc/*.txt doc/${PN}.pdf || die
- fi
-}
diff --git a/net-libs/libsrtp/libsrtp-1.5.4-r1.ebuild b/net-libs/libsrtp/libsrtp-1.5.4-r1.ebuild
deleted file mode 100644
index 01c12476018..00000000000
--- a/net-libs/libsrtp/libsrtp-1.5.4-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools multilib-minimal
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="https://github.com/cisco/libsrtp"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc libressl openssl static-libs syslog test"
-
-RDEPEND="
- openssl? (
- !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
- libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGES README TODO )
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/srtp/config.h
-)
-PATCHES=( "${FILESDIR}/${PN}-pcap-automagic-r0.patch" )
-
-src_prepare() {
- default
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- # pcap: seems to be test-only
- ECONF_SOURCE=${S} \
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- --disable-pcap \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable openssl) \
- $(use_enable syslog)
-}
-
-multilib_src_compile() {
- use static-libs && emake ${PN}.a
- emake shared_library
- use test && emake test
-}
-
-multilib_src_test() {
- # work-around tests that do not like out-of-source builds
- cp "${S}"/test/{getopt_s,rtpw}.c "${BUILD_DIR}"/test/ || die
-
- LD_LIBRARY_PATH="${BUILD_DIR}" emake -j1 runtest
-
- # Makefile.in has '$(testapp): libsrtp.a'
- if use !static-libs; then
- rm libsrtp.a || die
- fi
-}
-
-multilib_src_install_all() {
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- use doc && DOCS+=( doc/*.txt doc/${PN}.pdf )
- einstalldocs
-}
diff --git a/net-libs/libsrtp/libsrtp-1.5.4.ebuild b/net-libs/libsrtp/libsrtp-1.5.4.ebuild
deleted file mode 100644
index 2cea7278e55..00000000000
--- a/net-libs/libsrtp/libsrtp-1.5.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
-HOMEPAGE="https://github.com/cisco/libsrtp"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="aesicm console debug doc libressl openssl static-libs syslog test"
-
-RDEPEND="
- openssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( CHANGES README TODO )
-
-PATCHES=( "${FILESDIR}/${PN}-pcap-automagic-r0.patch" )
-
-src_prepare() {
- default
-
- # test/rtpw.c is using /usr/share/dict/words assuming it exists
- # using test/rtpw.c guaratees the file exists in any case
- sed -i -e "s:/usr/share/dict/words:rtpw.c:" test/rtpw.c || die
-
- eautoreconf
-}
-
-src_configure() {
- # stdout: default error output for messages in debug
- # kernel-linux: breaks the build
- # gdoi: disabled by upstream and breaks the build
- # pcap: seems to be test-only
- econf \
- --enable-stdout \
- --disable-kernel-linux \
- --disable-gdoi \
- --disable-pcap \
- $(use_enable aesicm generic-aesicm) \
- $(use_enable console) \
- $(use_enable debug) \
- $(use_enable openssl) \
- $(use_enable syslog)
-}
-
-src_compile() {
- use static-libs && emake ${PN}.a
- emake shared_library
- use test && emake test
-}
-
-src_test() {
- LD_LIBRARY_PATH="${S}" emake -j1 runtest
-
- # Makefile.in has '$(testapp): libsrtp.a'
- if use !static-libs; then
- rm libsrtp.a || die
- fi
-}
-
-src_install() {
- # libsrtp.pdf can also be generated with doxygen
- # but it would be a waste of time as an up-to-date version is built
- use doc && DOCS+=( doc/*.txt doc/${PN}.pdf )
-
- default
-}
next reply other threads:[~2018-04-23 14:35 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 14:35 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-24 5:24 [gentoo-commits] repo/gentoo:master commit in: net-libs/libsrtp/ Matt Jolly
2024-06-06 20:27 Mike Gilbert
2022-10-12 7:24 Stephan Hartmann
2022-10-12 6:50 Agostino Sarubbo
2022-10-12 6:49 Agostino Sarubbo
2022-10-11 18:26 Sam James
2022-10-11 18:26 Sam James
2022-10-11 17:15 Arthur Zamarin
2022-10-11 17:15 Arthur Zamarin
2021-05-31 20:45 David Seifert
2021-05-02 10:16 Mikle Kolyada
2021-03-16 13:01 Joonas Niilola
2021-02-09 23:33 Lars Wendler
2021-02-01 13:30 Sam James
2021-02-01 8:26 Sam James
2021-01-30 14:29 Sam James
2021-01-30 10:04 Sam James
2021-01-30 10:03 Sam James
2021-01-28 17:47 Sam James
2020-01-01 16:03 Andreas Sturmlechner
2019-07-29 20:02 Aaron Bauman
2019-07-28 18:31 Aaron Bauman
2019-07-13 12:08 Sergei Trofimovich
2019-05-23 13:02 Mikle Kolyada
2019-05-15 15:26 Mikle Kolyada
2019-05-15 15:26 Mikle Kolyada
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-05-12 21:48 Sergei Trofimovich
2019-05-08 14:38 Tobias Klausmann
2018-11-23 22:15 Mart Raudsepp
2018-07-31 7:53 Tony Vroon
2018-07-21 16:57 Tobias Klausmann
2018-07-20 23:18 Sergei Trofimovich
2018-07-20 22:48 Sergei Trofimovich
2018-07-20 8:08 Sergei Trofimovich
2018-06-18 12:23 Tony Vroon
2017-11-12 10:40 Sergei Trofimovich
2017-11-12 10:27 Sergei Trofimovich
2017-11-05 21:29 Thomas Deutschmann
2017-11-02 10:47 Manuel Rüger
2017-11-01 7:25 Sergei Trofimovich
2017-10-31 17:28 Mike Gilbert
2017-08-11 13:21 Michał Górny
2017-08-11 13:21 Michał Górny
2017-08-11 13:21 Michał Górny
2017-06-25 14:42 Alexis Ballier
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=1524494110.9d005030aa7bc9f8039b5512dac4d59177934c5c.bman@gentoo \
--to=bman@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