View Single Post
Old 11-06-2015, 07:49 AM   #133
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by newman View Post
Understood. Reasonable approach.



When it comes to TLS the TLS-enabling part happened in the gnutls library. Do a diff of gnutls sources from a 3.4 to 3.4.2 FW releases of Amazon-released sources. There you'll find a one-liner change. If you're able to build the newer gnutls, it may be sufficient to replace the stock gnutls libs with the custom ones. Or you could extract patches all the way to 3.4.2 and apply them to the gnutls libs (if there are problems with linking apply patches to more components... you could even apply all the patches locally to your rootfs image, keep a backup though , and add the results selectively...).
???
That says you have the binary you are starting with and the binary you want to reach -
So why not just bsdiff the two (skipping any incrementals) and apply (bspatch) that?
knc1 is offline   Reply With Quote