Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635822 - net-libs/mbedtls: Disable zlib by default
Summary: net-libs/mbedtls: Disable zlib by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-29 18:05 UTC by Manuel Rüger (RETIRED)
Modified: 2017-10-30 01:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2017-10-29 18:05:17 UTC
While the base profiles enable USE="zlib" by default, it might not be the best choice for mbedtls[1].

https://tls.mbed.org/kb/how-to/deflate-compression-in-ssl-tls

Please consider adding a setting to the base profiles in order to disable zlib support by default.
Comment 1 Anthony Basile gentoo-dev 2017-10-30 01:12:02 UTC
(In reply to Manuel Rüger from comment #0)
> While the base profiles enable USE="zlib" by default, it might not be the
> best choice for mbedtls[1].
> 
> https://tls.mbed.org/kb/how-to/deflate-compression-in-ssl-tls
> 
> Please consider adding a setting to the base profiles in order to disable
> zlib support by default.

I tried adding a line

net-libs/mbedtls -zlib

to profiles/base/package.use but that doesn't do the trick.  USE=zlib is added in profiles/default/linux/make.defaults.  I'm not sure how to turn that off.
Comment 2 Larry the Git Cow gentoo-dev 2017-10-30 01:26:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c420d6cd69aa5ae5828891d2398bfa3777f9b409

commit c420d6cd69aa5ae5828891d2398bfa3777f9b409
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-10-30 01:24:42 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-10-30 01:24:42 +0000

    profiles: disable net-libs/mbedtls[zlib] by default
    
    Closes: https://bugs.gentoo.org/635822

 profiles/default/linux/package.use | 4 ++++
 1 file changed, 4 insertions(+)