Commit graph

12 commits

Author SHA1 Message Date
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
jlam
3fff0e5495 Garbage-collect USE_OPENSSL_VERSION now that openssl/buildlink2.mk supports
just setting BUILDLINK_DEPENDS.openssl.  USE_OPENSSL_VERSION wasn't
actually needed here anyway since the minimum version allowed by
openssl/buildlink2.mk exceeded the version requested here.
2003-09-11 04:13:01 +00:00
taca
b60248a6ce Re-add ruby-openssl 0.1.4.1 package: back out ruby-openssl => ruby-ossl. 2003-07-22 17:42:31 +00:00
taca
249fbc04ed Deleted ruby-openssl since it renamed to ruby-ossl. 2003-07-21 17:08:56 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
taca
2d8c6cc138 Update ruby-openssl package from 0.1.3.
- ad hoc fix build problem on NetBSD current.
- changes from 0.1.2a:

Tue, 10 Dec 2002 02:32:54 -0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
	* ossl-0.1.3 released

Mon,  9 Dec 2002 22:26:15 -0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
	* x509name.c: let initialize() give a Array instead of a Hash.
	  to_a is implemented and to_h is deprecated.
	* openssl.rb: X509::Name is refined.

Mon,  9 Dec 2002 20:21:32 -0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
	* ossl.c: use ruby_unsetenv() instead of unsetenv().
	* ssl.c: the return value of SSL_read/SSL_write is int (not size_t).
	  This fix is suggested by matz. ([ruby-list:36721])

Mon, 28 Oct 2002 10:39:43 +0100 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* LICENCE: update to latest Ruby's
	* extconf.rb: fix to make it work under Ruby 1.7.3
	* pkey.c: fix MACRO
	* ChangeLog: changed style
2003-07-06 14:22:44 +00:00
wiz
491df6a4f1 buildlink1 -> buildlink2. 2002-10-25 09:36:24 +00:00
taca
4e6c795f92 Update ruby-openssl pacakge to 0.1.2.1(0.1.2a).
It should be fixed in error of bulk build, too.

$Id: ChangeLog,v 1.43 2002/07/24 14:46:52 gotoyuzo Exp $
'OpenSSL for Ruby' project
Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz>
All rights reserved.

$Log: ChangeLog,v $
Revision 1.43  2002/07/24 14:46:52  gotoyuzo
	* lib/openssl/buffering.rb: typo fixed. (Thakns NaHi)

Revision 1.42  2002/07/24 12:31:31  gotoyuzo
	* ossl.c: should include <sys/time.h> if it exists. (Thanks Knu)

Revision 1.41  2002/07/24 09:56:17  gotoyuzo
	* ossl-0.1.2 released

Revision 1.40  2002/07/23 20:23:30  gotoyuzo
	* lib/net/https.rb: follow net/http.rb Rev: 1.41.2.18 (ruby_1_6)

Revision 1.39  2002/07/23 10:49:19  gotoyuzo
	* ossl_ssl.c: should raise exception while SSL_write returns 0.

Revision 1.38  2002/07/23 10:45:25  gotoyuzo
	* ossl.h: include <openssl/e_os.h>
	* ossl.c: workaround to convert into UTC time.
	* lib/openssl.rb: fix string embeded expression.

Revision 1.37  2002/04/07 16:35:32  majkl
	* Macros fixups
	* X509ExtFactory cleanup
	* fixed strptime warning on Linux
	* X509::Certificate#version has been changed!
	  !!! WARNING !!!
		x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...)
		p x509.version -> 2, means that it is X509v3
	  !!! WARNING !!!

Revision 1.36  2002/03/11 21:35:39  majkl
	* Cipher IV fixup

Revision 1.35  2002/03/11 17:20:22  majkl
	* Big internal cleanup (all structs with only 1 member rearranged)
	* improved getting time_t from cTime

Revision 1.34  2002/03/06 08:05:05  majkl
	* build fix-ups

Revision 1.33  2002/03/05 15:05:57  majkl
	* WARNING! All to_str methods are not used any longer (use to_text instead)
	* made an aliases to_pem as to_s
	* more relaxed params checking - everywhere where string was needed it is OK that obj implements to_s method

Revision 1.32  2002/02/23 07:28:00  majkl
	* More benevolent checks (Check_SafeStr(x) -> Check_Type(x, T_STRING)
	  (where we don't care)

Revision 1.31  2002/02/20 08:43:54  majkl
	* Fixed some memory leaks

Revision 1.30  2002/02/13 13:09:49  majkl
	* transition from rb_raise to OSSL_Raise (where possible)
	* some mem checks
	* preliminary DH key support
2002-08-30 23:48:22 +00:00
taca
7e10308b7c Update ruby-openssl package to 0.1.1. Changes from 0.0.9 is below.
$Id: ChangeLog,v 1.28 2002/02/06 13:36:15 majkl Exp $
'OpenSSL for Ruby' project
Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz>
All rights reserved.

$Log: ChangeLog,v $
Revision 1.28  2002/02/06 13:36:15  majkl
	* Dropped Random class
	* Added Random module
	* Added egd interface to Random module

Revision 1.27  2002/01/16 14:49:52  majkl
	* really fixed strptime.c (silly me, thanks Hynek)

Revision 1.26  2002/01/16 13:52:24  majkl
	* fixed missing/strptime.c (Hynek)
	* more strict format for UTC time (ossl.c - 'Z' in the end)

Revision 1.25  2002/01/16 12:12:50  majkl
	* selfdipatch BN implementation (test only)
	* removed strncasecmp (for WIN32 made alias to _strnicmp)
	* fixed missing/strptime.c (Hynek Rostinsky)

Revision 1.24  2002/01/12 11:49:17  majkl
	* fixed callbacks in ossl_(ssl|x509store).c
	* added method X509::Store#verify_status=

Revision 1.23  2002/01/10 19:32:23  majkl
	* fixed and improved verify_callbacks in ossl_(ssl|x509store).c
	* enhanced ossl_x509store.rb examples

Revision 1.22  2002/01/10 17:33:16  majkl
	* OpenSSL::Cipher::BITx constant == x (so BIT40 = 40,...)

Revision 1.21  2002/01/10 13:46:09  majkl
	* added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*)
	* added AES cipher when compiled under OpenSSL-SNAPSHOT
	* added warnings if the OpenSSL is compiled without some feature
	* handle NO_RSA, NO_DSA in openssl.rb
	* incremented version in ossl_version.h

Revision 1.20  2002/01/10 00:44:17  majkl
	* OpenSSL 0.9.6c support (BN)
	* MS_CALLBACK to ossl_pkey_*.c
	* Memory checking with OSSL_DEBUG
	* API doc style change

Revision 1.19  2002/01/06 16:18:32  majkl
	* ossl-0.1.0 released

Revision 1.18  2002/01/06 16:10:37  majkl
	* BN is (somewhat) full imp. now
	* Config reworked (get_value, get_section)

Revision 1.17  2002/01/04 11:27:45  majkl
	* API doc in README (but still not completed)
	* missing str(ncasecmp|strptime).c files moved to missing/
	* ifdef NO_* handled

Revision 1.16  2002/01/04 11:22:55  majkl
	* SelfDispatching used for X509:: Name, Extension, Attribute
		def XXX.new(arg)
			XXX.send("new_from_#{arg.type.name.downcase}", arg)
		end

	* RSA,DSA - 'new_from_pem', 'generate' singleton methods defined
		'new' - implemented in Ruby space

Revision 1.15  2002/01/04 11:12:45  majkl
	* Further checking (Check_SafeStr, memory leaks)

Revision 1.14  2001/12/21 20:10:24  majkl
*** empty log message ***

Revision 1.13  2001/12/21 20:10:12  majkl
	* Memory checking

Revision 1.12  2001/12/21 19:21:35  gotoyuzo
	* fixed unusual usage of ## preprocessing token sequence.

Revision 1.11  2001/12/13 18:08:58  majkl
	* added bn methods (thanks to UNKNOWN <oss-ruby@technorama.net>)
	* simplify ossl_digest sources

Revision 1.10  2001/11/29 13:17:24  majkl
	* Make work under MS Windows (strptime added) + doc in README

Revision 1.9  2001/11/26 11:48:36  majkl
	* Just forgot to add stuff to changelog...

2001/11/21 majkl
	* BN added (only proof of concept)
	* indent changed
	* rand.h to ossl.h added

Revision 1.8  2001/11/21 09:37:03  gotoyuzo
	* buffering.rb went under ``openssl'' directory.

Revision 1.7  2001/11/20 19:39:37  majkl
	* HMAC added
	* Config came back
	* API changed in PKCS7 (param. order)
	* API changed in Cipher (can't add data in .new)
	* indentation changed (only half of files, 2nd half to do)
	* some API doc added to README

Revision 1.6  2001/11/19 12:44:57  majkl
	* added X509::Certificate .to_der
2002-02-07 15:50:07 +00:00
taca
d009a2136c 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
2002-01-04 16:35:49 +00:00