Commit graph

15 commits

Author SHA1 Message Date
Jung-uk Kim
1a4180c77c - Do not allow selecting both DEBUG and FASTDEBUG options. [1]
- Re-enable -Werror for HotSpot build with GCC.
- Revert couple of unnecessary local changes to reduce diff.
- Add inactive pages as availble memory.  Note it is a cosmetic change.

PR:		ports/182907 [1]
2013-10-12 00:31:41 +00:00
Jung-uk Kim
f2de329aa5 - Fix few mis-merges against HotSpot 23 and tie up some loose ends.
- Fix build with libiconv.  This problem was introduced in r330018.
- Update CA list to Oracle Java 7u40.  An expired CA was removed.
2013-10-10 21:59:11 +00:00
Jung-uk Kim
f78b1b9ba0 Update to Build b28. 2013-10-09 20:36:06 +00:00
Jung-uk Kim
0c79f0cee3 - Support staging.
- Fix fastdebug installation.
- Update jtreg version to Build b05.
- Refine r327353.  Use an extra patch instead.
- Install proper license file.  OpenJDK6 has GPLv2 + "Classpath" exception.
2013-10-08 00:03:16 +00:00
Baptiste Daroussin
c2c2a2b86b Add NO_STAGE all over the place in preparation for the staging support (cat: java) 2013-09-20 19:48:32 +00:00
Jung-uk Kim
932fe524fd Fix build with libc++. 2013-09-06 02:06:56 +00:00
Jung-uk Kim
f720ee1568 Bump revision for openjdk6-jre to catch up with the master port change. 2013-07-26 05:27:28 +00:00
Jung-uk Kim
e2650fc1b3 - Add couple of upstreamed IcedTea6 patches for consistency.
- Disable test_gamma by default.
2013-07-22 21:59:50 +00:00
Jung-uk Kim
15172ddf84 Fix openjdk6-jre build. 2013-07-16 21:12:40 +00:00
Jung-uk Kim
75b4ae124c Chase java/openjdk6 update. 2013-04-25 20:10:30 +00:00
Jung-uk Kim
0f7f30e0b6 Add multiple security patches from IcedTea6 1.12.3.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021858.html
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021998.html

Obtained from:	IcedTea Project
2013-03-06 00:50:28 +00:00
Jung-uk Kim
18924f6e54 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:45:25 +00:00
Jung-uk Kim
3cc4634867 Bump PORTREVISION for the new cacerts.
Feature safe:	yes
2012-10-23 17:40:51 +00:00
Jung-uk Kim
81a8a55b63 - Add 2012/10/16 security patches from IcedTea6 1.11.5. [1]
http://icedtea.classpath.org/hg/release/icedtea6-1.11/rev/d9564350faa6
http://blog.fuseyism.com/index.php/2012/10/19/security-icedtea-1-10-10-1-11-15-2-1-3-2-2-3-2-3-3-released/

- Completely turn off parallel build by default and remove parallel build
hack for HotSpot.  There were several reports that it fails to build under
certain environment, ports/162991 for example.  Users can still do parallel
build by setting FORCE_MAKE_JOBS (and MAKE_JOBS_NUMBER if desired).
- Implement os::available_memory().  Now it is consistent with "vm.vmtotal"
sysctl(3) MIB rather than bogus (physical memory / 4).
- Prefer sysconf(_SC_NPROCESSORS_CONF) over HW_NCPU sysctl MIB to get the
number of installed processors.  There is no functional difference except
for CURRENT, which obtains the information from ELF aux vector.
- Prefer sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE) over HW_USERMEM
sysctl MIB to get size of physical memory.  Although it looks more logical
to find currently available memory, it has an inevitable side-effect, i. e.,
it changes dynamically depending on current wired page count.  Therefore,
it is unpredictable and not too useful some times.  For example, launcher
uses the parameter to determine initial heap size and machine class for i386.
Now it is more consistent with other places (and Linux JDK/JREs, including
the ones we have in ports tree).
- Implement os::active_processor_count() using cpuset_getaffinity(2).  For
example, Runtime.getRuntime().availableProcessors() now returns number of
available processors for the current process as it should.
- Sync. launchers (java_md.c) for HotSpot and JDK as much as possible for
maintainability.  As a good side-effect, launcher for i386 can now determine
machine class based on the current hardware configuration.  Previously,
client VM was always chosen by default.
- Fix CounterGet(), which is only used for debugging launcher.
- Add swap info for os::print_memory_info().

Obtained from:	IcedTea project [1]
Feature safe:	yes
2012-10-19 22:43:10 +00:00
Jung-uk Kim
02cfcdf497 - Sanitize user, group and permission. Inspired by openjdk7.
- Add a slave port to create JRE-only package.
2012-10-09 17:47:06 +00:00