Commit graph

136 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
Greg Lewis
c9c98ec7cc . Some fixes for the KQueue NIO selector.
Submitted by:	davidxu@
2010-08-13 01:02:01 +00:00
Greg Lewis
0820af1436 . Add a new NIO selector that uses kqueue(2) and make it the default.
PR:		115773
Submitted by:	davidxu@
2010-08-07 18:44:12 +00:00
Greg Lewis
2d42764d84 . Update to the latest set of root certificates that come with the JDK. 2010-07-25 07:10:52 +00:00
Greg Lewis
2d4d115102 . Add file missed in the last commit:
Use OSVERSION rather than directly invoking 'sysctl kern.osreldate' to
  determine whether sigignore(3) is supported or not.  This should
  hopefully fix the build for QAT and pointyhat.

Suggested by:	pgollucci@
2010-06-09 06:28:24 +00:00
Greg Lewis
c426698b39 . Fix the build with recent xorg.
PR:		145754
Submitted by:	fluffy@
2010-04-19 06:18:54 +00:00
Greg Lewis
88591b788a . sigignore(3) has been MFC'ed to 8-STABLE. Attempt to fix the build
there by extending the fix for 9-CURRENT to the appropriate versions
  of 8-STABLE.
2010-02-07 22:17:06 +00:00
Greg Lewis
90ed75b874 . Detect that recent versions of 9-CURRENT have sigignore(3) and configure
the build correctly for that.

  Fixes the build on those versions of 9-CURRENT

PR:			141105
Collaboration with:	fluffy@
2010-02-05 05:22:31 +00:00
Greg Lewis
b94d4f719d . Update to the cacerts file included in Update 17. 2009-12-06 02:52:37 +00:00
Greg Lewis
64f95ae234 . Fix a security hole in the Calendar class which allows the elevation of
permissions within the Java security model.

  http://sunsolve.sun.com/search/document.do?assetkey=1-26-244991-1

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
Obtained from:	OpenBSD
2009-03-05 05:37:21 +00:00
Greg Lewis
78a3416947 . Implement the virtual machine interface for BSD. This allows
jmap -histo and jmap -dump to work.

Submitted by:	Brian Gardner <brian@experts-exchange.com>
Sponsored by:	Experts Exchange
2009-02-02 07:35:54 +00:00
Greg Lewis
08f403812c . Properly scope the calls to clock_get* so that we use the system versions
if available rather than the local versions.  Fixes System.nanoTime().

Reported by:	Kurt Miller
2008-10-18 17:54:04 +00:00
Greg Lewis
a7d5955455 . When building libsplashscreen, put the internal JDK header paths before
the external system header paths.  This prevents us from picking up the
  jpeg headers from the system headers when building splashscreen_jpeg.c
  which caused an undefined reference to be present in libsplashscreen
  since the internal JDK jpeg headers remap the function names.

PR:		119654
2008-10-15 03:34:38 +00:00
Greg Lewis
c4aa41237d . Enable system tray support for Enlightenment.
Submitted by:	gahr@
2008-05-16 01:40:51 +00:00
Greg Lewis
0735038dc5 . Use the correct specifier for printing a size_t.
Noticed by:	Andrei V. Lavreniyuk (via -Wformat)
2008-05-03 15:49:27 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Greg Lewis
2ae9e19900 . Update to patchset 4. 2008-02-16 23:48:24 +00:00
Greg Lewis
563540b87f . Fix locale generation and hence locale handling in general.
PR:		119397
Submitted by:	Bernhard Froehlich <decke@bluelife.at>
2008-02-03 18:46:25 +00:00
Greg Lewis
4db6f92b05 . Update to patchset 2 (based on 1.6.0_02 aka 6u2) 2007-10-28 20:47:42 +00:00
Jung-uk Kim
c30cfeb507 Fix build on i386 with WITHOUT_WEB option.
PR:		ports/116700
Reported by:	Michiel Boland (michiel at boland dot org)
Approved by:	glewis (mentor)
2007-10-04 18:20:42 +00:00
Greg Lewis
66d5ba15ae . Fix build problems with cpu.h being picked up from /usr/local/include.
Since the structure members being deferenced into the variables are
  short*, just use short as the variable type and eliminate the use of
  fastInt and the header include altogether.
2007-09-09 17:35:48 +00:00
Greg Lewis
483a3a3beb . Fix another problem with exec() by using the same static initialisation
block that Linux and Solaris use.

  This was already fixed in the repo but I'd neglected to commit the fix
  to the port and it was independently submitted as noted below.

Submitted by:	Michiel Boland <michiel@boland.org>
2007-09-02 05:54:44 +00:00
Greg Lewis
1d3ef52383 . Sync the BSD specific code with the changes between 1.5 and 1.6 and
start closing file descriptors at FAIL_FILENO + 1 rather than 3.  This
  fixes the problem with determining the exit code for exec()'ed processes.

PR:		115557
Submitted by:	Michiel Boland <michiel@boland.org>
2007-08-28 15:24:32 +00:00
Jung-uk Kim
3165706a2d Add browser plugin support for amd64. It is turned off by default as it is
still experimental.

Tested by:	Huang wen hui (hwh at gddsn dot org dot cn)
Approved by:	glewis (maintainer)
2007-08-16 18:55:53 +00:00
Jung-uk Kim
a677d6f303 Unbreak build on -CURRENT.
Approved by:	glewis (maintainer)
2007-08-16 18:50:38 +00:00
Greg Lewis
d2083f0649 . Split the JRL agreement out into a separate script that is only run
during the port build and not during the package install.

Requested by:	kris
2007-08-14 03:36:15 +00:00
Greg Lewis
d3cbb79857 . Fix the 'shebang' line in jcontrol. [1]
. Update the main commented out MASTER_SITE.
. Bump PORTREVISION.

Submitted by:	"barbara" <barbara.xxx1975@libero.it>
2007-08-06 20:46:43 +00:00
Greg Lewis
2149bb0786 . Make BUILD_DEPENDS against the Diablo JDK, not the Linux JDK. [2]
. Add some more make environment variables to control the build of the
  debug versions. [1]
. Allow the setting of ALT_PARALLEL_BUILD_JOBS. [1]
. Install more of the Gnome desktop files, and provide them with the
  correct path for the installation. [1]
. Add ${LOCALBASE}/lib to the default library path in HotSpot. [1]
. Backwards compatibility in time zone updates. [1]
. Bump PORTREVISION.

Submitted by:	jkim [1]
Inspired by:	scf [2]
2007-08-06 17:23:31 +00:00
Greg Lewis
4d5c760253 . A native port for JDK 1.6.0 (aka 6.0) Update 1. 2007-08-05 20:39:49 +00:00
Greg Lewis
61f99d643a . Better fix. Just use 'short' variables and be done with it. The
structure members being dereferenced into the variables are 'short*'
  after all, not 'fastInt*'.
2007-07-31 15:52:31 +00:00
Greg Lewis
dd3f6ed6e3 . Include a different header file for 'fastInt'. The definition in Hint.h
appears to actually match the type of variable its being used with in the
  code (although it seems that it may be even cleaner to just replace 'fastInt'
  with 'short').

  This also partially bandaids a build problem some are seeing since Hint.h
  is a less common header file name than cpu.h.
2007-07-31 07:22:49 +00:00
Jung-uk Kim
aef79f3a9b Add browser plugin support for amd64. It is turned off by default as it is
still experimental.

Approved by:	glewis (maintainer)
2007-07-30 15:30:36 +00:00
Greg Lewis
a4adb6665f . Update to patchset 6, based on 1.5.0 Update 12.
. Use the -bc (backwards compatible) flag when doing time zone updates.
2007-07-27 03:48:46 +00:00
Greg Lewis
01790521d1 . Update to patchset 5, based on the 1.5.0_11 JRL source code. 2007-06-09 05:14:56 +00:00
Jung-uk Kim
8982638840 Fix more sysctl(3) argument sizes and correct a comment.
Approved by:	glewis (implicit)
2007-05-30 21:36:23 +00:00
Jung-uk Kim
7446ea7a70 Various fixes for -CURRENT.
- Build fixes after GCC 4.2 import.
- Remove SIGRTMIN and SIGRTMAX redefinitions.
- Use posix_memalign(3) instead of valloc(3).

Approved by:	glewis (maintainer)
2007-05-25 18:44:27 +00:00
Greg Lewis
d9924e7b58 . Don't statically link with libXm any more. The Open Motif port no longer
uses hacks to compile libXm.a with PIC objects, which means trying to
  statically link with it breaks the build on amd64.
2007-03-06 04:34:38 +00:00
Greg Lewis
2234164093 . Update to patchset 4. 2007-01-22 16:50:22 +00:00
Greg Lewis
e647c3eab4 All we are saying is give gcc 4.x a chance.
Prompted by:	pointyhat (via kris)
2007-01-10 17:36:56 +00:00
Greg Lewis
1bb6af069e . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace some hardwired /usr/local instances with LOCALBASE.
. Small Makefile restructure to keep related variables in one place.
. Add ipv6 to CATEGORIES if its enabled. [2]

PR:             106130 [2]
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> [2]
Pointed out by: pointyhat (via kris) [1]
2006-12-11 17:10:52 +00:00
Greg Lewis
47f62ec7e7 . Fix a problem with os_sleep returning early without raising an exception
when its called with interruptible set to false.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-11-06 19:54:00 +00:00
Greg Lewis
f970203bc1 . Fix a possible problem building the JDK in the GMT+0 time zone. When
building, the JDK zone info file doesn't exist yet, so attempting to
  get the zone info for GMT_ID would fail.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-11-06 19:51:16 +00:00
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Greg Lewis
6a41bf13e8 . Prevent problems opening RandomAccessFile with "rws" as the mode by
defining O_SYNC and O_DSYNC if they aren't defined.  In particular we
  were previously defining O_SYNC bogusly to the same value as O_EXCL.

  PR not closed as this fixes jdk15, not diablo-jdk15.

PR:		102888
2006-09-09 02:10:02 +00:00
Greg Lewis
44bf342005 . Fix a segfault caused by fonts with illegal glyph names or glyph names
which begin with an underscore (although the patch doesn't handle these).
. Bump PORTREVISION.

Submitted by:	 Kurt Miller <kurt@intricatesoftware.com>
2006-08-01 18:38:25 +00:00
Greg Lewis
3e2f072bb5 . On amd64 the plugin should look for the Server VM, since there is no
Client VM.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-07-18 23:23:02 +00:00
Greg Lewis
c9d5a55e98 . Properly deal with error cases in transferTo0().
Corrects non-blocking IO case.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
Sponsored by:	The FreeBSD Foundation
2006-07-18 23:20:26 +00:00
Greg Lewis
7084328334 . Work around a thread cache problem that caused javah to crash with an
Internal Error.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
Sponsored by:	The FreeBSD Foundation
2006-06-16 21:29:53 +00:00
Greg Lewis
0c6e853af1 . Filter out corrupt environment variables with no name.
Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
Sponsored by:	The FreeBSD Foundation
2006-06-16 21:28:08 +00:00
Greg Lewis
571b574f00 . Increase the default stack size on amd64.
Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
Sponsored by:	The FreeBSD Foundation
2006-06-16 21:26:38 +00:00