Page MenuHomeFreeBSD

security/yubikey-manager-qt: new port, application for configuring any YubiKey over all USB interfaces.
ClosedPublic

Authored by daniel_shafer.cc on Dec 2 2018, 7:10 AM.

Details

Summary

This application provides an easy way to perform the most common configuration tasks on a YubiKey.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tcberner added inline comments.Dec 2 2018, 8:22 PM
security/yubikey-manager-qt/Makefile
26 ↗(On Diff #51488)

^ https://github.com/Yubico/yubikey-manager-qt/releases has yubikey-manager-qt-1.0.1
you can therefore get rid of GH_TAGNAME and add above the DISTVERSION
DISTVERSIONPREFIX=yubikey-manager-qt-

34 ↗(On Diff #51488)
@${REINPLACE_CMD} -e '/system/s|python|${PYTHON_CMD}|g' ${WRKSRC}/ykman-gui/ykman-gui.pro \
                                                        ${WRKSRC}/ykman-cli/ykman-cli.pro
security/yubikey-manager-qt/files/patch-resources_linux_AppRun
8 ↗(On Diff #51488)

You should not hard-patch /usr/local

+exec "${HERE}%%PREFIX%%/bin/ykman-gui" "$@"

and then to a ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' ...

.. so in the end, you could just drop this patch, and just do the ${REINPLACE_CMD} of /usr/bin/ykman-gui to ${PREFIX}/bin/ykman-gui.

Fixed tcberner requested fixes. Moved pkg-plist to PLIST_FILES in Makefile since its 3 files.
Removed files/ directory and patch as moved to Makefile

This revision was not accepted when it landed; it landed in state Needs Review.Dec 30 2018, 7:43 PM
This revision was automatically updated to reflect the committed changes.