Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ca_root_certificates_java: cacerts for openjdk.
extracted from corresponding ca_root_certificates.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
haiku-data/ca_root_certificates_java/ca_root_certificates_java-2018_10_17.recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
SUMMARY="Bundle of CA root certificates for OpenJDK" | ||
DESCRIPTION="Certificate data for OpenJDK." | ||
HOMEPAGE="" | ||
COPYRIGHT="2008-2018 Mozilla" | ||
LICENSE="MPL v1.1 | ||
GNU GPL v2 | ||
GNU LGPL v2.1" | ||
REVISION="1" | ||
SOURCE_URI="https://curl.haxx.se/ca/cacert-${portVersion//_/-}.pem#noarchive" | ||
CHECKSUM_SHA256="86695b1be9225c3cf882d283f05c944e3aabbc1df6428a4424269a93e997dc65" | ||
SOURCE_FILENAME="ca-bundle-$portVersion.crt" | ||
|
||
ARCHITECTURES="any" | ||
DISABLE_SOURCE_PACKAGE="yes" | ||
|
||
PROVIDES=" | ||
ca_root_certificates_java = $portVersion compat >= 0 | ||
" | ||
REQUIRES=" | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
ca_root_certificates == $portVersion | ||
" | ||
BUILD_PREREQUIRES=" | ||
cmd:trust | ||
" | ||
|
||
INSTALL() | ||
{ | ||
installDir="$dataRootDir/ssl/java" | ||
mkdir -p "$installDir" | ||
|
||
trust extract --format=java-cacerts --filter=ca-anchors \ | ||
--purpose=server-auth $installDir/cacerts | ||
chmod 644 $installDir/cacerts | ||
} |