diff options
author | taca <taca@pkgsrc.org> | 2005-03-06 16:52:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-03-06 16:52:39 +0000 |
commit | 079f54e1fdb2b365fc00e81c251d205c9f3ef637 (patch) | |
tree | ef4c5f5b01efacbaae7807bf299619affc758c43 /security | |
parent | d0cab82177cd6f281845eb8ee82a5668d852315f (diff) | |
download | pkgsrc-079f54e1fdb2b365fc00e81c251d205c9f3ef637.tar.gz |
Revive separated ruby packages, ruby-dbm, ruby-zlib, ruby-digest and
ruby-openssl with bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r-- | security/ruby-digest/DESCR | 2 | ||||
-rw-r--r-- | security/ruby-digest/Makefile | 31 | ||||
-rw-r--r-- | security/ruby-digest/PLIST | 12 | ||||
-rw-r--r-- | security/ruby-digest/distinfo | 6 | ||||
-rw-r--r-- | security/ruby-openssl/DESCR | 2 | ||||
-rw-r--r-- | security/ruby-openssl/Makefile | 37 | ||||
-rw-r--r-- | security/ruby-openssl/PLIST | 28 | ||||
-rw-r--r-- | security/ruby-openssl/distinfo | 6 | ||||
-rw-r--r-- | security/ruby-openssl/patches/patch-aa | 15 |
9 files changed, 139 insertions, 0 deletions
diff --git a/security/ruby-digest/DESCR b/security/ruby-digest/DESCR new file mode 100644 index 00000000000..537b8ca54ea --- /dev/null +++ b/security/ruby-digest/DESCR @@ -0,0 +1,2 @@ +This is a Ruby extension of message digest library, which is actually +a part of the Ruby distribution. diff --git a/security/ruby-digest/Makefile b/security/ruby-digest/Makefile new file mode 100644 index 00000000000..efd35c5f11a --- /dev/null +++ b/security/ruby-digest/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.12 2005/03/06 16:52:40 taca Exp $ +# + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGPREFIX}-digest-${RUBY_VERSION} +PKGREVISION= 1 +CATEGORIES= security ruby +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= ${RUBY_HOMEPAGE} +COMMENT= Ruby extension to message digest library + +RUBY_HAS_ARCHLIB= yes +USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes +RUBY_EXTCONF_SUBDIRS= . md5 rmd160 sha1 sha2 +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest +WRKSRC= ${RUBY_WRKSRC}/ext/digest + +RUBY_DOCS= digest.txt digest.txt.ja + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest +.for f in ${RUBY_DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/digest +.endfor + +.include "../../lang/ruby/modules.mk" +.include "../../lang/ruby/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/security/ruby-digest/PLIST b/security/ruby-digest/PLIST new file mode 100644 index 00000000000..c9ea64002f6 --- /dev/null +++ b/security/ruby-digest/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.5 2005/03/06 16:52:40 taca Exp $ +${RUBY_SITEARCHLIBDIR}/digest.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/md5.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/rmd160.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/sha1.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/sha2.${RUBY_DLEXT} +@dirrm ${RUBY_SITEARCHLIBDIR}/digest +${RUBY_SITELIBDIR}/md5.rb +${RUBY_SITELIBDIR}/sha1.rb +${RUBY_DOCDIR}/digest/digest.txt +${RUBY_DOCDIR}/digest/digest.txt.ja +@dirrm ${RUBY_DOCDIR}/digest diff --git a/security/ruby-digest/distinfo b/security/ruby-digest/distinfo new file mode 100644 index 00000000000..41671b8b33b --- /dev/null +++ b/security/ruby-digest/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2005/03/06 16:52:40 taca Exp $ + +SHA1 (ruby/ruby-1.8.2.tar.gz) = 409a917d3a0aba41f45bd053b767c85b2bc35ffa +RMD160 (ruby/ruby-1.8.2.tar.gz) = fc4dcdc2dda9bfbcf8ca19ca090aa55a18ea06a4 +Size (ruby/ruby-1.8.2.tar.gz) = 3627349 bytes +SHA1 (patch-aa) = df232b12a2523295239dacaac95fd0d136d13887 diff --git a/security/ruby-openssl/DESCR b/security/ruby-openssl/DESCR new file mode 100644 index 00000000000..4657c48c27b --- /dev/null +++ b/security/ruby-openssl/DESCR @@ -0,0 +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 new file mode 100644 index 00000000000..4963b0c87a5 --- /dev/null +++ b/security/ruby-openssl/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.20 2005/03/06 16:52:40 taca Exp $ + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGPREFIX}-openssl-${RUBY_VERSION} +PKGREVISION= 1 +CATEGORIES= security ruby +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= ${RUBY_HOMEPAGE} +COMMENT= OpenSSL interface module for Ruby + +RUBY_HAS_ARCHLIB= yes +RUBY_VERSION_SUPPORTED= 18 +USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes +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" +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_EXAMPLESDIR}/openssl +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \ + ${RUBY_EXAMPLESDIR}/openssl +.endfor + +.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 new file mode 100644 index 00000000000..174a9deaa1a --- /dev/null +++ b/security/ruby-openssl/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.8 2005/03/06 16:52:40 taca Exp $ +${RUBY_SITEARCHLIBDIR}/openssl.${RUBY_DLEXT} +${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}/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 diff --git a/security/ruby-openssl/distinfo b/security/ruby-openssl/distinfo new file mode 100644 index 00000000000..6415e6b9ca8 --- /dev/null +++ b/security/ruby-openssl/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.8 2005/03/06 16:52:40 taca Exp $ + +SHA1 (ruby/ruby-1.8.2.tar.gz) = 409a917d3a0aba41f45bd053b767c85b2bc35ffa +RMD160 (ruby/ruby-1.8.2.tar.gz) = fc4dcdc2dda9bfbcf8ca19ca090aa55a18ea06a4 +Size (ruby/ruby-1.8.2.tar.gz) = 3627349 bytes +SHA1 (patch-aa) = 5b594089a8c50899f5a50651e59688f0a9c0ce71 diff --git a/security/ruby-openssl/patches/patch-aa b/security/ruby-openssl/patches/patch-aa new file mode 100644 index 00000000000..23b111dfe0b --- /dev/null +++ b/security/ruby-openssl/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2005/03/06 16:52:40 taca Exp $ + +--- ossl_config.c.orig 2004-12-15 10:54:39.000000000 +0900 ++++ ossl_config.c +@@ -245,7 +245,9 @@ set_conf_section_i(VALUE i, VALUE *arg) + static VALUE + ossl_config_set_section(VALUE self, VALUE section, VALUE hash) + { +- VALUE arg[2] = { self, section }; ++ VALUE arg[2]; ++ arg[0] = self; ++ arg[1] = self; + rb_iterate(rb_each, hash, set_conf_section_i, (VALUE)arg); + return hash; + } |