summaryrefslogtreecommitdiffstats
path: root/pki/base
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-02-22 01:15:56 -0600
committerEndi Sukma Dewata <edewata@redhat.com>2012-02-29 12:06:39 -0600
commit05f8a44b83a01ab60774a14b48c39067dc135171 (patch)
treeab6592e2ebd3767a72774878814e6fe5b1749c33 /pki/base
parentdb9caadf192227d724ebf084d9ef56c865e5b969 (diff)
downloadpki-05f8a44b83a01ab60774a14b48c39067dc135171.tar.gz
pki-05f8a44b83a01ab60774a14b48c39067dc135171.tar.xz
pki-05f8a44b83a01ab60774a14b48c39067dc135171.zip
Removed dependency on OSUtil.
The OSUtil is no longer used by the code. It has been removed from build scripts and tools. Ticket #90
Diffstat (limited to 'pki/base')
-rw-r--r--pki/base/CMakeLists.txt1
-rw-r--r--pki/base/ca/src/CMakeLists.txt11
-rw-r--r--pki/base/common/src/CMakeLists.txt18
-rw-r--r--pki/base/common/test/CMakeLists.txt6
-rw-r--r--pki/base/console/src/CMakeLists.txt9
-rw-r--r--pki/base/java-tools/src/CMakeLists.txt12
-rw-r--r--pki/base/java-tools/templates/pki_java_command_wrapper.in10
-rw-r--r--pki/base/java-tools/templates/pretty_print_cert_command_wrapper.in10
-rw-r--r--pki/base/java-tools/templates/pretty_print_crl_command_wrapper.in10
-rw-r--r--pki/base/kra/src/CMakeLists.txt11
-rw-r--r--pki/base/ocsp/src/CMakeLists.txt11
-rwxr-xr-xpki/base/scripts/pkicheck2
-rwxr-xr-xpki/base/setup/pkicreate14
-rwxr-xr-xpki/base/silent/scripts/pkisilent14
-rw-r--r--pki/base/silent/src/CMakeLists.txt4
-rw-r--r--pki/base/tks/src/CMakeLists.txt11
-rw-r--r--pki/base/util/src/CMakeLists.txt13
-rw-r--r--pki/base/util/test/CMakeLists.txt6
18 files changed, 30 insertions, 143 deletions
diff --git a/pki/base/CMakeLists.txt b/pki/base/CMakeLists.txt
index b5ea9b9fb..8a40e4247 100644
--- a/pki/base/CMakeLists.txt
+++ b/pki/base/CMakeLists.txt
@@ -1,7 +1,6 @@
project(base)
# The order is important!
-# add_subdirectory(osutil)
if (APPLICATION_FLAVOR_PKI_CORE)
add_subdirectory(test)
add_subdirectory(setup)
diff --git a/pki/base/ca/src/CMakeLists.txt b/pki/base/ca/src/CMakeLists.txt
index 188b95493..12436f301 100644
--- a/pki/base/ca/src/CMakeLists.txt
+++ b/pki/base/ca/src/CMakeLists.txt
@@ -17,13 +17,6 @@ find_file(JSS_JAR
${JAVA_LIB_INSTALL_DIR}
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -49,7 +42,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
# set version
@@ -58,7 +51,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-ca.jar
add_jar(pki-ca ${pki-ca_java_SRCS})
-add_dependencies(pki-ca osutil symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
+add_dependencies(pki-ca symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
install_jar(pki-ca ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CA_JAR ${pki-ca_JAR_FILE} CACHE INTERNAL "pki-ca jar file")
diff --git a/pki/base/common/src/CMakeLists.txt b/pki/base/common/src/CMakeLists.txt
index 3f599ee13..62d30740d 100644
--- a/pki/base/common/src/CMakeLists.txt
+++ b/pki/base/common/src/CMakeLists.txt
@@ -16,14 +16,6 @@ find_file(LDAPJDK_JAR
/usr/share/java
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
- /usr/share/java
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -1038,21 +1030,21 @@ set(pki-cmsbundle_RCS
set(CMAKE_JAVA_INCLUDE_PATH
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
${LDAPJDK_JAR} ${SERVLET_JAR} ${VELOCITY_JAR} ${XALAN_JAR} ${XERCES_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR} ${JAXRS_API_JAR} ${RESTEASY_JAXRS_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR} ${JAXRS_API_JAR} ${RESTEASY_JAXRS_JAR})
set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-certsrv
set(CMAKE_JAR_CLASSES_PREFIX com/netscape/certsrv)
add_jar(pki-certsrv ${pki-certsrv_java_SRCS})
-add_dependencies(pki-certsrv osutil pki-nsutil pki-cmsutil)
+add_dependencies(pki-certsrv pki-nsutil pki-cmsutil)
install_jar(pki-certsrv ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CERTSRV_JAR ${pki-certsrv_JAR_FILE} CACHE INTERNAL "pki-certsrv jar file")
# build pki-cms
set(CMAKE_JAR_CLASSES_PREFIX com/netscape/cms)
add_jar(pki-cms ${pki-cms_java_SRCS})
-add_dependencies(pki-cms osutil pki-nsutil pki-cmsutil pki-certsrv)
+add_dependencies(pki-cms pki-nsutil pki-cmsutil pki-certsrv)
install_jar(pki-cms ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CMS_JAR ${pki-cms_JAR_FILE} CACHE INTERNAL "pki-cms jar file")
@@ -1070,12 +1062,12 @@ add_dependencies(pki-common-${APPLICATION_VERSION}_javadoc pki-cms pki-certsrv)
# build pki-cmscore
set(CMAKE_JAR_CLASSES_PREFIX com/netscape/cmscore)
add_jar(pki-cmscore ${pki-cmscore_java_SRCS})
-add_dependencies(pki-cmscore osutil pki-nsutil pki-cmsutil pki-certsrv pki-cms)
+add_dependencies(pki-cmscore pki-nsutil pki-cmsutil pki-certsrv pki-cms)
install_jar(pki-cmscore ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CMSCORE_JAR ${pki-cmscore_JAR_FILE} CACHE INTERNAL "pki-cmscore jar file")
# build pki-cmsbundle
add_jar(pki-cmsbundle ${pki-cmsbundle_RCS})
-add_dependencies(pki-cmsbundle osutil pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
+add_dependencies(pki-cmsbundle pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
install_jar(pki-cmsbundle ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CMSBUNDLE_JAR ${pki-cmsbundle_JAR_FILE} CACHE INTERNAL "pki-cmsbundle jar file")
diff --git a/pki/base/common/test/CMakeLists.txt b/pki/base/common/test/CMakeLists.txt
index 4d266683d..2f7b4fa4e 100644
--- a/pki/base/common/test/CMakeLists.txt
+++ b/pki/base/common/test/CMakeLists.txt
@@ -57,7 +57,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR} ${PKI_CMSBUNDLE_JAR}
${LDAPJDK_JAR} ${SERVLET_JAR} ${VELOCITY_JAR} ${XALAN_JAR} ${XERCES_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR}
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR}
${PKI_TEST_JAR} ${JUNIT_JAR}
)
@@ -69,7 +69,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
set(CMAKE_JAR_CLASSES_PREFIX com/netscape)
add_jar(pki-common-test ${pki-common-test_SRCS})
add_dependencies(pki-common-test
- osutil pki-nsutil pki-cmsutil
+ pki-nsutil pki-cmsutil
pki-certsrv pki-cms pki-cmscore pki-cmsbundle
pki-test
)
@@ -83,7 +83,7 @@ add_junit_test(test-pki-common
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR} ${PKI_CMSBUNDLE_JAR}
${LDAPJDK_JAR} ${SERVLET_JAR} ${VELOCITY_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR}
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR}
${PKI_TEST_JAR} ${JUNIT_JAR}
TESTS
com.netscape.certsrv.authentication.AuthTokenTest
diff --git a/pki/base/console/src/CMakeLists.txt b/pki/base/console/src/CMakeLists.txt
index 3d88cceda..b164a33a0 100644
--- a/pki/base/console/src/CMakeLists.txt
+++ b/pki/base/console/src/CMakeLists.txt
@@ -69,14 +69,6 @@ find_file(JSS_JAR
/usr/share/java
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
- /usr/share/java
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -655,7 +647,6 @@ set(CMAKE_JAVA_INCLUDE_PATH
${MMC_EN_JAR} ${NMCLF_JAR} ${NMCLF_EN_JAR}
${PKI_NSUTIL_JAR}
${JSS_JAR}
- ${OSUTIL_JAR}
${COMMONS_CODEC_JAR})
diff --git a/pki/base/java-tools/src/CMakeLists.txt b/pki/base/java-tools/src/CMakeLists.txt
index 17c6f6b68..0411a54c7 100644
--- a/pki/base/java-tools/src/CMakeLists.txt
+++ b/pki/base/java-tools/src/CMakeLists.txt
@@ -8,14 +8,6 @@ find_file(JSS_JAR
/usr/share/java
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
- /usr/share/java
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -67,13 +59,13 @@ set(pki-tools_java_SRCS
set(CMAKE_JAVA_INCLUDE_PATH
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
${XALAN_JAR} ${XERCES_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR})
set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-tools
add_jar(pki-tools ${pki-tools_java_SRCS})
-add_dependencies(pki-tools osutil pki-nsutil pki-cmsutil)
+add_dependencies(pki-tools pki-nsutil pki-cmsutil)
install(
FILES
com/netscape/cmstools/DRMTool.cfg
diff --git a/pki/base/java-tools/templates/pki_java_command_wrapper.in b/pki/base/java-tools/templates/pki_java_command_wrapper.in
index b09740945..b0d406161 100644
--- a/pki/base/java-tools/templates/pki_java_command_wrapper.in
+++ b/pki/base/java-tools/templates/pki_java_command_wrapper.in
@@ -74,15 +74,12 @@ if [ "${OS}" = "Linux" ] ; then
if [ "${ARCHITECTURE}" = "i386" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
elif [ "${ARCHITECTURE}" = "x86_64" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64:/lib64:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib64/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
else
invalid_architecture "${ARCHITECTURE}"
@@ -135,13 +132,6 @@ if [ "${OS}" = "Linux" ] &&
# Fedora 16+
CP=/usr/lib64/java/jss4.jar
fi
-CP=/usr/lib/java/osutil.jar:${CP}
-CP=/usr/lib/java/dirsec/osutil.jar:${CP}
-if [ "${OS}" = "Linux" ] &&
- [ "${ARCHITECTURE}" = "x86_64" ] ; then
- # Fedora 16+
- CP=/usr/lib64/java/osutil.jar:${CP}
-fi
CP=/usr/share/java/commons-codec.jar:${CP}
CP=/usr/share/java/ldapjdk.jar:${CP}
CP=/usr/share/java/${PRODUCT}/pki-nsutil.jar:${CP}
diff --git a/pki/base/java-tools/templates/pretty_print_cert_command_wrapper.in b/pki/base/java-tools/templates/pretty_print_cert_command_wrapper.in
index ec1f2a9f8..7f3331357 100644
--- a/pki/base/java-tools/templates/pretty_print_cert_command_wrapper.in
+++ b/pki/base/java-tools/templates/pretty_print_cert_command_wrapper.in
@@ -74,15 +74,12 @@ if [ "${OS}" = "Linux" ] ; then
if [ "${ARCHITECTURE}" = "i386" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
elif [ "${ARCHITECTURE}" = "x86_64" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64:/lib64:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib64/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
else
invalid_architecture "${ARCHITECTURE}"
@@ -135,13 +132,6 @@ if [ "${OS}" = "Linux" ] &&
# Fedora 16+
CP=/usr/lib64/java/jss4.jar
fi
-CP=/usr/lib/java/osutil.jar:${CP}
-CP=/usr/lib/java/dirsec/osutil.jar:${CP}
-if [ "${OS}" = "Linux" ] &&
- [ "${ARCHITECTURE}" = "x86_64" ] ; then
- # Fedora 16+
- CP=/usr/lib64/java/osutil.jar:${CP}
-fi
CP=/usr/share/java/commons-codec.jar:${CP}
CP=/usr/share/java/ldapjdk.jar:${CP}
CP=/usr/share/java/${PRODUCT}/pki-nsutil.jar:${CP}
diff --git a/pki/base/java-tools/templates/pretty_print_crl_command_wrapper.in b/pki/base/java-tools/templates/pretty_print_crl_command_wrapper.in
index 2fb27f699..95a559503 100644
--- a/pki/base/java-tools/templates/pretty_print_crl_command_wrapper.in
+++ b/pki/base/java-tools/templates/pretty_print_crl_command_wrapper.in
@@ -74,15 +74,12 @@ if [ "${OS}" = "Linux" ] ; then
if [ "${ARCHITECTURE}" = "i386" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
elif [ "${ARCHITECTURE}" = "x86_64" ] ; then
LD_LIBRARY_PATH=/usr/lib:/lib
LD_LIBRARY_PATH=/usr/lib/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib/osutil:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64:/lib64:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib64/jss:${LD_LIBRARY_PATH}
- LD_LIBRARY_PATH=/usr/lib64/osutil:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
else
invalid_architecture "${ARCHITECTURE}"
@@ -135,13 +132,6 @@ if [ "${OS}" = "Linux" ] &&
# Fedora 16+
CP=/usr/lib64/java/jss4.jar
fi
-CP=/usr/lib/java/osutil.jar:${CP}
-CP=/usr/lib/java/dirsec/osutil.jar:${CP}
-if [ "${OS}" = "Linux" ] &&
- [ "${ARCHITECTURE}" = "x86_64" ] ; then
- # Fedora 16+
- CP=/usr/lib64/java/osutil.jar:${CP}
-fi
CP=/usr/share/java/commons-codec.jar:${CP}
CP=/usr/share/java/ldapjdk.jar:${CP}
CP=/usr/share/java/${PRODUCT}/pki-nsutil.jar:${CP}
diff --git a/pki/base/kra/src/CMakeLists.txt b/pki/base/kra/src/CMakeLists.txt
index 5e1b06782..df7e1929b 100644
--- a/pki/base/kra/src/CMakeLists.txt
+++ b/pki/base/kra/src/CMakeLists.txt
@@ -55,13 +55,6 @@ find_file(JSS_JAR
${JAVA_LIB_INSTALL_DIR}
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -101,7 +94,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
# set version
@@ -110,7 +103,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-kra.jar
add_jar(pki-kra ${pki-kra_java_SRCS})
-add_dependencies(pki-kra osutil symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
+add_dependencies(pki-kra symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
install_jar(pki-kra ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_KRA_JAR ${pki-kra_JAR_FILE} CACHE INTERNAL "pki-kra jar file")
diff --git a/pki/base/ocsp/src/CMakeLists.txt b/pki/base/ocsp/src/CMakeLists.txt
index ad16cebab..0992eeaee 100644
--- a/pki/base/ocsp/src/CMakeLists.txt
+++ b/pki/base/ocsp/src/CMakeLists.txt
@@ -55,13 +55,6 @@ find_file(JSS_JAR
${JAVA_LIB_INSTALL_DIR}
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -91,7 +84,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
# set version
@@ -100,7 +93,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-ocsp.jar
add_jar(pki-ocsp ${pki-ocsp_java_SRCS})
-add_dependencies(pki-ocsp osutil symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
+add_dependencies(pki-ocsp symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
install_jar(pki-ocsp ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_OCSP_JAR ${pki-ocsp_JAR_FILE} CACHE INTERNAL "pki-ocsp jar file")
diff --git a/pki/base/scripts/pkicheck b/pki/base/scripts/pkicheck
index 6722e26bf..3ff548d3d 100755
--- a/pki/base/scripts/pkicheck
+++ b/pki/base/scripts/pkicheck
@@ -9,5 +9,5 @@ if [ "${PKI_OS}" != "Linux" ]; then
fi
# For now, check for symkey (legacy package)
-rpm -qa | egrep -i pki-\|osutil\|symkey | sort | cat -n
+rpm -qa | egrep -i pki-\|symkey | sort | cat -n
diff --git a/pki/base/setup/pkicreate b/pki/base/setup/pkicreate
index ea9ed9da7..e8e1b12cb 100755
--- a/pki/base/setup/pkicreate
+++ b/pki/base/setup/pkicreate
@@ -180,7 +180,6 @@ my $commons_logging_jar_base_name = undef; # CA, KRA, OCSP, TKS
my $jss_jar_base_name = "jss4.jar"; # CA, KRA, OCSP, TKS
my $ldapjdk_jar_base_name = "ldapjdk.jar"; # CA, KRA, OCSP, TKS
my $pki_nsutil_jar_base_name = "pki-nsutil.jar"; # CA, KRA, OCSP, TKS
-my $osutil_jar_base_name = "osutil.jar"; # CA, KRA, OCSP, TKS
my $commons_codec_jar_base_name = "commons-codec.jar"; # CA, KRA, OCSP, TKS
my $symkey_jar_base_name = "symkey.jar"; # CA, KRA, OCSP, TKS
my $tomcatjss_jar_base_name = "tomcatjss.jar"; # CA, KRA, OCSP, TKS
@@ -501,8 +500,6 @@ my $ldapjdk_jar_file_path = undef; # CA, KRA, OCSP, TKS
my $ldapjdk_jar_symlink_path = undef; # CA, KRA, OCSP, TKS
my $pki_nsutil_jar_file_path = undef; # CA, KRA, OCSP, TKS
my $pki_nsutil_jar_symlink_path = undef; # CA, KRA, OCSP, TKS
-my $osutil_jar_file_path = undef; # CA, KRA, OCSP, TKS
-my $osutil_jar_symlink_path = undef; # CA, KRA, OCSP, TKS
my $commons_codec_jar_file_path = undef; # CA, KRA, OCSP, TKS
my $commons_codec_jar_symlink_path = undef; # CA, KRA, OCSP, TKS
my $symkey_jar_file_path = undef; # CA, KRA, OCSP, TKS
@@ -1836,11 +1833,6 @@ sub initialize_subdirectory_paths
return 0;
}
- if (!defined($osutil_jar_file_path = find_jar($osutil_jar_base_name))) {
- emit("could not find jar: $osutil_jar_base_name", "error");
- return 0;
- }
-
if (!defined($commons_codec_jar_file_path = find_jar($commons_codec_jar_base_name))) {
emit("could not find jar: $commons_codec_jar_base_name", "error");
return 0;
@@ -1952,8 +1944,6 @@ sub initialize_subdirectory_paths
. "/" . $ldapjdk_jar_base_name;
$pki_nsutil_jar_symlink_path = $webinf_lib_instance_path
. "/" . $pki_nsutil_jar_base_name;
- $osutil_jar_symlink_path = $webinf_lib_instance_path
- . "/" . $osutil_jar_base_name;
$commons_codec_jar_symlink_path = $webinf_lib_instance_path
. "/" . $commons_codec_jar_base_name;
$symkey_jar_symlink_path = $webinf_lib_instance_path
@@ -2971,10 +2961,6 @@ sub process_pki_files_and_symlinks
return 0 if !create_symlink($pki_nsutil_jar_symlink_path, $pki_nsutil_jar_file_path,
$pki_user, $pki_group);
- # create instance symlink to "osutil.jar"
- return 0 if !create_symlink($osutil_jar_symlink_path, $osutil_jar_file_path,
- $pki_user, $pki_group);
-
# create instance symlink to "commons_codec.jar"
return 0 if !create_symlink($commons_codec_jar_symlink_path, $commons_codec_jar_file_path,
$pki_user, $pki_group);
diff --git a/pki/base/silent/scripts/pkisilent b/pki/base/silent/scripts/pkisilent
index 46e6805c2..5d62b1ce4 100755
--- a/pki/base/silent/scripts/pkisilent
+++ b/pki/base/silent/scripts/pkisilent
@@ -51,16 +51,13 @@ chop( $ARCHITECTURE );
if( $ARCHITECTURE eq "i386" ) {
$libpath="/usr/lib";
- $ENV{LD_LIBRARY_PATH} = "/usr/lib/osutil:"
- . "/usr/lib/jss:"
+ $ENV{LD_LIBRARY_PATH} = "/usr/lib/jss:"
. "/usr/lib:/lib";
} elsif($ARCHITECTURE eq "x86_64") {
$libpath="/usr/lib64";
- $ENV{LD_LIBRARY_PATH} = "/usr/lib64/osutil:"
- . "/usr/lib64/jss:"
+ $ENV{LD_LIBRARY_PATH} = "/usr/lib64/jss:"
. "/usr/lib64:/lib64:"
- . "/usr/lib/osutil:"
. "/usr/lib/jss:"
. "/usr/lib:/lib";
} else {
@@ -90,13 +87,10 @@ $ENV{CLASSPATH} = "/usr/share/java/${PRODUCT}/pki-silent.jar:"
if( $ARCHITECTURE eq "x86_64" ) {
$ENV{CLASSPATH} = $ENV{CLASSPATH}
. "/usr/lib64/java/jss4.jar:"
- . "/usr/lib/java/jss4.jar:"
- . "/usr/lib64/java/osutil.jar:"
- . "/usr/lib/java/osutil.jar";
+ . "/usr/lib/java/jss4.jar:";
} else {
$ENV{CLASSPATH} = $ENV{CLASSPATH}
- . "/usr/lib/java/jss4.jar:"
- . "/usr/lib/java/osutil.jar";
+ . "/usr/lib/java/jss4.jar:";
}
diff --git a/pki/base/silent/src/CMakeLists.txt b/pki/base/silent/src/CMakeLists.txt
index dc1b8ebe3..f5ed283fe 100644
--- a/pki/base/silent/src/CMakeLists.txt
+++ b/pki/base/silent/src/CMakeLists.txt
@@ -75,11 +75,11 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR} ${XERCES_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
add_jar(pki-silent ${pki-silent_java_SRCS})
-add_dependencies(pki-silent osutil symkey pki-cmsutil pki-nsutil pki-certsrv pki-cms)
+add_dependencies(pki-silent symkey pki-cmsutil pki-nsutil pki-certsrv pki-cms)
install_jar(pki-silent ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_SILENT_JAR ${pki-silent_JAR_FILE} CACHE INTERNAL "pki-silent jar file")
diff --git a/pki/base/tks/src/CMakeLists.txt b/pki/base/tks/src/CMakeLists.txt
index 2542c951c..852ad7bf4 100644
--- a/pki/base/tks/src/CMakeLists.txt
+++ b/pki/base/tks/src/CMakeLists.txt
@@ -55,13 +55,6 @@ find_file(JSS_JAR
${JAVA_LIB_INSTALL_DIR}
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -88,7 +81,7 @@ set(CMAKE_JAVA_INCLUDE_PATH
${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR}
${PKI_CMSUTIL_JAR} ${PKI_NSUTIL_JAR}
${LDAPJDK_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR} ${SYMKEY_JAR})
# set version
@@ -97,7 +90,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-tks.jar
add_jar(pki-tks ${pki-tks_java_SRCS})
-add_dependencies(pki-tks osutil symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
+add_dependencies(pki-tks symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore)
install_jar(pki-tks ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_TKS_JAR ${pki-tks_JAR_FILE} CACHE INTERNAL "pki-tks jar file")
diff --git a/pki/base/util/src/CMakeLists.txt b/pki/base/util/src/CMakeLists.txt
index 0c78ac3b7..a9c95837f 100644
--- a/pki/base/util/src/CMakeLists.txt
+++ b/pki/base/util/src/CMakeLists.txt
@@ -16,14 +16,6 @@ find_file(LDAPJDK_JAR
/usr/share/java
)
-find_file(OSUTIL_JAR
- NAMES
- osutil.jar
- PATHS
- ${JAVA_LIB_INSTALL_DIR}
- /usr/share/java
-)
-
find_file(COMMONS_CODEC_JAR
NAMES
commons-codec.jar
@@ -339,21 +331,20 @@ set(pki-cmsutil_java_SRCS
set(CMAKE_JAVA_INCLUDE_PATH
${LDAPJDK_JAR} ${XALAN_JAR} ${XERCES_JAR}
- ${JSS_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR})
+ ${JSS_JAR} ${COMMONS_CODEC_JAR})
set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# build pki-nsutil
set(CMAKE_JAR_CLASSES_PREFIX netscape)
add_jar(pki-nsutil ${pki-nsutil_java_SRCS})
-add_dependencies(pki-nsutil osutil)
install_jar(pki-nsutil ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_NSUTIL_JAR ${pki-nsutil_JAR_FILE} CACHE INTERNAL "pki-nsutil jar file")
# build pki-cmsutil
set(CMAKE_JAR_CLASSES_PREFIX com/netscape/cmsutil)
add_jar(pki-cmsutil ${pki-cmsutil_java_SRCS})
-add_dependencies(pki-cmsutil osutil pki-nsutil)
+add_dependencies(pki-cmsutil pki-nsutil)
install_jar(pki-cmsutil ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CMSUTIL_JAR ${pki-cmsutil_JAR_FILE} CACHE INTERNAL "pki-cmsutil jar file")
diff --git a/pki/base/util/test/CMakeLists.txt b/pki/base/util/test/CMakeLists.txt
index 042731f3b..592f3dbbb 100644
--- a/pki/base/util/test/CMakeLists.txt
+++ b/pki/base/util/test/CMakeLists.txt
@@ -19,7 +19,7 @@ set(pki-util-test_SRCS
set(CMAKE_JAVA_INCLUDE_PATH
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
- ${JSS_JAR} ${LDAPJDK_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR} ${XALAN_JAR} ${XERCES_JAR}
+ ${JSS_JAR} ${LDAPJDK_JAR} ${COMMONS_CODEC_JAR} ${XALAN_JAR} ${XERCES_JAR}
${PKI_TEST_JAR} ${JUNIT_JAR}
)
@@ -30,7 +30,7 @@ set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION})
# TODO: build test only when the test is invoked
set(CMAKE_JAR_CLASSES_PREFIX com/netscape)
add_jar(pki-util-test ${pki-util-test_SRCS})
-add_dependencies(pki-util-test osutil pki-nsutil pki-cmsutil pki-test)
+add_dependencies(pki-util-test pki-nsutil pki-cmsutil pki-test)
# create test target
# do not include xalan and xerces in class path
@@ -39,7 +39,7 @@ add_junit_test(test-pki-util
CLASSPATH
${pki-util-test_JAR_FILE}
${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR}
- ${JSS_JAR} ${LDAPJDK_JAR} ${OSUTIL_JAR} ${COMMONS_CODEC_JAR}
+ ${JSS_JAR} ${LDAPJDK_JAR} ${COMMONS_CODEC_JAR}
${PKI_TEST_JAR} ${JUNIT_JAR}
TESTS
com.netscape.security.util.BMPStringTest