notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
The safest procedure: change your FreshPorts password. Anything you had set before Friday March 24 2023 09:49:20 UTC should be changed. You can read more here: SQL inejection issues fixed and FreshSource code fixes Sorry about the extra work for you.
All known SQL injection issues patched. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password.
Port details
openjdk18 Java Development Kit 18
18.0.2+9.1_1 java on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-04-10 21:06:04
Last Update: 2023-02-02 04:49:05
Commit Hash: 5d7631b
People watching this port, also watch:: py39-pycparser, p5-Net-HTTP, tmux, font-misc-meltho, python
Also Listed In: devel
License: GPLv2
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/openjdk18-18.0.2+9.1_1/catalog.mk
  2. /usr/local/share/licenses/openjdk18-18.0.2+9.1_1/LICENSE
  3. /usr/local/share/licenses/openjdk18-18.0.2+9.1_1/GPLv2
Collapse this list.
Dependency lines:
  • openjdk18>0:java/openjdk18
To install the port:
cd /usr/ports/java/openjdk18/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk18
  • pkg install openjdk18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk18
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:

Packages (timestamps in pop-ups are UTC):
openjdk18
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd6418.0.2+9.1_118.0.2+9.1_1
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i38618.0.2+9.1_1pkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch6418.0.2+9.1_1pkg-fallout
FreeBSD:13:amd6418.0.2+9.1_118.0.2+9.1_1
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i38618.0.2+9.1_1pkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-fallout18.0.2+9.1_1
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch6418.0.2+9.1_1pkg-fallout
FreeBSD:14:amd6418.0.2+9.1_1pkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i38618.0.2+9.1_1pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc6418.0.2+9.1_1pkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. autoconf>0 : devel/autoconf
  3. cups.h : print/cups
  4. bash : shells/bash
  5. gsed : textproc/gsed
  6. gmake>=4.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/bootstrap-openjdk17
  9. gcc12 : lang/gcc12
  10. as : devel/binutils
  11. x11.pc : x11/libX11
  12. xext.pc : x11/libXext
  13. xi.pc : x11/libXi
  14. xrandr.pc : x11/libXrandr
  15. xrender.pc : x11/libXrender
  16. xt.pc : x11-toolkits/libXt
  17. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
  3. gcc12 : lang/gcc12
  4. x11.pc : x11/libX11
  5. xext.pc : x11/libXext
  6. xi.pc : x11/libXi
  7. xrandr.pc : x11/libXrandr
  8. xrender.pc : x11/libXrender
  9. xt.pc : x11-toolkits/libXt
  10. xtst.pc : x11/libXtst
Library dependencies:
  1. libasound.so : audio/alsa-lib
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libgif.so : graphics/giflib
  5. libharfbuzz.so : print/harfbuzz
  6. liblcms2.so : graphics/lcms2
  7. libpng.so : graphics/png
  8. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Build
  1. java/openjdk19

Configuration Options:
Options name:
USES:
pkg-message:
For install:
WWW: https://openjdk.java.net/projects/jdk/18/
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk18u/tar.gz/jdk-18.0.2+9-1?dummy=/
Collapse this list.

Number of commits found: 11

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
18.0.2+9.1_1
02 Feb 2023 04:49:05
commit hash:5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash:5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash:5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash:5d7631b4566ab101b5030fcbc87a55a520f01ae6 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix the build on aarch64

* Apply a similar patch as was applied to java/openjdk17
* Remove a patch which has been upstreamed
18.0.2+9.1_1
08 Jan 2023 04:33:46
commit hash:d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash:d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash:d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash:d2746c6ad113c01b5616fa48ed69905eb7b47de2 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Attempt to fix the build for i386
18.0.2+9.1_1
18 Dec 2022 17:37:49
commit hash:430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash:430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash:430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash:430ead7025c8f32aa67b6c8d99583bbb68969dbb files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk18: fix build with clang 15

During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk18 failed to build with clang 15:

 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:374:41:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error);
                                          ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:393:63:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                                  (*g_network_address_parse_uri)(proxies[i], 0,
                                                                ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:398:70:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              phost = (*g_network_address_get_hostname)(conn);
                                                                       ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:399:66:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18.0.2+9.1_1
04 Nov 2022 06:43:18
commit hash:add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash:add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash:add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash:add6dd031a6aa7eb7d7f51e2c278f8c27ba27426 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Use the distributed cacerts

PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
18.0.2+9.1
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18.0.2+9.1
03 Aug 2022 02:27:22
commit hash:28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash:28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash:28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash:28b0ae0fe75ee2f922efdb853faa2ce735002546 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Update to 18.0.2
18.0.1+10.1
08 May 2022 05:24:21
commit hash:1a550987749db80b46153ef8ad5016313b23a51ecommit hash:1a550987749db80b46153ef8ad5016313b23a51ecommit hash:1a550987749db80b46153ef8ad5016313b23a51ecommit hash:1a550987749db80b46153ef8ad5016313b23a51e files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix the build on aarch64
18.0.1+10.1
05 May 2022 05:22:08
commit hash:577275551f536d17908417adce7d531b26a72361commit hash:577275551f536d17908417adce7d531b26a72361commit hash:577275551f536d17908417adce7d531b26a72361commit hash:577275551f536d17908417adce7d531b26a72361 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Update to 18.0.1 GA
18+37.1
10 Apr 2022 21:03:15
commit hash:7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash:7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash:7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash:7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix build with Clang 14
18+37.1
10 Apr 2022 21:03:15
commit hash:8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash:8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash:8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash:8ba1801ad5d241c8071d87da33d80bdb1be86255 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Add a port of OpenJDK 18

Number of commits found: 11