[MacPorts] #52372: opensc @0.16.0: new port
#52372: opensc @0.16.0: new port ---------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: opensc ---------------------------------+-------------------------------- [https://github.com/OpenSC/OpenSC/wiki OpenSC] contains a number of tools and libraries for smart cards, including a `PKCS#11` driver that can be used by other software such as OpenSSH, OpenSSL, Firefox, Thunderbird, among others. The attached Portfile builds the source in a way that replicates what the `MacOSX/build-package` script does. I'm a heavy user of this tool and I have been building it from source for a long time. I'm volunteering to be the maintainer of this port. P.S.: OpenSC also includes a TokenD module for macOS which integrates with the Keychain, however I am not building that yet — I want to get the basic Portfile merged first because building the TokenD module is more complicated and it will require the module to be installed outside `/opt/local`: in `/Library/Security/tokend`. When I manage to build that via MacPorts I plan to introduce a `+tokend` variant that will be disabled by default, but it could also be a subport or a different port. Any suggestions on the matter are greatly appreciated. -- Ticket URL: <https://trac.macports.org/ticket/52372> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): I have updated the patch to set the default `PKCS#11` provider to `${prefix}/lib` so it is possible which makes it possible to use `pkcs11-tool` without having to manually specify the path to the opensc shared library. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Changes (by mf2k@…): * version: 2.3.4 => Comment: Thanks. Can we add openmaintainer? -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by mf2k@…): Also, I think some dependencies are missing: {{{ $ otool -L /opt/local/bin/opensc-tool /opt/local/bin/opensc-tool: /opt/local/lib/libopensc.4.dylib (compatibility version 5.0.0, current version 5.0.0) /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1) $ port provides /opt/local/lib/libcrypto.1.0.0.dylib /opt/local/lib/libcrypto.1.0.0.dylib is provided by: openssl }}} It looks like openssl is needed at least. Can libressl be used in place of it? -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): Sorry, I've made a mistake and the version I submitted had the dependency missing. I'm resubmitting the patch. Yes, `libressl` works — in fact that's how I use it myself and I had to include a patch to make it build. I have submitted it upstream and it has been merged so it will go away in 0.17.0. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): Regarding the `openmaintainer` I am not entirely sure what you mean by that question. I am volunteering to be the maintainer of this port, so feel free to leave me there if there are no other candidates. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): Regarding the dependency to `libcrypto`, I have emulated what I saw in other ports but feel free to change that to `lib:libcrypto:openssl` which is probably more idiomatic and most likely the preferred form. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by mf2k@…): I think the best description is [https://guide.macports.org/#project .update-policies.nonmaintainer here]. For maintainers who are not Macports team members, which is common, it is best to allow {{{openmaintainer}}} so we can easily make minor fixes as needed. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): Got it. Sure, go ahead, please add `openmaintainer` as well. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: opensc | ----------------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => fixed Comment: Added in r153185 with minor formatting changes and openmaintainer. For the next step, I would recommend submitting a new port for opensc- tokend rather than adding a variant. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#52372: opensc @0.16.0: new port ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: opensc | ----------------------------------+-------------------------------- Comment (by leonardo.schenkel@…): I have submitted the new variant on #52431. I had to add a variant instead of introducing a new port for the reasons described on that ticket's description. -- Ticket URL: <https://trac.macports.org/ticket/52372#comment:10> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts