Page MenuHomeFreeBSD

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

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

Details

Reviewers
tcberner
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
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 21305
Build 20638: arc lint + arc unit

Event Timeline

tcberner added inline comments.Sun, Dec 2, 8:22 PM
security/yubikey-manager-qt/Makefile
26

^ 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
@${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

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.