summaryrefslogtreecommitdiffstats
path: root/security/ruby-hmac
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-20 06:24:20 +0000
committerknu <knu@FreeBSD.org>2002-02-20 06:24:20 +0000
commit52894a92d5e5109d8dc9ff38a88c719d3ca21526 (patch)
tree3249838bf017e460f4eaebc2deb9d8c9f959d618 /security/ruby-hmac
parent1f72683714ca4b7714acbe8fac1dd212cd3fd8dc (diff)
downloadFreeBSD-ports-52894a92d5e5109d8dc9ff38a88c719d3ca21526.zip
FreeBSD-ports-52894a92d5e5109d8dc9ff38a88c719d3ca21526.tar.gz
Add ruby-hmac, a Ruby library which implements the HMAC algorithm.
Diffstat (limited to 'security/ruby-hmac')
-rw-r--r--security/ruby-hmac/Makefile29
-rw-r--r--security/ruby-hmac/distinfo1
-rw-r--r--security/ruby-hmac/pkg-comment1
-rw-r--r--security/ruby-hmac/pkg-descr10
-rw-r--r--security/ruby-hmac/pkg-plist6
5 files changed, 47 insertions, 0 deletions
diff --git a/security/ruby-hmac/Makefile b/security/ruby-hmac/Makefile
new file mode 100644
index 0000000..6595db8
--- /dev/null
+++ b/security/ruby-hmac/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: ruby-hmac
+# Date created: 20 February 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hmac
+PORTVERSION= 0.3
+CATEGORIES= security ruby
+MASTER_SITES= http://deisui.org/~ueno/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/hmac*.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/ruby-hmac/distinfo b/security/ruby-hmac/distinfo
new file mode 100644
index 0000000..7ffda8f
--- /dev/null
+++ b/security/ruby-hmac/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-hmac-0.3.tar.gz) = 4f0ca6c3e03d3920ad7e032dd8f79185
diff --git a/security/ruby-hmac/pkg-comment b/security/ruby-hmac/pkg-comment
new file mode 100644
index 0000000..65620b6
--- /dev/null
+++ b/security/ruby-hmac/pkg-comment
@@ -0,0 +1 @@
+A Ruby library which implements the HMAC algorithm
diff --git a/security/ruby-hmac/pkg-descr b/security/ruby-hmac/pkg-descr
new file mode 100644
index 0000000..122a341
--- /dev/null
+++ b/security/ruby-hmac/pkg-descr
@@ -0,0 +1,10 @@
+ruby-hmac: HMAC for Ruby
+
+This module provides a common interface to HMAC functionality. HMAC
+is a kind of "Message Authentication Code" (MAC) algorithm which
+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.
+
+Author: Daiki Ueno <ueno@unixuser.org>
+WWW: http://deisui.org/~ueno/ruby/hmac.html
diff --git a/security/ruby-hmac/pkg-plist b/security/ruby-hmac/pkg-plist
new file mode 100644
index 0000000..40cc944
--- /dev/null
+++ b/security/ruby-hmac/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITELIBDIR%%/hmac-md5.rb
+%%RUBY_SITELIBDIR%%/hmac-rmd160.rb
+%%RUBY_SITELIBDIR%%/hmac-sha1.rb
+%%RUBY_SITELIBDIR%%/hmac-sha2.rb
+%%RUBY_SITELIBDIR%%/hmac.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/hmac/test.rb
OpenPOWER on IntegriCloud