From f4fe205fb8b5b0f3d92b8de89157996f6e235961 Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Sat, 26 Jan 2013 01:01:32 +0000 Subject: [PATCH] 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 --- security/Makefile | 1 + security/libyubikey/Makefile | 32 ++++++++++++++++++++++++++++++++ security/libyubikey/distinfo | 2 ++ security/libyubikey/pkg-descr | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 security/libyubikey/Makefile create mode 100644 security/libyubikey/distinfo create mode 100644 security/libyubikey/pkg-descr diff --git a/security/Makefile b/security/Makefile index 7bc91f09c402..e9dd4334db38 100644 --- a/security/Makefile +++ b/security/Makefile @@ -280,6 +280,7 @@ SUBDIR += libtasn1 SUBDIR += libtomcrypt SUBDIR += libwhisker + SUBDIR += libyubikey SUBDIR += linux-f10-cyrus-sasl2 SUBDIR += linux-f10-gnutls SUBDIR += linux-f10-libgcrypt 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 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/