head 1.4; access; symbols pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.24 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.20 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.18 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.16 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.14 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.12 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.10 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.8 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.6 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.4 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.2.0.26 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.24 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.22 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.20 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.18 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.16 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.14 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.12 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.10 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.8 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2020.05.17.00.47.06; author tnn; state dead; branches; next 1.3; commitid by06jUrXKAUzQw8C; 1.3 date 2017.08.14.00.02.16; author ryoon; state Exp; branches; next 1.2; commitid FNK38syeYrmeY63A; 1.2 date 2014.05.02.10.48.13; author ryoon; state Exp; branches; next 1.1; commitid 78Y9PxSPPASh7Xyx; 1.1 date 2014.01.25.13.53.22; author ryoon; state Exp; branches; next ; commitid 4tTDQdhD8II8gvmx; desc @@ 1.4 log @retire lang/openjdk7 @ text @$NetBSD: patch-jdk_src_solaris_classes_sun_net_PortConfig.java,v 1.3 2017/08/14 00:02:16 ryoon Exp $ --- jdk/src/solaris/classes/sun/net/PortConfig.java.orig 2017-08-13 05:55:21.000000000 +0000 +++ jdk/src/solaris/classes/sun/net/PortConfig.java @@@@ -59,7 +59,7 @@@@ public final class PortConfig { } else if (os.startsWith("AIX")) { defaultLower = 32768; defaultUpper = 65535; - } else if (os.contains("OS X") || os.endsWith("BSD")) { + } else if (os.contains("OS X") || os.endsWith("BSD") || os.contains("DragonFly")) { defaultLower = 49152; defaultUpper = 65535; } else { @ 1.3 log @Update to 1.7.141 * Support build and run under NetBSD PaX MPROTECT environment Changelog: Many bugfixes and security bugfixes @ text @d1 1 a1 1 $NetBSD: patch-jdk_src_solaris_classes_sun_net_PortConfig.java,v 1.2 2014/05/02 10:48:13 ryoon Exp $ @ 1.2 log @Update to 1.7.55 Changelog: From release notes for Oracle JDK 7u55 JavaFX Release Notes JavaFX is now part of JDK. JDK 7u55 release includes JavaFX version 2.2.55. New Features and Changes The frequency of some security dialogs has been reduced on systems that run the same RIA multiple times. See 8029649. Using "*" in Caller-Allowable-Codebase Attribute. If a stand-alone asterisk (*), or asterisk as part of a top level domain such as (*.org), is specified as the value for the Caller-Allowable-Codebase attribute, then calls from JavaScript code to the RIA will show a security warning. An option to remember the choice is also provided, and if the user selects the option to remember the choice to run the RIA, no further warning messages are shown for the same RIA, when run with JavaScript from the same source. For more information, see JAR File Manifest Attributes for Security documentation. See 8033707. Disabling Sponsor Offers in the Java Installer During the installation of Java, users may be presented with the option of downloading and installing sponsor offers, such as browser add-ons, or security software. With 7u55 and later releases of Java, sponsor offers can be bypassed entirely by using "SPONSORS=0" as an option, when installing Java via the command line: Manually download the 32bit online installer for 7u55 to your local machine. Click the Windows Start Button/Menu. From the available Menu choices, select the 'Search box' and enter the text "command" in it. A list of matches will appear. Select 'Command Prompt' from the available Programs list. Navigate to the folder containing the downloaded installer, e.g.: cd c:\Users\\Downloads To start the installation, in the Command Prompt window type: jre-7u55-windows-i586-iftw.exe SPONSORS=0 The option to disable sponsors will persist across all future updates and re-installs of Java. Note that sponsor offers, and therefore this functionality, is only applicable to online 32bit JRE installers and Auto Update mechanisms for the Windows operating system. Bug Fixes Bug Id Category Sub-Category Description JDK-7190349 client-libs 2d [macosx] Text (Label) is incorrectly drawn with a rotated g2d JDK-8013569 client-libs 2d [macosx] JLabel preferred size incorrect on retina displays with non-default font size JDK-6571600 client-libs java.awt JNI use results in UnsatisfiedLinkError looking for libmawt.so JDK-8025588 client-libs java.awt [macosx] Frozen AppKit thread in 7u40 JDK-5049299 core-libs java.lang (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion JDK-8020191 core-libs java.lang System.getProperty( " os.name " ) returns " Windows NT (unknown) " on Windows 8.1 JDK-8030822 core-libs java.time (tz) Support tzdata2013i JDK-8019853 core-libs java.util.logging Break logging and AWT circular dependency JDK-8026474 deploy deployment_toolkit deployJava.js versioncheck doesn't work in IE11 JDK-8028691 deploy plugin loading browser proxy via config script should not trigger JAR download JDK-8029649 deploy plugin Reduce dialog frequency when app is run multiple times JDK-8033705 deploy plugin Array out of bounds exception in PluginMain.performSSVValidation JDK-8033779 deploy plugin JRE 7u51 Plugin Failing to Run Older JRE Version < 1.6.0 JDK-8029922 deploy webstart 32-bit only Java Web Start apps fail to run on 32- and 64-bit JRE configs JDK-8031579 deploy webstart Spurious Missing Manifest Permissions Attribute Warning When Launching versioned Java Web Start app JDK-8024830 hotspot compiler SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get JDK-8035618 other-libs corba:rmi-iiop Four api/org_omg/CORBA TCK tests fail under plugin only Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 30 23:12:48 2014 UTC (35 hours, 33 minutes ago) by ryoon Branch: MAIN CVS Tags: HEAD Changes since 1.5: +2 -2 lines Diff to previous 1.5 (colored) Update to 7.0.55 Changelog: JavaFX Release Notes JavaFX is now part of JDK. JDK 7u55 release includes JavaFX version 2.2.55. New Features and Changes The frequency of some security dialogs has been reduced on systems that run the same RIA multiple times. See 8029649. Using "*" in Caller-Allowable-Codebase Attribute. If a stand-alone asterisk (*), or asterisk as part of a top level domain such as (*.org), is specified as the value for the Caller-Allowable-Codebase attribute, then calls from JavaScript code to the RIA will show a security warning. An option to remember the choice is also provided, and if the user selects the option to remember the choice to run the RIA, no further warning messages are shown for the same RIA, when run with JavaScript from the same source. For more information, see JAR File Manifest Attributes for Security documentation. See 8033707. Disabling Sponsor Offers in the Java Installer During the installation of Java, users may be presented with the option of downloading and installing sponsor offers, such as browser add-ons, or security software. With 7u55 and later releases of Java, sponsor offers can be bypassed entirely by using "SPONSORS=0" as an option, when installing Java via the command line: Manually download the 32bit online installer for 7u55 to your local machine. Click the Windows Start Button/Menu. From the available Menu choices, select the 'Search box' and enter the text "command" in it. A list of matches will appear. Select 'Command Prompt' from the available Programs list. Navigate to the folder containing the downloaded installer, e.g.: cd c:\Users\\Downloads To start the installation, in the Command Prompt window type: jre-7u55-windows-i586-iftw.exe SPONSORS=0 The option to disable sponsors will persist across all future updates and re-installs of Java. Note that sponsor offers, and therefore this functionality, is only applicable to online 32bit JRE installers and Auto Update mechanisms for the Windows operating system. Bug Fixes Bug Id Category Sub-Category Description JDK-7190349 client-libs 2d [macosx] Text (Label) is incorrectly drawn with a rotated g2d JDK-8013569 client-libs 2d [macosx] JLabel preferred size incorrect on retina displays with non-default font size JDK-6571600 client-libs java.awt JNI use results in UnsatisfiedLinkError looking for libmawt.so JDK-8025588 client-libs java.awt [macosx] Frozen AppKit thread in 7u40 JDK-5049299 core-libs java.lang (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion JDK-8020191 core-libs java.lang System.getProperty( " os.name " ) returns " Windows NT (unknown) " on Windows 8.1 JDK-8030822 core-libs java.time (tz) Support tzdata2013i JDK-8019853 core-libs java.util.logging Break logging and AWT circular dependency JDK-8026474 deploy deployment_toolkit deployJava.js versioncheck doesn't work in IE11 JDK-8028691 deploy plugin loading browser proxy via config script should not trigger JAR download JDK-8029649 deploy plugin Reduce dialog frequency when app is run multiple times JDK-8033705 deploy plugin Array out of bounds exception in PluginMain.performSSVValidation JDK-8033779 deploy plugin JRE 7u51 Plugin Failing to Run Older JRE Version < 1.6.0 JDK-8029922 deploy webstart 32-bit only Java Web Start apps fail to run on 32- and 64-bit JRE configs JDK-8031579 deploy webstart Spurious Missing Manifest Permissions Attribute Warning When Launching versioned Java Web Start app JDK-8024830 hotspot compiler SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get JDK-8035618 other-libs corba:rmi-iiop Four api/org_omg/CORBA TCK tests fail under plugin only @ text @d1 1 a1 1 $NetBSD: patch-jdk_src_solaris_classes_sun_net_PortConfig.java,v 1.1 2014/01/25 13:53:22 ryoon Exp $ d3 1 a3 1 --- jdk/src/solaris/classes/sun/net/PortConfig.java.orig 2014-05-01 13:11:40.000000000 +0000 d5 2 a6 2 @@@@ -52,7 +52,7 @@@@ public final class PortConfig { } else if (os.startsWith("SunOS")) { @ 1.1 log @Update to 1.7.51 I cannot find release notes for OpenJDK7, I will quote from Oracle's JDK 7u51 release notes. Changelog: 7u51: http://www.oracle.com/technetwork/java/javase/7u51-relnotes-2085002.html Olson Data 2013h JDK 7u51 contains Olson time zone data version 2013h. New Features and Changes Jarsigner updated to encourage timestamping Timestamping for a signed jar is now strongly recommended. The Jarsigner tool will print out an informational warning at signing or verifying when timestamp is missing. For more information, see Signing JAR Files. See 8023338. Changes to Security Slider: The following changes to Security Slider were included in this release(7u51): Block Self-Signed and Unsigned applets on High Security Setting Require Permissions Attribute for High Security Setting Warn users of missing Permissions Attributes for Medium Security Setting For more information, see Java Control Panel documentation. Prompt users to clear previously remembered decisions: In JDK 7u51, users are given an option to restore the security prompts, for any prompts that were hidden prior to installing the latest release. For more information, see Install Documentation for Windows. It is recommended that users restore security prompts after every 30 days to ensure better protection. Note: This option is offered only during Auto update on Mac OS. Exception Site List: The Exception Site List feature allows end users to run Java applets and Java Web Start applications that do not meet the latest security requirements. Rich Internet Applications that are hosted on a site in the exception site list are allowed to run with the applicable security prompts. For more information, see Exception Site List documentation. Change in Default Socket Permissions The default socket permissions assigned to all code including untrusted code have been changed in this release. Previously, all code was able to bind any socket type to any port number greater than or equal to 1024. It is still possible to bind sockets to the ephemeral port range on each system. The exact range of ephemeral ports varies from one operating system to another, but it is typically in the high range (such as from 49152 to 65535). The new restriction is that binding sockets outside of the ephemeral range now requires an explicit permission in the system security policy. Most applications using client tcp sockets and a security manager will not see any problem, as these typically bind to ephemeral ports anyway. Applications using datagram sockets or server tcp sockets (and a security manager) may encounter security exceptions where none were seen before. If this occurs, users should review whether the port number being requested is expected, and if this is the case, a socket permission grant can be added to the local security policy, to resolve the issue. See 8011786 (not public). Change in JAXP Xalan Extension Functions In JDK 7u51, a change has been made in JAXP Xalan Extension functions to always use the default DOM implementation when Security Manager is present. This change affects the NodeSet created by DOM Document. Before this change, the DOM implementation is located through the DOM factory lookup process. With this change, when security is enabled, the lookup process is skipped and the default DOM implementation is used. This change will only affect those applications that use a 3rd party DOM implementation. In general, the NodeSet structure is expected to be compatible with that of the JDK default implementation. 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 7u51 Bug Fixes page. The following are some of the notable bug fixes in this release: Area: tools/jar Synopsis: Clarify jar verifications The jarsigner tool prints out more messages when there are severe warnings and -strict is on. For details, see the jarsigner tool documentation (Windows)(Solaris/Linux). See 8024302 (not public). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- jdk/src/solaris/classes/sun/net/PortConfig.java.orig 2014-01-25 07:34:09.000000000 +0000 d5 6 a10 2 @@@@ -55,6 +55,18 @@@@ public final class PortConfig { } else if (os.contains("OS X")) { a12 12 + } else if (os.startsWith("DragonFly")) { + defaultLower = 32768; + defaultUpper = 65535; + } else if (os.startsWith("FreeBSD")) { + defaultLower = 32768; + defaultUpper = 65535; + } else if (os.startsWith("NetBSD")) { + defaultLower = 32768; + defaultUpper = 65535; + } else if (os.startsWith("OpenBSD")) { + defaultLower = 32768; + defaultUpper = 65535; a13 2 throw new InternalError( "sun.net.PortConfig: unknown OS"); @