1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Add ruby-ssl, an SSL socket module for Ruby.

This commit is contained in:
Akinori MUSHA 2001-01-09 11:47:16 +00:00
parent 8940d3c747
commit c80b35ad72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36993
7 changed files with 57 additions and 0 deletions

View File

@ -109,6 +109,7 @@
SUBDIR += rid
SUBDIR += rsaref
SUBDIR += ruby-acl
SUBDIR += ruby-ssl
SUBDIR += ruby-tcpwrap
SUBDIR += saint
SUBDIR += scanssh

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: Ruby-ssl
# Date created: 9 Jan 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= ssl
PORTVERSION= 0.0.1
CATEGORIES= security ruby
MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_OPENSSL= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-ssl-include="${OPENSSLBASE}/include/openssl" \
--with-ssl-lib="${OPENSSLBASE}/lib"
INSTALL_TARGET= site-install
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/ssl
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/ssl/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/ssl-0.0.1.tar.gz) = e1246b8365ab1993024f0be252a1ace0

View File

@ -0,0 +1,11 @@
--- extconf.rb.orig Tue Jan 2 06:03:16 2001
+++ extconf.rb Tue Jan 9 19:47:42 2001
@@ -2,7 +2,7 @@
SSLLIB="ssl"
-$CFLAGS += "-I/usr/include/openssl "
+dir_config("ssl")
$LDFLAGS += "-lcrypto "
if have_header("ssl.h")

View File

@ -0,0 +1 @@
SSL socket module for Ruby

View File

@ -0,0 +1,3 @@
This is a Ruby module for handling SSL sockets, ported from Python.
Author: GOTOU YUUZOU <gotoyuzo@notwork.org>

View File

@ -0,0 +1,9 @@
%%RUBY_SITEARCHLIBDIR%%/ssl.so
%%RUBY_SITELIBDIR%%/buffering.rb
%%RUBY_SITELIBDIR%%/ssl.rb
%%RUBY_EXAMPLESDIR%%/ssl/cli.rb
%%RUBY_EXAMPLESDIR%%/ssl/sample.crt
%%RUBY_EXAMPLESDIR%%/ssl/sample.key
%%RUBY_EXAMPLESDIR%%/ssl/svr.rb
%%RUBY_EXAMPLESDIR%%/ssl/wget.rb
@dirrm %%RUBY_EXAMPLESDIR%%/ssl