From 99b44d4f4df6469fbe4dc2defdb38f5374de7230 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 16 Mar 2011 10:10:49 +0000 Subject: [PATCH] import ports/security/oath-toolkit; ok jasper@ The OATH Toolkit makes it easy to build one-time password authentication systems. This package contains a shared library and a command line tool for generating and validating OTPs. Supported technologies include the event-based HOTP algorithm (RFC 4226) and the time-based TOTP algorithm (draft-mraihi-totp-timebased-07). OATH stands for Open AuTHentication, which is the organization that specify the algorithms. --- security/oath-toolkit/Makefile | 31 ++++++++++++++++++++++++++ security/oath-toolkit/distinfo | 5 +++++ security/oath-toolkit/pkg/DESCR | 8 +++++++ security/oath-toolkit/pkg/PFRAG.shared | 2 ++ security/oath-toolkit/pkg/PLIST | 27 ++++++++++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 security/oath-toolkit/Makefile create mode 100644 security/oath-toolkit/distinfo create mode 100644 security/oath-toolkit/pkg/DESCR create mode 100644 security/oath-toolkit/pkg/PFRAG.shared create mode 100644 security/oath-toolkit/pkg/PLIST diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile new file mode 100644 index 00000000000..ac303fd0cec --- /dev/null +++ b/security/oath-toolkit/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/03/16 10:10:49 sthen Exp $ + +COMMENT = toolkit for OATH/HOTP and TOTP +DISTNAME = oath-toolkit-1.6.2 + +SHARED_LIBS += oath 0.0 # 1.1 + +CATEGORIES = security devel + +HOMEPAGE = http://www.nongnu.org/oath-toolkit/ + +MAINTAINER = Stuart Henderson + +# liboath: LGPLv2.1+ +# tools: GPLv3+ +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB += c + +MASTER_SITES = ${MASTER_SITE_SAVANNAH:=oath-toolkit/} + +SEPARATE_BUILD = simple +USE_GMAKE = Yes +USE_LIBTOOL = Yes +CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += ${CONFIGURE_SHARED} --disable-silent-rules + +.include diff --git a/security/oath-toolkit/distinfo b/security/oath-toolkit/distinfo new file mode 100644 index 00000000000..a00c4f262a9 --- /dev/null +++ b/security/oath-toolkit/distinfo @@ -0,0 +1,5 @@ +MD5 (oath-toolkit-1.6.2.tar.gz) = eIfcLulDy8DuARu5KzFiUg== +RMD160 (oath-toolkit-1.6.2.tar.gz) = 0YaDe8ortp9Vzz2zBq3p0XHPkSg= +SHA1 (oath-toolkit-1.6.2.tar.gz) = flnC2WckWapjdbVpHxUSEraBuEw= +SHA256 (oath-toolkit-1.6.2.tar.gz) = MjrhXu5yeh4fJM2ZsvgnyUACr+w4mV6QaG5tzuSaUHo= +SIZE (oath-toolkit-1.6.2.tar.gz) = 1740956 diff --git a/security/oath-toolkit/pkg/DESCR b/security/oath-toolkit/pkg/DESCR new file mode 100644 index 00000000000..2da6304058f --- /dev/null +++ b/security/oath-toolkit/pkg/DESCR @@ -0,0 +1,8 @@ +The OATH Toolkit makes it easy to build one-time password authentication +systems. This package contains a shared library and a command line tool +for generating and validating OTPs. + +Supported technologies include the event-based HOTP algorithm (RFC 4226) +and the time-based TOTP algorithm (draft-mraihi-totp-timebased-07). +OATH stands for Open AuTHentication, which is the organization that +specify the algorithms. diff --git a/security/oath-toolkit/pkg/PFRAG.shared b/security/oath-toolkit/pkg/PFRAG.shared new file mode 100644 index 00000000000..cacecf03c9f --- /dev/null +++ b/security/oath-toolkit/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/03/16 10:10:49 sthen Exp $ +@lib lib/liboath.so.${LIBoath_VERSION} diff --git a/security/oath-toolkit/pkg/PLIST b/security/oath-toolkit/pkg/PLIST new file mode 100644 index 00000000000..e6f2b1fd09e --- /dev/null +++ b/security/oath-toolkit/pkg/PLIST @@ -0,0 +1,27 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/16 10:10:49 sthen Exp $ +%%SHARED%% +@bin bin/oathtool +include/liboath/ +include/liboath/oath.h +lib/liboath.a +lib/liboath.la +lib/pkgconfig/ +lib/pkgconfig/liboath.pc +@man man/man1/oathtool.1 +share/gtk-doc/ +share/gtk-doc/html/ +share/gtk-doc/html/liboath/ +share/gtk-doc/html/liboath/api-index-1-4-0.html +share/gtk-doc/html/liboath/api-index-1-6-0.html +share/gtk-doc/html/liboath/api-index-full.html +share/gtk-doc/html/liboath/ch01.html +share/gtk-doc/html/liboath/home.png +share/gtk-doc/html/liboath/index.html +share/gtk-doc/html/liboath/index.sgml +share/gtk-doc/html/liboath/left.png +share/gtk-doc/html/liboath/liboath-oath.html +share/gtk-doc/html/liboath/liboath.devhelp +share/gtk-doc/html/liboath/liboath.devhelp2 +share/gtk-doc/html/liboath/right.png +share/gtk-doc/html/liboath/style.css +share/gtk-doc/html/liboath/up.png