2016-09-19 08:57:49 +02:00
# $NetBSD: Makefile,v 1.3 2016/09/19 06:57:49 ryoon Exp $
2015-05-30 11:49:43 +02:00
# Note: Regen distinfo with PKG_OPTIONS.oracle-jre8+=oracle-jre-jce
# Note: Update DOWNLOAD_NAME when you update the JRE version
# Note: This needs to be kept in sync with the oracle-jdk8 package
# Note: If you make makesum, make sure that you include both archs in distinfo
DISTNAME = jre-8u${ UPDATE_NUMBER } -${ DIST_OS } -${ DIST_ARCH }
PKGNAME = oracle-jre8-8.0.${ UPDATE_NUMBER }
MASTER_SITES = # empty
LICENSE = oracle-binary-code-license
DOWNLOAD_NAME = Java Runtime Environment ( JRE) 8u${ UPDATE_NUMBER }
USE_TOOLS += pax
JAVA_WRAPPERS = java javaws keytool orbd policytool rmid rmiregistry \
servertool tnameserv
REQD_DIRS = ${ JAVA_HOME }
REQD_DIRS += ${ JAVA_HOME } /lib
REQD_DIRS += ${ JAVA_HOME } /lib/applet
REQD_DIRS += ${ JAVA_HOME } /lib/images
REQD_DIRS += ${ JAVA_HOME } /lib/images/cursors
REQD_DIRS += ${ JAVA_HOME } /lib/security
CONF_FILES = # empty
. i n c l u d e "../../lang/oracle-jre8/Makefile.common"
Update Oracle JRE/JDK to 8.0u66.
pkgsrc changes:
- Add support for Darwin (JRE only, Oracle only provide .dmg downloads for
the JDK).
- Add better 'distinfo' handling so that all distfiles are included.
Upstream changes in 8.0u66:
New Features and Changes
The following are some of the notable new features and changes in this release:
Support ISO 4217 "Current funds codes" table (A.2)
This enhancement adds support for ISO 4217 table A.2 fund codes. Previously
the JDK only supported those currencies listed in table A.1.
See JDK-8074350.
Bug Fixes
This release contains fixes for security vulnerabilities. For more
information, see Oracle Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u66 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Hotspot should use PICL interface to get cacheline size on SPARC The libpicl
library is now required on Solaris/SPARC to determine the size of the cache
lines. In case the library is not present or the PICL service is not available
the JVM will display a warning and compiler optimizations that utilize the BIS
(Block Initializing Store) instruction will be turned off.
See JDK-8056124.
Preloading libjsig.dylib causes deadlock when signal() is called
Applications need to preload the libjsig library to enable signal chaining.
Previously, on OS X, after libjsig.dylib was preloaded, any call from native
code to signal() caused a deadlock. This has been corrected.
See JDK-8072147.
VM crash when class is redefined with Instrumentation.redefineClasses
The JVM could crash when a class was redefined with
Instrumentation.redefineClasses(). The crash could either be a segmentation
fault at SystemDictionary::resolve_or_null, or an internal error with the
message "tag mismatch with resolution error table". This has now been fixed .
See JDK-8076110.
Upstream changes in 8.0u65:
Bug Fixes
This release contains fixes for security vulnerabilities. For more information,
see Oracle Java SE Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u65 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Use Safe Prime Diffie-Hellman Groups
In the JDK SSL/TLS implementation (SunJSSE provider), safe prime
Diffie-Hellman groups are used by default. Users can customize Diffie-Hellman
groups with the security property, "jdk.tls.server.defaultDHEParameters".
[macosx] JRE AU client installed fails update to NEXTVER on Mac 10.11
A new installer is introduced in the 8u65 release to update OS X users to the
latest version. The installer will apply to both scheduled and manual updates,
and bundles made available on java.com and OTN. Users who experience
compatibility issues with the new installer can manually download and install
the ".pkg" installer available on My Oracle Support.
Known Issues
[macosx] Sponsor offer screen accessibility (a11y) issues
Users who operate the keyboard to access user interfaces in the Java installer
will be unable to access hyperlinks and checkboxes in software add-on offer
screens. As a workaround to setting preferences related to add-on software in
the user interface, users can disable such offers either by disabling them in
the Java Control Panel, or by passing 'SPONSORS=0' via the command line. For
more information, refer to:
https://www.java.com/en/download/faq/disable_offers.xml
See JDK-8061886.
2015-11-10 12:35:30 +01:00
. i f ${OPSYS} = = "Darwin"
WRKSRC = ${ WRKDIR } /jre1.8.0_${ UPDATE_NUMBER } .jre/Contents/Home
. e l s e
WRKSRC = ${ WRKDIR } /jre1.8.0_${ UPDATE_NUMBER }
. e n d i f
2015-05-30 11:49:43 +02:00
SFILES_MK = sfiles-${ DIST_OS } -${ EMUL_ARCH } .mk
. s i n c l u d e "${SFILES_MK}"
. f o r f i l e i n $ { S F I L E S }
CONF_FILES += ${ JAVA_HOME } /lib/${ file } .default ${ JAVA_HOME } /lib/${ file }
. e n d f o r
CHECK_FILES_SKIP += ${ JAVA_HOME } /lib/${ JAVA_ARCH } /client/classes.jsa
CHECK_SHLIBS_SUPPORTED = NO
PKG_OPTIONS_VAR = PKG_OPTIONS.oracle-jre8
PKG_SUPPORTED_OPTIONS = oracle-jre-jce
. i n c l u d e "../../mk/bsd.options.mk"
PLIST_SRC = PLIST.${ DIST_OS } -${ EMUL_ARCH }
PLIST_VARS += jce native
Update Oracle JRE/JDK to 8.0u66.
pkgsrc changes:
- Add support for Darwin (JRE only, Oracle only provide .dmg downloads for
the JDK).
- Add better 'distinfo' handling so that all distfiles are included.
Upstream changes in 8.0u66:
New Features and Changes
The following are some of the notable new features and changes in this release:
Support ISO 4217 "Current funds codes" table (A.2)
This enhancement adds support for ISO 4217 table A.2 fund codes. Previously
the JDK only supported those currencies listed in table A.1.
See JDK-8074350.
Bug Fixes
This release contains fixes for security vulnerabilities. For more
information, see Oracle Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u66 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Hotspot should use PICL interface to get cacheline size on SPARC The libpicl
library is now required on Solaris/SPARC to determine the size of the cache
lines. In case the library is not present or the PICL service is not available
the JVM will display a warning and compiler optimizations that utilize the BIS
(Block Initializing Store) instruction will be turned off.
See JDK-8056124.
Preloading libjsig.dylib causes deadlock when signal() is called
Applications need to preload the libjsig library to enable signal chaining.
Previously, on OS X, after libjsig.dylib was preloaded, any call from native
code to signal() caused a deadlock. This has been corrected.
See JDK-8072147.
VM crash when class is redefined with Instrumentation.redefineClasses
The JVM could crash when a class was redefined with
Instrumentation.redefineClasses(). The crash could either be a segmentation
fault at SystemDictionary::resolve_or_null, or an internal error with the
message "tag mismatch with resolution error table". This has now been fixed .
See JDK-8076110.
Upstream changes in 8.0u65:
Bug Fixes
This release contains fixes for security vulnerabilities. For more information,
see Oracle Java SE Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u65 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Use Safe Prime Diffie-Hellman Groups
In the JDK SSL/TLS implementation (SunJSSE provider), safe prime
Diffie-Hellman groups are used by default. Users can customize Diffie-Hellman
groups with the security property, "jdk.tls.server.defaultDHEParameters".
[macosx] JRE AU client installed fails update to NEXTVER on Mac 10.11
A new installer is introduced in the 8u65 release to update OS X users to the
latest version. The installer will apply to both scheduled and manual updates,
and bundles made available on java.com and OTN. Users who experience
compatibility issues with the new installer can manually download and install
the ".pkg" installer available on My Oracle Support.
Known Issues
[macosx] Sponsor offer screen accessibility (a11y) issues
Users who operate the keyboard to access user interfaces in the Java installer
will be unable to access hyperlinks and checkboxes in software add-on offer
screens. As a workaround to setting preferences related to add-on software in
the user interface, users can disable such offers either by disabling them in
the Java Control Panel, or by passing 'SPONSORS=0' via the command line. For
more information, refer to:
https://www.java.com/en/download/faq/disable_offers.xml
See JDK-8061886.
2015-11-10 12:35:30 +01:00
.if !empty(PKG_OPTIONS : Moracle -jre -jce )
2015-05-30 11:49:43 +02:00
DISTFILES = ${ DISTNAME } ${ EXTRACT_SUFX } jce_policy-8.zip
. e n d i f
.if !empty(PKG_OPTIONS : Moracle -jre -jce )
PLIST.jce = yes
FETCH_MESSAGE += ""
2016-09-19 08:57:49 +02:00
FETCH_MESSAGE += "As oracle-jre-jce is enabled jce_policy-8.zip from http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html is also needed"
2015-05-30 11:49:43 +02:00
. e n d i f
Update Oracle JRE/JDK to 8.0u66.
pkgsrc changes:
- Add support for Darwin (JRE only, Oracle only provide .dmg downloads for
the JDK).
- Add better 'distinfo' handling so that all distfiles are included.
Upstream changes in 8.0u66:
New Features and Changes
The following are some of the notable new features and changes in this release:
Support ISO 4217 "Current funds codes" table (A.2)
This enhancement adds support for ISO 4217 table A.2 fund codes. Previously
the JDK only supported those currencies listed in table A.1.
See JDK-8074350.
Bug Fixes
This release contains fixes for security vulnerabilities. For more
information, see Oracle Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u66 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Hotspot should use PICL interface to get cacheline size on SPARC The libpicl
library is now required on Solaris/SPARC to determine the size of the cache
lines. In case the library is not present or the PICL service is not available
the JVM will display a warning and compiler optimizations that utilize the BIS
(Block Initializing Store) instruction will be turned off.
See JDK-8056124.
Preloading libjsig.dylib causes deadlock when signal() is called
Applications need to preload the libjsig library to enable signal chaining.
Previously, on OS X, after libjsig.dylib was preloaded, any call from native
code to signal() caused a deadlock. This has been corrected.
See JDK-8072147.
VM crash when class is redefined with Instrumentation.redefineClasses
The JVM could crash when a class was redefined with
Instrumentation.redefineClasses(). The crash could either be a segmentation
fault at SystemDictionary::resolve_or_null, or an internal error with the
message "tag mismatch with resolution error table". This has now been fixed .
See JDK-8076110.
Upstream changes in 8.0u65:
Bug Fixes
This release contains fixes for security vulnerabilities. For more information,
see Oracle Java SE Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u65 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Use Safe Prime Diffie-Hellman Groups
In the JDK SSL/TLS implementation (SunJSSE provider), safe prime
Diffie-Hellman groups are used by default. Users can customize Diffie-Hellman
groups with the security property, "jdk.tls.server.defaultDHEParameters".
[macosx] JRE AU client installed fails update to NEXTVER on Mac 10.11
A new installer is introduced in the 8u65 release to update OS X users to the
latest version. The installer will apply to both scheduled and manual updates,
and bundles made available on java.com and OTN. Users who experience
compatibility issues with the new installer can manually download and install
the ".pkg" installer available on My Oracle Support.
Known Issues
[macosx] Sponsor offer screen accessibility (a11y) issues
Users who operate the keyboard to access user interfaces in the Java installer
will be unable to access hyperlinks and checkboxes in software add-on offer
screens. As a workaround to setting preferences related to add-on software in
the user interface, users can disable such offers either by disabling them in
the Java Control Panel, or by passing 'SPONSORS=0' via the command line. For
more information, refer to:
https://www.java.com/en/download/faq/disable_offers.xml
See JDK-8061886.
2015-11-10 12:35:30 +01:00
# Simplify distinfo generation
. i f m a k e ( d i s t i n f o )
DISTFILES = jce_policy-8.zip
DISTFILES += jre-8u${ UPDATE_NUMBER } -linux-i586.tar.gz
DISTFILES += jre-8u${ UPDATE_NUMBER } -linux-x64.tar.gz
DISTFILES += jre-8u${ UPDATE_NUMBER } -macosx-x64.tar.gz
DISTFILES += jre-8u${ UPDATE_NUMBER } -solaris-x64.tar.gz
FETCH_MESSAGE = "You must fetch the following files to generate distinfo:"
FETCH_MESSAGE += ""
. f o r f i l e i n $ { D I S T F I L E S }
FETCH_MESSAGE += " ${ file } "
. e n d f o r
FETCH_MESSAGE += ""
FETCH_MESSAGE += "from:"
FETCH_MESSAGE += " ${ DOWNLOAD } "
FETCH_MESSAGE += " or ${ ARCHIVE } "
. e n d i f
2015-05-30 11:49:43 +02:00
# Some of the binaries require libX11, so ensure that requirement is
# satisfied when the package is installed on the native OS.
#
Update Oracle JRE/JDK to 8.0u66.
pkgsrc changes:
- Add support for Darwin (JRE only, Oracle only provide .dmg downloads for
the JDK).
- Add better 'distinfo' handling so that all distfiles are included.
Upstream changes in 8.0u66:
New Features and Changes
The following are some of the notable new features and changes in this release:
Support ISO 4217 "Current funds codes" table (A.2)
This enhancement adds support for ISO 4217 table A.2 fund codes. Previously
the JDK only supported those currencies listed in table A.1.
See JDK-8074350.
Bug Fixes
This release contains fixes for security vulnerabilities. For more
information, see Oracle Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u66 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Hotspot should use PICL interface to get cacheline size on SPARC The libpicl
library is now required on Solaris/SPARC to determine the size of the cache
lines. In case the library is not present or the PICL service is not available
the JVM will display a warning and compiler optimizations that utilize the BIS
(Block Initializing Store) instruction will be turned off.
See JDK-8056124.
Preloading libjsig.dylib causes deadlock when signal() is called
Applications need to preload the libjsig library to enable signal chaining.
Previously, on OS X, after libjsig.dylib was preloaded, any call from native
code to signal() caused a deadlock. This has been corrected.
See JDK-8072147.
VM crash when class is redefined with Instrumentation.redefineClasses
The JVM could crash when a class was redefined with
Instrumentation.redefineClasses(). The crash could either be a segmentation
fault at SystemDictionary::resolve_or_null, or an internal error with the
message "tag mismatch with resolution error table". This has now been fixed .
See JDK-8076110.
Upstream changes in 8.0u65:
Bug Fixes
This release contains fixes for security vulnerabilities. For more information,
see Oracle Java SE Critical Patch Update Advisory. For a list of bug fixes
included in this release, see JDK 8u65 Bug Fixes page.
The following are some of the notable bug fixes included in this release:
Use Safe Prime Diffie-Hellman Groups
In the JDK SSL/TLS implementation (SunJSSE provider), safe prime
Diffie-Hellman groups are used by default. Users can customize Diffie-Hellman
groups with the security property, "jdk.tls.server.defaultDHEParameters".
[macosx] JRE AU client installed fails update to NEXTVER on Mac 10.11
A new installer is introduced in the 8u65 release to update OS X users to the
latest version. The installer will apply to both scheduled and manual updates,
and bundles made available on java.com and OTN. Users who experience
compatibility issues with the new installer can manually download and install
the ".pkg" installer available on My Oracle Support.
Known Issues
[macosx] Sponsor offer screen accessibility (a11y) issues
Users who operate the keyboard to access user interfaces in the Java installer
will be unable to access hyperlinks and checkboxes in software add-on offer
screens. As a workaround to setting preferences related to add-on software in
the user interface, users can disable such offers either by disabling them in
the Java Control Panel, or by passing 'SPONSORS=0' via the command line. For
more information, refer to:
https://www.java.com/en/download/faq/disable_offers.xml
See JDK-8061886.
2015-11-10 12:35:30 +01:00
. i f d e f i n e d ( E M U L _ I S _ N A T I V E ) & & ${OPSYS} != "SunOS" && ${ OPSYS } != "Darwin"
2015-05-30 11:49:43 +02:00
. i f ${X11_TYPE} = = "native"
X11_LIBDIR = ${ X11BASE } /lib${ LIBABISUFFIX }
. i f ${_OPSYS_SHLIB_TYPE} = = "dylib"
X11_LIB = ${ X11_LIBDIR } /libX11.dylib
. e l s e
X11_LIB = ${ X11_LIBDIR } /libX11.so.6
. e n d i f
. i f ! e x i s t s ( $ { X 1 1 _ L I B } )
PKG_FAIL_REASON += " ${ X11_LIB } does not exist. Please install the " \
"X11 library packages for your system."
. e n d i f
. e l s e
. i n c l u d e "../../x11/libX11/buildlink3.mk"
. i n c l u d e "../../x11/libXext/buildlink3.mk"
. i n c l u d e "../../x11/libXi/buildlink3.mk"
. i n c l u d e "../../x11/libXt/buildlink3.mk"
. i n c l u d e "../../x11/libXtst/buildlink3.mk"
X11_LIBDIR = ${ X11BASE } /lib
. e n d i f
. i f ${EMUL_OPSYS} = = "linux"
. i n c l u d e "../../audio/alsa-lib/buildlink3.mk"
ALSA_LIBDIR = ${ BUILDLINK_PREFIX .alsa-lib } /${ BUILDLINK_LIBDIRS .alsa-lib }
. i n c l u d e "../../databases/unixodbc/buildlink3.mk"
ODBC_LIBDIR = ${ BUILDLINK_PREFIX .unixodbc } /${ BUILDLINK_LIBDIRS .unixodbc }
. e n d i f
ARCH_LIBDIR = ${ JAVA_HOME } /lib/${ JAVA_ARCH }
.PHONY : create -library -symlinks
post-install : create -library -symlinks
create-library-symlinks :
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libX11.so.6 ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libX11.so.6 ${ DESTDIR } ${ ARCH_LIBDIR } /jli
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libXext.so.6 ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libXi.so.6 ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libXt.so.6 ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ X11_LIBDIR } /libXtst.so.6 ${ DESTDIR } ${ ARCH_LIBDIR }
. i f ${EMUL_OPSYS} = = "linux"
${ RUN } ${ LN } -fs ${ ALSA_LIBDIR } /libasound.so.2 ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ ODBC_LIBDIR } /libodbc.so ${ DESTDIR } ${ ARCH_LIBDIR }
${ RUN } ${ LN } -fs ${ ODBC_LIBDIR } /libodbcinst.so ${ DESTDIR } ${ ARCH_LIBDIR }
. e n d i f
PLIST.native = yes
. e n d i f
post-extract :
${ MKDIR } ${ WRKSRC } /.systemPrefs
${ TOUCH } ${ WRKSRC } /.systemPrefs/.system.lock
${ TOUCH } ${ WRKSRC } /.systemPrefs/.systemRootModFile
do-configure :
cd ${ WRKSRC } /lib; for file in ${ SFILES } ; do \
${ MV } -f $$ file $$ file.default; \
done
pre-install :
# This file is generated the *first* time the package is built on a box
${ RM } -f ${ WRKSRC } /lib/servicetag/registration.xml
.if !empty(PKG_OPTIONS : Moracle -jre -jce )
cd ${ WRKDIR } /UnlimitedJCEPolicyJDK8 ; pax -rw -pe -v . ${ WRKSRC } /lib/security
. e n d i f
#
# re-create sfiles.mk from properties and config files
#
makesfiles : extract
${ ECHO } > ${ SFILES_MK : Q } '# $$Net' 'BSD$$'
${ ECHO } >> ${ SFILES_MK : Q } '#'
${ ECHO } >> ${ SFILES_MK : Q } '# Created with "make makesfiles"'
${ ECHO } >> ${ SFILES_MK : Q } '# Do not edit this file manually!'
${ ECHO } >> ${ SFILES_MK : Q } '#'
cd ${ WRKSRC } /lib && ${ FIND } * -name fontconfig.\* -o \
-name \* .properties -o -name \* .properties.\? \? -o \
-name \* .cfg -o -name \* .security | \
${ SED } 's/^/SFILES+= /' >> ${ PKGDIR } /${ SFILES_MK : Q }
. i n c l u d e "../../mk/bsd.pkg.mk"