Commit graph

44 commits

Author SHA1 Message Date
Greg Lewis
4b97549646 . Fix infinite loop in parsing certain doubles. See CVE-2010-4476. 2011-02-09 17:13:40 +00:00
Jung-uk Kim
472d2585b8 Update IcedTea6 web support to 1.9.4 (CVE-2010-4351).
Feature safe:	yes
2011-01-18 19:28:11 +00:00
Jung-uk Kim
32105f4cb5 Fix a typo in the BSD patchset.
PR:		ports/153421
Submitted by:	Alexander Vasyanin (avasyanin at gmail dot com)
2011-01-04 22:54:58 +00:00
Sunpoet Po-Chuan Hsieh
b78b29aa13 - Use apache-ant 1.8.1 while devel/apache-ant was updated
- Pet portlint: use tab instead of space

PR:		ports/152676
Submitted by:	sunpoet (myself)
Approved by:	glewis (with java hat)
2010-12-14 07:31:03 +00:00
Greg Lewis
c704da9e15 . Make rlen a size_t instead of an int. Fixes a crash on 64 bit architectures.
Pointed out by:	Nikolay Denev <ndenev@gmail.com>
2010-12-13 08:59:52 +00:00
Jung-uk Kim
3f8405abd2 - Update IcedTea6 web support to 1.9.2.
- Add a patch to fix browser plugin crash[1].

Submitted by:	Barbara (barbara dot xxx1975 at libero dot it)[1]
2010-11-24 23:35:32 +00:00
Greg Lewis
50ae212d59 . Set LIBOWN and LIBGRP to the current user's uid and gid to allow building
of the plugin by non-root users.
2010-10-31 20:47:07 +00:00
Jung-uk Kim
10c99f335e Update Web Start and Java plugin to IcedTea6 1.9.1. 2010-10-13 19:51:32 +00:00
Jung-uk Kim
773071c6f0 Improve pthread cancellation and update comments. 2010-09-24 03:54:19 +00:00
Jung-uk Kim
3a28754e3d - Rewrite IcedTea6 plugin patch to improve stability of initialization/shutdown
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.
2010-09-23 21:54:01 +00:00
Jung-uk Kim
d7e6be6929 Introducing support for Web Start and Mozilla plugin from IcedTea6 1.9.
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.
2010-09-16 00:32:48 +00:00
Greg Lewis
fd3a4779e9 . Respect MAKE_JOB_NUMBERS and use that to set up the number of HotSpot
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.
2010-09-09 06:18:08 +00:00
Greg Lewis
9fd4613f57 . Port over davidxu@'s NIO selector that uses kqueue(2) from jdk16.
. Mark as MAKE_JOBS_UNSAFE.
2010-08-15 05:23:07 +00:00
Greg Lewis
c000c852c3 . Back out the previous revision. The port is not MAKE_JOBS_SAFE. 2010-08-07 02:13:40 +00:00
Greg Lewis
83df85589b . Mark MAKE_JOBS_SAFE.
. Use MAKE_JOBS_NUMBER as HOTSPOT_BUILD_JOBS.

PR:		148753
Submitted by:	David Naylor <naylor.b.david@gmail.com>
2010-08-01 22:22:44 +00:00
Greg Lewis
0c3ebf7aaa . Update to build 20.
PR:		148202
2010-07-10 16:44:12 +00:00
Jung-uk Kim
324fe0496e Stop downloading more sources (JAXP, JAX-WS, and JAF) from build phase and
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.
2010-05-21 05:11:57 +00:00
Alex Dupre
ece2cbf4a8 Do not add /usr/local/lib three times to DEFAULT_LIBPATH.
Update cacerts file from Sun's JRE 6u20.
2010-05-18 13:29:10 +00:00
Jung-uk Kim
9ad145c15f - Update to b19 promoted build. [1]
- 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
2010-05-17 23:19:46 +00:00
Jung-uk Kim
ae9d4023e5 Reset maintainer to java@.
Discussed with:	glewis, lev
2010-05-14 18:08:55 +00:00
Dima Panov
6d41454d17 - java/openjdk6: allow to build againist modern xorg (7.5)
PR:		145757
Submitted by:	myself
Approved by:	mainatner timeout ( over 3 weeks)
2010-05-02 23:27:16 +00:00
Alex Dupre
6c72851f52 Add ${LOCALBASE}/lib to java.library.path.
Submitted by:	ale
Approved by:	maintainer
2010-01-26 17:11:33 +00:00
Alex Dupre
e935b9c756 Remove unneeded '\' in COMMENT. 2010-01-25 16:34:34 +00:00
Alex Dupre
fd0870acd9 - Fix a bug in 'jar' utility
- 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
2010-01-21 08:51:59 +00:00
Alex Dupre
6db4bb3f2f Improve korean [1] and chinese font rendering.
Submitted by:	jkim [1]
Approved by:	maintainer
2010-01-21 08:25:09 +00:00
Alex Dupre
ab853e1dfc - Update to b17 promoted build [1]
- 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
2010-01-16 19:34:32 +00:00
Alex Dupre
941ce65fa6 - Remove a circular dependency between openjdk6 and ant
(required to make it the default jdk port)
- Remove manual fetching of unrestricted jce policy file
- Other no-ops

Approved by:	maintainer
2010-01-13 16:25:00 +00:00
Greg Lewis
b94d4f719d . Update to the cacerts file included in Update 17. 2009-12-06 02:52:37 +00:00
Jung-uk Kim
355cb1b6f2 Register/unregister OpenJDK6 explicitly via javavmwrapper.
Reviewed by:	Brian Gardner (maintainer)
2009-07-17 16:16:20 +00:00
Greg Lewis
ed062275d6 . Restore Brian Gardner as maintainer with his new email address.
. Remove the runtime dependency on CUPS [2]

PR:		134648 [2]
Submitted by:	dinoex@ [2]
2009-06-03 03:47:56 +00:00
Greg Lewis
ebcf4a72d8 . Add support for the serviceability agent (includes work by glewis@ and
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>
2009-05-22 06:23:16 +00:00
Greg Lewis
4ba30aaef2 . Reset maintainer to java@. I located an earlier mail from Brian that he
was leaving Expert's Exchange, so I imagine email to him there is just
  bouncing.
. Tweak the license description in COMMENT to a more standard form.
. Remove USE_JAVA.  The JDK bootstrap dependency is handled separately in
  the Makefile itself and once openjdk6 is part of bsd.java.mk USE_JAVA
  could make this port depend on itself (which doesn't play nice with
  portmaster).
2009-05-22 04:07:11 +00:00
Greg Lewis
0305252682 . Allow a previously installed version of openjdk6 and jdk16 to also be
used as a bootstrap.

PR:		134440
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
2009-05-22 03:55:34 +00:00
Greg Lewis
257f02e661 . Update to Build 16.
. 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
2009-05-09 23:21:48 +00:00
Maho Nakata
99a195ecc4 Remove WEB knob.
OpenJDK (6 or 7) doesn't yet come with a plugin or webstart.

Submitted by:	Kurt Miller <lists@intricatesoftware.com>
            http://docs.FreeBSD.org/cgi/mid.cgi?200902251003.14760.lists
Approved by:	 Brian Gardner <brian@experts-exchange.com> (maintainer)
2009-03-09 02:01:20 +00:00
Maho Nakata
be5c4f1e3b Due to miss commit, backout distinfo. 2009-03-09 01:55:11 +00:00
Maho Nakata
2a380ac1d7 Fix broken on 6.
Spotted by: pav
Approved by: Brian Gardner <brian@experts-exchange.com> (maintainer)
2009-03-09 01:53:53 +00:00
Maho Nakata
ac2c89aab2 * reroll openjdk-6-src-b14-10-feb-2009.zip
http://lists.freebsd.org/pipermail/freebsd-java/2009-February/007917.html
* Serious tests and cleaning.
2009-02-26 12:56:15 +00:00
Erwin Lansing
c7fb3bd6dd Take a stab at fixing INDEX by adding USE_ANT. 2009-02-23 20:28:35 +00:00
Maho Nakata
0b9cc0159a Fix build.
Spotted by:  cperciva@ and QAT
2009-02-23 08:10:46 +00:00
Maho Nakata
ef03132ee8 Fix build.
Spotted by: QAT
2009-02-23 07:51:50 +00:00
Maho Nakata
d5b3083fb0 Build fix.
Spotted by:	QAT
2009-02-23 06:54:51 +00:00
Maho Nakata
04366576ab Fix build.
Submitted by:	QAT
2009-02-23 04:39:08 +00:00
Maho Nakata
ebe2efd71a OpenJDK is an open-source implementation of the Java Platform, Standard Edition.
The version has all of Sun's bug fixes up to JDK 6 Release 11 and should be
the runtime equivelent to JDK6 Release 11.

Much of the OpenJDK code is licensed under the GPL version 2 with the
Classpath exception. The Java Hotspot virtual machine source code is
licensed under the GPL version 2 only.

OpenJDK 6 should supercede the java/jdk16 port at some point in time.

WWW: http://openjdk.java.net/

Submitted by:	Brian Gardner <brian@experts-exchange.com>
2009-02-23 03:15:29 +00:00