1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add ruby-openssl, a Ruby module which wraps OpenSSL.

This commit is contained in:
Akinori MUSHA 2001-10-20 11:50:24 +00:00
parent 448a67ccc2
commit 6092cf2d58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48978
6 changed files with 71 additions and 0 deletions

View File

@ -178,6 +178,7 @@
SUBDIR += ruby-acl
SUBDIR += ruby-blowfish
SUBDIR += ruby-mcrypt
SUBDIR += ruby-openssl
SUBDIR += ruby-pam
SUBDIR += ruby-ssl
SUBDIR += ruby-tcpwrap

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: Ruby/OpenSSL
# Date created: 20 October 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= openssl
PORTVERSION= 0.0.3
CATEGORIES= security ruby
MASTER_SITES= http://klokan.sh.cvut.cz/~rokosm/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ossl-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_OPENSSL= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-openssl-include="${OPENSSLBASE}/include/openssl" \
--with-openssl-lib="${OPENSSLBASE}/lib"
INSTALL_TARGET= site-install
post-extract:
find ${WRKSRC} -type d -name CVS | xargs ${RM} -rf
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/${PORTNAME}/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/ossl-0.0.3.tgz) = 29e83a5f4887234b780ad3d95e35f16b

View File

@ -0,0 +1 @@
A Ruby module which wraps OpenSSL

View File

@ -0,0 +1,5 @@
This is a Ruby module which wraps OpenSSL and provides access to the
RSA/X509/Digest functions.
Author: Michal Rokos <m.rokos@sh.cvut.cz>
WWW: http://klokan.sh.cvut.cz/~rokosm/

View File

@ -0,0 +1,25 @@
%%RUBY_SITEARCHLIBDIR%%/OpenSSL.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/01cert.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/01crl.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/01key.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/01pub.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/01req.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/02cert.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/02key.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/02req.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/cacert.pem
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/config.cnf
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/key_hash.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_config.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_digest.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_rsa.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_x509.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_x509crl.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_x509req.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/ossl_x509store.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/c/hash.c
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/openssl/c/key.c
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/openssl/c
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/openssl
%%PORTDOCS%%%%RUBY_DOCDIR%%/openssl/README.txt
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/openssl