Skip to content

Commit

Permalink
* Removed support for deprecated JDK1.0, JDK1.1 and JDK1.2
Browse files Browse the repository at this point in the history
* Removed Virtuoso JDBC 2.0 SSL driver and JSSE runtime and
  added instructions how to build it if someone still needs
  it using JDK 1.3
  • Loading branch information
VOS Maintainer committed Feb 2, 2010
1 parent 84d774c commit 979eda3
Show file tree
Hide file tree
Showing 29 changed files with 34 additions and 3,505 deletions.
23 changes: 23 additions & 0 deletions README.jsse
@@ -0,0 +1,23 @@
How to build Virtuoso JDBC 2.0 SSL Driver
=========================================

The Virtuoso JDBC 2.x SSL Driver can be still be build using JDK 1.3

* cd libsrc/JDBCDriverType4

* mkdir security

* Download the SUN Java Secure Socket Extension (JSSE) 1.0.3
package from:

http://java.sun.com/products/archive/jsse

and copy the following jar files into the security directoy

jcert.jar
jnet.jar
jsse.jar

* cd libsrc/JDBCDriverType4

* make jdk2-target-ssl
37 changes: 4 additions & 33 deletions configure.in
Expand Up @@ -6,7 +6,7 @@ AC_REVISION($Id$)
# This file is part of the OpenLink Software Virtuoso Open-Source (VOS) # This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
# project. # project.
# #
# Copyright (C) 1998-2009 OpenLink Software # Copyright (C) 1998-2010 OpenLink Software
# #
# This project is free software; you can redistribute it and/or modify it # This project is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the # under the terms of the GNU General Public License as published by the
Expand Down Expand Up @@ -1879,32 +1879,10 @@ AM_CONDITIONAL(WITH_IODBC, test "x$virt_do_iodbc" = "xyes" )
########################################################################## ##########################################################################


AC_MSG_CHECKING(for Java options) AC_MSG_CHECKING(for Java options)
ac_jdk1_path="none"
AC_ARG_WITH(jdk1, [dnl
AC_HELP_STRING([--with-jdk1=DIR], [use the Sun JDK 1.1.x at the specified location])dnl
], [
case "${withval}" in
yes)
AC_MSG_ERROR("You need to specify a directory")
;;

no)
ac_jdk1_path="none"
;;

*)
if test -d "${withval}" ; then
ac_jdk1_path="${withval}"
else
AC_MSG_ERROR("Directory specified with --enable-jdk1 does not exist")
fi
;;
esac
])


ac_jdk2_path="none" ac_jdk2_path="none"
AC_ARG_WITH(jdk2, [dnl AC_ARG_WITH(jdk2, [dnl
AC_HELP_STRING([--with-jdk2=DIR], [use the Sun JDK 1.2.x or 1.3.x at the specified location]) AC_HELP_STRING([--with-jdk2=DIR], [use the Sun JDK 1.3.x at the specified location])
], [ ], [
case "${withval}" in case "${withval}" in
yes) yes)
Expand All @@ -1927,7 +1905,7 @@ AC_HELP_STRING([--with-jdk2=DIR], [use the Sun JDK 1.2.x or 1.3.x at the specifi


ac_jdk3_path="none" ac_jdk3_path="none"
AC_ARG_WITH(jdk3, [dnl AC_ARG_WITH(jdk3, [dnl
AC_HELP_STRING([--with-jdk3=DIR], [use the Sun JDK 1.4.x, 1.5.x or 1.6.x at the specified location])dnl AC_HELP_STRING([--with-jdk3=DIR], [use the Sun JDK 1.4.x or 1.5.x at the specified location])dnl
], [ ], [
case "${withval}" in case "${withval}" in
yes) yes)
Expand Down Expand Up @@ -2029,13 +2007,7 @@ EOF
fi fi
]) ])


AC_PROG_JAVA_WORKS($ac_jdk1_path, 1, 1) AC_PROG_JAVA_WORKS($ac_jdk2_path, 3, 3)
ac_jdk1_works="$ac_cv_prog_java_works"
ac_jdk1_path="$ac_jw_path"
AM_CONDITIONAL(WITH_JDK1, test "x$ac_jdk1_works" = "xyes")
AC_SUBST(ac_jdk1_path)

AC_PROG_JAVA_WORKS($ac_jdk2_path, 2, 3)
ac_jdk2_works="$ac_cv_prog_java_works" ac_jdk2_works="$ac_cv_prog_java_works"
ac_jdk2_path="$ac_jw_jdk" ac_jdk2_path="$ac_jw_jdk"
AM_CONDITIONAL(WITH_JDK2, test "x$ac_jdk2_works" = "xyes") AM_CONDITIONAL(WITH_JDK2, test "x$ac_jdk2_works" = "xyes")
Expand Down Expand Up @@ -2616,7 +2588,6 @@ AC_CONFIG_FILES([
docsrc/xmlsource/Makefile docsrc/xmlsource/Makefile
libsrc/Dk/Makefile libsrc/Dk/Makefile
libsrc/JDBCDriverType4/Makefile libsrc/JDBCDriverType4/Makefile
libsrc/JDBCDriverType4/testsuite_1.2/Makefile
libsrc/JDBCDriverType4/testsuite_2.0/Makefile libsrc/JDBCDriverType4/testsuite_2.0/Makefile
libsrc/JDBCDriverType4/testsuite_3.0/Makefile libsrc/JDBCDriverType4/testsuite_3.0/Makefile
libsrc/JDBCDriverType4/testsuite_4.0/Makefile libsrc/JDBCDriverType4/testsuite_4.0/Makefile
Expand Down
24 changes: 5 additions & 19 deletions libsrc/JDBCDriverType4/Makefile.am
Expand Up @@ -19,11 +19,6 @@
# #
# #


if WITH_JDK1
JDK1_TARGETS = jdk1-target
JDK1_TEST = jdk1-test
endif

if WITH_JDK2 if WITH_JDK2
JDK2_TARGETS = jdk2-target JDK2_TARGETS = jdk2-target
JDK2_TEST = jdk2-test JDK2_TEST = jdk2-test
Expand All @@ -39,27 +34,22 @@ JDK4_TARGETS = jdk4-target
JDK4_TEST = jdk4-test JDK4_TEST = jdk4-test
endif endif


JDK_TESTS = $(JDK1_TEST) $(JDK2_TEST) $(JDK3_TEST) $(JDK4_TEST) JDK_TESTS = $(JDK2_TEST) $(JDK3_TEST) $(JDK4_TEST)


SUBDIRS = . virtuoso testsuite_1.2 testsuite_2.0 testsuite_3.0 testsuite_4.0 SUBDIRS = . virtuoso testsuite_2.0 testsuite_3.0 testsuite_4.0




all-am: $(JDK1_TARGETS) $(JDK2_TARGETS) $(JDK3_TARGETS) $(JDK4_TARGETS) all-am: $(JDK2_TARGETS) $(JDK3_TARGETS) $(JDK4_TARGETS)


run-tests: run-tests:
$(MAKE) $(JDK_TESTS) $(MAKE) $(JDK_TESTS)


.PHONY: jdk1-target
jdk1-target:
@cd virtuoso/jdbc2; $(MAKE) -$(MAKEFLAGS) std1

jdk1-test:
env "JDK1=@ac_jdk1_path@" $(SHELL) ./test1.sh "jdbc:virtuoso://localhost:$(PORT)/"



.PHONY: jdk2-target .PHONY: jdk2-target
jdk2-target: jdk2-target:
@cd virtuoso/jdbc2; $(MAKE) -$(MAKEFLAGS) std2 @cd virtuoso/jdbc2; $(MAKE) -$(MAKEFLAGS) std2

jdk2-target-ssl:
@cd virtuoso/jdbc2; $(MAKE) -$(MAKEFLAGS) ssl2 @cd virtuoso/jdbc2; $(MAKE) -$(MAKEFLAGS) ssl2


jdk2-test: jdk2-test:
Expand Down Expand Up @@ -104,9 +94,6 @@ clean-local:
EXTRA_DIST = \ EXTRA_DIST = \
JDBC.release \ JDBC.release \
openlink/util/*.java \ openlink/util/*.java \
security/jdk1.2/jcert.jar \
security/jdk1.2/jnet.jar \
security/jdk1.2/jsse.jar \
termcap \ termcap \
test2.bat \ test2.bat \
test2.sh \ test2.sh \
Expand All @@ -117,7 +104,6 @@ EXTRA_DIST = \
test.bat \ test.bat \
test.sh \ test.sh \
virtjdbc2.jar \ virtjdbc2.jar \
virtjdbc2ssl.jar \
virtjdbc3.jar \ virtjdbc3.jar \
virtjdbc3ssl.jar \ virtjdbc3ssl.jar \
virtjdbc4.jar \ virtjdbc4.jar \
Expand Down
Binary file removed libsrc/JDBCDriverType4/security/jdk1.2/jcert.jar
Binary file not shown.
Binary file removed libsrc/JDBCDriverType4/security/jdk1.2/jnet.jar
Binary file not shown.
Binary file removed libsrc/JDBCDriverType4/security/jdk1.2/jsse.jar
Binary file not shown.
3 changes: 0 additions & 3 deletions libsrc/JDBCDriverType4/testsuite_1.2/.cvsignore

This file was deleted.

53 changes: 0 additions & 53 deletions libsrc/JDBCDriverType4/testsuite_1.2/Makefile.am

This file was deleted.

0 comments on commit 979eda3

Please sign in to comment.