]>
git.sven.stormbind.net Git - sven/java-package.git/log
tony mancill [Sat, 10 Sep 2016 17:54:56 +0000 (10:54 -0700)]
update changelog
tony mancill [Sat, 10 Sep 2016 17:48:40 +0000 (10:48 -0700)]
apply patch for --jce-policy (Closes: #833301)
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 [Sat, 10 Sep 2016 17:01:47 +0000 (10:01 -0700)]
interim changelog
tony mancill [Sat, 10 Sep 2016 17:07:30 +0000 (10:07 -0700)]
bump std-ver to 3.9.8
tony mancill [Sat, 10 Sep 2016 17:03:36 +0000 (10:03 -0700)]
add --distribution patch (Closes: #819537)
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.
Benjamin Drung [Fri, 18 Mar 2016 16:50:56 +0000 (17:50 +0100)]
Release java-package 0.61 to Debian unstable
Benjamin Drung [Fri, 18 Mar 2016 16:50:02 +0000 (17:50 +0100)]
Update Vcs-Browser and Vcs-Git to use HTTPS
Benjamin Drung [Fri, 18 Mar 2016 16:02:53 +0000 (17:02 +0100)]
Remove UTF-8 trademark symbol from package description
The trademark symbol is not worth requiring UTF-8. Thus just drop it
from the package short description.
Benjamin Drung [Fri, 18 Mar 2016 11:31:54 +0000 (12:31 +0100)]
Server JRE: Exclude libs that pull in X11
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 [Thu, 17 Mar 2016 15:24:13 +0000 (16:24 +0100)]
Add support for server JRE (Closes: #776389)
Benjamin Drung [Thu, 17 Mar 2016 16:42:29 +0000 (17:42 +0100)]
Make JRE/JDK package architecture specific
Benjamin Drung [Thu, 17 Mar 2016 13:56:13 +0000 (14:56 +0100)]
Use package name as directory in /usr/lib/jvm
Benjamin Drung [Thu, 17 Mar 2016 16:02:35 +0000 (17:02 +0100)]
Refactor Debian package build code
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 [Thu, 17 Mar 2016 14:29:46 +0000 (15:29 +0100)]
Bump Standards-Version to 3.9.7 (no changes)
Emmanuel Bourg [Mon, 30 Nov 2015 13:23:36 +0000 (14:23 +0100)]
Upload to unstable
Emmanuel Bourg [Mon, 30 Nov 2015 13:22:35 +0000 (14:22 +0100)]
Disabled dh_strip_nondeterminism to speed up the build
tony mancill [Sun, 4 Oct 2015 05:20:07 +0000 (22:20 -0700)]
update changelog for #794401
Emmanuel Bourg [Fri, 18 Sep 2015 22:17:42 +0000 (00:17 +0200)]
Changed the section of the documentation packages to non-free/doc
Emmanuel Bourg [Fri, 18 Sep 2015 21:47:39 +0000 (23:47 +0200)]
Changed the architecture of the documentation packages from any to all
Emmanuel Bourg [Fri, 18 Sep 2015 21:37:28 +0000 (23:37 +0200)]
Fixed the dh_shlibdeps error when generating a documentation package (Closes: #753071)
Emmanuel Bourg [Fri, 18 Sep 2015 21:16:22 +0000 (23:16 +0200)]
Fixed the detection of the latest Java 8 documentation archives
Emmanuel Bourg [Fri, 18 Sep 2015 20:14:14 +0000 (22:14 +0200)]
Added jcontrol to the command line alternatives (Closes: #799370)
tony mancill [Sun, 13 Sep 2015 04:05:56 +0000 (21:05 -0700)]
use --apparent-size when invoking du to check size of JDK tarball
The bug report references problems on OpenVZ. Adding --apparent-size
should be safe for general use. Closes: #794401
tony mancill [Fri, 19 Jun 2015 05:03:13 +0000 (22:03 -0700)]
depend on build-essential
tony mancill [Fri, 19 Jun 2015 05:00:28 +0000 (22:00 -0700)]
word-smith the long package description
tony mancill [Sat, 16 May 2015 21:58:26 +0000 (14:58 -0700)]
prepare for upload to unstable
tony mancill [Sat, 16 May 2015 21:39:24 +0000 (14:39 -0700)]
add dependences needed run make-jpkg (Closes: #782132)
tested the following builds in a clean jessie chroot:
make-jpkg jdk-8u45-linux-x64.tar.gz
make-jpkg jre-8u45-linux-x64.tar.gz
make-jpkg jdk-7u80-linux-x64.tar.gz
make-jpkg jre-7u80-linux-x64.tar.gz
Emmanuel Bourg [Wed, 4 Mar 2015 23:51:29 +0000 (00:51 +0100)]
Upload to experimental
Emmanuel Bourg [Wed, 4 Mar 2015 23:44:37 +0000 (00:44 +0100)]
Removed .gitignore to avoid uploading unwanted files by mistake
Francesc Zacarias [Wed, 4 Mar 2015 23:43:30 +0000 (00:43 +0100)]
New --with-system-certs option to use the system keystore (Closes: #776395)
Emmanuel Bourg [Wed, 4 Mar 2015 23:10:42 +0000 (00:10 +0100)]
Removed the generated package mistakenly included in the source package (Closes: #779727)
Emmanuel Bourg [Sat, 24 Jan 2015 23:04:22 +0000 (00:04 +0100)]
Upload to experimental
Emmanuel Bourg [Sat, 24 Jan 2015 22:58:07 +0000 (23:58 +0100)]
Added more command line tool alternatives: jmc and jvisualvm (Closes: #676877)
Laurens Blankers [Sat, 24 Jan 2015 14:08:40 +0000 (15:08 +0100)]
Provide all runtimes since Java 5 (Close: #775987)
Emmanuel Bourg [Thu, 22 Jan 2015 08:47:33 +0000 (09:47 +0100)]
Include Java 8 in the help message of make-jpkg (Closes: #775977)
Emmanuel Bourg [Thu, 22 Jan 2015 08:42:01 +0000 (09:42 +0100)]
Standards-Version updated to 3.9.6
Benjamin Drung [Fri, 20 Jun 2014 09:10:56 +0000 (11:10 +0200)]
Release java-package 0.56 to Debian unstable.
Benjamin Drung [Fri, 20 Jun 2014 09:08:32 +0000 (11:08 +0200)]
Set the urcency of the guest package to medium.
Chris Jester-Young [Wed, 18 Jun 2014 12:24:35 +0000 (08:24 -0400)]
Do not Build-Depends libavcodec53 and libavformat53.
Benjamin Drung [Tue, 17 Jun 2014 18:42:10 +0000 (20:42 +0200)]
releasing java-package 0.55 to unstable
Benjamin Drung [Tue, 17 Jun 2014 18:36:50 +0000 (20:36 +0200)]
Create build depends for JDK.
Benjamin Drung [Tue, 17 Jun 2014 17:53:34 +0000 (19:53 +0200)]
Remove trailing spaces from copyright file.
Benjamin Drung [Tue, 17 Jun 2014 17:43:46 +0000 (19:43 +0200)]
Group commands to create debian/install.
Benjamin Drung [Tue, 17 Jun 2014 17:38:03 +0000 (19:38 +0200)]
Replace lsb_release call by dpkg-vendor call.
Benjamin Drung [Tue, 17 Jun 2014 17:34:45 +0000 (19:34 +0200)]
Run wrap-and-sort.
Benjamin Drung [Tue, 17 Jun 2014 17:34:13 +0000 (19:34 +0200)]
Convert copyright file content to UTF-8 for debian/copyright.
Benjamin Drung [Thu, 8 May 2014 13:11:51 +0000 (15:11 +0200)]
Update debian/changelog.
Benjamin Drung [Thu, 8 May 2014 12:53:53 +0000 (14:53 +0200)]
Add --source option to build a source package instead of a binary deb package
Closes: #745762
Benjamin Drung [Thu, 8 May 2014 11:22:32 +0000 (13:22 +0200)]
Remove empty new lines at end of files.
Benjamin Drung [Thu, 8 May 2014 11:22:06 +0000 (13:22 +0200)]
Add ${misc:Depends} to the guest dependency.
Benjamin Drung [Thu, 8 May 2014 11:21:23 +0000 (13:21 +0200)]
Use dpkg-buildpackage to build the guest package.
Benjamin Drung [Thu, 8 May 2014 11:11:59 +0000 (13:11 +0200)]
Add a debian/rules file to the generated source package.
Emmanuel Bourg [Thu, 24 Apr 2014 21:28:12 +0000 (23:28 +0200)]
Use debhelper level 9 in the generated package
Emmanuel Bourg [Thu, 24 Apr 2014 21:21:10 +0000 (23:21 +0200)]
Removed trailing spaces
Emmanuel Bourg [Thu, 24 Apr 2014 20:26:17 +0000 (22:26 +0200)]
Bumped the Standards-Version of the generated package to 3.9.5
tony mancill [Wed, 9 Apr 2014 04:32:20 +0000 (21:32 -0700)]
update changelog
tony mancill [Wed, 9 Apr 2014 04:30:49 +0000 (21:30 -0700)]
honor --revision for -doc packages
tony mancill [Wed, 9 Apr 2014 04:28:40 +0000 (21:28 -0700)]
apply patch to honor --revision argument
(Closes: #743919)
Thanks to Alberto Caso Palomino
tony mancill [Tue, 8 Apr 2014 04:31:32 +0000 (21:31 -0700)]
add lsb-release to Depends
lsb_release is used in lib/common.sh
Emmanuel Bourg [Mon, 24 Mar 2014 17:45:16 +0000 (18:45 +0100)]
Switch to debhelper level 9
Emmanuel Bourg [Wed, 12 Feb 2014 13:59:34 +0000 (14:59 +0100)]
Added more command line tool alternatives
Emmanuel Bourg [Wed, 12 Feb 2014 11:28:34 +0000 (12:28 +0100)]
Removed the suggested dependency on openjdk-6-jre
Emmanuel Bourg [Wed, 12 Feb 2014 11:26:45 +0000 (12:26 +0100)]
Standards-Version updated to 3.9.5
Emmanuel Bourg [Wed, 12 Feb 2014 11:25:35 +0000 (12:25 +0100)]
Added support for ARM VFP/hard-float JDK releases
Sylvestre Ledru [Tue, 10 Sep 2013 12:50:25 +0000 (14:50 +0200)]
uploaded
Emmanuel Bourg [Fri, 30 Aug 2013 23:32:30 +0000 (01:32 +0200)]
Modified the final message to better see the install command
Emmanuel Bourg [Fri, 30 Aug 2013 23:31:16 +0000 (01:31 +0200)]
Ignore the archives in the current directory
Emmanuel Bourg [Fri, 30 Aug 2013 23:18:43 +0000 (01:18 +0200)]
Excluded the fxavcodecplugin libraries used by JavaFX from the dependency calculation performed by dh_shlibdeps to avoid errors (Closes: #687075)
Emmanuel Bourg [Fri, 30 Aug 2013 22:56:26 +0000 (00:56 +0200)]
Changed the short description of the generate packages to match the official name
Emmanuel Bourg [Fri, 30 Aug 2013 22:34:57 +0000 (00:34 +0200)]
Removed the references to "Java 2" from the description of the generated JRE package
Emmanuel Bourg [Fri, 30 Aug 2013 21:50:06 +0000 (23:50 +0200)]
Removed the recommended dependency on libx11-6 and libasound2 from the generated control file
Emmanuel Bourg [Fri, 30 Aug 2013 17:29:44 +0000 (19:29 +0200)]
Removed the recommended dependency on libgtk1.2 from the generated control file
Emmanuel Bourg [Fri, 30 Aug 2013 16:52:01 +0000 (18:52 +0200)]
Fixed a typo in Michael Koch's name
Emmanuel Bourg [Fri, 30 Aug 2013 16:50:21 +0000 (18:50 +0200)]
Removed the recommended dependency on libstdc++5 from the generated control file
Emmanuel Bourg [Fri, 30 Aug 2013 16:17:28 +0000 (18:17 +0200)]
Updated debian/README.Debian
Emmanuel Bourg [Fri, 30 Aug 2013 15:57:32 +0000 (17:57 +0200)]
Updated debhelper level to 7
Emmanuel Bourg [Thu, 29 Aug 2013 16:36:57 +0000 (18:36 +0200)]
Updated the manpages for Java 8
Emmanuel Bourg [Thu, 29 Aug 2013 15:37:15 +0000 (17:37 +0200)]
Added support for early access documentations
Emmanuel Bourg [Thu, 29 Aug 2013 12:40:15 +0000 (14:40 +0200)]
Adjusted the disk space required to unpack the Java 8 documentation
Emmanuel Bourg [Thu, 29 Aug 2013 11:30:45 +0000 (13:30 +0200)]
Removed 'Replaces: ${j2se_package}debian' from the generated control file
Emmanuel Bourg [Thu, 29 Aug 2013 07:32:22 +0000 (09:32 +0200)]
Fixed the version for the early access releases
Emmanuel Bourg [Wed, 28 Aug 2013 23:17:47 +0000 (01:17 +0200)]
Updated the package description
Emmanuel Bourg [Wed, 28 Aug 2013 23:14:21 +0000 (01:14 +0200)]
Added support for FCS releases
Emmanuel Bourg [Wed, 28 Aug 2013 22:33:55 +0000 (00:33 +0200)]
Added support for GA releases
Emmanuel Bourg [Wed, 28 Aug 2013 17:37:08 +0000 (19:37 +0200)]
Wrap the error message when no matching packaging method is found on two lines
Emmanuel Bourg [Wed, 28 Aug 2013 17:36:20 +0000 (19:36 +0200)]
Added support for early access releases (Closes: #721136)
Emmanuel Bourg [Wed, 5 Jun 2013 14:05:19 +0000 (16:05 +0200)]
Changelog update
Emmanuel Bourg [Wed, 5 Jun 2013 14:04:13 +0000 (16:04 +0200)]
Updated the manpages to reflect the latest naming changes
Emmanuel Bourg [Wed, 5 Jun 2013 13:47:35 +0000 (15:47 +0200)]
Switched to the 3.0 (native) package format
Emmanuel Bourg [Wed, 5 Jun 2013 13:44:19 +0000 (15:44 +0200)]
debian/copyright: Switched to the Machine-readable format 1.0
Emmanuel Bourg [Wed, 5 Jun 2013 13:38:55 +0000 (15:38 +0200)]
Removed an extra space reported by lintian
Emmanuel Bourg [Wed, 5 Jun 2013 13:36:18 +0000 (15:36 +0200)]
debian/control: Use canonical URLs for the Vcs-* fields
Emmanuel Bourg [Wed, 5 Jun 2013 13:23:28 +0000 (15:23 +0200)]
Removed the unused provided dependencies (j2sdk<version>, j2re<version>)
Emmanuel Bourg [Wed, 5 Jun 2013 13:07:45 +0000 (15:07 +0200)]
Provide the java<version-1>-runtime and java<version-2>-runtime dependencies
Emmanuel Bourg [Wed, 5 Jun 2013 12:59:08 +0000 (14:59 +0200)]
Provide the java<version>-sdk dependencies to match the openjdk package
Emmanuel Bourg [Wed, 5 Jun 2013 12:48:56 +0000 (14:48 +0200)]
Use the upstream versioning scheme (i.e 7u13 instead of 7.13) to match the convention used by the new openjdk packages
Emmanuel Bourg [Wed, 5 Jun 2013 12:43:03 +0000 (14:43 +0200)]
Renamed the script files (j2sdk->jdk, j2re->jre, j2se->javase)
Sylvestre Ledru [Wed, 5 Jun 2013 12:06:04 +0000 (14:06 +0200)]
Change the installation path from /usr/lib/jvm/jdk-6.38-oracle-x64 or /usr/lib/jvm/jdk-7.10-oracle-x64 to /usr/lib/jvm/jdk-6-oracle-x64 and /usr/lib/jvm/jdk-7-oracle-x64 Thanks to Constantin Makshin for the patch (Closes: #696227)
Sylvestre Ledru [Wed, 5 Jun 2013 12:04:07 +0000 (14:04 +0200)]
ack of the nmu and prepare the new release
Sylvestre Ledru [Wed, 5 Jun 2013 12:03:53 +0000 (14:03 +0200)]
* Add support of ARM upstream binary by James Page and Matthias Vill.
Thanks guys! (Closes: #687375)