diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-20 06:24:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-02-20 06:24:20 +0000 |
commit | d6689b08c698f0212081eacdb9b014a5d2e776e6 (patch) | |
tree | 3c183d15902ddb6923c398c40f8b882c56e44cae /security/ruby-hmac | |
parent | a64cf587b247a497f85d87361b95e0f0b8675e11 (diff) | |
download | ports-d6689b08c698f0212081eacdb9b014a5d2e776e6.tar.gz ports-d6689b08c698f0212081eacdb9b014a5d2e776e6.zip |
Notes
Diffstat (limited to 'security/ruby-hmac')
-rw-r--r-- | security/ruby-hmac/Makefile | 29 | ||||
-rw-r--r-- | security/ruby-hmac/distinfo | 1 | ||||
-rw-r--r-- | security/ruby-hmac/pkg-comment | 1 | ||||
-rw-r--r-- | security/ruby-hmac/pkg-descr | 10 | ||||
-rw-r--r-- | security/ruby-hmac/pkg-plist | 6 |
5 files changed, 47 insertions, 0 deletions
diff --git a/security/ruby-hmac/Makefile b/security/ruby-hmac/Makefile new file mode 100644 index 000000000000..6595db848aff --- /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 000000000000..7ffda8fe8781 --- /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 000000000000..65620b68bc03 --- /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 000000000000..122a341a4140 --- /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 000000000000..40cc94411459 --- /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 |