1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
Commit Graph

114 Commits

Author SHA1 Message Date
Jung-uk Kim
243fd8836a Fix default bootstrap JDK selection.
It was accidentally broken by r450869.
2017-11-01 20:49:54 +00:00
Jung-uk Kim
2f8e1591bf Add preliminary support for aarch64 with Zero.
PR:		223231
2017-11-01 20:23:35 +00:00
Jung-uk Kim
06ee14ef70 Clean up X11 option handling. No functional change. 2017-10-03 19:53:20 +00:00
Jung-uk Kim
8bac93539e Fix java/openjdk8-jre build after r444448.
PR:		222750
2017-10-03 18:13:18 +00:00
Jung-uk Kim
ad6af13f08 Use java/bootstrap-openjdk8 to bootstrap. 2017-09-28 20:14:21 +00:00
Jung-uk Kim
6ea79f805e Fix available memory calculation on head after r309017.
Note PORTREVISION is not bumped because it only affects a kernel without
"options COMPAT_FREEBSD11".
2017-09-07 00:41:34 +00:00
Mark Linimon
b58ecf8673 The src tree is splitting 32-bit arm support into 'armv6' and the new
'armv7'.  This patch adds armv7 support.  It should provide no regression
on any existing architecture.

PR:		221896
Approved by:	maintainer
2017-09-01 14:42:43 +00:00
Greg Lewis
33ad7fb605 . Update to 8u144. 2017-08-27 17:48:46 +00:00
Tobias Kortkamp
97b05f204d Add a new ALSA default option to make it possible to disable ALSA
support and build the JDK without an ALSA dependency

PR:		219125
Reviewed by:	jbeich
Approved by:	mat (mentor), java (maintainer timeout, 6+ weeks)
Differential Revision:	https://reviews.freebsd.org/D11331
2017-06-27 08:35:24 +00:00
Mark Linimon
2fc969b4b7 Scrub mention of armv6hf from ARCHS. It was never in a released version.
While here, sort ARCHS and pet portlint.

Reviewed by:	imp
Approved by:	portmgr (tier-2 blanket)
2017-06-26 22:20:20 +00:00
Greg Lewis
5458611582 Update to 8u131. 2017-04-19 13:36:23 +00:00
Jung-uk Kim
d656192397 Merge fix for JDK-6900441 from Linux source.
http://bugs.java.com/view_bug.do?bug_id=6900441

While we are at it, merge fix for JDK-8029453.

http://bugs.java.com/view_bug.do?bug_id=8029453

Note JDK-8029453 only affects us when "-XX:WorkAroundNPTLTimedWaitHang=0" is
forcibly set.

Reported by:	张泽鹏 (redraiment at gmail dot com)
Tested by:	张泽鹏 (redraiment at gmail dot com)
2017-04-13 18:09:21 +00:00
Jung-uk Kim
68d9296d7a Fix build with GCC. It was broken by r430424.
PR:		216738
2017-02-02 21:28:22 +00:00
Jung-uk Kim
f82baa6d8d Fix distinfo.
PR:		r216595
2017-01-30 21:39:05 +00:00
Greg Lewis
7494e12b61 . Update to 8u121. 2017-01-29 07:08:18 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Greg Lewis
1baf25b002 . Fix compilation with Clang 4.0
PR:		216016
Submitted by:	jbeich@
2017-01-15 22:51:52 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Greg Lewis
7e7a771857 . Add powerpc64 support.
PR:		212709
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>
2017-01-02 23:45:09 +00:00
Greg Lewis
ac342da485 . Add support for the HotSpot Serviceability Agent for ppc64.
. This also pulls in some OpenBSD tweaks, I believe.  These should be a
  no-op for FreeBSD though.

PR:		212709 (partial)
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>
2016-12-29 07:50:40 +00:00
Alan Somers
7bcea9568e Add an X11 option to java/openjdk[78]
It defaults to on.  Disabling it will remove X support from Java, and reduce
X-related dependencies.

PR:		210000
Reviewed by:	brd
Approved by:	brd (ports)
Approved by:	glewis (maintainer timeout)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D6698
2016-12-09 20:30:53 +00:00
Greg Lewis
ab93492888 . Update to 8u112. 2016-10-30 03:51:40 +00:00
Alex Dupre
6b6b8271c0 Update cacerts file using the one included in 8u111 release.
Notable change is the inclusion of Let's Encrypt CA.
2016-10-24 08:53:21 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Greg Lewis
71b1ef1dd5 . Include the thread id so that jstack can provide stack traces when
analysing core dumps.
. Bump PORTREVISION.

PR:		211196
Submitted by:	Ron Roskens <ronald.roskens@gmail.com>
2016-09-04 04:06:00 +00:00
Jung-uk Kim
f0ff2870a0 Make the FPU hack for ARM optional. Note this hack is not necessary for
VFPv3 or later, i.e., only VFPv1 and VFPv2 require this hack.

https://svnweb.freebsd.org/changeset/base/288983
2016-08-26 18:29:46 +00:00
Baptiste Daroussin
f64729b288 More typos 2016-07-31 12:51:30 +00:00
Baptiste Daroussin
cddeffd5bf Use the new @javavm 2016-07-31 12:43:53 +00:00
Greg Lewis
9bbe93456a . Update to 8u102. 2016-07-30 13:55:17 +00:00
Greg Lewis
f497c53064 . Regenerate patch-bsd and patch-bsd-test. This obsoletes another patch
and should also fix ppc64 support.
2016-06-18 05:44:35 +00:00
Greg Lewis
9c0e7d35bc . Fix a double free bug. This is pulled from upstream.
. Bump PORTREVISION.

PR:		210226
Submitted by:	girgen@
2016-06-16 06:24:34 +00:00
Jung-uk Kim
cb138fe9d4 Unbreak arm.
- Remove armv6hf because it is default now.
- Merge a HotSpot fix from src/os_cpu/linux_zero/vm/os_linux_zero.cpp.
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c6ef40024aa2
- Add an upstream patch to unbreak Zero.
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/8f58998958ca
- Extend PR209599 to cover arm platforms.
2016-06-13 12:00:19 +00:00
Greg Lewis
d172911638 . Use poll() rather than select() on BSD to avoid crashes during network
timeouts.  This is forwarded ported from OpenJDK 7.
. Bump PORTREVISION for this fix.

PR:		210191
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-12 21:56:01 +00:00
Greg Lewis
b13b21cc6c Handle unsafe operations that access invalid memory more gracefully
PR:		209599
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-12 21:53:48 +00:00
Greg Lewis
1d71c44416 . Update to 8u92. 2016-05-17 05:14:41 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Greg Lewis
c17837b9af . Update to 8u77. 2016-03-27 23:02:57 +00:00
Tijl Coosemans
59272d1017 Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Greg Lewis
44d8a469b9 . Update to 8u72. 2016-01-31 19:37:15 +00:00
Greg Lewis
24e7dd6d89 . Unreak CCACHE
PR:		205751
Submitted by:	chris@chrullrich.net
2016-01-21 05:25:44 +00:00
Jung-uk Kim
2edf0a9558 - Partially implement getThreadUserTime() using getrusage(2). Note we can
only get usage for the current thread.  Return -1 if the requested function
is not supported, i.e., user time for other threads, rather than crash. [1]
- Properly implement os::elapsedVTime() using getrusage().  Basically, it is
taken from Linux version.
- Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. [2]

PR:		205523, 205843 [1]
PR:		205544 [2]
2016-01-05 22:39:46 +00:00
Greg Lewis
2813824f6f . Stub implementation of OperatingSystemImpl.
PR:		205229
2016-01-02 09:30:21 +00:00
Jung-uk Kim
f79bce06dd Fix the previous commit. We do not support getThreadUserTime().
PR:		205523
2015-12-23 00:47:12 +00:00
Jung-uk Kim
cafb8745f1 Implement ThreadMXBean.getThreadCpuTime(), etc.
PR:		205523
Submitted by:	will (via bsd-port-dev@openjdk.java.net)
2015-12-23 00:22:15 +00:00
Jung-uk Kim
95a9ce771d Fix build with fmake.
Reported by:	antoine
2015-12-15 06:45:16 +00:00
Jung-uk Kim
fc16b49fe6 Build compilefontconfig.jar and javazic.jar with bootstrap jar. Originally
it was intended to test the newly built JVM, it is not cross-build friendly.

Submitted by:	Eugene M. Zheganin (emz at norma dot perm dot ru)
2015-12-14 23:32:21 +00:00
Jung-uk Kim
37874e5364 Build with sjavac when we are self-hosting to improve build speed. 2015-12-14 23:20:05 +00:00
Jung-uk Kim
e64ae7e938 Allow java/openjdk7 for bootstrapping java/openjdk8. Although we cannot
build OpenJDK7 for ARM yet, there is no need to disallow it at all.
2015-12-14 23:15:09 +00:00
Jung-uk Kim
8d6f3ac3d4 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:05:49 +00:00
Jung-uk Kim
c8b2413599 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:02:49 +00:00