summaryrefslogtreecommitdiff
path: root/java/openjdk6/files/patch-set (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a patch to fix MulticastSocket.setInterface().Jung-uk Kim2013-02-111-0/+36
| | | | | | | | | http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfa676f5b5db Submitted by: oliver Notes: svn path=/head/; revision=312083
* - Add 2012/10/16 security patches from IcedTea6 1.11.5. [1]Jung-uk Kim2012-10-191-141/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://icedtea.classpath.org/hg/release/icedtea6-1.11/rev/d9564350faa6 http://blog.fuseyism.com/index.php/2012/10/19/security-icedtea-1-10-10-1-11-15-2-1-3-2-2-3-2-3-3-released/ - Completely turn off parallel build by default and remove parallel build hack for HotSpot. There were several reports that it fails to build under certain environment, ports/162991 for example. Users can still do parallel build by setting FORCE_MAKE_JOBS (and MAKE_JOBS_NUMBER if desired). - Implement os::available_memory(). Now it is consistent with "vm.vmtotal" sysctl(3) MIB rather than bogus (physical memory / 4). - Prefer sysconf(_SC_NPROCESSORS_CONF) over HW_NCPU sysctl MIB to get the number of installed processors. There is no functional difference except for CURRENT, which obtains the information from ELF aux vector. - Prefer sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE) over HW_USERMEM sysctl MIB to get size of physical memory. Although it looks more logical to find currently available memory, it has an inevitable side-effect, i. e., it changes dynamically depending on current wired page count. Therefore, it is unpredictable and not too useful some times. For example, launcher uses the parameter to determine initial heap size and machine class for i386. Now it is more consistent with other places (and Linux JDK/JREs, including the ones we have in ports tree). - Implement os::active_processor_count() using cpuset_getaffinity(2). For example, Runtime.getRuntime().availableProcessors() now returns number of available processors for the current process as it should. - Sync. launchers (java_md.c) for HotSpot and JDK as much as possible for maintainability. As a good side-effect, launcher for i386 can now determine machine class based on the current hardware configuration. Previously, client VM was always chosen by default. - Fix CounterGet(), which is only used for debugging launcher. - Add swap info for os::print_memory_info(). Obtained from: IcedTea project [1] Feature safe: yes Notes: svn path=/head/; revision=306138
* Update to build 26.Jung-uk Kim2012-10-091-801/+801
| | | | Notes: svn path=/head/; revision=305604
* Tidy up patches. No functional change.Jung-uk Kim2012-09-271-6/+19
| | | | Notes: svn path=/head/; revision=304940
* Use fdescfs(5) and procfs(5) consistently.Jung-uk Kim2012-09-261-17/+67
| | | | Notes: svn path=/head/; revision=304938
* - Override GCC used by HotSpot SA. [1]Jung-uk Kim2012-09-181-4/+26
| | | | | | | | | | | | - Fix build with GCC 4.5+ on i386. [2] - Convert to the new header format. Submitted by: Claude Buisson (clbuisson at orange dot fr) [1] Obtained from: OpenJDK7 [2] http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/da880ba4edf9 Notes: svn path=/head/; revision=304470
* - Honor CC, CXX, and CPP. [1]Jung-uk Kim2012-09-181-37/+117
| | | | | | | | | - Fix build with clang. PR: ports/151042 [1] Notes: svn path=/head/; revision=304460
* - Replace hsearch_r from GNU libc with Berkeley DB from our libc.Jung-uk Kim2012-01-131-301/+168
| | | | | | | | | | | http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f19d23da7c3e http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/cf5c383e1d33 http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/f1a18ada5853 - Fix POLICY option. It was silently enabled by default with b19 update. Notes: svn path=/head/; revision=289064
* - Update to build 23.Jung-uk Kim2011-07-111-1183/+2522
| | | | | | | | | | | | - Import more complete JPEG class support and turn on ICEDTEA option by default. [1] - Remove obsolete WEB option. Note the functionality is now moved to a new port java/icedtea-web, which depends on ICEDTEA option of this port. Obtained from: IcedTea project [1] Notes: svn path=/head/; revision=277567
* Rework the previous fix to sync. with upstream:Jung-uk Kim2011-03-171-7/+15
| | | | | | | | | | | | | | | | | | | | | http://hg.openjdk.java.net/jdk7/jdk7/jdk/diff/441f88d39988/src/solaris/native/java/net/net_util_md.c Note it has no functional change for FreeBSD because sizeof(socklen_t) is luckily sizeof(int). Actually, this commit is just to note that the regression was acidentally pulled in from upstream because of my ignorance. Specifically, the following commit was the culprit: http://hg.openjdk.java.net/jdk7/jdk7/jdk/diff/b7fce4bac617/src/solaris/native/java/net/net_util_md.c FYI, it also triggered the following upstream PR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6730740 Obtained from: OpenJDK project Pointyhat: jkim Notes: svn path=/head/; revision=271167
* Fix a severe regression introduced with the "disable IPV6_V6ONLY option".Alex Dupre2011-03-171-1/+1
| | | | | | | On amd64 every call to getsocktopt returns a "Bad address" SocketException. Notes: svn path=/head/; revision=271074
* Backport a long standing bug fix from OpenJDK7, i.e., disable IPV6_V6ONLYJung-uk Kim2011-03-031-35/+218
| | | | | | | | | | | | | | option when IPv6 is enabled and failed to create a socket. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6882910 For in-depth analysis of this problem from FreeBSD perspective, please see: http://diario.beerensalat.info/2008/10/12/java_and_ipv6_on_bsd.html Notes: svn path=/head/; revision=270217
* Update to build 22.Jung-uk Kim2011-03-011-8/+8
| | | | Notes: svn path=/head/; revision=270073
* Update IcedTea-Web to 1.0.1 and fix multiple security vulnerabilities.Jung-uk Kim2011-02-211-6/+7
| | | | | | | | | | | | | | | | | CVE-2010-4469: Hotspot backward jsr heap corruption CVE-2010-4465: Swing timer-based security manager bypass CVE-2010-4472: Untrusted code allowed to replace DSIG/C14N implementation CVE-2010-4448: DNS cache poisoning by untrusted applets CVE-2010-4450: Launcher incorrect processing of empty library path entries CVE-2010-4471: Java2D font-related system property leak CVE-2010-4470: JAXP untrusted component state manipulation CVE-2011-0706: Multiple signers privilege escalation Obtained from: icedtea.classpath.org Obtained from: jaxp.java.net Notes: svn path=/head/; revision=269450
* Add experimental support for sound via ALSA pcm-oss plugin. This featureJung-uk Kim2011-02-111-42/+26
| | | | | | | | | is disabled by default because MIDI plugin for OSS does not exist, i.e., (hardware) MIDI sequencer is not supported. However, softsynth (Gervill) works fine as it uses sampled sound. Notes: svn path=/head/; revision=268954
* - Implement some missing FreeBSD-specific methods, i.e., swap info, committedJung-uk Kim2011-02-111-26/+85
| | | | | | | | | | virtual memory, free physical memory, and number of open file descriptors. For example, jconsole shows more realistic numbers instead of hardcoded bogus numbers in VM Summary tab now. Correct a jtreg test case for the swap info. - Mention procfs(5) is used for some features in this implementation. Notes: svn path=/head/; revision=268901
* - Update to build 21.Jung-uk Kim2011-02-091-1685/+3406
| | | | | | | | | | | | | | | | | | | | - Improve Serviceability Agent. For example, the following should work now: jdb -connect sun.jvm.hotspot.jdi.SAPIDAttachingConnector:pid=<PID> jmap <PID> jsadebugd <PID> jstack -F <PID> jstack -m <PID> - Replace IcedTea6 1.9.x with IcedTea-Web 1.0 for web support. Note it is still tightly coupled with openjdk6 for now because we do not have proper infrastructure to decouple them yet. - Add itweb-settings (a Java Control Panel replacement for IcedTea-Web). - Add desktop integration files for web support (but not installed in default system-wide locations). Notes: svn path=/head/; revision=268830
* Fix a typo in the BSD patchset.Jung-uk Kim2011-01-041-1/+1
| | | | | | | | PR: ports/153421 Submitted by: Alexander Vasyanin (avasyanin at gmail dot com) Notes: svn path=/head/; revision=267395
* . Make rlen a size_t instead of an int. Fixes a crash on 64 bit architectures.Greg Lewis2010-12-131-1/+1
| | | | | | | Pointed out by: Nikolay Denev <ndenev@gmail.com> Notes: svn path=/head/; revision=266218
* . Port over davidxu@'s NIO selector that uses kqueue(2) from jdk16.Greg Lewis2010-08-151-9/+0
| | | | | | | . Mark as MAKE_JOBS_UNSAFE. Notes: svn path=/head/; revision=259253
* . Update to build 20.Greg Lewis2010-07-101-737/+859
| | | | | | | PR: 148202 Notes: svn path=/head/; revision=257615
* Do not add /usr/local/lib three times to DEFAULT_LIBPATH.Alex Dupre2010-05-181-4/+2
| | | | | | | Update cacerts file from Sun's JRE 6u20. Notes: svn path=/head/; revision=254555
* - Update to b19 promoted build. [1]Jung-uk Kim2010-05-171-1516/+947
| | | | | | | | | | | | | | | - Merge two additional patches from the OpenJDK BSD porting project: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/f974aefae43d http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/62dc2d00133f - Add a message to note fdescfs(5) is necessary for this implementation. PR: ports/145806 [1] Discussed with: glewis, lev Notes: svn path=/head/; revision=254511
* - java/openjdk6: allow to build againist modern xorg (7.5)Dima Panov2010-05-021-0/+14
| | | | | | | | | PR: 145757 Submitted by: myself Approved by: mainatner timeout ( over 3 weeks) Notes: svn path=/head/; revision=253581
* - Fix a bug in 'jar' utilityAlex Dupre2010-01-211-22/+19
| | | | | | | | | | | | | | | | | | | - Add support for running regression tests - Respect LOCALBASE - Bump PORTREVISION These are the test results on: FreeBSD 6 i386: passed: 3113; failed: 29; error: 2 FreeBSD 8 amd64: passed: 3107; failed: 35; error: 2 Note: a couple of tests passed only after a few runs. Submitted by: ale Approved by: maintainer Notes: svn path=/head/; revision=248260
* - Update to b17 promoted build [1]Alex Dupre2010-01-161-2532/+2625
| | | | | | | | | | | | - Fix font rendering and update cacerts file - Add support for fastdebug jdk - Cleanup/Enhance the port [2] Submitted by: maintainer [1], ale [2] Approved by: maintainer Notes: svn path=/head/; revision=247989
* . Add support for the serviceability agent (includes work by glewis@ andGreg Lewis2009-05-221-1080/+3202
| | | | | | | | | | | | | Brian Gardner). Core support needs some more work. . Install the debug build when WITH_DEBUG is set. . Change WITH_DEBUG to only build the debug build. . Eliminate the requirements for the binary plugins. . Fix some compilation errors in the debug build on 7.x. Submitted by: Kurt Miller <kurt@intricatesoftware.com> Notes: svn path=/head/; revision=234382
* . Update to Build 16.Greg Lewis2009-05-091-0/+15513
. Host the patchset in the ports infrastructure rather than downloading it. . Make the port build HotSpot rather than using the one of the bootstrapping JDK (fixes a license violation). Submitted by: Kurt Miller <kurt@intricatesoftware.com> Approved by: Fixes a license violation Notes: svn path=/head/; revision=233559