summaryrefslogtreecommitdiffstats
path: root/base/ocsp
diff options
context:
space:
mode:
Diffstat (limited to 'base/ocsp')
-rw-r--r--base/ocsp/src/CMakeLists.txt9
-rw-r--r--base/ocsp/src/pki-ocsp.mf2
2 files changed, 11 insertions, 0 deletions
diff --git a/base/ocsp/src/CMakeLists.txt b/base/ocsp/src/CMakeLists.txt
index 34b1ec4c2..2ea6a1536 100644
--- a/base/ocsp/src/CMakeLists.txt
+++ b/base/ocsp/src/CMakeLists.txt
@@ -91,9 +91,18 @@ javac(pki-ocsp-classes
symkey pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore
)
+configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/pki-ocsp.mf
+ ${CMAKE_CURRENT_BINARY_DIR}/pki-ocsp.mf
+)
+
jar(pki-ocsp-jar
CREATE
${CMAKE_BINARY_DIR}/dist/pki-ocsp-${APPLICATION_VERSION}.jar
+ OPTIONS
+ m
+ PARAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/pki-ocsp.mf
INPUT_DIR
${CMAKE_BINARY_DIR}/classes
FILES
diff --git a/base/ocsp/src/pki-ocsp.mf b/base/ocsp/src/pki-ocsp.mf
new file mode 100644
index 000000000..999e7d992
--- /dev/null
+++ b/base/ocsp/src/pki-ocsp.mf
@@ -0,0 +1,2 @@
+Name: pki-ocsp
+Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file