svn commit: r404512 - in head/java/wildfly81: . files

Jason Unovitch junovitch at FreeBSD.org
Sat Dec 26 14:06:52 UTC 2015


Author: junovitch
Date: Sat Dec 26 14:06:51 2015
New Revision: 404512
URL: https://svnweb.freebsd.org/changeset/ports/404512

Log:
  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)

Modified:
  head/java/wildfly81/Makefile
  head/java/wildfly81/files/pkg-message.in
  head/java/wildfly81/pkg-plist

Modified: head/java/wildfly81/Makefile
==============================================================================
--- head/java/wildfly81/Makefile	Sat Dec 26 14:01:57 2015	(r404511)
+++ head/java/wildfly81/Makefile	Sat Dec 26 14:06:51 2015	(r404512)
@@ -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} \

Modified: head/java/wildfly81/files/pkg-message.in
==============================================================================
--- head/java/wildfly81/files/pkg-message.in	Sat Dec 26 14:01:57 2015	(r404511)
+++ head/java/wildfly81/files/pkg-message.in	Sat Dec 26 14:06:51 2015	(r404512)
@@ -12,4 +12,4 @@ To change JVM args, edit appropriate sta
 
 To add the initial admin user:
 
-%%LOCALBASE%%/wildfly-8.1.0/bin/add-user.sh
+%%APP_HOME%%/bin/add-user.sh

Modified: head/java/wildfly81/pkg-plist
==============================================================================
--- head/java/wildfly81/pkg-plist	Sat Dec 26 14:01:57 2015	(r404511)
+++ head/java/wildfly81/pkg-plist	Sat Dec 26 14:06:51 2015	(r404512)
@@ -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
+ at owner
+ at group


More information about the svn-ports-all mailing list