summaryrefslogtreecommitdiff
path: root/java/openjdk6 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* . Specifically reference zip/unzip in ${LOCALBASE}/bin, since that is whereGreg Lewis2012-05-271-2/+2
| | | | | | | | | | | the JDK build looks for them, but FreeBSD 9.x has them available in /usr/bin. Adjusting the JDK check is a harder fix, this will get things building again on 9.x quickly. PR: 166996 Notes: svn path=/head/; revision=297507
* . Bootstrap with ant 1.8.3.Greg Lewis2012-05-122-3/+3
| | | | Notes: svn path=/head/; revision=296469
* Update jtreg to 4.1 b04.Jung-uk Kim2012-05-092-4/+4
| | | | Notes: svn path=/head/; revision=296318
* . Update to build 25.Greg Lewis2012-05-093-791/+5
| | | | Notes: svn path=/head/; revision=296270
* . Fix the look up of time zone data when TZUPDATE is turned on and as aGreg Lewis2012-05-022-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result turn it on by default again. This change bears a little more explanation. In UnixFileSystem.java there is a cache of canonical paths and in particular one for paths inside java.home. The problem with looking up time zone data is that if another path within java.home has been looked up then the symlink for the time zone data is not resolved (since the cache assumes there are no symlinks in java.home) and we fail to be able to open the ZoneInfoMapping file. One of the other features in UnixFileSystem is that the cache is not consulted and full resolution occurs for paths containing "." or "..". I've chosen to (ab)use this to force resolution of the time zone data directory in ZoneInfoFile.java rather than doing something like IcedTea did which was to introduce a tz.properties file where they would stash the time zone info directory rather than symlinking it in. For full reference that patch is here: http://icedtea.classpath.org/hg/icedtea6/file/tip/patches/use-system-tzdata.patch There are two main reasons I chose a bit of a hack rather than something like this. 1. I want to apply the patch to non-GPL'ed code (e.g. the jdk16 port). 2. Using updated time zone data is only an option in the port and using something like tz.properties when the option is off is clunky. Thanks to avg@ for sleuth work on finding the bug write up and the IcedTea fix. Notes: svn path=/head/; revision=295845
* . Turn the TZUPDATE option off by default until I can figure out how thatGreg Lewis2012-04-191-2/+2
| | | | | | | breaks the Eclipse build. Notes: svn path=/head/; revision=295124
* . Use the new java-zoneinfo port to provide updated time zone info.Greg Lewis2012-04-131-3/+14
| | | | Notes: svn path=/head/; revision=294759
* Fix multiple security vulnerabilities.Jung-uk Kim2012-02-182-1/+786
| | | | | | | | | | | | | | | | CVE-2011-3563: Fix issues in java sound CVE-2011-3571: Fix in AtomicReferenceArray CVE-2011-5035: Add property to limit number of request headers to the HTTP Server CVE-2012-0501: Better input parameter checking in zip file processing CVE-2012-0502: Issues with some KeyboardFocusManager method CVE-2012-0503: Issues with TimeZone class CVE-2012-0505: Enhance exception throwing mechanism in ObjectStreamClass CVE-2012-0506: Issues with some method in corba Obtained from: IcedTea Project Notes: svn path=/head/; revision=291651
* - Add variable JDK_UPDATE_VERSION for java to 30 (current Oracle release of ↵Jason Helfman2012-01-131-2/+4
| | | | | | | | | | | | | | JDK 6) This is largely done for java detection for browser compatibility Please update UPDATE_VERSION for new releases PR: ports/163916 Submitted by: Denny Lin <dennylin93 at hs.ntnu.edu.tw> Approved by: glewis, (rene, crees) (mentors,implicit) Notes: svn path=/head/; revision=289114
* - Replace hsearch_r from GNU libc with Berkeley DB from our libc.Jung-uk Kim2012-01-132-302/+169
| | | | | | | | | | | 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
* Installs built jars that were previously not installed.Jason Helfman2011-12-301-0/+2
| | | | | | | | | | | | | * javazic.jar to generate Java timezone information files * compilefontconfig.jar to generate Java font configuration files PR: ports/161945 Submitted by: Jilles Tjoelker <jilles at stack.nl> Reviewed by: glewis Approved by: glewis, crees (mentor) Notes: svn path=/head/; revision=288273
* - Update to b24. [1]Jung-uk Kim2011-11-303-17/+16
| | | | | | | | | | | | | - Add x11/libXext to build dependencies. [2] - Make portlint happy. [3] PR: ports/162646 [1] ports/156319 [2] ports/161985 [3] Feature safe: yes Notes: svn path=/head/; revision=286703
* - Add an additional patch to support i386 CPUs without CMOV instructionJung-uk Kim2011-08-093-5/+185
| | | | | | | | | | | under ICEDTEA option. [1] - Chase default Korean font directory change. PR: ports/158304 [1] Obtained from: IcedTea Project [1] Notes: svn path=/head/; revision=279374
* - Update to build 23.Jung-uk Kim2011-07-117-2163/+5079
| | | | | | | | | | | | - 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
* - Update IcedTea-Web to 1.0.3.Jung-uk Kim2011-06-142-5/+5
| | | | | | | - Use fake JDK update version as IcedTea-Web does. Notes: svn path=/head/; revision=275589
* Bump PORTREVISION after open-mofit updateMax Brazhnikov2011-05-021-1/+1
| | | | Notes: svn path=/head/; revision=273475
* Re-add accidentally removed jtreg to distinfo.Jung-uk Kim2011-04-041-0/+2
| | | | Notes: svn path=/head/; revision=272223
* Update IcedTea-Web to 1.0.2.Jung-uk Kim2011-04-042-6/+4
| | | | Notes: svn path=/head/; revision=272221
* Force libxul include directory and allow building IcedTea-Web plugin withJung-uk Kim2011-03-281-2/+6
| | | | | | | | | an ancient xulrunner (i.e., 1.9.2.9 and earlier). This commit should fix: PR: ports/155381 Notes: svn path=/head/; revision=271950
* 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-172-2/+2
| | | | | | | On amd64 every call to getsocktopt returns a "Bad address" SocketException. Notes: svn path=/head/; revision=271074
* Add an option to apply extra patches originated from IcedTea project (turnedJung-uk Kim2011-03-072-18/+666
| | | | | | | | | | | off by default) and sort options. Add a basic wrapper to resurrect com.sun.image.codec.jpeg using javax.imageio under the new option. Obtained from: icedtea.classpath.org PR: java/155288 Notes: svn path=/head/; revision=270473
* Backport a long standing bug fix from OpenJDK7, i.e., disable IPV6_V6ONLYJung-uk Kim2011-03-032-35/+219
| | | | | | | | | | | | | | 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
* Fix a test case for default charset.Jung-uk Kim2011-03-021-0/+35
| | | | Notes: svn path=/head/; revision=270095
* Update to build 22.Jung-uk Kim2011-03-014-1683/+17
| | | | Notes: svn path=/head/; revision=270073
* Update apache-ant to 1.8.2 bugfix release.Alex Dupre2011-02-252-3/+3
| | | | | | | | | PR: ports/154187 Submitted by: ale Approved by: portmgr (pav) Notes: svn path=/head/; revision=269691
* Update IcedTea-Web to 1.0.1 and fix multiple security vulnerabilities.Jung-uk Kim2011-02-215-21/+1676
| | | | | | | | | | | | | | | | | 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-115-44/+115
| | | | | | | | | 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
* Fix a typo in the previous commit. We have more than one line now.Jung-uk Kim2011-02-111-1/+1
| | | | Notes: svn path=/head/; revision=268902
* - Implement some missing FreeBSD-specific methods, i.e., swap info, committedJung-uk Kim2011-02-114-27/+118
| | | | | | | | | | 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-097-2585/+3507
| | | | | | | | | | | | | | | | | | | | - 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 infinite loop in parsing certain doubles. See CVE-2010-4476.Greg Lewis2011-02-092-1/+12
| | | | Notes: svn path=/head/; revision=268829
* Update IcedTea6 web support to 1.9.4 (CVE-2010-4351).Jung-uk Kim2011-01-183-10/+10
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=267953
* Fix a typo in the BSD patchset.Jung-uk Kim2011-01-042-2/+2
| | | | | | | | PR: ports/153421 Submitted by: Alexander Vasyanin (avasyanin at gmail dot com) Notes: svn path=/head/; revision=267395
* - Use apache-ant 1.8.1 while devel/apache-ant was updatedSunpoet Po-Chuan Hsieh2010-12-142-4/+4
| | | | | | | | | | | - Pet portlint: use tab instead of space PR: ports/152676 Submitted by: sunpoet (myself) Approved by: glewis (with java hat) Notes: svn path=/head/; revision=266277
* . 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
* - Update IcedTea6 web support to 1.9.2.Jung-uk Kim2010-11-244-34/+36
| | | | | | | | | - Add a patch to fix browser plugin crash[1]. Submitted by: Barbara (barbara dot xxx1975 at libero dot it)[1] Notes: svn path=/head/; revision=265115
* . Set LIBOWN and LIBGRP to the current user's uid and gid to allow buildingGreg Lewis2010-10-311-0/+2
| | | | | | | of the plugin by non-root users. Notes: svn path=/head/; revision=263851
* Update Web Start and Java plugin to IcedTea6 1.9.1.Jung-uk Kim2010-10-133-9/+11
| | | | Notes: svn path=/head/; revision=262972
* Improve pthread cancellation and update comments.Jung-uk Kim2010-09-241-14/+34
| | | | Notes: svn path=/head/; revision=261751
* - Rewrite IcedTea6 plugin patch to improve stability of initialization/shutdownJung-uk Kim2010-09-233-42/+65
| | | | | | | | | | | | | process. Update comments in the patch accordingly. - Tidy up makefile for the plugin. Remove a hack for include path of libxul, which is correctly patched from libxul 1.9.2.9_1. Remove mozilla-plugin.pc from linker options for pkg-config. Generally speaking, NPAPI plugins do not need to link with Gecko engine directly. - Move run-time dependencies for the plugin to build-time dependencies as it is completely optional any way. Notes: svn path=/head/; revision=261729
* Introducing support for Web Start and Mozilla plugin from IcedTea6 1.9.Jung-uk Kim2010-09-166-7/+605
| | | | | | | | | | | | | | | Note the feature is turned off by default because it adds experimental and unofficial patches from icedtea.classpath.org. You need to select WEB option from config menu or define WITH_WEB variable to enable the feature. Also, note that a symlink for web browser is not created automatically with same reasoning. Thus, you need to create a symlink for your browser, e.g., ln -s ${LOCALBASE}/openjdk6/jre/lib/IcedTeadPlugin.so ~/.mozilla/plugins Remove some stale comments in package message while I am here. Notes: svn path=/head/; revision=261247
* . Respect MAKE_JOB_NUMBERS and use that to set up the number of HotSpotGreg Lewis2010-09-091-1/+7
| | | | | | | | | | | make jobs. If not, fall back to the number of CPUs, as per the current behaviour. Only the HotSpot part of the build is safe to parallelise, so leave the port marked MAKE_JOBS_UNSAFE. Notes: svn path=/head/; revision=260828
* . Port over davidxu@'s NIO selector that uses kqueue(2) from jdk16.Greg Lewis2010-08-153-9/+699
| | | | | | | . Mark as MAKE_JOBS_UNSAFE. Notes: svn path=/head/; revision=259253
* . Back out the previous revision. The port is not MAKE_JOBS_SAFE.Greg Lewis2010-08-071-4/+2
| | | | Notes: svn path=/head/; revision=258861
* . Mark MAKE_JOBS_SAFE.Greg Lewis2010-08-011-3/+5
| | | | | | | | | | . Use MAKE_JOBS_NUMBER as HOTSPOT_BUILD_JOBS. PR: 148753 Submitted by: David Naylor <naylor.b.david@gmail.com> Notes: svn path=/head/; revision=258608
* . Update to build 20.Greg Lewis2010-07-103-761/+886
| | | | | | | PR: 148202 Notes: svn path=/head/; revision=257615
* Stop downloading more sources (JAXP, JAX-WS, and JAF) from build phase andJung-uk Kim2010-05-212-1/+28
| | | | | | | | | add IcedTea project as an additional master site. This change should fix most build failures related to network problems, e.g., bootstrapping with an IPv6-enabled JDK, unreliable network connections, etc. Notes: svn path=/head/; revision=254687
* Do not add /usr/local/lib three times to DEFAULT_LIBPATH.Alex Dupre2010-05-183-5/+3
| | | | | | | Update cacerts file from Sun's JRE 6u20. Notes: svn path=/head/; revision=254555
* - Update to b19 promoted build. [1]Jung-uk Kim2010-05-175-1539/+984
| | | | | | | | | | | | | | | - 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