FS#57648 - [libmcrypt] Add pkg-config support
Attached to Project:
Arch Linux
Opened by Mark (neolith2099) - Monday, 26 February 2018, 16:08 GMT
Last edited by Toolybird (Toolybird) - Thursday, 21 September 2023, 21:33 GMT
Opened by Mark (neolith2099) - Monday, 26 February 2018, 16:08 GMT
Last edited by Toolybird (Toolybird) - Thursday, 21 September 2023, 21:33 GMT
|
Details
Description:
Package libmcrypt version 2.5.8 is missing a pkg-config file. Adding the attached file as part of the package will add support for it and make cmake find the library much easier using the pkg-config module. Additional info: The attached document needs to be installed in /usr/lib/pkgconfig Steps to reproduce: Building programs using cmake offers no trivial way of finding this library. Adding this pkg-config file makes using cmake much simpler. |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 21 September 2023, 21:33 GMT
Reason for closing: Won't implement
Additional comments about closing: Old and stale. It needs to go upstream but of course upstream is dead. Refer to comments for why this is a bad idea.
Thursday, 21 September 2023, 21:33 GMT
Reason for closing: Won't implement
Additional comments about closing: Old and stale. It needs to go upstream but of course upstream is dead. Refer to comments for why this is a bad idea.
libdir=${prefix}/lib
includedir=${prefix}/include
Name: mcrypt
Description: A library which provides a uniform interface to several symmetric encryption algorithms
Version: 2.5.8
Libs: -L${libdir} -lmcrypt
Cflags: -I${includedir}
These things should be filed upstream.
https://en.wikipedia.org/wiki/Mcrypt
General consensus regarding mcrypt is that if you use it in new code, you're doing it extremely, horribly wrong. If you're maintaining old code, your build system already added whatever workarounds you need to find it, but you should really, really, really consider migrating to some actually safe crypto library (of which there are many far better ones).
If you want pkg-config files added to to mcrypt in a way that offers any guarantee whatsoever of finding it on two or more distros, you are welcome to fork the project and start updating it for the first time in a decade.