sergot / openssl

OpenSSL bindings for Perl 6
MIT License
14 stars 31 forks source link

Fix issues preventing proper packaging of OpenSSL module #76

Open niner opened 4 years ago

niner commented 4 years ago

The META6.json file misses information about the license and about the dependency on the native libssl.so library. This PR adds this information. In addition it changes the code for finding the library to first check the versions which we know to work and fall back to the unversioned libssl.so symlink. With this we can get by without an openssl-dev or -devel package installed in many cases.

All of these issues caused pain when packaging the module for Linux distros. With them resolved, the package can be generated fully automatically.

sergot commented 2 years ago

@niner @ugexe is this something we should merge? I've seen some commits adding resources/libraries.json, is this related?

ugexe commented 2 years ago

This shouldn't be merged because of the META6.json depends structure comment I left previously (which would be pretty easy if anyone wants to do it)

sergot commented 2 years ago

I'll try to do it, thanks @ugexe

Skarsnik commented 1 year ago

Sorry for the request, but any progress on this? I am getting annoyed to have to install SSL devel package everytime x)