diff options
author | taca <taca@pkgsrc.org> | 2003-07-21 17:04:27 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2003-07-21 17:04:27 +0000 |
commit | 953a7b76558b58268265c3ad1fd50bc8ae88ce1e (patch) | |
tree | 3ece79396f0dccbf376da5b1842fe74c8a82bbec /security | |
parent | 1ba8eec232339f41532102e177c862420e0a0541 (diff) | |
download | pkgsrc-953a7b76558b58268265c3ad1fd50bc8ae88ce1e.tar.gz |
Re-import security/ruby-openssl as security/ruby-ossl for changing
the package name.
Diffstat (limited to 'security')
-rw-r--r-- | security/ruby-ossl/DESCR | 1 | ||||
-rw-r--r-- | security/ruby-ossl/Makefile | 33 | ||||
-rw-r--r-- | security/ruby-ossl/PLIST | 11 | ||||
-rw-r--r-- | security/ruby-ossl/distinfo | 5 | ||||
-rw-r--r-- | security/ruby-ossl/patches/patch-aa | 17 |
5 files changed, 67 insertions, 0 deletions
diff --git a/security/ruby-ossl/DESCR b/security/ruby-ossl/DESCR new file mode 100644 index 00000000000..b87d3d21739 --- /dev/null +++ b/security/ruby-ossl/DESCR @@ -0,0 +1 @@ +This is a Ruby module for OpenSSL, handling SSL sockets and more. diff --git a/security/ruby-ossl/Makefile b/security/ruby-ossl/Makefile new file mode 100644 index 00000000000..41b0ea25d97 --- /dev/null +++ b/security/ruby-ossl/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/07/21 17:04:27 taca Exp $ + +DISTNAME= ossl-0.1.3 +PKGNAME= ${RUBY_PKGNAMEPREFIX}ossl-0.1.3 +WRKSRC= ${WRKDIR}/ossl +CATEGORIES= security +MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/ + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://www.freesoftware.fsf.org/rubypki/ +COMMENT= OpenSSL interface module for Ruby + +DIST_SUBDIR= ruby +USE_RUBY_EXTCONF= yes +RUBY_REQD= 1.6.4 +USE_BUILDLINK2= # defined +USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096} + +CONFIGURE_ARGS= --with-ssl-include="${BUILDLINK_PREFIX.openssl}/include" \ + --with-ssl-lib="${BUILDLINK_PREFIX.openssl}/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 "../../lang/ruby-base/buildlink2.mk" +.include "../../security/openssl/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/ruby-ossl/PLIST b/security/ruby-ossl/PLIST new file mode 100644 index 00000000000..cf8fbe9f206 --- /dev/null +++ b/security/ruby-ossl/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/21 17:04:27 taca Exp $ +${RUBY_SITEARCHLIBDIR}/openssl.so +${RUBY_SITELIBDIR}/net/https.rb +${RUBY_SITELIBDIR}/net/protocols.rb +${RUBY_SITELIBDIR}/net/telnets.rb +${RUBY_SITELIBDIR}/openssl.rb +${RUBY_SITELIBDIR}/openssl/buffering.rb +${RUBY_SITELIBDIR}/ssl.rb +${RUBY_DOCDIR}/openssl/ChangeLog +${RUBY_DOCDIR}/openssl/README +@dirrm ${RUBY_DOCDIR}/openssl diff --git a/security/ruby-ossl/distinfo b/security/ruby-ossl/distinfo new file mode 100644 index 00000000000..fe59ca94e5a --- /dev/null +++ b/security/ruby-ossl/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/21 17:04:27 taca Exp $ + +SHA1 (ruby/ossl-0.1.3.tar.gz) = 1dff416c64f56908f448be76128cf2a1d27f17f2 +Size (ruby/ossl-0.1.3.tar.gz) = 83282 bytes +SHA1 (patch-aa) = 43fd0b4e97acb1351c9b9cc032c76388fdad7941 diff --git a/security/ruby-ossl/patches/patch-aa b/security/ruby-ossl/patches/patch-aa new file mode 100644 index 00000000000..634726d98a5 --- /dev/null +++ b/security/ruby-ossl/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/07/21 17:04:27 taca Exp $ + +--- ossl.h.orig 2002-07-23 19:45:25.000000000 +0900 ++++ ossl.h +@@ -25,9 +25,11 @@ extern "C" { + #include <openssl/ssl.h> + #include <openssl/hmac.h> + #include <openssl/rand.h> +-#include <openssl/e_os.h> + #if defined(NT) ++# include <openssl/e_os.h> + # undef OpenFile ++#else ++# define MS_CALLBACK + #endif + + #include "openssl_missing.h" |