Diff
Property changes: trunk/jopenssl
Modified: svn:ignore
Manifest.txt
build.properties
doc
nbproject
pkg
target
+ *.gem
Manifest.txt
build.properties
doc
nbproject
pkg
target
.README.swp
Deleted: trunk/jopenssl/History.txt (1146 => 1147)
--- trunk/jopenssl/History.txt 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/History.txt 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,25 +0,0 @@
-== 0.2
-
-- Enable remaining tests; fix a nil string issue in SSLSocket.sysread (JRUBY-1888)
-- Fix socket buffering issue by setting socket IO sync = true
-- Fix bad file descriptor issue caused by unnecessary close (JRUBY-2152)
-- Fix AES key length (JRUBY-2187)
-- Fix cipher initialization (JRUBY-1100)
-- Now, only compatible with JRuby 1.1
-
-== 0.1.1
-
-- Fixed blocker issue preventing HTTPS/SSL from working (JRUBY-1222)
-
-== 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
Deleted: trunk/jopenssl/License.txt (1146 => 1147)
--- trunk/jopenssl/License.txt 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/License.txt 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,30 +0,0 @@
-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/README (0 => 1147)
--- trunk/jopenssl/README (rev 0)
+++ trunk/jopenssl/README 2009-02-18 20:46:01 UTC (rev 1147)
@@ -0,0 +1,3 @@
+The jruby-openssl project has moved to github. Please go there to get it.
+
+http://github.com/jruby/jruby-openssl/tree/master
Deleted: trunk/jopenssl/README.txt (1146 => 1147)
--- trunk/jopenssl/README.txt 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/README.txt 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,24 +0,0 @@
-= JRuby-OpenSSL
-
-* http://jruby-extras.rubyforge.org/jruby-openssl
-
-== DESCRIPTION:
-
-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
Deleted: trunk/jopenssl/Rakefile (1146 => 1147)
--- trunk/jopenssl/Rakefile 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/Rakefile 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,71 +0,0 @@
-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
- cpath = Java::java.lang.System.getProperty('java.class.path').split(File::PATH_SEPARATOR)
- cpath += Java::java.lang.System.getProperty('sun.boot.class.path').split(File::PATH_SEPARATOR)
- jruby_cpath = cpath.compact.join(File::PATH_SEPARATOR)
- rescue => e
- 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"
-
- File.open("pkg/compile_options", "w") do |f|
- f << "-target 1.5 -source 1.5 -Xlint:unchecked -Xlint:deprecation -d pkg/classes"
- end
-
- File.open("pkg/compile_classpath", "w") do |f|
- f << java_classpath_arg
- end
-
- File.open("pkg/compile_sourcefiles", "w") do |f|
- f << FileList['src/java/**/*.java'].join(' ')
- end
-
- sh "javac @pkg/compile_options @pkg/compile_classpath @pkg/compile_sourcefiles"
- 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 = ENV["TEST"] || ["test/test_*.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
Deleted: trunk/jopenssl/build.properties.SAMPLE (1146 => 1147)
--- trunk/jopenssl/build.properties.SAMPLE 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/build.properties.SAMPLE 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,7 +0,0 @@
-version.target=1.5
-version.source=1.5
-# jruby.home=/path/to/a/jruby/install
-# jruby.jar=${jruby.home}/lib/jruby.jar
-# set this to an alternate location to compile against a different jruby.jar
-jruby.jar=lib/jruby.jar
-
Deleted: trunk/jopenssl/build.xml (1146 => 1147)
--- trunk/jopenssl/build.xml 2009-02-16 22:43:57 UTC (rev 1146)
+++ trunk/jopenssl/build.xml 2009-02-18 20:46:01 UTC (rev 1147)
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project basedir="." default="build" name="jopenssl">
- <property environment="env"/>
- <property file="build.properties"/>
-
- <property name="src.java" value="src/java"/>
- <property name="target" value="target"/>
- <property name="target.classes" value="${target}/classes"/>
- <property name="target.classes.test" value="${target}/test-classes"/>
- <property name="lib.dir" value="lib"/>
- <property name="jruby.jar" value="${jruby.home}/lib/jruby.jar"/>
- <property name="version.source" value="1.5"/>
- <property name="version.target" value="1.5"/>
-
- <path id="build.classpath">
- <fileset dir="${lib.dir}" includes="*.jar" excludes="jopenssl.jar,jruby.jar"/>
- <pathelement location="${jruby.jar}"/>
- </path>
-
- <target name="init">
- <mkdir dir="${target}"/>
- <mkdir dir="${target.classes}"/>
- </target>
-
- <target name="clean">
- <delete dir="target"/>
- </target>
-
- <target depends="init" name="build" description="Compiles Java source files">
- <javac debug="true" destdir="${target.classes}" source="${version.source}" target="${version.target}">
- <classpath refid="build.classpath"/>
- <src path="${src.java}"/>
- </javac>
- </target>
-
- <target depends="build" name="jar" description="Build a JAR file with the generated Java class files">
- <path id="bcpath">
- <fileset dir="${lib.dir}" includes="bc*.jar"/>
- </path>
- <pathconvert property="bcjars" pathsep=" " refid="bcpath">
- <map from="${basedir}/${lib.dir}/" to=""/>
- </pathconvert>
- <jar destfile="${lib.dir}/jopenssl.jar" basedir="${target.classes}">
- <manifest>
- <attribute name="Built-By" value="${user.name}"/>
- <attribute name="Class-Path" value="${bcjars}"/>
- </manifest>
- </jar>
- </target>
-
- <target name="test" depends="jar">
- <exec executable="${jruby.home}/bin/jruby" failonerror="true">
- <arg value="-Ilib:test"/>
- <arg value="test/test_openssl.rb"/>
- </exec>
- </target>
-</project>