Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: oraclejdk-17
@ 2021-09-15  8:28 g4s8
  0 siblings, 0 replies; only message in thread
From: g4s8 @ 2021-09-15  8:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]

There is a new pull request by g4s8 against master on the void-packages repository

https://github.com/g4s8/void-packages oraclejdk-17
https://github.com/void-linux/void-packages/pull/32970

New package: oraclejdk-17
Added OracleJDK 17 LTS version with new NFTS free license,
see: https://blogs.oracle.com/java/post/free-java-license

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/32970.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-oraclejdk-17-32970.patch --]
[-- Type: text/x-diff, Size: 3090 bytes --]

From 4a529e6785fd84f8b50947cba32c449f6db25ea8 Mon Sep 17 00:00:00 2001
From: Kirill <g4s8.public@gmail.com>
Date: Wed, 15 Sep 2021 11:20:28 +0300
Subject: [PATCH] New package: oraclejdk-17

Added OracleJDK 17 LTS version with new NFTS free license,
see: https://blogs.oracle.com/java/post/free-java-license
---
 srcpkgs/oraclejdk17-bin/template | 50 ++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 srcpkgs/oraclejdk17-bin/template

diff --git a/srcpkgs/oraclejdk17-bin/template b/srcpkgs/oraclejdk17-bin/template
new file mode 100644
index 000000000000..e00f69fd1675
--- /dev/null
+++ b/srcpkgs/oraclejdk17-bin/template
@@ -0,0 +1,50 @@
+# Template file for 'oraclejdk17-bin'
+pkgname=oraclejdk17-bin
+version=17
+revision=1
+archs="x86_64"
+wrksrc=jdk-17
+short_desc="Official Reference Implementation for Java SE 17"
+maintainer="Kirill Che. <g4s8.public@gmail.com>"
+license="NFTC"
+homepage="https://www.oracle.com/java/technologies/downloads/"
+distfiles="https://download.oracle.com/java/${version}/latest/jdk-${version}_linux-x64_bin.tar.gz"
+checksum=106e3fc31b9fe4d0fd76c6c92b1931bdd1b0ac4d788747951de0f92cc73b1ffe
+nopie=true
+
+alternatives="
+	java:/usr/bin/java:/usr/lib/jvm/oraclejdk17-bin/bin/java
+	java:/usr/bin/keytool:/usr/lib/jvm/oraclejdk17-bin/bin/keytool
+	java:/usr/bin/rmiregistry:/usr/lib/jvm/oraclejdk17-bin/bin/rmiregistry
+	java:/usr/bin/:/usr/lib/jvm/oraclejdk17-bin/bin/
+	jdk:/usr/bin/jar:/usr/lib/jvm/oraclejdk17-bin/bin/jar
+	jdk:/usr/bin/jarsigner:/usr/lib/jvm/oraclejdk17-bin/bin/jarsigner
+	jdk:/usr/bin/javac:/usr/lib/jvm/oraclejdk17-bin/bin/javac
+	jdk:/usr/bin/javadoc:/usr/lib/jvm/oraclejdk17-bin/bin/javadoc
+	jdk:/usr/bin/javap:/usr/lib/jvm/oraclejdk17-bin/bin/javap
+	jdk:/usr/bin/jcmd:/usr/lib/jvm/oraclejdk17-bin/bin/jcmd
+	jdk:/usr/bin/jconsole:/usr/lib/jvm/oraclejdk17-bin/bin/jconsole
+	jdk:/usr/bin/jdb:/usr/lib/jvm/oraclejdk17-bin/bin/jdb
+	jdk:/usr/bin/jdeprscan:/usr/lib/jvm/oraclejdk17-bin/bin/jdeprscan
+	jdk:/usr/bin/jdeps:/usr/lib/jvm/oraclejdk17-bin/bin/jdeps
+	jdk:/usr/bin/jfr:/usr/lib/jvm/oraclejdk17-bin/bin/jfr
+	jdk:/usr/bin/jhsdb:/usr/lib/jvm/oraclejdk17-bin/bin/jhsdb
+	jdk:/usr/bin/jimage:/usr/lib/jvm/oraclejdk17-bin/bin/jimage
+	jdk:/usr/bin/jinfo:/usr/lib/jvm/oraclejdk17-bin/bin/jinfo
+	jdk:/usr/bin/jlink:/usr/lib/jvm/oraclejdk17-bin/bin/jlink
+	jdk:/usr/bin/jmap:/usr/lib/jvm/oraclejdk17-bin/bin/jmap
+	jdk:/usr/bin/jmod:/usr/lib/jvm/oraclejdk17-bin/bin/jmod
+	jdk:/usr/bin/jpackage:/usr/lib/jvm/oraclejdk17-bin/bin/jpackage
+	jdk:/usr/bin/jps:/usr/lib/jvm/oraclejdk17-bin/bin/jps
+	jdk:/usr/bin/jrunscript:/usr/lib/jvm/oraclejdk17-bin/bin/jrunscript
+	jdk:/usr/bin/jshell:/usr/lib/jvm/oraclejdk17-bin/bin/jshell
+	jdk:/usr/bin/jstack:/usr/lib/jvm/oraclejdk17-bin/bin/jstack
+	jdk:/usr/bin/jstat:/usr/lib/jvm/oraclejdk17-bin/bin/jstat
+	jdk:/usr/bin/jstatd:/usr/lib/jvm/oraclejdk17-bin/bin/jstatd
+	jdk:/usr/bin/serialver:/usr/lib/jvm/oraclejdk17-bin/bin/serialver
+"
+
+do_install() {
+	vmkdir /usr/lib/jvm/oraclejdk17-bin
+	cp -R ./* ${DESTDIR}/usr/lib/jvm/oraclejdk17-bin
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-15  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15  8:28 [PR PATCH] New package: oraclejdk-17 g4s8

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ https://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git