pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ruby-openssl Update ruby-openssl pacakge to 1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fbdcf454674
branches:  trunk
changeset: 484433:0fbdcf454674
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 14:45:30 2004 +0000

description:
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.

diffstat:

 security/ruby-openssl/DESCR    |   1 +
 security/ruby-openssl/Makefile |  49 ++++++++++++++++++++++-------------------
 security/ruby-openssl/PLIST    |  27 ++++++++++++++++++----
 3 files changed, 49 insertions(+), 28 deletions(-)

diffs (107 lines):

diff -r 0e61afe5eb9f -r 0fbdcf454674 security/ruby-openssl/DESCR
--- a/security/ruby-openssl/DESCR       Sat Nov 27 14:43:13 2004 +0000
+++ b/security/ruby-openssl/DESCR       Sat Nov 27 14:45:30 2004 +0000
@@ -1,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 -r 0e61afe5eb9f -r 0fbdcf454674 security/ruby-openssl/Makefile
--- a/security/ruby-openssl/Makefile    Sat Nov 27 14:43:13 2004 +0000
+++ b/security/ruby-openssl/Makefile    Sat Nov 27 14:45:30 2004 +0000
@@ -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@localhost
-HOMEPAGE=              http://www.freesoftware.fsf.org/rubypki/
-COMMENT=               OpenSSL interface module for Ruby
+MAINTAINER=    taca%NetBSD.org@localhost
+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 -r 0e61afe5eb9f -r 0fbdcf454674 security/ruby-openssl/PLIST
--- a/security/ruby-openssl/PLIST       Sat Nov 27 14:43:13 2004 +0000
+++ b/security/ruby-openssl/PLIST       Sat Nov 27 14:45:30 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index