2014-09-20 19:42:15 +02:00
|
|
|
PORTNAME= rundeck
|
2023-11-27 09:08:02 +01:00
|
|
|
DISTVERSION= 4.17.3
|
|
|
|
DISTVERSIONSUFFIX= -20231113
|
2014-09-20 19:42:15 +02:00
|
|
|
CATEGORIES= sysutils java
|
2021-10-08 08:20:29 +02:00
|
|
|
MASTER_SITES= https://packagecloud.io/pagerduty/rundeck/packages/java/org.rundeck/${DISTNAME}.war/artifacts/${DISTNAME}.war/download?/
|
2020-05-07 13:10:39 +02:00
|
|
|
EXTRACT_SUFX= .war
|
2014-09-20 19:42:15 +02:00
|
|
|
|
2023-02-16 11:24:58 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-09-20 19:42:15 +02:00
|
|
|
COMMENT= Web-console for dispatching commands and scripts to your nodes
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://rundeck.org
|
2014-09-20 19:42:15 +02:00
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
|
2021-12-18 16:14:25 +01:00
|
|
|
USES= cpe
|
|
|
|
CPE_VENDOR= pagerduty
|
2023-09-23 17:50:34 +02:00
|
|
|
USE_JAVA= 8+s
|
2021-12-18 16:14:25 +01:00
|
|
|
USE_RC_SUBR= rundeck
|
2014-09-20 19:42:15 +02:00
|
|
|
|
2020-05-07 13:10:39 +02:00
|
|
|
CONFLICTS_INSTALL= rundeck2
|
|
|
|
|
2017-01-17 02:22:13 +01:00
|
|
|
NO_ARCH= yes
|
2014-09-20 19:42:15 +02:00
|
|
|
NO_BUILD= yes
|
2021-12-18 16:14:25 +01:00
|
|
|
SUB_FILES= ${RUNDECK_LOG4J}
|
|
|
|
SUB_LIST+= JAVA_HOME=${JAVA_HOME} \
|
|
|
|
RUNDECK_CONFIG_DIR=${RUNDECK_CONFIG_DIR} \
|
|
|
|
RUNDECK_GROUP=${RUNDECK_GROUP} \
|
|
|
|
RUNDECK_HOME=${RUNDECK_HOME} \
|
|
|
|
RUNDECK_LOG4J=${RUNDECK_LOG4J} \
|
|
|
|
RUNDECK_LOG_FILE=${RUNDECK_LOG_FILE} \
|
|
|
|
RUNDECK_LOGDIR=${RUNDECK_LOGDIR} \
|
|
|
|
RUNDECK_USER=${RUNDECK_USER}
|
2014-09-20 19:42:15 +02:00
|
|
|
|
2021-12-18 16:14:25 +01:00
|
|
|
RUNDECK_HOME= ${PREFIX}/rundeck
|
|
|
|
RUNDECK_USER?= rundeck
|
|
|
|
RUNDECK_GROUP?= rundeck
|
2021-03-02 21:20:54 +01:00
|
|
|
RUNDECK_LOGDIR?= /var/log/rundeck
|
|
|
|
RUNDECK_LOG_FILE?= ${RUNDECK_LOGDIR}/rundeck.log
|
2021-12-18 16:14:25 +01:00
|
|
|
RUNDECK_LOG4J= log4j2.properties
|
2021-03-02 21:20:54 +01:00
|
|
|
RUNDECK_CONFIG_DIR= ${RUNDECK_HOME}/server/config
|
2014-09-20 19:42:15 +02:00
|
|
|
|
2023-02-15 14:34:40 +01:00
|
|
|
.if ${RUNDECK_USER} == rundeck
|
2021-12-18 16:14:25 +01:00
|
|
|
USERS= rundeck
|
2014-09-20 19:42:15 +02:00
|
|
|
.endif
|
2023-02-15 14:34:40 +01:00
|
|
|
.if ${RUNDECK_GROUP} == rundeck
|
2021-12-18 16:14:25 +01:00
|
|
|
GROUPS= rundeck
|
2014-09-20 19:42:15 +02:00
|
|
|
.endif
|
|
|
|
|
2021-12-18 16:14:25 +01:00
|
|
|
PLIST_SUB= RUNDECK_GROUP=${RUNDECK_GROUP} \
|
|
|
|
RUNDECK_HOME=${RUNDECK_HOME} \
|
|
|
|
RUNDECK_LOGDIR=${RUNDECK_LOGDIR} \
|
|
|
|
RUNDECK_USER=${RUNDECK_USER}
|
2014-09-20 19:42:15 +02:00
|
|
|
|
|
|
|
do-install:
|
2021-03-02 21:20:54 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
|
|
|
|
${MKDIR} ${STAGEDIR}${RUNDECK_LOGDIR}
|
2014-09-20 19:42:15 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
|
2020-05-07 13:10:39 +02:00
|
|
|
${STAGEDIR}${DATADIR}/rundeck${EXTRACT_SUFX}
|
2014-09-20 19:42:15 +02:00
|
|
|
|
2021-03-02 21:20:54 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${RUNDECK_CONFIG_DIR}
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKDIR}/${RUNDECK_LOG4J} \
|
|
|
|
${STAGEDIR}${RUNDECK_CONFIG_DIR}/${RUNDECK_LOG4J}
|
|
|
|
|
2014-09-20 19:42:15 +02:00
|
|
|
.include <bsd.port.mk>
|