From c80b35ad723cb82f79015a41269cae0bdba7715f Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 9 Jan 2001 11:47:16 +0000 Subject: Add ruby-ssl, an SSL socket module for Ruby. --- security/ruby-ssl/Makefile | 31 +++++++++++++++++++++++++++++++ security/ruby-ssl/distinfo | 1 + security/ruby-ssl/files/patch-extconf.rb | 11 +++++++++++ security/ruby-ssl/pkg-comment | 1 + security/ruby-ssl/pkg-descr | 3 +++ security/ruby-ssl/pkg-plist | 9 +++++++++ 6 files changed, 56 insertions(+) create mode 100644 security/ruby-ssl/Makefile create mode 100644 security/ruby-ssl/distinfo create mode 100644 security/ruby-ssl/files/patch-extconf.rb create mode 100644 security/ruby-ssl/pkg-comment create mode 100644 security/ruby-ssl/pkg-descr create mode 100644 security/ruby-ssl/pkg-plist (limited to 'security/ruby-ssl') diff --git a/security/ruby-ssl/Makefile b/security/ruby-ssl/Makefile new file mode 100644 index 000000000000..0f8f8eafbdd5 --- /dev/null +++ b/security/ruby-ssl/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: Ruby-ssl +# Date created: 9 Jan 2001 +# Whom: Akinori MUSHA aka knu +# +# $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 diff --git a/security/ruby-ssl/distinfo b/security/ruby-ssl/distinfo new file mode 100644 index 000000000000..b1e2ab96f403 --- /dev/null +++ b/security/ruby-ssl/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ssl-0.0.1.tar.gz) = e1246b8365ab1993024f0be252a1ace0 diff --git a/security/ruby-ssl/files/patch-extconf.rb b/security/ruby-ssl/files/patch-extconf.rb new file mode 100644 index 000000000000..793e3cceb69f --- /dev/null +++ b/security/ruby-ssl/files/patch-extconf.rb @@ -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") diff --git a/security/ruby-ssl/pkg-comment b/security/ruby-ssl/pkg-comment new file mode 100644 index 000000000000..432efd60c856 --- /dev/null +++ b/security/ruby-ssl/pkg-comment @@ -0,0 +1 @@ +SSL socket module for Ruby diff --git a/security/ruby-ssl/pkg-descr b/security/ruby-ssl/pkg-descr new file mode 100644 index 000000000000..9d5315c3e3d5 --- /dev/null +++ b/security/ruby-ssl/pkg-descr @@ -0,0 +1,3 @@ +This is a Ruby module for handling SSL sockets, ported from Python. + +Author: GOTOU YUUZOU diff --git a/security/ruby-ssl/pkg-plist b/security/ruby-ssl/pkg-plist new file mode 100644 index 000000000000..3eca95f53022 --- /dev/null +++ b/security/ruby-ssl/pkg-plist @@ -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 -- cgit v1.2.3