hsm icon indicating copy to clipboard operation
hsm copied to clipboard

[Packaging] Provide Ubuntu/Debian Package

Open erikzenker opened this issue 4 years ago • 3 comments

For example a snap: https://ubuntu.com/tutorials/create-your-first-snap#1-overview

erikzenker avatar May 11 '20 21:05 erikzenker

Snap was blocked recently by linux mint link

erikzenker avatar Jul 17 '20 08:07 erikzenker

Now that the library provides proper install rules with #141, packaging with cpack is trivial. This could be revisited now.

I don't know how becoming a Debian package maintainer goes, but they usually get upstreamed for Ubuntu, so if you can provide a .deb you will cover both.
Since this library only provides a development component, your library should be called libhsm-dev in the Debian repository.

Useful links: cpack executable, CPack module (this is conditionally included if the project is the top level project), CPack DEB generator

The list of variables in the above documentations allow you to simply provide the necessary information from the command line to package as a .deb without touching the CMakeLists file(s).

friendlyanon avatar Feb 18 '21 11:02 friendlyanon

I have an example here that builds .deb files with all lintian checks passing.

friendlyanon avatar Apr 03 '21 09:04 friendlyanon