c9f2767b04
ok/feedback jasper@ The YubiKey Personalization Tool is a Qt based cross-platform utility designed to facilitate re-configuration of YubiKeys on Windows, Linux and MAC platforms. The tool provides a sane simple step-by-step approach to make configuration of YubiKeys easy to follow and understand, while still being powerful enough to exploit all functionality of both the YubiKey 1 and YubiKey 2 generations of keys. The tool provides the same functionality and user interface on Windows, Linux and MAC platforms. The Cross-Platform YubiKey Personalization Tool provides the following main functions: * Programming the YubiKey in "Yubico OTP" mode * Programming the YubiKey in "OATH-HOTP" mode * Programming the YubiKey in "Static Password" mode * Programming the YubiKey in "Challenge-Response" mode * Checking type and firmware version of the YubiKey
40 lines
973 B
Plaintext
40 lines
973 B
Plaintext
$OpenBSD: patch-YKPersonalization_pro,v 1.1.1.1 2012/11/28 11:39:35 sthen Exp $
|
|
--- YKPersonalization.pro.orig Wed Nov 7 08:29:39 2012
|
|
+++ YKPersonalization.pro Fri Nov 16 13:05:39 2012
|
|
@@ -94,7 +94,7 @@ OTHER_FILES += \
|
|
resources/mac/Info.plist.in \
|
|
resources/mac/qt.conf
|
|
|
|
-!debian:!fedora {
|
|
+!openbsd-g++4:!debian:!fedora {
|
|
HEADERS += \
|
|
deps/libykpers/ykpers.h \
|
|
deps/libykpers/ykpbkdf2.h \
|
|
@@ -201,7 +201,7 @@ win32 {
|
|
#
|
|
# Non-windows specific configuration
|
|
#
|
|
-!win32:!debian:!fedora {
|
|
+!win32:!openbsd-g++4:!debian:!fedora {
|
|
SOURCES += \
|
|
deps/libykpers/ykpers.c \
|
|
deps/libykpers/ykpbkdf2.c \
|
|
@@ -236,6 +236,17 @@ unix:!macx {
|
|
|
|
} else:fedora {
|
|
message("Fedora build")
|
|
+
|
|
+ LIBS += -lyubikey
|
|
+
|
|
+ CONFIG += link_pkgconfig
|
|
+ PKGCONFIG += ykpers-1
|
|
+
|
|
+ QMAKE_CXXFLAGS += $$(CXXFLAGS)
|
|
+ QMAKE_LFLAGS += $$(LDFLAGS)
|
|
+
|
|
+ } else:openbsd-g++4 {
|
|
+ message("OpenBSD build")
|
|
|
|
LIBS += -lyubikey
|
|
|