In preparation for a new release soon, I'm re-visiting the RPM packaging
for opencryptoki in the light of the recent changes made to it's build
system and all.
I found a few things that needed fixing (patches 1 through 4), and
refactored the RPM .spec file in patch 5.
The most notable change is in breaking the STDLLs in separate
packages. But I also have new descriptions for each of the package,
and I'm trying to do a better job in tracking files and directories.
The things that are still needing some thinking:
* Unversioned .so files (or links) not in -devel files.
I wonder if there is anything we could do.
* The %libdir%/opencryptoki/methods symlink
I was trying to avoid absolute links, but I couldn't figure a
way to symlink to %sbindir% using a relative link.
* The fact that in reality, the -lib requires the deamon/utils package
Currently, opencryptoki.rpm requires opencryptoki-libs.rpm, but not
vice-versa. In reality, libopencryptoki.so requires the slot daemon
and at least one STDLL to work. I think we could add a non
arch-dependent requirement to opencryptoki in -lib, and perhaps a
virtual requirement in the STDLLs.
I haven't done that yet - looks odd!
I tested it in Fedora 12 x86_64, but will go for s390/s390x testing
once I get a hold of a recent distro on a z/VM guest.
Please review.
Thanks,
-Klaus
[PATCH 1/5] Don't use $DESTDIR in references
[PATCH 2/5] Go back to using $target_cpu instead of $host_cpu
[PATCH 3/5] Create local state dir when installing pkcs_slot
[PATCH 4/5] Create local state directories for each token
[PATCH 5/5] RPM Spec files refactor
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech