tlsdate 0.0.6 (and possibly later versions) supports only PolarSSL 1.2.x, which is not in Gentoo tree. The following patch adds supports for PolarSSL 1.3.x , the series in the tree. Reproducible: Always Steps to Reproduce: 1. emerge -1 polarssl 2. emerge tlsdate Actual Results: emake failed (build compile phase) Expected Results: tlsdate installed on system
Created attachment 393696 [details, diff] tlsdate-0.0.6-polarssl13.patch Patch adding support for PolarSSL 1.3.x to tlsdate 0.0.6. Not tested for later versions of tlsdate, but might work.
Created attachment 393698 [details, diff] tlsdate-0.0.6.ebuild.patch Ebuild patch Note that PolarSSL is an automagic dependency, which is why I put emerge -1 polarssl first in the steps to reproduce.
I already reported the polarssl issue upstream. The current tlsdate ebuild just disables polarssl support and defaults to openssl (and I'll try to get this stabilized soon). Given that polarssl currently has an open remote code execution issue for which upstream has not released a fixed version I'm inclined to think we should just stay with openssl. I don't see any urgent need to support polarssl.
You may want to check bug #549662
i would prefer to be lazy