Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk17: note that version 17.0.13+ is not available via MacPorts #26260

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions java/jdk17/Portfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in java/jdk17/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port lint jdk17: Warning: Unnecessary platforms line as darwin is the default

Check warning on line 1 in java/jdk17/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port lint jdk17: Warning: Unnecessary platforms line as darwin is the default

Check warning on line 1 in java/jdk17/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint jdk17: Warning: Unnecessary platforms line as darwin is the default

Check warning on line 1 in java/jdk17/Portfile

View workflow job for this annotation

GitHub Actions / macos-15

port lint jdk17: Warning: Unnecessary platforms line as darwin is the default

PortSystem 1.0

name jdk17
set feature 17
name jdk${feature}
categories java devel
maintainers {breun.nl:nils @breun} openmaintainer
maintainers nomaintainer
platforms darwin
# This port uses prebuilt binaries; 'NoMirror' makes sure MacPorts doesn't mirror/distribute these third-party binaries
license NFTC NoMirror
Expand All @@ -14,15 +15,17 @@
supported_archs x86_64 arm64

# https://www.oracle.com/java/technologies/downloads/#jdk17-mac
version 17.0.12
version ${feature}.0.12
revision 0

description Oracle Java SE Development Kit 17
description Oracle Java SE Development Kit ${feature}
long_description Java Platform, Standard Edition Development Kit (JDK). \
The JDK is a development environment for building applications and components using the Java programming language. \
This software is provided under the Oracle No-Fee Terms and Conditions (NFTC) license (https://java.com/freeuselicense).
This software is provided under the Oracle No-Fee Terms and Conditions (NFTC) license (https://java.com/freeuselicense). \
Oracle JDK ${feature}.0.13 and later are only available under the OTN license and therefore cannot be made available via MacPorts. \
If you require an up-to-date JDK ${feature}, consider installing the 'openjdk${feature}' or another openjdk${feature}-* port instead.

master_sites https://download.oracle.com/java/17/archive/
master_sites https://download.oracle.com/java/${feature}/archive/

if {${configure.build_arch} eq "x86_64"} {
distname jdk-${version}_macos-x64_bin
Expand All @@ -42,7 +45,7 @@

livecheck.type regex
livecheck.url https://www.oracle.com/java/technologies/downloads/
livecheck.regex Java SE Development Kit (17\.\[0-9\.\]+)
livecheck.regex JDK Development Kit (${feature}\.\[0-9\.\]+) downloads

use_configure no
build {}
Expand Down
Loading