-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
handling of the EKMF Web plugin and library #93
Comments
also |
Closes: ibm-s390-linux#93 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Thanks for suggesting this. I moved zkey-ekmfweb.so to /usr/lib64/zkey/. To ensure that zkey can load this plugin I needed to specify the absolute path to the library in zkey/kms-plugins.conf. Is there a better way for this? |
Thanks, Ingo. I have commented in the patch itself. |
Closes: ibm-s390-linux#93 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Thanks for the comments. I have reworked the commit according to your comments and force pushed, please see here: ifranzki@d09ed47. So for zkey-ekmfweb.so I only create the .so without a version in the file names, but I set the soname ELF attribute to |
Closes: ibm-s390-linux#93 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
thanks, will take a look
yes, I would do it this way. It will contain the ABI info, but still allow simple |
I have commented in the new patch, I believe it should be the last batch :-) I have applied the changes locally and the result looks good. |
Closes: ibm-s390-linux#93 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Thanks, I have adjusted the commit accordingly: We will integrate this patch internally and make it available on the master branch soon. |
Awesome, I will add the last version to the Fedora s390utils package. |
Would moving zkey-ekmfweb.so to /usr/libexec/zkey/ be fine with you, too? |
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_libexecdir is what our guidelines say about |
yes.... it says that libexecdir may be used..... which would be the same location for both Ubuntu and Fedora. Ubuntu cannot use /usr/lib64/zkey at all for the s390x port. also it is cute that the fedora guidelines mention upstream configuration system.... it would be nice if s390-tools had meson (or make / autoconf, or well anything) to detect and configure these things. As by default rpm macros and debhelper do pass all of these paths with the right expected locations, to buildsystems that have configure step. |
s390-tools 2.15.0
have added EKMF Web plugin and support library to the set of produced libs and tools. But they don't follow the best practices on how they can be properly distributed.zkey-ekmfweb.so
should live in$libdir/$project
so they can be distinguished from regular shared libraries and not interfere with automatic dependency generatorssoname
to inform about the ABI they provide, you already use the symbol version script when linking themlibekmfweb
should uselibekmfweb.so.1
as its filename (tied to the soname) and makelibekmfweb.so
the development symlink. I assume there is a reason for having this library as shared, because you are installingekmfweb.h
so you are expecting other users thanzkey
You can take a look at the qclib, they also use plain Makefile to manage all details of the building/linking process.
The text was updated successfully, but these errors were encountered: