[MacPorts] #56262: softhsm @2.4.0

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #56262: softhsm @2.4.0

MacPorts
#56262: softhsm @2.4.0
------------------------+---------------------
 Reporter:  Jakker      |      Owner:  (none)
     Type:  submission  |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.4.2
 Keywords:  maintainer  |       Port:  softhsm
------------------------+---------------------
 {{{
 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.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56262>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
#56262: softhsm @2.4.0
-------------------------+------------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:  maintainer
      Port:  softhsm     |
-------------------------+------------------------
Changes (by Jakker):

 * Attachment "Portfile" added.

 Portfile for this this port

--
Ticket URL: <https://trac.macports.org/ticket/56262>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+------------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:  maintainer
      Port:  softhsm     |
-------------------------+------------------------

Comment (by ryandesign):

 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.

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------
Changes (by mf2k):

 * cc: jaap@… (removed)
 * keywords:  maintainer =>
 * version:  2.4.2 =>


Comment:

 As reporter, you do not need to Cc yourself.

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by Jakker):

 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?

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by mf2k):

 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
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by Jakker):

 Followed the advice from Frank and will attach a new version

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------
Changes (by Jakker):

 * Attachment "Portfile" added.

 Portfile for this port

--
Ticket URL: <https://trac.macports.org/ticket/56262>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by Jakker):

 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?

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by mf2k):

 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? Of so, we
 normally specify the dependency as follows:


 {{{
 path:lib/libssl.dylib:openssl
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------
Changes (by Jakker):

 * Attachment "Portfile" added.

 Portfile for softhsm

--
Ticket URL: <https://trac.macports.org/ticket/56262>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  (none)
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by Jakker):

 For the nex port I plan to use GitHub.

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

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56262: softhsm @2.4.0

MacPorts
In reply to this post by MacPorts
#56262: softhsm @2.4.0
-------------------------+--------------------
  Reporter:  Jakker      |      Owner:  mf2k
      Type:  submission  |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:  fixed       |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------
Changes (by mf2k):

 * owner:  (none) => mf2k
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bdd6b51e155d4a48334971501832c57d92c54806/macports-ports"
 bdd6b51e155d4a48334971501832c57d92c54806/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="bdd6b51e155d4a48334971501832c57d92c54806"
 softhsm: New port

 Closes: https://trac.macports.org/ticket/56262
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS