Commit graph

64 commits

Author SHA1 Message Date
Greg Lewis
b46768de7a . Update to 7u21. 2013-05-05 20:10:26 +00:00
Bryan Drewery
63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Greg Lewis
faa4210a82 . Bump PORTREVISION for the last two commits. 2013-03-27 03:12:09 +00:00
Greg Lewis
69c1296d68 . Fix the location of the
FILES_c += initIDs.c

  line so it comes after FILE_c is explicitly set in the BSD specific
  block.  This fixes missing symbols in libawt.

Submitted by:	Kurt Miller (kurt@intricatesoftware.com)
Obtained from:	http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/ef510cd4aec5
2013-03-27 03:11:33 +00:00
Greg Lewis
e2f338bdce . Allow users to force the file system provider to be the BSD file system
provider.  This is helpful when users also wish to force os.name to a
  different value (e.g. Linux) but not being forced to also use the
  Linux file system provider.  This can be done by defining the property
  java.nio.file.spi.DefaultFileSystemProvider.

  This patch differs from the submitters in that the range of values are
  restricted to the current known defaults.

PR:		173847
Submitted by:	4721 at hushmail.com
2013-03-27 03:06:50 +00:00
Greg Lewis
3429746801 . Update to 7u17. 2013-03-10 01:41:07 +00:00
Greg Lewis
78d642088f . Use gpatch for patching on older (7.x) versions of FreeBSD.
PR:		175829
Submitted by:	Nobuhiro Ban <ban.nobuhiro@gmail.com>
2013-03-03 05:08:45 +00:00
Jung-uk Kim
060e5cd2f0 Add a patch to fix MulticastSocket.setInterface().
http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfa676f5b5db

Submitted by:	oliver
2013-02-11 23:53:16 +00:00
Greg Lewis
e2304463d3 . Fix a crash under heavy network load by reverting to using poll(2) rather
than select(2).

PR:		175417
Based on the patch by:	Phil Phillips <pphillips@experts-exchange.com>
2013-01-29 05:06:46 +00:00
Greg Lewis
53c61a4f9d . Update to 7u11.
Security:	CVE-2013-0422
2013-01-18 04:28:38 +00:00
Greg Lewis
c15a9595f1 . Add a runtime dependency on dejavu fonts. Several have reported problems
with font related crashes without them.  I haven't been able to reproduce,
  but this should be relatively harmless, so I'm committing it anyway.

PR:		173760
Submitted by:	girgen@
2012-12-25 20:49:55 +00:00
Jung-uk Kim
044b237329 - Remove patches for regression tests. Those patches are not necessary but
caused build failures on 7.x.
- Revert r306656.  bootstrap-openjdk builds it fine now (r306814).
- Remove registervm from build dependency.  This hack is no longer necessary
as javavmwrapper is fixed now (r306536).

Approved by:	glewis (maintainer)
Feature safe:	yes
2012-11-03 23:40:39 +00:00
Greg Lewis
1158f572a3 . Introduce a DEBUG option and default it to unset. For now the .debuginfo
files are only installed if the option is set.  In future it will likely
  also mean to enable the debug and/or fastdebug build.

PR:		172627
Feature safe:	yes
2012-10-31 22:07:56 +00:00
Greg Lewis
ea24a012f6 . Remove bootstrap-openjdk as a potential bootstrap. It cannot compile
openjdk7 at the moment.  Instead to default to openjdk6 as the bootstrap
  if nothing is already installed.

Reported by:	olgeni@
Feature safe:	yes
2012-10-30 02:15:40 +00:00
Greg Lewis
cd05fb5d6e . Update to 7u9.
Feature safe:	yes
2012-10-28 21:20:28 +00:00
Greg Lewis
94dfcbe517 . Remove duplicate MAKE_JOBS_SAFE line. [1]
. Group the USE_* directives together.
. Trim the Makefile header. [2]
. Convert to optionsNG. [2]
. Remove the ABI numbers from LIB_DEPENDS. [2]
. Fix the POLICY option. [2]
. Fix permissions and ownership of jexec. [2]
. Make sure the bootstrap JDK is used by the ant bootstrap. [2]

Submitted by:	kuriyama@ [1]
		jkim@ [2]
Feature safe:	yes
2012-10-28 20:36:03 +00:00
Jung-uk Kim
7b1d3862e2 Revert the previous accidental commit. 2012-10-04 16:19:53 +00:00
Jung-uk Kim
e2756cb835 - Reset maintainership. See ports/164941.
- Fix conflicts with java/classpath.  Note security provider configuration
is moved to ${PREFIX}/lib/security/SableVM.security.  This file is always
loaded first because the short vendor name is SableVM.  If it does not
exist, then classpath.security is loaded (java/security/Security.java).
- Reduce Makefile headers, add licenses, and convert to optionsNG.
2012-10-04 16:13:00 +00:00
Greg Lewis
a553b8d753 . Commit a fix for CVE-2012-4681.
Obtained from:	Mark Wielaard <mjw@redhat.com> via rea@
2012-08-30 05:32:57 +00:00
Greg Lewis
8c5212b4a8 . Allow openjdk7 to work with icedtea-web port.
Submitted by:	jkim@
2012-08-26 02:41:46 +00:00
Greg Lewis
9b42878dd4 . Update to 7u6.
. Enlist openjdk7 users as testers of ant 1.8.4.
2012-08-21 04:56:41 +00:00
Greg Lewis
c07f18f52f . Update to what should be 7u5. Based on the bug ids from
http://blog.fuseyism.com/index.php/2012/06/13/security-icedtea-2-1-1-2-2-1-released/
2012-08-06 05:57:54 +00:00
Greg Lewis
0484c2a45e . Fix locale generation.
PR:		169037
2012-06-16 14:46:02 +00:00
Greg Lewis
bd6e604ba8 . Fix jstack. 2012-06-06 19:50:54 +00:00
Greg Lewis
c36dec0373 . Update to 7u4. This was a fairly significant merge, so please report
any regressions in functionality that might have been missed.  Biggest
  news is that partial BSD support is now in the official source
  distribution through the OS X port's inclusion.

  Partly obtained from Kurt Miller <kurt@intricatesoftware.com>
2012-05-27 18:48:14 +00:00
Greg Lewis
4042aa0a1e . Enlist openjdk7 users as testers of ant 1.8.3. 2012-05-06 19:51:51 +00:00
Greg Lewis
6d76f6f950 . Add a POLICY option to install the unlimited strength policy files and
default it to on since I can't imagine why anyone would deliberately
  want the limited strength versions given a choice.

  Cribbed from java/openjdk6
2012-05-04 06:14:26 +00:00
Greg Lewis
679b512252 . Update to 7 Update 3. Since there was no separate source bundle released
this is done with an additional patch instead of updating the source
  bundle being used and the associated patch set.
2012-04-18 17:49:13 +00:00
Greg Lewis
1c96072b83 . Use the new java-zoneinfo port to provide updated time zone info. 2012-04-14 20:53:53 +00:00
Greg Lewis
8da599bfaf . Use the latest cacerts file from the official Oracle distribution of
Update 2.
2012-03-06 03:59:29 +00:00
Greg Lewis
e5d3c8854e . Update to OpenJDK 7 Update 2. 2012-03-06 03:58:53 +00:00
Jason Helfman
ae6ef64004 Installs built jars that were previously not installed.
* javazic.jar to generate Java timezone information files
* compilefontconfig.jar to generate Java font configuration files

PR:	ports/161946
Submitted by:	Jilles Tjoelker <jilles at stack.nl>
Reviewed by:	glewis
Approved by:	glewis, crees (mentor)
2011-12-30 06:49:15 +00:00
Greg Lewis
f326f69e57 . Try harder to make sure the flags returned from getFlags isn't negative,
since a number of places in the code check for that and assume that it
  means an error occurred.  On FreeBSD, in particular, the value of
  ifr_flags can be negative if multicast is enabled on the socket since
  the possible flags have expanded to fill more than a short.

  Instead of blindly promoting ifr_flags to an int, which will preserve
  the sign, we fill the int return value with ifr_flagshigh in the high
  16 bits and ifr_flags in the low 16 bits.

PR:		155186
Reported by:	Alex Hayward <xelah-freebsd-pr@xelah.com>
2011-07-08 07:28:46 +00:00
Greg Lewis
63c5dd4cb1 . Update to Build 147. 2011-06-29 04:09:28 +00:00
Greg Lewis
a121ec1a94 . Update to Build 146. 2011-06-26 18:31:15 +00:00
Greg Lewis
e429a76a51 . Update ant bootstrap to 1.8.2. 2011-06-05 01:56:50 +00:00
Greg Lewis
a570113f38 . Add missing dependency on audio/alsa-lib.
Reported by:	Christer Solskogen <christer.solskogen@gmail.com>
		Dominic Fandrey <kamikaze@bsdforen.de>
Pointy hat to:	glewis
2011-05-30 17:11:05 +00:00
Greg Lewis
443627224f . Update to Build 144. 2011-05-29 19:41:52 +00:00
Greg Lewis
4b97549646 . Fix infinite loop in parsing certain doubles. See CVE-2010-4476. 2011-02-09 17:13:40 +00:00
Greg Lewis
7bcb7b5573 . Update to Build 122. 2010-12-18 08:59:20 +00:00
Greg Lewis
4617d3ba40 . Restore the ability of openjdk7 to bootstrap itself.
PR:		153002
Submitted by:	well-wisher <regex@bk.ru>
2010-12-15 06:08:55 +00:00
Greg Lewis
be29271c63 . Update to Build 121. 2010-12-14 23:37:29 +00:00
Greg Lewis
74bdb145ad . Use Ant 1.8.1 to build rather than 1.7.1.
Inspired by:	ports/152676
2010-12-14 06:38:39 +00:00
Greg Lewis
350309b348 . Add extra MASTER_SITES entries for the jaxp, jaxws and jaf bundles. This
also unbreaks the build as they are currently not available from the
  primary site.

PR:		152096
Reported by:	pointyhat
2010-11-10 13:37:37 +00:00
Greg Lewis
92b914da21 . Update to Build 117.
. Temporarily disable a previous openjdk7 install as a bootstrap since the
  previous version won't compile this one.
2010-11-08 08:14:04 +00:00
Greg Lewis
8e0786efb4 . 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.

  Only the HotSpot part of the build is safe to parallelise, so mark the
  port as MAKE_JOBS_UNSAFE.
2010-09-23 05:43:07 +00:00
Greg Lewis
c9ca7a4ee0 . Add a new NIO selector that uses kqueue(2) and make it the default. [1]
. Mark as MAKE_JOBS_UNSAFE.
. Pet portlint.

Submitted by:	davidxu@ [1]
2010-08-16 01:35:41 +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