Title: [839] trunk/jopenssl: More release preparations
Revision
839
Author
nicksieger
Date
2007-12-14 03:00:30 -0500 (Fri, 14 Dec 2007)

Log Message

More release preparations

Added Paths


Removed Paths

Property Changed

Diff

Property changes: trunk/jopenssl


Name: svn:ignore
   - build.properties
target
nbproject
*.gem
   + *.gem
build.properties
doc
nbproject
pkg
target

Added: trunk/jopenssl/History.txt (0 => 839)


--- trunk/jopenssl/History.txt	                        (rev 0)
+++ trunk/jopenssl/History.txt	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,12 @@
+== 0.1
+
+- PLEASE NOTE: This release is not compatible with JRuby releases earlier than
+  1.0.3 or 1.1b2. If you must use JRuby 1.0.2 or earlier, please install the
+  0.6 release.
+- Release coincides with JRuby 1.0.3 and JRuby 1.1b2 releases
+- Simultaneous support for JRuby trunk and 1.0 branch
+- Start of support for OpenSSL::BN
+
+== 0.0.5 and prior
+
+- Initial versions with maintenance updates
\ No newline at end of file

Added: trunk/jopenssl/License.txt (0 => 839)


--- trunk/jopenssl/License.txt	                        (rev 0)
+++ trunk/jopenssl/License.txt	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,30 @@
+JRuby-OpenSSL is distributed under the same license as JRuby (http://www.jruby.org/).
+
+Version: CPL 1.0/GPL 2.0/LGPL 2.1
+
+The contents of this file are subject to the Common Public
+License Version 1.0 (the "License"); you may not use this file
+except in compliance with the License. You may obtain a copy of
+the License at http://www.eclipse.org/legal/cpl-v10.html
+
+Software distributed under the License is distributed on an "AS
+IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+implied. See the License for the specific language governing
+rights and limitations under the License.
+
+Copyright (C) 2007 Ola Bini <[EMAIL PROTECTED]>
+
+Alternatively, the contents of this file may be used under the terms of
+either of the GNU General Public License Version 2 or later (the "GPL"),
+or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+in which case the provisions of the GPL or the LGPL are applicable instead
+of those above. If you wish to allow use of your version of this file only
+under the terms of either the GPL or the LGPL, and not to allow others to
+use your version of this file under the terms of the CPL, indicate your
+decision by deleting the provisions above and replace them with the notice
+and other provisions required by the GPL or the LGPL. If you do not delete
+the provisions above, a recipient may use your version of this file under
+the terms of any one of the CPL, the GPL or the LGPL.
+
+JRuby-OpenSSL includes software by the Legion of the Bouncy Castle
+(http://bouncycastle.org/license.html).

Added: trunk/jopenssl/Manifest.txt (0 => 839)


--- trunk/jopenssl/Manifest.txt	                        (rev 0)
+++ trunk/jopenssl/Manifest.txt	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,38 @@
+History.txt
+README.txt
+License.txt
+lib/jopenssl.jar
+lib/bcmail-jdk14-135.jar
+lib/bcprov-jdk14-135.jar
+lib/jopenssl
+lib/jopenssl.jar
+lib/openssl
+lib/openssl.rb
+lib/jopenssl/version.rb
+lib/openssl/bn.rb
+lib/openssl/buffering.rb
+lib/openssl/cipher.rb
+lib/openssl/digest.rb
+lib/openssl/dummy.rb
+lib/openssl/dummyssl.rb
+lib/openssl/ssl.rb
+lib/openssl/x509.rb
+test/openssl
+test/test_openssl.rb
+test/ut_eof.rb
+test/openssl/ssl_server.rb
+test/openssl/test_asn1.rb
+test/openssl/test_cipher.rb
+test/openssl/test_digest.rb
+test/openssl/test_hmac.rb
+test/openssl/test_ns_spki.rb
+test/openssl/test_pair.rb
+test/openssl/test_pkey_rsa.rb
+test/openssl/test_ssl.rb
+test/openssl/test_x509cert.rb
+test/openssl/test_x509crl.rb
+test/openssl/test_x509ext.rb
+test/openssl/test_x509name.rb
+test/openssl/test_x509req.rb
+test/openssl/test_x509store.rb
+test/openssl/utils.rb

Added: trunk/jopenssl/README.txt (0 => 839)


--- trunk/jopenssl/README.txt	                        (rev 0)
+++ trunk/jopenssl/README.txt	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,18 @@
+JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
+
+JRuby offers *just enough* compatibility for most Ruby applications that use OpenSSL. 
+
+Libraries that appear to work fine:
+
+    Rails, Net::HTTPS
+
+Notable libraries that do *not* yet work include:
+
+    Net::SSH, Net::SFTP, etc.
+
+Please report bugs and incompatibilities (preferably with testcases) to either the JRuby 
+mailing list [1] or the JRuby bug tracker [2].
+
+[1]: http://xircles.codehaus.org/projects/jruby/lists
+
+[2]: http://jira.codehaus.org/browse/JRUBY
\ No newline at end of file

Added: trunk/jopenssl/Rakefile (0 => 839)


--- trunk/jopenssl/Rakefile	                        (rev 0)
+++ trunk/jopenssl/Rakefile	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,57 @@
+require 'rake'
+require 'rake/testtask'
+
+MANIFEST = FileList["History.txt", "README.txt", "License.txt", "lib/jopenssl.jar", "lib/**/*", "test/**/*"]
+BC_JARS = FileList["lib/bc*.jar"]
+
+task :default => [:java_compile, :test]
+
+def java_classpath_arg # myriad of ways to discover JRuby classpath
+  begin
+    require 'java' # already running in a JRuby JVM
+    jruby_cpath = Java::java.lang.System.getProperty('java.class.path')
+  rescue LoadError
+  end
+  unless jruby_cpath
+    jruby_cpath = ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] &&
+      FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
+  end
+  bc_jars = BC_JARS.join(File::PATH_SEPARATOR)
+  jruby_cpath ? "-cp #{jruby_cpath}#{File::PATH_SEPARATOR}#{bc_jars}" : "-cp #{bc_jars}"
+end
+
+desc "Compile the native Java code."
+task :java_compile do
+  mkdir_p "pkg/classes"
+  sh "javac -target 1.4 -source 1.4 -d pkg/classes #{java_classpath_arg} #{FileList['src/java/**/*.java'].join(' ')}"
+  File.open("pkg/classes/manifest.mf", "w") {|f| f.puts "Class-Path: #{BC_JARS.map{|f| File.basename(f) }.join(' ')}"}
+  sh "jar cfm lib/jopenssl.jar pkg/classes/manifest.mf -C pkg/classes/ ."
+end
+file "lib/jopenssl.jar" => :java_compile
+
+task :more_clean do
+  rm_f FileList['lib/jopenssl.jar']
+end
+task :clean => :more_clean
+
+File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f.puts n } }
+
+require File.dirname(__FILE__) + "/lib/jopenssl/version"
+begin
+  require 'hoe'
+  Hoe.new("jruby-openssl", Jopenssl::Version::VERSION) do |p|
+    p.rubyforge_name = "jruby-extras"
+    p.url = ""
+    p.author = "Ola Bini and JRuby contributors"
+    p.email = "[EMAIL PROTECTED]"
+    p.summary = "OpenSSL add-on for JRuby"
+    p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+    p.rdoc_pattern = /^(lib\/.*rb)|txt$/
+    p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
+    p.test_globs = FileList["test/test_openssl.rb"]
+  end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
+rescue LoadError
+  puts "You really need Hoe installed to be able to package this gem"
+rescue => e
+  puts "ignoring error while loading hoe: #{e.to_s}"
+end

Added: trunk/jopenssl/lib/jopenssl/version.rb (0 => 839)


--- trunk/jopenssl/lib/jopenssl/version.rb	                        (rev 0)
+++ trunk/jopenssl/lib/jopenssl/version.rb	2007-12-14 08:00:30 UTC (rev 839)
@@ -0,0 +1,5 @@
+module Jopenssl
+  module Version
+    VERSION = "0.1"
+  end
+end
\ No newline at end of file

Deleted: trunk/jopenssl/lib/jruby.jar


(Binary files differ)
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to