summaryrefslogtreecommitdiff
path: root/security/ruby-openssl
diff options
context:
space:
mode:
authortaca <taca>2002-01-04 16:35:49 +0000
committertaca <taca>2002-01-04 16:35:49 +0000
commit904b714b1e6c0150dec2ed73c94d2b673786be04 (patch)
tree3dd63d6078a21b886b4a6fe0397c705ca6218ebe /security/ruby-openssl
parent99cf1d3b117741b40ac481e14f1d3754012052dd (diff)
downloadpkgsrc-904b714b1e6c0150dec2ed73c94d2b673786be04.tar.gz
Importing ruby-openssl package, which replace ruby-ssl package.
Here is quote from README. $Id: README,v 1.3 2001/11/18 19:00:06 majkl Exp $ 'OpenSSL for Ruby' project Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz> All rights reserved. This program is licenced under the same licence as Ruby. (See the file 'LICENCE'.) [Done] (but not fully tested) = OpenSSL config file parser (part) --- TO BE DROPPED? (any idea?) = PKey:: RSA,DSA keys - new, load, export = X509::Certificate - generating new certs, load, looking inside = X509::CRL - load, new, looking inside = X509::Name - new, export to_str, to_a, to_h (hash) = X509::Revoked - new, looking inside (on parameters) = X509::Store - new, import trusted certs and CRL, verifiing certs = Digest::... - various hashes = X509::Request - Cert requests = X509::Attribute - as X509Request extensions (not tested) = X509::Extension - to Certs, CRLs... = X509::ExtensionMaker - for easy creating new Extensions = Netscape::SPKI - for requests from NetscapeCommunicators = Cipher::... - various ciphers = basic PRNG functions (random generator) for OpenSSL module and class Random = SSLSocket (merged Gotou Yuuzou's SSLsocket-Ruby project) = PKCS7 (signing&data_verify is working, rest needs some testing) [To-Do] = check for memory leaking :-)) = cleaner code = examples = RubyUnit to be used! = API documentation = comments to sources!!! = further functionality to existing = Std. Extensions, Attributes to be made as Classes? = AttributeFactory? = add aliases to to_pem as s_dump s_load to support Marshal module = CipherFactory? = autogen random IVs for Ciphers = safe BigNums = PKCS12 = PKCS8 = HMAC = ASN.1 ??? = BIO ??? = compat tests for RSA/DSA sign/encrypt
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