summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-05-09 14:04:36 +0000
committertaca <taca@pkgsrc.org>2021-05-09 14:04:36 +0000
commit6536d7bef930fa14dab6d74876529bd05234601c (patch)
treebd952bb9d4c9764b2230f71eaa72c0cc88321268 /security
parent7a022e59bec017f3363d2f66b241be7dd3b07d76 (diff)
downloadpkgsrc-6536d7bef930fa14dab6d74876529bd05234601c.tar.gz
security/ruby-rotp: add version 6.2.0 package
Add ruby-rotp package version 6.2.0 required by Redmine 4.2. The Ruby One Time Password Library A ruby library for generating and validating one time passwords (HOTP & TOTP) according to RFC 4226 and RFC 6238. ROTP is compatible with Google Authenticator available for Android and iPhone and any other TOTP based implementations. Many websites use this for multi-factor authentication, such as GMail, Facebook, Amazon EC2, WordPress, and Salesforce. You can find a more complete list here: https://en.wikipedia.org/wiki/Google_Authenticator#Usage.
Diffstat (limited to 'security')
-rw-r--r--security/ruby-rotp/ALTERNATIVES1
-rw-r--r--security/ruby-rotp/DESCR12
-rw-r--r--security/ruby-rotp/Makefile16
-rw-r--r--security/ruby-rotp/PLIST54
-rw-r--r--security/ruby-rotp/distinfo6
5 files changed, 89 insertions, 0 deletions
diff --git a/security/ruby-rotp/ALTERNATIVES b/security/ruby-rotp/ALTERNATIVES
new file mode 100644
index 00000000000..aa79add77ba
--- /dev/null
+++ b/security/ruby-rotp/ALTERNATIVES
@@ -0,0 +1 @@
+bin/rotp @PREFIX@/bin/rotp@RUBY_SUFFIX@
diff --git a/security/ruby-rotp/DESCR b/security/ruby-rotp/DESCR
new file mode 100644
index 00000000000..7db7d544b63
--- /dev/null
+++ b/security/ruby-rotp/DESCR
@@ -0,0 +1,12 @@
+The Ruby One Time Password Library
+
+A ruby library for generating and validating one time passwords (HOTP &
+TOTP) according to RFC 4226 and RFC 6238.
+
+ROTP is compatible with Google Authenticator available for Android and
+iPhone and any other TOTP based implementations.
+
+Many websites use this for multi-factor authentication, such as GMail,
+Facebook, Amazon EC2, WordPress, and Salesforce. You can find a more
+complete list here:
+https://en.wikipedia.org/wiki/Google_Authenticator#Usage.
diff --git a/security/ruby-rotp/Makefile b/security/ruby-rotp/Makefile
new file mode 100644
index 00000000000..b874158b6ed
--- /dev/null
+++ b/security/ruby-rotp/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/05/09 14:04:36 taca Exp $
+
+DISTNAME= rotp-6.2.0
+CATEGORIES= security
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/mdp/rotp
+COMMENT= Library for generating and verifying one time passwords
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+RUBYGEM_OPTIONS+= --format-executable
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-rotp/PLIST b/security/ruby-rotp/PLIST
new file mode 100644
index 00000000000..51500911de8
--- /dev/null
+++ b/security/ruby-rotp/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/09 14:04:36 taca Exp $
+bin/rotp${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.dockerignore
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/Dockerfile-2.3
+${GEM_LIBDIR}/Dockerfile-2.5
+${GEM_LIBDIR}/Dockerfile-2.6
+${GEM_LIBDIR}/Dockerfile-2.7
+${GEM_LIBDIR}/Dockerfile-3.0-rc
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/Guardfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/bin/rotp
+${GEM_LIBDIR}/doc/ROTP/HOTP.html
+${GEM_LIBDIR}/doc/ROTP/OTP.html
+${GEM_LIBDIR}/doc/ROTP/TOTP.html
+${GEM_LIBDIR}/doc/Rotp.html
+${GEM_LIBDIR}/doc/_index.html
+${GEM_LIBDIR}/doc/class_list.html
+${GEM_LIBDIR}/doc/css/common.css
+${GEM_LIBDIR}/doc/css/full_list.css
+${GEM_LIBDIR}/doc/css/style.css
+${GEM_LIBDIR}/doc/file.README.html
+${GEM_LIBDIR}/doc/file_list.html
+${GEM_LIBDIR}/doc/frames.html
+${GEM_LIBDIR}/doc/index.html
+${GEM_LIBDIR}/doc/js/app.js
+${GEM_LIBDIR}/doc/js/full_list.js
+${GEM_LIBDIR}/doc/js/jquery.js
+${GEM_LIBDIR}/doc/method_list.html
+${GEM_LIBDIR}/doc/top-level-namespace.html
+${GEM_LIBDIR}/docker-compose.yml
+${GEM_LIBDIR}/lib/rotp.rb
+${GEM_LIBDIR}/lib/rotp/arguments.rb
+${GEM_LIBDIR}/lib/rotp/base32.rb
+${GEM_LIBDIR}/lib/rotp/cli.rb
+${GEM_LIBDIR}/lib/rotp/hotp.rb
+${GEM_LIBDIR}/lib/rotp/otp.rb
+${GEM_LIBDIR}/lib/rotp/otp/uri.rb
+${GEM_LIBDIR}/lib/rotp/totp.rb
+${GEM_LIBDIR}/lib/rotp/version.rb
+${GEM_LIBDIR}/rotp.gemspec
+${GEM_LIBDIR}/spec/lib/rotp/arguments_spec.rb
+${GEM_LIBDIR}/spec/lib/rotp/base32_spec.rb
+${GEM_LIBDIR}/spec/lib/rotp/cli_spec.rb
+${GEM_LIBDIR}/spec/lib/rotp/hotp_spec.rb
+${GEM_LIBDIR}/spec/lib/rotp/otp/uri_spec.rb
+${GEM_LIBDIR}/spec/lib/rotp/totp_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/security/ruby-rotp/distinfo b/security/ruby-rotp/distinfo
new file mode 100644
index 00000000000..e133122ce1b
--- /dev/null
+++ b/security/ruby-rotp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/09 14:04:36 taca Exp $
+
+SHA1 (rotp-6.2.0.gem) = d0aafe26ca200636132dea9b70b0d22b9ddcf7b4
+RMD160 (rotp-6.2.0.gem) = 944743b77f40a539800952d99193148eb3de779f
+SHA512 (rotp-6.2.0.gem) = db874073a636a09e855b3e69663405920fc20ec9bf8e3bf3eea6a9db2bc69200763a61699760addb8c6f8fdd70aa5d2dcc2fbce347ab1e953865765811c80822
+Size (rotp-6.2.0.gem) = 63488 bytes