aboutsummaryrefslogtreecommitdiffstats
path: root/security/libyubikey
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-01-26 09:01:32 +0800
committerjgh <jgh@FreeBSD.org>2013-01-26 09:01:32 +0800
commitd848a03f8e09eaa732948d5803eacc4b10ca0afa (patch)
tree19afc98e0947cc8d0858f6f3aa6f2a5961a0ec79 /security/libyubikey
parentfad4fcd77e6cbe07eadf0895c8bf8424b4b4698f (diff)
downloadfreebsd-ports-gnome-d848a03f8e09eaa732948d5803eacc4b10ca0afa.tar.gz
freebsd-ports-gnome-d848a03f8e09eaa732948d5803eacc4b10ca0afa.tar.zst
freebsd-ports-gnome-d848a03f8e09eaa732948d5803eacc4b10ca0afa.zip
add new port: security/libyubikey
Library for decrypting and parsing YubiKey One-Time Passwords (OTP), written in C. WWW: https://code.google.com/p/yubico-c/ PR: 175495 Submitted by: matt@mjslabs.com
Diffstat (limited to 'security/libyubikey')
-rw-r--r--security/libyubikey/Makefile32
-rw-r--r--security/libyubikey/distinfo2
-rw-r--r--security/libyubikey/pkg-descr4
3 files changed, 38 insertions, 0 deletions
diff --git a/security/libyubikey/Makefile b/security/libyubikey/Makefile
new file mode 100644
index 000000000000..3a1c306dc048
--- /dev/null
+++ b/security/libyubikey/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= libyubikey
+PORTVERSION= 1.9
+CATEGORIES= security devel
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= matt@mjslabs.com
+COMMENT= Library for decrypting and parsing YubiKey One-Time Passwords
+
+LICENSE= BSD
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+PLIST_FILES= bin/modhex \
+ bin/ykgenerate \
+ bin/ykparse \
+ include/yubikey.h \
+ lib/libyubikey.a \
+ lib/libyubikey.la \
+ lib/libyubikey.so \
+ lib/libyubikey.so.1
+
+PROJECTHOST= yubico-c
+
+MAKE_JOBS_UNSAFE=yes
+
+regression-test: build
+ @(cd ${WRKSRC}; ${MAKE} check)
+
+.include <bsd.port.mk>
diff --git a/security/libyubikey/distinfo b/security/libyubikey/distinfo
new file mode 100644
index 000000000000..5087c6d9c3e2
--- /dev/null
+++ b/security/libyubikey/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libyubikey-1.9.tar.gz) = fb720bd683dd37968904e1ff3d4486307d3d5933f6c6cdc96f81ab27a19c46a6
+SIZE (libyubikey-1.9.tar.gz) = 321889
diff --git a/security/libyubikey/pkg-descr b/security/libyubikey/pkg-descr
new file mode 100644
index 000000000000..b27f3119f314
--- /dev/null
+++ b/security/libyubikey/pkg-descr
@@ -0,0 +1,4 @@
+Library for decrypting and parsing YubiKey One-Time Passwords (OTP), written in
+C.
+
+WWW: https://code.google.com/p/yubico-c/