Commit graph

33 commits

Author SHA1 Message Date
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Jung-uk Kim
d5ce7749e1 Update to b34. 2015-01-24 00:02:00 +00:00
Jung-uk Kim
e45d1e1be9 - Update to b32.
- Update TimeZoneNames to tzdata2014b.
- Enlist openjdk6 users as testers of ant 1.9.4.
2014-07-17 04:03:21 +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
Jung-uk Kim
a763513dab 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).

PR:		ports/178856
2014-05-21 19:57:11 +00:00
Jung-uk Kim
ec9037822d Fix couple of mis-merges. 2014-04-17 18:24:47 +00:00
Jung-uk Kim
ba490d88af Update to b31. 2014-04-16 01:43:53 +00:00
Jung-uk Kim
f0fd5a1e4a Add an upstream patch to fix yet another fallout from HotSpot 23 merge.
https://java.net/jira/browse/OPENJDK6-29
http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/04e4c3ec6516
2014-03-12 20:56:47 +00:00
Jung-uk Kim
29ab93ec97 Fix missing symbols after re-appearance of converters/libiconv on 10+. This
actually fixes java/icedtea-web because libsplashscreen.so was looking for
libiconv_open() and libiconv_close() from libiconv instead of iconv_open()
and iconv_close() from libc.  Tidy up compiler/linker flags while I am here.
2014-03-11 17:18:02 +00:00
Jung-uk Kim
d89d9f9160 - Sync. extremely outdated sun.util.resources.TimeZoneNames to the latest
tzdata 2013i from the upstream.  Note we are not updating zoneinfo data here
as it can be updated via java/java-zoneinfo.
- Fix build with Clang 3.4 and other miscellaneous issues while I am here.
2014-03-03 23:45:26 +00:00
Jung-uk Kim
7654e4a9ce - Update to b30.
- Implement sigset(2) for libjsig.  All supported FreeBSD releases have it.
- Turn UseMembar back on by default until we find better solution.
2014-01-23 23:34:07 +00:00
Mathieu Arnold
f9902a1f64 Revert lang/openjdk6 to b28.
With hat:	portmgr-lurker
2014-01-04 14:33:12 +00:00
Jung-uk Kim
799b4d21cc - Update to b29.
- Tidy up signal handler.
- Disable a Linux-specific hack.
- Do not create stack guard for Java threads.
- Implement thread CPU time.
2013-12-24 23:11:15 +00:00
Jung-uk Kim
50a824c824 If /var/db/zoneinfo exists, use the file to determine timezone rather than
iterating over all files under /usr/share/zoneinfo.  All supported FreeBSD
versions create the file with tzsetup(8).  This change usually improves
java.util.TimeZone performance because we only need to test just one file.
2013-12-11 01:18:33 +00:00
Jung-uk Kim
fffab58da8 Add multiple security patches and improvements from IcedTea6.
http://icedtea.classpath.org/hg/icedtea6/rev/e98b0ef70b26

Obtained from:	IcedTea Project
2013-12-04 23:20:35 +00:00
Jung-uk Kim
35ee67e7ee - Add throw() to all user-defined operator new()s within HotSpot because
Clang does not support "-fcheck-new".  Note it is a backport of S8021954
(http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/9758d9f36299).
- Re-implement signal_name() with sys_signame(3) and adjust the comments.
- Re-implement ThreadCritical with PTHREAD_MUTEX_RECURSIVE.
- Fix DEBUG build with Clang on i386.  Clang does not support "-gstabs".
- Limit allocatable physical memory per getrlimit(2).
2013-11-09 00:11:00 +00:00
Jung-uk Kim
77e1b3cd31 - Do not crash when unsupported options are specified. [1]
- Micro-optimize and tidy up some patches.

PR:		java/183656 [1]
2013-11-05 21:16:12 +00:00
Jung-uk Kim
5cf97021e1 - Turn off UseMembar by default. This workaround is not necessary any more.
- Add few minor patches related to thread ID that were mis-merged.
- Add couple of minor HotSpot patches from upstream while I am here.
2013-10-25 22:53:53 +00:00
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