Add ruby-hmac, a Ruby library which implements the HMAC algorithm.
This commit is contained in:
parent
a64cf587b2
commit
d6689b08c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54950
@ -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
|
||||
|
29
security/ruby-hmac/Makefile
Normal file
29
security/ruby-hmac/Makefile
Normal 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>
|
1
security/ruby-hmac/distinfo
Normal file
1
security/ruby-hmac/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-hmac-0.3.tar.gz) = 4f0ca6c3e03d3920ad7e032dd8f79185
|
1
security/ruby-hmac/pkg-comment
Normal file
1
security/ruby-hmac/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby library which implements the HMAC algorithm
|
10
security/ruby-hmac/pkg-descr
Normal file
10
security/ruby-hmac/pkg-descr
Normal 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
|
6
security/ruby-hmac/pkg-plist
Normal file
6
security/ruby-hmac/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user