commit:     35c674833a5b1a2a465f133b259cbf704cff4419
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 22:15:23 2020 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Dec  8 15:49:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c67483

net-libs/mbedtls: introduce slots

While we still don't support installing multiple net-libs/mbedtls
versions simultaneously, we need slots to support proper targeting in
GLSAs.

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 net-libs/mbedtls/{mbedtls-2.16.8.ebuild => mbedtls-2.16.8-r1.ebuild} | 5 +++--
 net-libs/mbedtls/{mbedtls-2.24.0.ebuild => mbedtls-2.24.0-r1.ebuild} | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-libs/mbedtls/mbedtls-2.16.8.ebuild 
b/net-libs/mbedtls/mbedtls-2.16.8-r1.ebuild
similarity index 92%
rename from net-libs/mbedtls/mbedtls-2.16.8.ebuild
rename to net-libs/mbedtls/mbedtls-2.16.8-r1.ebuild
index 6114da3d948..344353ea171 100644
--- a/net-libs/mbedtls/mbedtls-2.16.8.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.16.8-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz";
 S=${WORKDIR}/${PN}-${P}
 
 LICENSE="Apache-2.0"
-SLOT="0/3.12.0" # ffmpeg subslot naming: SONAME tuple of 
{libmbedcrypto.so,libmbedtls.so,libmbedx509.so}
+SLOT="2.1/3.12.0" # ffmpeg subslot naming: SONAME tuple of 
{libmbedcrypto.so,libmbedtls.so,libmbedx509.so}
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86"
 IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test 
threads zlib"
 RESTRICT="!test? ( test )"
@@ -21,7 +21,8 @@ RDEPEND="
                !libressl? ( dev-libs/openssl:0= )
                libressl? ( dev-libs/libressl:0= )
        )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       !net-libs/mbedtls:2.2"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen media-gfx/graphviz )
        test? ( dev-lang/perl )"

diff --git a/net-libs/mbedtls/mbedtls-2.24.0.ebuild 
b/net-libs/mbedtls/mbedtls-2.24.0-r1.ebuild
similarity index 92%
rename from net-libs/mbedtls/mbedtls-2.24.0.ebuild
rename to net-libs/mbedtls/mbedtls-2.24.0-r1.ebuild
index c7e0dce9105..31378d0cd13 100644
--- a/net-libs/mbedtls/mbedtls-2.24.0.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.24.0-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/ARMmbed/mbedtls/archive/${P}.tar.gz";
 S=${WORKDIR}/${PN}-${P}
 
 LICENSE="Apache-2.0"
-SLOT="0/5.13.1" # ffmpeg subslot naming: SONAME tuple of 
{libmbedcrypto.so,libmbedtls.so,libmbedx509.so}
+SLOT="2.2/5.13.1" # ffmpeg subslot naming: SONAME tuple of 
{libmbedcrypto.so,libmbedtls.so,libmbedx509.so}
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86"
 IUSE="cpu_flags_x86_sse2 doc havege libressl programs -static-libs test 
threads zlib"
 RESTRICT="!test? ( test )"
@@ -21,7 +21,8 @@ RDEPEND="
                !libressl? ( dev-libs/openssl:0= )
                libressl? ( dev-libs/libressl:0= )
        )
-       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       !net-libs/mbedtls:2.1"
 DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen media-gfx/graphviz )
        test? ( dev-lang/perl )"

Reply via email to