diff options
author | Jason Unovitch <junovitch@FreeBSD.org> | 2015-12-26 14:06:59 +0000 |
---|---|---|
committer | Jason Unovitch <junovitch@FreeBSD.org> | 2015-12-26 14:06:59 +0000 |
commit | 047c50a9b3bbe0fa7fdfbd1b925884d169287ee7 (patch) | |
tree | 2c77dc9eb7f79fd9a68306e4193209bdbedf63a2 /java | |
parent | 4b6e74e7509a5e70ed2156c2f86b6246f6275035 (diff) | |
download | ports-047c50a9b3bbe0fa7fdfbd1b925884d169287ee7.tar.gz ports-047c50a9b3bbe0fa7fdfbd1b925884d169287ee7.zip |
java/wildfly80: address non-root builds and minor QA observations
- Drop ${CHMOD} usage and set permissions in pkg-plist (portlint)
- Add terminating @owner/@group to pkg-plist (portlint)
- Switch version specific path in pkg-message to variable
PR: 205258
Approved by: maintainer timeout (2 weeks)
Notes
Notes:
svn path=/head/; revision=404513
Diffstat (limited to 'java')
-rw-r--r-- | java/wildfly80/Makefile | 1 | ||||
-rw-r--r-- | java/wildfly80/files/pkg-message.in | 2 | ||||
-rw-r--r-- | java/wildfly80/pkg-plist | 24 |
3 files changed, 14 insertions, 13 deletions
diff --git a/java/wildfly80/Makefile b/java/wildfly80/Makefile index d0189d9abde3..5b0183c9475d 100644 --- a/java/wildfly80/Makefile +++ b/java/wildfly80/Makefile @@ -65,7 +65,6 @@ do-build: do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}) - ${CHMOD} +x ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/bin/*.sh ${RMDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/.installation .for FILE in ${CONFIG_FILES} ${MV} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE} \ diff --git a/java/wildfly80/files/pkg-message.in b/java/wildfly80/files/pkg-message.in index 51bb7b6db305..89d01801d18d 100644 --- a/java/wildfly80/files/pkg-message.in +++ b/java/wildfly80/files/pkg-message.in @@ -12,4 +12,4 @@ To change JVM args, edit appropriate standalone.conf. To add the initial admin user: -%%LOCALBASE%%/wildfly-8.0.0/bin/add-user.sh +%%APP_HOME%%/bin/add-user.sh diff --git a/java/wildfly80/pkg-plist b/java/wildfly80/pkg-plist index 01be840c0788..d5370c5761d5 100644 --- a/java/wildfly80/pkg-plist +++ b/java/wildfly80/pkg-plist @@ -27,26 +27,26 @@ %%APP_HOME%%/README.txt %%APP_HOME%%/bin/.jbossclirc %%APP_HOME%%/bin/add-user.properties -%%APP_HOME%%/bin/add-user.sh +@(www,www,555) %%APP_HOME%%/bin/add-user.sh %%APP_HOME%%/bin/appclient.conf -%%APP_HOME%%/bin/appclient.sh +@(www,www,555) %%APP_HOME%%/bin/appclient.sh %%APP_HOME%%/bin/client/README-CLI-JCONSOLE.txt %%APP_HOME%%/bin/client/README-EJB-JMS.txt %%APP_HOME%%/bin/client/jboss-cli-client.jar %%APP_HOME%%/bin/client/jboss-client.jar %%APP_HOME%%/bin/domain.conf -%%APP_HOME%%/bin/domain.sh +@(www,www,555) %%APP_HOME%%/bin/domain.sh %%APP_HOME%%/bin/jboss-cli-logging.properties -%%APP_HOME%%/bin/jboss-cli.sh +@(www,www,555) %%APP_HOME%%/bin/jboss-cli.sh %%APP_HOME%%/bin/jboss-cli.xml -%%APP_HOME%%/bin/jconsole.sh -%%APP_HOME%%/bin/jdr.sh -%%APP_HOME%%/bin/run.sh +@(www,www,555) %%APP_HOME%%/bin/jconsole.sh +@(www,www,555) %%APP_HOME%%/bin/jdr.sh +@(www,www,555) %%APP_HOME%%/bin/run.sh %%APP_HOME%%/bin/standalone.conf -%%APP_HOME%%/bin/standalone.sh -%%APP_HOME%%/bin/vault.sh -%%APP_HOME%%/bin/wsconsume.sh -%%APP_HOME%%/bin/wsprovide.sh +@(www,www,555) %%APP_HOME%%/bin/standalone.sh +@(www,www,555) %%APP_HOME%%/bin/vault.sh +@(www,www,555) %%APP_HOME%%/bin/wsconsume.sh +@(www,www,555) %%APP_HOME%%/bin/wsprovide.sh %%APP_HOME%%/copyright.txt %%APP_HOME%%/docs/examples/configs/standalone-ec2-full-ha.xml %%APP_HOME%%/docs/examples/configs/standalone-ec2-ha.xml @@ -1810,3 +1810,5 @@ @dir %%APP_HOME%%/bin @dir %%APP_HOME%%/appclient/configuration @dir %%APP_HOME%%/appclient +@owner +@group |