===> The following configuration options are available for openjdk-7.261.02.1,1:
DEBUG=off: Enable extra debugging info
POLICY=on: Install the Unlimited Strength Policy Files
TZUPDATE=on: Update the time zone data
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc for some functionality.
If you have not done it yet, please do the following:
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
To make it permanent, you need the following lines in /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
java/openjdk7: Mark as deprecated due to upstream EOL
Java 7 ceased extended support on July 31, 2022 and will no longer
receive any patches or updates.
PR: 264689
java: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alex Dupre <ale@FreeBSD.org>
* Alex Semenyaka <alex@rinet.ru>
* Alexander Yerenkow <yerenkow@gmail.com>
* Anton Yudin (<contact@toha.org.ua>)
* Anton Yudin <toha@toha.org.ua>
* Benjamin Close <benjsc@FreeBSD.org>
* Björn König <bkoenig@alpha-tierchen.de>
* Conor McDermottroe <ports@mcdermottroe.com>
* Danilo Egea Gondolfo <danilo@FreeBSD.org
* Dave Glowacki <dglo@ssec.wisc.edu>
* Ernst de Haan <znerd@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
java/openjdk7: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Approved by: glewis (port maintainer), arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32427
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)
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
. Handle unsafe operations that access invalid memory more gracefully.
. Bump PORTREVISION for this fix.
PR: 209599
Submitted by: Andrew Smith <iamasmith.home@gmail.com>
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
(Only the first 15 lines of the commit message are shown above )
. Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.
This cuts the size taken by openjdk7 in the ports repository.
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
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.
This is discussed at
https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.
With hat: portmgr
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
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)
. 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]
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>
- 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]
. Handle spaces in CC, CXX or HOST_CC [1]
. Convert a space to a tab [2]
. Pet portlint by changing /nonexistent to ${NONEXISTENT} [2]
PR: 189385 [2]
Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> [1]
Takefu <takefu@airport.fm> [2]
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)
. 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]
. 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])
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
(Only the first 15 lines of the commit message are shown above )
Support stage
Use options helpers
Modernise LIB_DEPENDS
use pax instead of copytree_share to install, this allows preserving the modes
and thus avoid playing with ${CHMOD}
- Include bsd.port.pre.mk before testing if ICONV_LIB is empty. It is
always empty without this. [1]
- Add -DLIBICONV_PLUG to CFLAGS to enforce the use of libc iconv even when
libiconv is installed. [2]
PR: ports/184204 [1], ports/184782 [1], ports/186956 [2]
Approved by: glewis (maintainer)
. Remove OSVERSION checks. These are too restrictive but we don't have
OSVERSION bumps to check for on the release branches (even though they
have had the fix MFC'ed).
People seeing kernel panics on their machines need to update and pick up
those fixes.
. 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.
. Fix DefaultAsynchronousChannelProvider.create to not crash on FreeBSD but
to instead create an instance of BsdAsynchronousChannelProvider().
PR: 183389
Submitted by: girgen@
. 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>
- Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc
Reviewed by: bapt
Approved by: portmgr (bapt)
Discussed with: bapt, bsam (who both contributed ideas and code)
fix build without gcc in base
Always use gcc whatever the default compiler is to build openjdk (it needs gcc
-dumpspecs)
Define HOST_CC to ${CC} to make avoir direct call to "/usr/bin/gcc"
. 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.
- 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