X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=make-jpkg.1;h=34a5462f052befe0d0b46411a2f968d7649cd4c5;hp=9575561410f4cb956c35348021fda40b498200c3;hb=a87614986d49e2eac20bd8fa0b8df85a5419fa46;hpb=c04ab68efb6b39623aa6ca59ac63c786d3276668 diff --git a/make-jpkg.1 b/make-jpkg.1 index 9575561..34a5462 100644 --- a/make-jpkg.1 +++ b/make-jpkg.1 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH MAKE-JPKG 1 "January 22, 2012" +.TH MAKE-JPKG 1 "September 10, 2016" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -22,7 +22,7 @@ make-jpkg \- builds Debian packages from Java binary distributions [\fIOPTION\fR]... [\fIFILE\fR] .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, +.\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. .PP \fBmake-jpkg\fP builds a Debian package from the given Java @@ -43,12 +43,33 @@ full name used in the maintainer field of the package .B --email \fIEMAIL\fR email address used in the maintainer field of the package .TP +.B --distribution \fIDISTRIBUTION\fR +distribution to use in the debian changelog for the resulting package +.TP +.B --priority \fIPRIORITY\fR +numeric priority for use by \fBupdate-alternatives\fP. This overrides the default +priority, which is intentionally lower than that of the Debian-provided OpenJDK +packages. Only use this option if the generated package should be considered higher +priority by \fBupdate-alternatives\fP. +.TP .B --changes create a .changes file .TP .B --revision add debian revision .TP +.B --source +build a source package instead of a binary deb package +.TP +.B --with-system-certs +Replace the JVMs keystore with a softlink to the system's keystore, +(/etc/ssl/certs/java/cacerts) which is managed automatically by the +ca-certificates and ca-certificates-java packages. +.TP +.B --jce-policy \fIJCE_POLICY_FILE\fR +Replace cryptography files with versions +from the specified JCE_POLICY_FILE. +.TP .B --help display help text and exit .TP @@ -64,23 +85,23 @@ with the downloaded file. The program asks the user for additional information and builds a Debian binary package in the current directory. .PP -The program requires about 200 MB free disk space in a temporary -directory. The temporary directory defaults to +The program requires about 400 MB free disk space in a temporary +directory. The temporary directory defaults to .I /tmp but you can specify an alternate directory by setting the environment variable \fITMPDIR\fR. .SH EXAMPLE -To install Oracle(TM) 7 Standard Edition JDK, download a release - 64 bits version of update 2 from http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html in this example - and invoke make-jpkg: +To install Oracle(TM) 8 Standard Edition JDK, download a release from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and invoke make-jpkg, for example: .IP -make-jpkg /jdk-7u2-linux-x64.tar.gz +make-jpkg /jdk-8u102-linux-x64.tar.gz .PP This generate a Debian package in the current directory, that can be installed using dpkg: .IP -dpkg \-i oracle-java7-jdk_7u2_amd64.deb +dpkg \-i oracle-java8-jdk_8u102_amd64.deb .PP When you're done, you can delete initial download as well as generated package: .IP -rm /jdk-7u2-linux-x64.tar.gz oracle-java7-jdk_7u2_amd64.deb +rm /jdk-8u102-linux-x64.tar.gz oracle-java8-jdk_8u102_amd64.deb .PP .SH ENVIRONMENT .TP