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/Makefile33
-rw-r--r--security/ruby-openssl/PLIST11
-rw-r--r--security/ruby-openssl/distinfo4
4 files changed, 49 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..1a5d2513dec
--- /dev/null
+++ b/security/ruby-openssl/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/04 16:35:49 taca Exp $
+
+DISTNAME= ossl-${VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-${VERSION}
+CATEGORIES= security
+MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.freesoftware.fsf.org/rubypki/
+COMMENT= OpenSSL interface module for Ruby
+
+VERSION= 0.0.9
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+RUBY_REQD= 1.6.4
+USE_BUILDLINK_ONLY= # defined
+USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
+
+CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_DIR}/include" \
+ --with-ssl-lib="${BUILDLINK_DIR}/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 "../../security/openssl/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-openssl/PLIST b/security/ruby-openssl/PLIST
new file mode 100644
index 00000000000..93802ebf4b7
--- /dev/null
+++ b/security/ruby-openssl/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/04 16:35:49 taca Exp $
+${RUBY_SITEARCHLIBDIR}/openssl.so
+${RUBY_SITELIBDIR}/buffering.rb
+${RUBY_SITELIBDIR}/net/https.rb
+${RUBY_SITELIBDIR}/net/protocols.rb
+${RUBY_SITELIBDIR}/net/telnets.rb
+${RUBY_SITELIBDIR}/openssl.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..6fce326d9c0
--- /dev/null
+++ b/security/ruby-openssl/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/01/04 16:35:49 taca Exp $
+
+SHA1 (ruby/ossl-0.0.9.tgz) = c148c68b50256b438309c982de73da044dfe84cc
+Size (ruby/ossl-0.0.9.tgz) = 73816 bytes