aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rundeck
diff options
context:
space:
mode:
authorler <ler@FreeBSD.org>2017-01-17 09:22:13 +0800
committerler <ler@FreeBSD.org>2017-01-17 09:22:13 +0800
commit98cd6a1ff70876ceee3b098e156edf24c19359be (patch)
tree68b5982f59d28b1b24f706e8899f0abaa643bdba /sysutils/rundeck
parenteb6e7786ed53df5a271f6a1c3b727eb0c381b09e (diff)
downloadfreebsd-ports-gnome-98cd6a1ff70876ceee3b098e156edf24c19359be.tar.gz
freebsd-ports-gnome-98cd6a1ff70876ceee3b098e156edf24c19359be.tar.zst
freebsd-ports-gnome-98cd6a1ff70876ceee3b098e156edf24c19359be.zip
Change ownership of rundeck/server/lib et al.
Address poudriere issues bump PORTREVISION PR: 202732 Submitted by: Mark C Ballew (ballew sublinear net) Approved by: adamw (mentor) MFH: 2017Q1 (blanket) Differential Revision: https://reviews.freebsd.org/D9205
Diffstat (limited to 'sysutils/rundeck')
-rw-r--r--sysutils/rundeck/Makefile8
-rw-r--r--sysutils/rundeck/pkg-plist3
2 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/rundeck/Makefile b/sysutils/rundeck/Makefile
index 9e41c29388a8..8c340cad3b4b 100644
--- a/sysutils/rundeck/Makefile
+++ b/sysutils/rundeck/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rundeck
PORTVERSION= 2.3.2
+PORTREVISION= 1
CATEGORIES= sysutils java
MASTER_SITES= http://dl.bintray.com/rundeck/rundeck-maven/
DISTNAME= rundeck-launcher-${PORTVERSION}
@@ -15,10 +16,10 @@ LICENSE= APACHE20
USE_JAVA= yes
JAVA_VERSION= 1.6+
+NO_ARCH= yes
NO_BUILD= yes
-PLIST_FILES= rundeck/server/lib/.keep \
- share/rundeck/rundeck-launcher.jar
+PLIST_SUB= RUNDECK_USER=${RUNDECK_USER} RUNDECK_GROUP=${RUNDECK_GROUP}
USE_RC_SUBR= rundeck
RUNDECK_HOME= ${PREFIX}/rundeck
@@ -38,8 +39,7 @@ SUB_LIST+= RUNDECK_HOME=${RUNDECK_HOME} RUNDECK_USER=${RUNDECK_USER} \
RUNDECK_LOG_FILE=${RUNDECK_LOG_FILE}
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
- ${TOUCH} ${STAGEDIR}${RUNDECK_HOME}/server/lib/.keep
+ @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${DATADIR}/rundeck-launcher${EXTRACT_SUFX}
diff --git a/sysutils/rundeck/pkg-plist b/sysutils/rundeck/pkg-plist
new file mode 100644
index 000000000000..4faa1c3b56d8
--- /dev/null
+++ b/sysutils/rundeck/pkg-plist
@@ -0,0 +1,3 @@
+%%DATADIR%%/rundeck-launcher.jar
+@dir(%%RUNDECK_USER%%,%%RUNDESK_GROUP%%,755) rundeck/server/lib
+@dir(%%RUNDECK_USER%%,%%RUNDESK_GROUP%%,755) rundeck/server