Add ruby-hmac, a Ruby library which implements the HMAC algorithm.

This commit is contained in:
Akinori MUSHA 2002-02-20 06:24:20 +00:00
parent a64cf587b2
commit d6689b08c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54950
6 changed files with 48 additions and 0 deletions

View File

@ -198,6 +198,7 @@
SUBDIR += ruby-acl
SUBDIR += ruby-aes
SUBDIR += ruby-blowfish
SUBDIR += ruby-hmac
SUBDIR += ruby-mcrypt
SUBDIR += ruby-openssl
SUBDIR += ruby-pam

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ruby/ruby-hmac-0.3.tar.gz) = 4f0ca6c3e03d3920ad7e032dd8f79185

View File

@ -0,0 +1 @@
A Ruby library which implements the HMAC algorithm

View File

@ -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

View File

@ -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