diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2013-12-02 02:53:10 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2013-12-02 02:53:10 +0000 |
commit | f88b3add41d41de674712d9b5ce06a0f2a2f63bf (patch) | |
tree | 57cf4db16c2cf8d413128024b0ed69c284ce4852 /BUILDING.txt | |
parent | 0990998e00a61bc653592281ad9f914aef291327 (diff) | |
download | tigervnc-f88b3add41d41de674712d9b5ce06a0f2a2f63bf.tar.gz tigervnc-f88b3add41d41de674712d9b5ce06a0f2a2f63bf.zip |
Added attributes to the Java viewer MANIFEST file in order to conform to upcoming JRE requirements. Added support for specifying a signing certificate in place of the self-signed certificate.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5145 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'BUILDING.txt')
-rw-r--r-- | BUILDING.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/BUILDING.txt b/BUILDING.txt index 4ed06671..98c7c6b0 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -385,6 +385,28 @@ Similarly, if the Java viewer is built along with the Unix TigerVNC Server (Xvnc), then the build system will include the Java viewer in the server tarball. +By default, a self-signed certificate will be generated and used to sign the +jar file. By specifying the following command line arguments to the CMake +command line, an alternate certificate may be used for signing. + + -DJAVA_KEYSTORE=${keystore_location_or_url} + -DJAVA_KEYSTORE_TYPE=${keystore_type} (Default: "jks") + -DJAVA_KEY_ALIAS=${keytore_key_alias} + -DJAVA_STOREPASS=${keystore_password} + -DJAVA_KEYPASS=${keystore_entry_password} + -DJAVA_TSA_URL=${url_of_timestamping_authority} + +The values of the JAVA_STOREPASS and JAVA_KEYPASS arguments may optionally be +read from file or environment variables by prefixing the value with ":env " +or ":file " (see the jarsigner documentation for more info): + + export StorePass=tigervnc + export KeyPass=tigervnc + cmake \ + ... + -DJAVA_STOREPASS=":env StorePass" + -DJAVA_KEYPASS=":env KeyPass" + ====================================== Building Native Language Support (NLS) |