summaryrefslogtreecommitdiffstats
path: root/base/setup
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-27 12:09:05 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-03-29 14:33:52 -0500
commit11c7985988eb1bf2fc979cc38094b794a814e2a4 (patch)
tree9874194c791d155a4e7740d7c5a3aa1c9bbf9405 /base/setup
parent1c8437891cdfe5580e09c495f79d81334ed0c2c0 (diff)
downloadpki-11c7985988eb1bf2fc979cc38094b794a814e2a4.tar.gz
pki-11c7985988eb1bf2fc979cc38094b794a814e2a4.tar.xz
pki-11c7985988eb1bf2fc979cc38094b794a814e2a4.zip
Replaced Candlepin with RESTEasy.
Previously the code depends on the old RESTEasy libraries provided by Candlepin package. Now the Eclipse classpath, build/setup scripts, and the spec file have been updated to use the libraries provided by the new RESTEasy package. Ticket #29
Diffstat (limited to 'base/setup')
-rw-r--r--base/setup/CMakeLists.txt11
-rw-r--r--base/setup/jars/resteasy-jettison-provider-2.3-RC1.jarbin32378 -> 0 bytes
-rwxr-xr-xbase/setup/pkicommon.pm6
-rwxr-xr-xbase/setup/pkicreate12
4 files changed, 9 insertions, 20 deletions
diff --git a/base/setup/CMakeLists.txt b/base/setup/CMakeLists.txt
index 2ed50ee62..05f18332d 100644
--- a/base/setup/CMakeLists.txt
+++ b/base/setup/CMakeLists.txt
@@ -27,17 +27,6 @@ install(
WORLD_EXECUTE WORLD_READ
)
-install(
- FILES
- jars/resteasy-jettison-provider-2.3-RC1.jar
- DESTINATION
- ${JAVA_JAR_INSTALL_DIR}
- PERMISSIONS
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
- GROUP_EXECUTE GROUP_READ
- WORLD_EXECUTE WORLD_READ
-)
-
# install empty directories
install(CODE "file(MAKE_DIRECTORY \$ENV{DESTDIR}${VAR_INSTALL_DIR}/lock/pki)")
install(CODE "file(MAKE_DIRECTORY \$ENV{DESTDIR}${VAR_INSTALL_DIR}/run/pki)")
diff --git a/base/setup/jars/resteasy-jettison-provider-2.3-RC1.jar b/base/setup/jars/resteasy-jettison-provider-2.3-RC1.jar
deleted file mode 100644
index da7106ddd..000000000
--- a/base/setup/jars/resteasy-jettison-provider-2.3-RC1.jar
+++ /dev/null
Binary files differ
diff --git a/base/setup/pkicommon.pm b/base/setup/pkicommon.pm
index 6ce255303..b96b9489c 100755
--- a/base/setup/pkicommon.pm
+++ b/base/setup/pkicommon.pm
@@ -184,7 +184,7 @@ our $default_ldapmodify_command = undef;
our $default_modutil_command = undef;
our $default_initscripts_path = undef;
our $default_registry_path = undef;
-my $candlepin_java_path = "/usr/share/candlepin/lib";
+my $resteasy_path = "/usr/share/java/resteasy";
our $default_dir_permissions = 00770;
our $default_exe_permissions = 00770;
@@ -220,7 +220,7 @@ if ($^O eq "linux") {
$default_java_path = "/usr/share/java";
$default_pki_java_path = "/usr/share/java/pki";
$default_system_jni_java_path = "/usr/lib/java";
- @default_jar_path = ($default_pki_java_path, $default_java_path, $default_system_jni_java_path, $candlepin_java_path);
+ @default_jar_path = ($default_pki_java_path, $default_java_path, $default_system_jni_java_path, $resteasy_path);
} elsif ($default_hardware_platform eq "x86_64") {
# 64-bit Linux
$default_system_binaries = "/bin";
@@ -232,7 +232,7 @@ if ($^O eq "linux") {
$default_x86_64_jni_java_path = "/usr/lib64/java";
$default_system_jni_java_path = "/usr/lib/java";
@default_jar_path = ($default_pki_java_path, $default_java_path, $default_x86_64_jni_java_path,
- $default_system_jni_java_path, $candlepin_java_path);
+ $default_system_jni_java_path, $resteasy_path);
} else {
emit("Unsupported '$^O' hardware platform '$default_hardware_platform'!", "error");
exit 255;
diff --git a/base/setup/pkicreate b/base/setup/pkicreate
index edde86ecc..19f268a00 100755
--- a/base/setup/pkicreate
+++ b/base/setup/pkicreate
@@ -187,13 +187,13 @@ my $velocity_jar_base_name = "velocity.jar"; # CA, KRA, OCSP, TKS
my $xerces_jar_base_name = "xerces-j2.jar"; # CA, KRA, OCSP, TKS
# resteasy jars
-my $javassist_jar_base_name = "javassist-3.9.0.GA.jar"; # CA, KRA, OCSP, TKS
-my $jaxrs_api_jar_base_name = "jaxrs-api-2.2.1.GA.jar"; # CA, KRA, OCSP, TKS
-my $resteasy_jaxb_provider_jar_base_name = "resteasy-jaxb-provider-2.2.1.GA.jar"; # CA, KRA, OCSP, TKS
-my $resteasy_jaxrs_jar_base_name = "resteasy-jaxrs-2.2.1.GA.jar"; # CA, KRA, OCSP, TKS
-my $scannotation_jar_base_name = "scannotation-1.0.2.jar"; # CA, KRA, OCSP, TKS
+my $javassist_jar_base_name = "javassist.jar"; # CA, KRA, OCSP, TKS
+my $jaxrs_api_jar_base_name = "jaxrs-api.jar"; # CA, KRA, OCSP, TKS
+my $resteasy_jaxb_provider_jar_base_name = "resteasy-jaxb-provider.jar"; # CA, KRA, OCSP, TKS
+my $resteasy_jaxrs_jar_base_name = "resteasy-jaxrs.jar"; # CA, KRA, OCSP, TKS
+my $scannotation_jar_base_name = "scannotation.jar"; # CA, KRA, OCSP, TKS
my $jettison_jar_base_name = "jettison.jar"; # CA, KRA, OCSP, TKS
-my $resteasy_jettison_provider_jar_base_name = "resteasy-jettison-provider-2.3-RC1.jar"; # CA, KRA, OCSP, TKS
+my $resteasy_jettison_provider_jar_base_name = "resteasy-jettison-provider.jar"; # CA, KRA, OCSP, TKS
my $apache_commons_collections_jar_base_name = "apache-commons-collections.jar";
my $jakarta_commons_collections_jar_base_name = "jakarta-commons-collections.jar";