sthen e28edd4837 import security/yubico/yubikey-manager, ok kn@
The YubiKey Manager can configure FIDO2, OTP and PIV functionality on
a YubiKey. It works with any currently supported YubiKey. You can also
use the tool to check the type and firmware of a YubiKey. In addition,
you can use the extended settings to specify other features, such as to
configure 3-second long touch.
2019-11-21 23:38:08 +00:00

35 lines
859 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/11/21 23:38:08 sthen Exp $
COMMENT = library and CLI tool (ykman) for configuring a YubiKey
MODPY_EGG_VERSION = 3.1.0
DISTNAME = yubikey-manager-${MODPY_EGG_VERSION}
YK_PROJECT = yubikey-manager
CATEGORIES = sysutils
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_SETUPTOOLS = Yes
WANTLIB += ykpers-1 # dlopen()'d
BUILD_DEPENDS = devel/swig
LIB_DEPENDS = security/yubico/yubikey-personalization
RUN_DEPENDS = devel/py-click${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR} \
devel/pyusb${MODPY_FLAVOR} \
security/pcsc-lite \
security/py-cryptography${MODPY_FLAVOR} \
security/py-fido2 \
security/py-openssl${MODPY_FLAVOR} \
security/py-pyscard
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/man/ykman.1 ${PREFIX}/man/man1
.include <bsd.port.mk>