net/keycloak: Update to 13.0.0

ChangeLog: https://www.keycloak.org/2021/05/keycloak-1300-released.html

While here pet linters

PR:	255744
Reported by:	freebsd@rheinwolf.de (maintainer)
This commit is contained in:
Fernando Apesteguía 2021-05-10 13:22:43 +02:00
parent ca2859597c
commit cb5002435d
3 changed files with 472 additions and 481 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= keycloak
PORTVERSION= 12.0.4
PORTVERSION= 13.0.0
CATEGORIES= net java
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
@ -28,14 +28,14 @@ PLIST_SUB+= POSTGRES=""
PLIST_SUB+= POSTGRES="@comment "
.endif
USE_RC_SUBR= keycloak
USE_JAVA= yes
JAVA_VERSION= 1.8+
JAVA_OS= native
JAVA_VENDOR= openjdk oracle
JAVA_RUN= yes
USE_RC_SUBR= keycloak
USER= www
GROUP= www
@ -43,6 +43,9 @@ VAR_DIR?= /var
LOG_DIR?= ${VAR_DIR}/log/${PORTNAME}
RUN_DIR?= ${VAR_DIR}/run/${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
SUB_LIST+= GROUP=${GROUP} \
LOG_DIR=${LOG_DIR} \
JAVA=${JAVA} \
@ -50,9 +53,6 @@ SUB_LIST+= GROUP=${GROUP} \
RUN_DIR=${RUN_DIR} \
USER=${USER}
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
CONFIG_FILES= bin/.jbossclirc \
@ -114,12 +114,12 @@ do-install:
.endfor
# Create links for kc* binaries
${LN} -sf ${JAVASHAREDIR}/${PORTNAME}/bin/kcadm.sh ${STAGEDIR}${PREFIX}/bin/kcadm
${LN} -sf ${JAVASHAREDIR}/${PORTNAME}/bin/kcreg.sh ${STAGEDIR}${PREFIX}/bin/kcreg
${LN} -sf ../share/java/${PORTNAME}/bin/kcadm.sh ${STAGEDIR}${PREFIX}/bin/kcadm
${LN} -sf ../share/java/${PORTNAME}/bin/kcreg.sh ${STAGEDIR}${PREFIX}/bin/kcreg
# Create links for log directories
${LN} -sf ${LOG_DIR}/domain ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/domain/log
${LN} -sf ${LOG_DIR}/standalone ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/standalone/log
${LN} -sf ../../../../../..${LOG_DIR}/domain ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/domain/log
${LN} -sf ../../../../../..${LOG_DIR}/standalone ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/standalone/log
.if ${FLAVOR:U} == mysql
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}/modules/system/layers/keycloak/com/mysql/main

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1614586157
SHA256 (keycloak-12.0.4.tar.gz) = bbce03cb06f06fbe7ae92493f28f269a9293e516f1c25692fe0b9e32687ca161
SIZE (keycloak-12.0.4.tar.gz) = 235978882
TIMESTAMP = 1620632670
SHA256 (keycloak-13.0.0.tar.gz) = a60623d0d14e8d387b177b501361c4b4cfe0a5521b2dbe030cbca2dfe2d82265
SIZE (keycloak-13.0.0.tar.gz) = 241417258

File diff suppressed because it is too large Load diff