summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 14:45:30 +0000
committertaca <taca@pkgsrc.org>2004-11-27 14:45:30 +0000
commitacdc2b3334a039ee7b3ba4dc6186417e1cf59b35 (patch)
tree438cb6937559a92074c2e147f417071d26f0f34c
parent940fc8a640486527784bd9b1d52880f2f1da63c4 (diff)
downloadpkgsrc-acdc2b3334a039ee7b3ba4dc6186417e1cf59b35.tar.gz
Update ruby-openssl pacakge to 1.0.0 with switching to new framework for
Ruby packages. This package is actually a part of the Ruby distribution but still use its own version now.
-rw-r--r--security/ruby-openssl/DESCR1
-rw-r--r--security/ruby-openssl/Makefile49
-rw-r--r--security/ruby-openssl/PLIST27
3 files changed, 49 insertions, 28 deletions
diff --git a/security/ruby-openssl/DESCR b/security/ruby-openssl/DESCR
index b87d3d21739..4657c48c27b 100644
--- a/security/ruby-openssl/DESCR
+++ b/security/ruby-openssl/DESCR
@@ -1 +1,2 @@
This is a Ruby module for OpenSSL, handling SSL sockets and more.
+It is actually a part of the Ruby distribution.
diff --git a/security/ruby-openssl/Makefile b/security/ruby-openssl/Makefile
index e01ef126bde..f5bd8aba230 100644
--- a/security/ruby-openssl/Makefile
+++ b/security/ruby-openssl/Makefile
@@ -1,34 +1,37 @@
-# $NetBSD: Makefile,v 1.16 2004/10/03 00:18:13 tv Exp $
+# $NetBSD: Makefile,v 1.17 2004/11/27 14:45:30 taca Exp $
-DISTNAME= ossl-0.1.4a
-PKGNAME= ${RUBY_PKGNAMEPREFIX}openssl-0.1.4.1
-PKGREVISION= 3
-CATEGORIES= security ruby
-MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-openssl-${OSSL_VERSION}
+CATEGORIES= security ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
-MAINTAINER= taca@NetBSD.org
-HOMEPAGE= http://www.freesoftware.fsf.org/rubypki/
-COMMENT= OpenSSL interface module for Ruby
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= OpenSSL interface module for Ruby
-WRKSRC= ${WRKDIR}/ossl
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
-RUBY_REQD= 1.6.4
+OSSL_VERSION= 1.0.0
+RUBY_VERSION_SUPPORTED= 18
USE_BUILDLINK3= yes
-CONFLICTS= ruby-ossl-*
+USE_RUBY_EXTCONF= yes
+DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
+WRKSRC= ${RUBY_WRKSRC}/ext/openssl
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/openssl \
+ ${RUBY_DISTNAME}/sample/openssl
-CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
- --with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
-INSTALL_TARGET= site-install
-DOCS= ChangeLog README
+CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \
+ --with-ssl-lib="${BUILDLINK_PREFIX.openssl}/lib"
+EXAMPLES= c_rehash.rb cert2text.rb cert_store_view.rb certstore.rb \
+ cipher.rb crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
+ smime_read.rb smime_write.rb wget.rb
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/openssl
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/openssl
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/openssl
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/$f \
+ ${RUBY_EXAMPLESDIR}/openssl
.endfor
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-openssl/PLIST b/security/ruby-openssl/PLIST
index c50ac5cb947..f1de56c8dc7 100644
--- a/security/ruby-openssl/PLIST
+++ b/security/ruby-openssl/PLIST
@@ -1,11 +1,28 @@
-@comment $NetBSD: PLIST,v 1.4 2003/07/22 17:42:31 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/11/27 14:45:30 taca Exp $
${RUBY_SITEARCHLIBDIR}/openssl.so
+${RUBY_SITELIBDIR}/net/ftptls.rb
${RUBY_SITELIBDIR}/net/https.rb
${RUBY_SITELIBDIR}/net/protocols.rb
${RUBY_SITELIBDIR}/net/telnets.rb
+@dirrm ${RUBY_SITELIBDIR}/net
${RUBY_SITELIBDIR}/openssl.rb
+${RUBY_SITELIBDIR}/openssl/bn.rb
${RUBY_SITELIBDIR}/openssl/buffering.rb
-${RUBY_SITELIBDIR}/ssl.rb
-${RUBY_DOCDIR}/openssl/ChangeLog
-${RUBY_DOCDIR}/openssl/README
-@dirrm ${RUBY_DOCDIR}/openssl
+${RUBY_SITELIBDIR}/openssl/cipher.rb
+${RUBY_SITELIBDIR}/openssl/digest.rb
+${RUBY_SITELIBDIR}/openssl/ssl.rb
+${RUBY_SITELIBDIR}/openssl/x509.rb
+@dirrm ${RUBY_SITELIBDIR}/openssl
+${RUBY_EXAMPLESDIR}/openssl/c_rehash.rb
+${RUBY_EXAMPLESDIR}/openssl/cert2text.rb
+${RUBY_EXAMPLESDIR}/openssl/cert_store_view.rb
+${RUBY_EXAMPLESDIR}/openssl/certstore.rb
+${RUBY_EXAMPLESDIR}/openssl/cipher.rb
+${RUBY_EXAMPLESDIR}/openssl/crlstore.rb
+${RUBY_EXAMPLESDIR}/openssl/echo_cli.rb
+${RUBY_EXAMPLESDIR}/openssl/echo_svr.rb
+${RUBY_EXAMPLESDIR}/openssl/gen_csr.rb
+${RUBY_EXAMPLESDIR}/openssl/smime_read.rb
+${RUBY_EXAMPLESDIR}/openssl/smime_write.rb
+${RUBY_EXAMPLESDIR}/openssl/wget.rb
+@dirrm ${RUBY_EXAMPLESDIR}/openssl