From 20848418da10e6431ed4ad642c30279fc96812d0 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 1 Jul 2001 13:43:01 +0000 Subject: Importing ruby-sha1 package. This is a Ruby module for handling SSL sockets, ported from Python. --- security/ruby-ssl/Makefile | 26 ++++++++++++++++++++++++++ security/ruby-ssl/distinfo | 5 +++++ security/ruby-ssl/patches/patch-aa | 13 +++++++++++++ security/ruby-ssl/pkg/DESCR | 3 +++ security/ruby-ssl/pkg/PLIST | 14 ++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 security/ruby-ssl/Makefile create mode 100644 security/ruby-ssl/distinfo create mode 100644 security/ruby-ssl/patches/patch-aa create mode 100644 security/ruby-ssl/pkg/DESCR create mode 100644 security/ruby-ssl/pkg/PLIST (limited to 'security') diff --git a/security/ruby-ssl/Makefile b/security/ruby-ssl/Makefile new file mode 100644 index 00000000000..17e1b16a407 --- /dev/null +++ b/security/ruby-ssl/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 13:43:01 taca Exp $ +# FreeBSD: ports/security/ruby-ssl/Makefile,v 1.2 2001/01/11 20:39:53 knu Exp + +DISTNAME= ssl-0.2.2 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +CATEGORIES= security +MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/src/ + +MAINTAINER= taca@netbsd.org +HOMEPAGE= # not available +COMMENT= SSL socket module for Ruby + +DIST_SUBDIR= ruby +USE_SSL= yes +USE_RUBY_EXTCONF= yes + +CONFIGURE_ARGS= --with-ssl-include="${SSLBASE}/include/openssl" \ + --with-ssl-lib="${SSLBASE}/lib" +INSTALL_TARGET= site-install + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ssl + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/ssl + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/security/ruby-ssl/distinfo b/security/ruby-ssl/distinfo new file mode 100644 index 00000000000..c90ce7fccd2 --- /dev/null +++ b/security/ruby-ssl/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/01 13:43:01 taca Exp $ + +SHA1 (ruby/ssl-0.2.2.tar.gz) = 41aac9c1d79b5c8f8cee5f7ef4cac200691b16c3 +Size (ruby/ssl-0.2.2.tar.gz) = 10662 bytes +SHA1 (patch-aa) = 8fee1e7c36675bfc7ecf7523228c52a6402762e9 diff --git a/security/ruby-ssl/patches/patch-aa b/security/ruby-ssl/patches/patch-aa new file mode 100644 index 00000000000..8e7249b9ce3 --- /dev/null +++ b/security/ruby-ssl/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/01 13:43:01 taca Exp $ + +--- extconf.rb.orig Sun Mar 11 18:27:17 2001 ++++ extconf.rb +@@ -3,7 +3,7 @@ + SSLLIB="ssl" + + dir_config("openssl") +-$CFLAGS += "-I/usr/include/openssl " ++$CFLAGS += " -I/usr/include/openssl " + + have_library("crypto", nil) + diff --git a/security/ruby-ssl/pkg/DESCR b/security/ruby-ssl/pkg/DESCR new file mode 100644 index 00000000000..9d5315c3e3d --- /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 00000000000..4ad6d3605dd --- /dev/null +++ b/security/ruby-ssl/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 13:43:01 taca Exp $ +${RUBY_SITEARCHLIBDIR}/ssl.so +${RUBY_SITELIBDIR}/buffering.rb +${RUBY_SITELIBDIR}/net/https.rb +${RUBY_SITELIBDIR}/net/telnets.rb +@dirrm ${RUBY_SITELIBDIR}/net +${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 +${RUBY_EXAMPLESDIR}/ssl/wget2.rb +@dirrm ${RUBY_EXAMPLESDIR}/ssl -- cgit v1.2.3