summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-04-22 22:24:00 -0400
committerAaron Bauman <bman@gentoo.org>2018-04-23 10:35:10 -0400
commit9d005030aa7bc9f8039b5512dac4d59177934c5c (patch)
tree2e24732d3cf8ed55a11c0ad40b8476c9eba658c0 /net-libs
parentdev-python/elasticsearch-curator: amd64 stable wrt bug #653874 (diff)
downloadgentoo-9d005030aa7bc9f8039b5512dac4d59177934c5c.tar.gz
gentoo-9d005030aa7bc9f8039b5512dac4d59177934c5c.tar.bz2
gentoo-9d005030aa7bc9f8039b5512dac4d59177934c5c.zip
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
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libsrtp/Manifest4
-rw-r--r--net-libs/libsrtp/libsrtp-1.4.4-r1.ebuild75
-rw-r--r--net-libs/libsrtp/libsrtp-1.4.4-r2.ebuild74
-rw-r--r--net-libs/libsrtp/libsrtp-1.4.4_p20121108-r1.ebuild76
-rw-r--r--net-libs/libsrtp/libsrtp-1.4.4_p20121108.ebuild73
-rw-r--r--net-libs/libsrtp/libsrtp-1.5.2-r1.ebuild79
-rw-r--r--net-libs/libsrtp/libsrtp-1.5.2.ebuild75
-rw-r--r--net-libs/libsrtp/libsrtp-1.5.4-r1.ebuild83
-rw-r--r--net-libs/libsrtp/libsrtp-1.5.4.ebuild77
9 files changed, 0 insertions, 616 deletions
diff --git a/net-libs/libsrtp/Manifest b/net-libs/libsrtp/Manifest
index ce5b03cd2c10..84f89dd671a1 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 a1cf69cf69c6..000000000000
--- 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 403cd47ab0c9..000000000000
--- 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 506809717b15..000000000000
--- 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 516523cd0a82..000000000000
--- 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 306208cfa010..000000000000
--- 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 d13db21b9984..000000000000
--- 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 01c124760188..000000000000
--- 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 2cea7278e552..000000000000
--- 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
-}