- Apr 07, 2024
-
-
Tony Mancill authored
- Sep 10, 2023
-
- Oct 06, 2019
-
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
-
- Nov 02, 2018
-
-
Jelmer Vernooij authored
Fixes lintian: insecure-copyright-format-uri See https://lintian.debian.org/tags/insecure-copyright-format-uri.html for more details.
-
- Oct 23, 2018
-
-
Stripping the binary files provided by Oracle breaks some debugging tools like jmap. Since the size advantage is neglectable we just override it. (~13MiB for Java 8u121)
-
- Oct 22, 2018
-
-
Jan Martens authored
-
- Oct 16, 2018
-
-
Emmanuel Bourg authored
-
Emmanuel Bourg authored
-
Emmanuel Bourg authored
-
Emmanuel Bourg authored
-
- Jan 04, 2017
-
-
Emmanuel Bourg authored
-
Emmanuel Bourg authored
-
- Sep 11, 2016
-
-
Tony Mancill authored
Closes: #799974
-
Tony Mancill authored
-
Tony Mancill authored
This option allows the user to override the default computed priority considered by update-alternatives. Internally, it changes the priority written to the .jinfo files as well as sets priority for update-alternatives in the postinst.
- Sep 10, 2016
-
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
Update ordering of options in --help to more closely match manpage.
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
From 600a834bfb5b36b59b3fd75e01e38abf945651fc Mon Sep 17 00:00:00 2001 From: Alex Brown <alexpbrown9@gmail.com> Date: Tue, 2 Aug 2016 12:38:53 -0400 Subject: [PATCH] Add --jce-policy option This should give users the option to add the unlimited strength cryptography files to the install. Example: make-jpkg --jce-policy /tmp/jce_policy-8.zip /tmp/jdk-8u101-linux-x64.tar.gz --- lib/common.sh | 9 +++++++++ lib/javase.sh | 3 +++ make-jpkg | 10 ++++++++++ 3 files changed, 22 insertions(+) diff --git a/lib/common.sh b/lib/common.sh index 73d729f..ca09f07 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -128,6 +128,15 @@ EOF fi } +extract_jce() { + local zip_file="$1" + local dest_dir="$2" + + echo "Installing unlimited strength cryptography files using $zip_file" + for f in {US_export,local}_policy.jar; do + unzip -o -j -d "$dest_dir" "$zip_file" "*/$f" + done +} read_maintainer_info() { if [ -z "$maintainer_name" ]; then diff --git a/lib/javase.sh b/lib/javase.sh index ed0745c..6c01270 100644 --- a/lib/javase.sh +++ b/lib/javase.sh @@ -293,6 +293,9 @@ j2se_run() { local target="$package_dir/$j2se_name" install -d -m 755 "$( dirname "$target" )" extract_bin "$archive_path" "$j2se_expected_min_size" "$target" + if [[ -n "$jce_archive" ]]; then + extract_jce "$jce_path" "$target/jre/lib/security" + fi rm -rf "$target/.systemPrefs" echo "9" > "$debian_dir/compat" j2se_readme > "$debian_dir/README.Debian" diff --git a/make-jpkg b/make-jpkg index 6e53003..69d83c9 100755 --- a/make-jpkg +++ b/make-jpkg @@ -32,6 +32,7 @@ fi genchanges="" build_source="" +jce_archive="" ### check for run in fakeroot @@ -79,6 +80,8 @@ Supported java binary distributions currently include: The following options are recognized: + --jce-policy FILE Replace cryptography files with unlimited strength versions + from downloaded archive --full-name NAME full name used in the maintainer field of the package --email EMAIL email address used in the maintainer field of the package --changes create a .changes file @@ -116,6 +119,10 @@ while [[ $# -gt 0 && "x$1" == x--* ]]; do elif [[ "x$1" == x--help ]]; then print_usage exit 0 + elif [[ "x$1" == x--jce-policy ]]; then + [ $# -le 1 ] && missing_argument "$1" + shift + jce_archive="$1" elif [[ "x$1" == x--full-name ]]; then [ $# -le 1 ] && missing_argument "$1" shift @@ -162,6 +169,9 @@ archive_name="$( basename "$archive" )" archive_dir="$( cd "$( dirname "$archive" )" ; pwd )" archive_path="$archive_dir/$archive_name" +jce_name="$( basename "$jce_archive" )" +jce_dir="$( cd "$( dirname "$jce_archive" )" ; pwd )" +jce_path="$jce_dir/$jce_name" # error handling -- 2.8.1
-
Tony Mancill authored
-
Tony Mancill authored
-
Tony Mancill authored
Author: Martin Gerhard Loschwitz <m.loschwitz@syseleven.de> Date: Wed Mar 30 10:18:20 2016 +0200 Add the "--distribution" parameter This commit adds the "--distribution" paramater, effectively allowing to specify the target distribution in the changelog of the resulting java package. This feature is particularly helpful when dealing with local repositories maintained by software such as reprepro and organized based on different distributions.
-
- Mar 18, 2016
-
-
Benjamin Drung authored
-
Benjamin Drung authored
The trademark symbol is not worth requiring UTF-8. Thus just drop it from the package short description.
-
Benjamin Drung authored
Some libraries of the server JRE are linked against X11. Ignore them in the dh_shlibdeps run to avoid a dependency on X11.
-
Benjamin Drung authored
-
Benjamin Drung authored
-
Benjamin Drung authored
- Mar 17, 2016
-
-
Benjamin Drung authored
j2sdk_run() and j2re_run() are quite similar. Thus merge them to j2se_run() and move the remaining function from {jdk,jre}.sh to oracle-{jdk,jre}.sh.
-
Benjamin Drung authored
-