diff options
author | junovitch <junovitch@FreeBSD.org> | 2015-12-26 22:06:51 +0800 |
---|---|---|
committer | junovitch <junovitch@FreeBSD.org> | 2015-12-26 22:06:51 +0800 |
commit | b5b14d64a94add99dc7e825790d4b30dd84fb917 (patch) | |
tree | 498118d2d2675795ba2e9f623f691baa565a1dea /java | |
parent | f599945425a4dc8c37c7fb65b957f62d4c0da5d3 (diff) | |
download | freebsd-ports-gnome-b5b14d64a94add99dc7e825790d4b30dd84fb917.tar.gz freebsd-ports-gnome-b5b14d64a94add99dc7e825790d4b30dd84fb917.tar.zst freebsd-ports-gnome-b5b14d64a94add99dc7e825790d4b30dd84fb917.zip |
java/wildfly81: 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: 205259
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'java')
-rw-r--r-- | java/wildfly81/Makefile | 1 | ||||
-rw-r--r-- | java/wildfly81/files/pkg-message.in | 2 | ||||
-rw-r--r-- | java/wildfly81/pkg-plist | 24 |
3 files changed, 14 insertions, 13 deletions
diff --git a/java/wildfly81/Makefile b/java/wildfly81/Makefile index 3bc8162c1188..bd6a45cbdedd 100644 --- a/java/wildfly81/Makefile +++ b/java/wildfly81/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/wildfly81/files/pkg-message.in b/java/wildfly81/files/pkg-message.in index 018975bdb05c..89137c0da5c7 100644 --- a/java/wildfly81/files/pkg-message.in +++ b/java/wildfly81/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.1.0/bin/add-user.sh +%%APP_HOME%%/bin/add-user.sh diff --git a/java/wildfly81/pkg-plist b/java/wildfly81/pkg-plist index 264af29ce061..2297c297a811 100644 --- a/java/wildfly81/pkg-plist +++ b/java/wildfly81/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 @@ -1826,3 +1826,5 @@ @dir %%APP_HOME%%/bin @dir %%APP_HOME%%/appclient/configuration @dir %%APP_HOME%%/appclient +@owner +@group |