summaryrefslogtreecommitdiff
path: root/security/ruby-hmac
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-23 07:24:28 +0000
committertaca <taca@pkgsrc.org>2010-09-23 07:24:28 +0000
commit12103504fd8324205589690c36d5a395de8a498b (patch)
tree1b67d39663f25c2ef278f4075f38f3b927a747a1 /security/ruby-hmac
parentbbb9aba6e09aef2d57ef87f26f29e6161ee51ba4 (diff)
downloadpkgsrc-12103504fd8324205589690c36d5a395de8a498b.tar.gz
Importing security/ruby-hmac 0.4.0.
This module provides common interface to HMAC functionality. HMAC is a kind of "Message Authentication Code" (MAC) algorithm whose standard is documented in RFC2104. Namely, a MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret key. Originally written by Daiki Ueno. Converted to a RubyGem by Geoffrey Grosenbach
Diffstat (limited to 'security/ruby-hmac')
-rw-r--r--security/ruby-hmac/DESCR7
-rw-r--r--security/ruby-hmac/Makefile13
-rw-r--r--security/ruby-hmac/PLIST14
-rw-r--r--security/ruby-hmac/distinfo5
4 files changed, 39 insertions, 0 deletions
diff --git a/security/ruby-hmac/DESCR b/security/ruby-hmac/DESCR
new file mode 100644
index 00000000000..8ec8099e6b9
--- /dev/null
+++ b/security/ruby-hmac/DESCR
@@ -0,0 +1,7 @@
+This module provides common interface to HMAC functionality. HMAC is a
+kind of "Message Authentication Code" (MAC) algorithm whose standard
+is documented in RFC2104. Namely, a MAC provides a way to check the
+integrity of information transmitted over or stored in an unreliable
+medium, based on a secret key.
+
+Originally written by Daiki Ueno. Converted to a RubyGem by Geoffrey Grosenbach
diff --git a/security/ruby-hmac/Makefile b/security/ruby-hmac/Makefile
new file mode 100644
index 00000000000..4d026a9f167
--- /dev/null
+++ b/security/ruby-hmac/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/23 07:24:28 taca Exp $
+
+DISTNAME= ruby-hmac-0.4.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
+CATEGORIES= security
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://ruby-hmac.rubyforge.org/
+COMMENT= Common interface to HMAC functionality
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-hmac/PLIST b/security/ruby-hmac/PLIST
new file mode 100644
index 00000000000..998a710800f
--- /dev/null
+++ b/security/ruby-hmac/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/23 07:24:28 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/hmac-md5.rb
+${GEM_LIBDIR}/lib/hmac-rmd160.rb
+${GEM_LIBDIR}/lib/hmac-sha1.rb
+${GEM_LIBDIR}/lib/hmac-sha2.rb
+${GEM_LIBDIR}/lib/hmac.rb
+${GEM_LIBDIR}/lib/ruby_hmac.rb
+${GEM_LIBDIR}/test/test_hmac.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/security/ruby-hmac/distinfo b/security/ruby-hmac/distinfo
new file mode 100644
index 00000000000..f92cd4ee63b
--- /dev/null
+++ b/security/ruby-hmac/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/23 07:24:28 taca Exp $
+
+SHA1 (ruby-hmac-0.4.0.gem) = b71f5b95f8c22152b5b89246bc27a4713c36f13f
+RMD160 (ruby-hmac-0.4.0.gem) = 561f97e000491743ceadbc391c163acaab51b5dc
+Size (ruby-hmac-0.4.0.gem) = 7168 bytes