Opened 7 years ago

Closed 6 years ago

#56262 closed submission (fixed)

softhsm @2.4.0

Reported by: Jakker (Jaap Akkerhuis) Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: softhsm

Description

SoftHSM is an implementation of a cryptographic store accessible through
a PKCS #11 interface. You can use it to explore PKCS #11 without having a
Hardware Security Module.

SoftHSM Version 2 is using openssl for its cryptographic operations.

Attachments (1)

Portfile (1.5 KB) - added by Jakker (Jaap Akkerhuis) 6 years ago.
Portfile for softhsm

Download all attachments as: .zip

Change History (10)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks.

Please remove the Subversion # $Id$ line. We moved to GitHub in 2016 and no longer use Subversion.

Please add your GitHub handle to the maintainers line, like this: maintainers {NLnetLabs.nl:jaap @Jakker}

Please add size (the file size in bytes) to the checksums line.

Please remove the distname ${name}-${version} line; that's the default value.

Please change depends_build bin:glibtool:libtool to depends_build port:glibtool.

Please remove the commented-out patchfiles line.

Don't create things outside of the ${destroot} in the destroot phase. In this case, you're wanting to create an empty directory that is retained after installation even though it is empty. MacPorts usually deletes empty directories after the destroot phase. To prevent MacPorts from doing that, use destroot.keepdirs like this:

destroot.keepdirs ${destroot}${prefix}/var/lib/softhsm/tokens

There's no need to manually create the directory in a pre- or post-destroot block (destroot.keepdirs will create it for you), unless you need it to be created with specific permissions or ownership, in which case use xinstall's arguments to create it the way you need it to be.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: jaap@… removed
Keywords: maintainer removed
Version: 2.4.2

As reporter, you do not need to Cc yourself.

comment:3 Changed 7 years ago by Jakker (Jaap Akkerhuis)

The proposed change to depends_build doesn't work. I assume it should be depends_build port:glibtool:libtool.

Ii'll be happy to add a size to the checksums line but I cannot find anywhere documentation about it. Can somebody enlighten me and point me to a specification or how this is calculated from what?

comment:4 Changed 7 years ago by mf2k (Frank Schima)

That was typo by Ryan. It should be:

depends_build port:libtool

I just set the size to 1 initially and find the correct value with the output of the checksum command.

port -v checksum softhsm

comment:5 Changed 7 years ago by Jakker (Jaap Akkerhuis)

Followed the advice from Frank and will attach a new version

comment:6 Changed 6 years ago by Jakker (Jaap Akkerhuis)

I wonder why we are waiting for this. As far as I know all requests are have been answered for as far as I know. Anything else that is needed?

comment:7 Changed 6 years ago by mf2k (Frank Schima)

Lack of time. Note that submitting a GitHub PR works much faster.

A few more comments:

  • Can openmaintainer be added?
  • Can libressl be alternately used in place of openssl? If so, we normally specify the dependency as follows:
path:lib/libssl.dylib:openssl
Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

Changed 6 years ago by Jakker (Jaap Akkerhuis)

Attachment: Portfile added

Portfile for softhsm

comment:8 Changed 6 years ago by Jakker (Jaap Akkerhuis)

For the nex port I plan to use GitHub.

  • Added openmaintainer
  • Libressl can be used, so changed dependency line as suggested

comment:9 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to mf2k
Resolution: fixed
Status: newclosed

In bdd6b51e155d4a48334971501832c57d92c54806/macports-ports (master):

softhsm: New port

Closes: #56262

Note: See TracTickets for help on using tickets.