Commit graph

69 commits

Author SHA1 Message Date
Mathieu Arnold
8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00
Greg Lewis
010c48ac48 . Update to 7u80. 2015-04-28 05:40:24 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Greg Lewis
af02cae5b9 . Update to 7u76
. Adopt a patchset strategy similar to the openjdk8 port, which keeps the
  patch files smaller and makes the BSD differences clearer.
2015-02-02 05:00:42 +00:00
Greg Lewis
13771af25b . Fix window maximisation under Gnome 3.
PR:		196741
Submitted by:	huanghwh@gmail.com
2015-02-02 04:56:57 +00:00
Antoine Brodin
4c1bb8329e Allow building 10 years after 31 decembre 2004
With hat:	portmgr
2014-12-30 23:09:45 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Jung-uk Kim
73bb14c0e3 Add an upstream patch to remove adlc's unused class FileBuffRegion.
https://bugs.openjdk.java.net/browse/JDK-8041620

Note this is an attempt to fix build with upcoming Clang 3.5.

Obtained from:	jdk9
2014-12-16 00:25:58 +00:00
Jung-uk Kim
72fe6d5b0b Fix symbol mapfile for libvm.so. Note FreeBSD still uses GNU nm(1). 2014-11-19 21:52:04 +00:00
Greg Lewis
ba2e9ae12a . Update to 7u71. 2014-11-01 20:18:09 +00:00
John Baldwin
1ebd0e3345 The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed.  No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.

PR:		193961
Approved by:	portmgr (antoine)
2014-10-18 12:20:42 +00:00
Greg Lewis
63182852ca . Update to 7u65. 2014-07-16 15:21:38 +00:00
Greg Lewis
49d7c249aa . Fix unpack200 on i386/amd64 by only swapping bytes when this is actually
a big endian machine. [1]
. Bump PORTREVISION for the fix.
. Speed up the build on multi-core machines using the MAKE_JOBS trickery
  from the openjdk8 Makefile.
. Enlist openjdk7 users as testers of ant 1.9.4.
. Add a dependency on fontconfig.

PR:		191735 [1]
Requested by:	Michael Schmiedgen <schmiedgen@takwa.de> [2]
2014-07-12 17:36:17 +00:00
Jung-uk Kim
6d8c62429c Implement current and signal methods for sun.nio.ch.NativeThread. Note this
fixes a test case in the following Apache Solr bug report.

https://issues.apache.org/jira/browse/SOLR-6204

Reported by:	Dawid Weiss <dawid.weiss@gmail.com>
2014-06-27 18:41:19 +00:00
Greg Lewis
6f1ddbf6db Update to 7u60. 2014-06-07 23:37:24 +00:00
Jung-uk Kim
d7cffff692 - Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be
used to print a generated PostScript file.  When lpd(8) is used, lpr(1) from
base must be used.  Also, status command for lpc(8) requires a printer name.
If no argument is specified, i.e., "/usr/sbin/lpc status", then it displays
the command usage, i.e., "usage: status  {all | printer ...}".
Unfortunately, "usage" is interpreted as a printer name because ":" is
included.  Add "all" and adjust an expression for grep(1). [1]
- Use /proc/curproc/file to find its executable path if available.  It fixes
java/icedtea-web, for example. [2]

PR:		ports/178856 [1]
PR:		java/189905 [2]
2014-05-21 20:03:14 +00:00
Jung-uk Kim
31f1b998e4 Include bundled header files before others. For example, this fixes build
with conflicting header files from graphics/jpeg.  Note OTHER_INCLUDES or
OTHER_CPPFLAGS may be used instead.  However, I think this is the least
intrusive change.  Also, note java/openjdk6 already has a similar fix and
java/openjdk8 does not need it.

Tested by:	Jonathan Chen (jonc at chen dot org dot nz)
2014-04-30 04:47:25 +00:00
Greg Lewis
139ca58e28 . Fix spawning external processes from the JVM. [1]
. Remove some patches that have been merged to the upstream repository.

PR:		188979, 188980 [1]
Obtained from:	Kurt Miller (via the upstream bsd-port repo) [1]
2014-04-29 04:15:11 +00:00
Jung-uk Kim
a8eeed9413 Refine the patch again. No functional change. 2014-04-21 22:54:16 +00:00
Jung-uk Kim
1f64c6c6fb Refine the previous patch. No functional change. 2014-04-21 21:07:26 +00:00
Jung-uk Kim
ed5e9e275a Fix build with clang. 2014-04-21 20:56:10 +00:00
Greg Lewis
95e1070605 . Update to 7u55.
. Use version 1.9.3 of ant [1]
. Don't insist on GCC since compilation with clang now works [2].

Obtained from:	jkim@'s openjdk7 redport repo ([1], [2])
2014-04-20 22:56:18 +00:00
Greg Lewis
8f385d253f . Update to the cacerts file included in the latest Linux distribution (7u55). 2014-04-20 22:45:36 +00:00
Greg Lewis
e9ec4ef357 . Add BSD support to PortConfig. Fixes JMX on FreeBSD.
PR:		186636
2014-02-15 23:31:42 +00:00
Greg Lewis
da5a136cad . Update to 7u51.
. Mark as FORBIDDEN for releases without the MAP_STACK fix (or where that
  fix isn't detectable), since kernel panics may result there.
2014-02-09 23:12:11 +00:00
Mathieu Arnold
a396f66981 Revert lang/openjdk7 to 7u25.
With hat:	portmgr-lurker
2014-01-04 15:56:26 +00:00
Greg Lewis
c010f08a58 . Update to 7u45. 2013-12-08 04:11:54 +00:00
Greg Lewis
665c8c2480 . Update to the latest cacerts from the 7u45 JDK release. 2013-12-08 04:11:09 +00:00
Greg Lewis
00bc59125f . Fix DefaultAsynchronousChannelProvider.create to not crash on FreeBSD but
to instead create an instance of BsdAsynchronousChannelProvider().

PR:		183389
Submitted by:	girgen@
2013-10-30 04:29:14 +00:00
Greg Lewis
a419e4f7dc . Make set_native_priority return a (correct) value on FreeBSD, rather than
whatever happens to be on the stack.
. Bump PORTREVISION.

Submitted by:	Xiaoguang Sun <sunxiaoguang@gmail.com>
2013-09-22 00:39:22 +00:00
Greg Lewis
82b71a6c38 . Update to 7u25.
. Unbreak the port by committing the other half of the patch-set split.
2013-06-23 20:45:14 +00:00
Greg Lewis
a7b6a0ade5 . Split out the JDK patches into their own file. This will actually break
the port since I can't commit the split all at once due to subversion
  size limits.  Yay.
2013-06-23 20:44:24 +00:00
Greg Lewis
b46768de7a . Update to 7u21. 2013-05-05 20:10:26 +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
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
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
cd05fb5d6e . Update to 7u9.
Feature safe:	yes
2012-10-28 21:20:28 +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
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
8da599bfaf . Use the latest cacerts file from the official Oracle distribution of
Update 2.
2012-03-06 03:59:29 +00:00