summaryrefslogtreecommitdiff
path: root/security/ruby-openssl
diff options
context:
space:
mode:
Diffstat (limited to 'security/ruby-openssl')
-rw-r--r--security/ruby-openssl/DESCR1
-rw-r--r--security/ruby-openssl/Makefile34
-rw-r--r--security/ruby-openssl/PLIST11
-rw-r--r--security/ruby-openssl/distinfo4
4 files changed, 50 insertions, 0 deletions
diff --git a/security/ruby-openssl/DESCR b/security/ruby-openssl/DESCR
new file mode 100644
index 00000000000..b87d3d21739
--- /dev/null
+++ b/security/ruby-openssl/DESCR
@@ -0,0 +1 @@
+This is a Ruby module for OpenSSL, handling SSL sockets and more.
diff --git a/security/ruby-openssl/Makefile b/security/ruby-openssl/Makefile
new file mode 100644
index 00000000000..54007b6409e
--- /dev/null
+++ b/security/ruby-openssl/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.9 2003/07/22 17:42:31 taca Exp $
+
+DISTNAME= ossl-0.1.4a
+PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-0.1.4.1
+WRKSRC= ${WRKDIR}/ossl
+CATEGORIES= security
+MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= http://www.freesoftware.fsf.org/rubypki/
+COMMENT= OpenSSL interface module for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+RUBY_REQD= 1.6.4
+USE_BUILDLINK2= # defined
+USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
+CONFLICTS= ruby-ossl-*
+
+CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
+ --with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
+INSTALL_TARGET= site-install
+DOCS= ChangeLog README
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/openssl
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/openssl
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby-base/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-openssl/PLIST b/security/ruby-openssl/PLIST
new file mode 100644
index 00000000000..c50ac5cb947
--- /dev/null
+++ b/security/ruby-openssl/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.4 2003/07/22 17:42:31 taca Exp $
+${RUBY_SITEARCHLIBDIR}/openssl.so
+${RUBY_SITELIBDIR}/net/https.rb
+${RUBY_SITELIBDIR}/net/protocols.rb
+${RUBY_SITELIBDIR}/net/telnets.rb
+${RUBY_SITELIBDIR}/openssl.rb
+${RUBY_SITELIBDIR}/openssl/buffering.rb
+${RUBY_SITELIBDIR}/ssl.rb
+${RUBY_DOCDIR}/openssl/ChangeLog
+${RUBY_DOCDIR}/openssl/README
+@dirrm ${RUBY_DOCDIR}/openssl
diff --git a/security/ruby-openssl/distinfo b/security/ruby-openssl/distinfo
new file mode 100644
index 00000000000..c0309781521
--- /dev/null
+++ b/security/ruby-openssl/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.6 2003/07/22 17:42:31 taca Exp $
+
+SHA1 (ruby/ossl-0.1.4a.tar.gz) = b7b54f6c83f1d176299a176aee7dd5564cbd76f4
+Size (ruby/ossl-0.1.4a.tar.gz) = 84122 bytes