1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Install configuration files using @sample, with permissions 600.

PR:		200146
Submitted by:	olgeni
Approved by:	maintainer
This commit is contained in:
Jimmy Olgeni 2015-05-18 23:28:52 +00:00
parent a935875ab1
commit 7080174a42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386724
8 changed files with 196 additions and 92 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= wildfly80
PORTVERSION= 8.0.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= java www
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@ -32,6 +32,28 @@ SUB_LIST= APP_SHORTNAME=${PORTNAME} \
APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
CONFIG_FILES= appclient/configuration/appclient.xml \
appclient/configuration/logging.properties \
domain/configuration/application-roles.properties \
domain/configuration/application-users.properties \
domain/configuration/default-server-logging.properties \
domain/configuration/domain.xml \
domain/configuration/host-master.xml \
domain/configuration/host-slave.xml \
domain/configuration/host.xml \
domain/configuration/logging.properties \
domain/configuration/mgmt-groups.properties \
domain/configuration/mgmt-users.properties \
standalone/configuration/application-roles.properties \
standalone/configuration/application-users.properties \
standalone/configuration/logging.properties \
standalone/configuration/mgmt-groups.properties \
standalone/configuration/mgmt-users.properties \
standalone/configuration/standalone-full-ha.xml \
standalone/configuration/standalone-full.xml \
standalone/configuration/standalone-ha.xml \
standalone/configuration/standalone.xml
post-patch:
${RM} ${WRKSRC}/bin/add-user.sh.orig
@ -45,5 +67,9 @@ do-install:
(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} \
${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
.endfor
.include <bsd.port.mk>

View File

@ -1,27 +1,27 @@
@owner www
@group www
@mode 644
%%APP_HOME%%/appclient/configuration/appclient.xml
%%APP_HOME%%/appclient/configuration/logging.properties
%%APP_HOME%%/domain/configuration/application-roles.properties
%%APP_HOME%%/domain/configuration/application-users.properties
%%APP_HOME%%/domain/configuration/default-server-logging.properties
%%APP_HOME%%/domain/configuration/domain.xml
%%APP_HOME%%/domain/configuration/host-master.xml
%%APP_HOME%%/domain/configuration/host-slave.xml
%%APP_HOME%%/domain/configuration/host.xml
%%APP_HOME%%/domain/configuration/logging.properties
%%APP_HOME%%/domain/configuration/mgmt-groups.properties
%%APP_HOME%%/domain/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/application-roles.properties
%%APP_HOME%%/standalone/configuration/application-users.properties
%%APP_HOME%%/standalone/configuration/logging.properties
%%APP_HOME%%/standalone/configuration/mgmt-groups.properties
%%APP_HOME%%/standalone/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/standalone-full-ha.xml
%%APP_HOME%%/standalone/configuration/standalone-full.xml
%%APP_HOME%%/standalone/configuration/standalone-ha.xml
%%APP_HOME%%/standalone/configuration/standalone.xml
@mode 600
@sample %%APP_HOME%%/appclient/configuration/appclient.xml.sample
@sample %%APP_HOME%%/appclient/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-users.properties.sample
@sample %%APP_HOME%%/domain/configuration/default-server-logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/domain.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-master.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-slave.xml.sample
@sample %%APP_HOME%%/domain/configuration/host.xml.sample
@sample %%APP_HOME%%/domain/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/logging.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone.xml.sample
@mode
%%APP_HOME%%/LICENSE.txt
%%APP_HOME%%/README.txt

View File

@ -3,7 +3,7 @@
PORTNAME= wildfly81
PORTVERSION= 8.1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= java www
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@ -32,6 +32,28 @@ SUB_LIST= APP_SHORTNAME=${PORTNAME} \
APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
CONFIG_FILES= appclient/configuration/appclient.xml \
appclient/configuration/logging.properties \
domain/configuration/application-roles.properties \
domain/configuration/application-users.properties \
domain/configuration/default-server-logging.properties \
domain/configuration/domain.xml \
domain/configuration/host-master.xml \
domain/configuration/host-slave.xml \
domain/configuration/host.xml \
domain/configuration/logging.properties \
domain/configuration/mgmt-groups.properties \
domain/configuration/mgmt-users.properties \
standalone/configuration/application-roles.properties \
standalone/configuration/application-users.properties \
standalone/configuration/logging.properties \
standalone/configuration/mgmt-groups.properties \
standalone/configuration/mgmt-users.properties \
standalone/configuration/standalone-full-ha.xml \
standalone/configuration/standalone-full.xml \
standalone/configuration/standalone-ha.xml \
standalone/configuration/standalone.xml
post-patch:
${RM} ${WRKSRC}/bin/add-user.sh.orig
@ -45,5 +67,9 @@ do-install:
(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} \
${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
.endfor
.include <bsd.port.mk>

View File

@ -1,27 +1,27 @@
@owner www
@group www
@mode 644
%%APP_HOME%%/appclient/configuration/appclient.xml
%%APP_HOME%%/appclient/configuration/logging.properties
%%APP_HOME%%/domain/configuration/application-roles.properties
%%APP_HOME%%/domain/configuration/application-users.properties
%%APP_HOME%%/domain/configuration/default-server-logging.properties
%%APP_HOME%%/domain/configuration/domain.xml
%%APP_HOME%%/domain/configuration/host-master.xml
%%APP_HOME%%/domain/configuration/host-slave.xml
%%APP_HOME%%/domain/configuration/host.xml
%%APP_HOME%%/domain/configuration/logging.properties
%%APP_HOME%%/domain/configuration/mgmt-groups.properties
%%APP_HOME%%/domain/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/application-roles.properties
%%APP_HOME%%/standalone/configuration/application-users.properties
%%APP_HOME%%/standalone/configuration/logging.properties
%%APP_HOME%%/standalone/configuration/mgmt-groups.properties
%%APP_HOME%%/standalone/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/standalone-full-ha.xml
%%APP_HOME%%/standalone/configuration/standalone-full.xml
%%APP_HOME%%/standalone/configuration/standalone-ha.xml
%%APP_HOME%%/standalone/configuration/standalone.xml
@mode 600
@sample %%APP_HOME%%/appclient/configuration/appclient.xml.sample
@sample %%APP_HOME%%/appclient/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-users.properties.sample
@sample %%APP_HOME%%/domain/configuration/default-server-logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/domain.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-master.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-slave.xml.sample
@sample %%APP_HOME%%/domain/configuration/host.xml.sample
@sample %%APP_HOME%%/domain/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/logging.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone.xml.sample
@mode
%%APP_HOME%%/LICENSE.txt
%%APP_HOME%%/README.txt

View File

@ -3,7 +3,7 @@
PORTNAME= wildfly82
PORTVERSION= 8.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= java www
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@ -32,6 +32,28 @@ SUB_LIST= APP_SHORTNAME=${PORTNAME} \
APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
CONFIG_FILES= appclient/configuration/appclient.xml \
appclient/configuration/logging.properties \
domain/configuration/application-roles.properties \
domain/configuration/application-users.properties \
domain/configuration/default-server-logging.properties \
domain/configuration/domain.xml \
domain/configuration/host-master.xml \
domain/configuration/host-slave.xml \
domain/configuration/host.xml \
domain/configuration/logging.properties \
domain/configuration/mgmt-groups.properties \
domain/configuration/mgmt-users.properties \
standalone/configuration/application-roles.properties \
standalone/configuration/application-users.properties \
standalone/configuration/logging.properties \
standalone/configuration/mgmt-groups.properties \
standalone/configuration/mgmt-users.properties \
standalone/configuration/standalone-full-ha.xml \
standalone/configuration/standalone-full.xml \
standalone/configuration/standalone-ha.xml \
standalone/configuration/standalone.xml
post-patch:
${RM} ${WRKSRC}/bin/add-user.sh.orig
@ -45,5 +67,9 @@ do-install:
(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} \
${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
.endfor
.include <bsd.port.mk>

View File

@ -1,27 +1,27 @@
@owner www
@group www
@mode 644
%%APP_HOME%%/appclient/configuration/appclient.xml
%%APP_HOME%%/appclient/configuration/logging.properties
%%APP_HOME%%/domain/configuration/application-roles.properties
%%APP_HOME%%/domain/configuration/application-users.properties
%%APP_HOME%%/domain/configuration/default-server-logging.properties
%%APP_HOME%%/domain/configuration/domain.xml
%%APP_HOME%%/domain/configuration/host-master.xml
%%APP_HOME%%/domain/configuration/host-slave.xml
%%APP_HOME%%/domain/configuration/host.xml
%%APP_HOME%%/domain/configuration/logging.properties
%%APP_HOME%%/domain/configuration/mgmt-groups.properties
%%APP_HOME%%/domain/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/application-roles.properties
%%APP_HOME%%/standalone/configuration/application-users.properties
%%APP_HOME%%/standalone/configuration/logging.properties
%%APP_HOME%%/standalone/configuration/mgmt-groups.properties
%%APP_HOME%%/standalone/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/standalone-full-ha.xml
%%APP_HOME%%/standalone/configuration/standalone-full.xml
%%APP_HOME%%/standalone/configuration/standalone-ha.xml
%%APP_HOME%%/standalone/configuration/standalone.xml
@mode 600
@sample %%APP_HOME%%/appclient/configuration/appclient.xml.sample
@sample %%APP_HOME%%/appclient/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-users.properties.sample
@sample %%APP_HOME%%/domain/configuration/default-server-logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/domain.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-master.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-slave.xml.sample
@sample %%APP_HOME%%/domain/configuration/host.xml.sample
@sample %%APP_HOME%%/domain/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/logging.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone.xml.sample
@mode
%%APP_HOME%%/LICENSE.txt
%%APP_HOME%%/README.txt

View File

@ -3,7 +3,7 @@
PORTNAME= wildfly90
PORTVERSION= 9.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= java www
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@ -32,6 +32,28 @@ SUB_LIST= APP_SHORTNAME=${PORTNAME} \
APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
CONFIG_FILES= appclient/configuration/appclient.xml \
appclient/configuration/logging.properties \
domain/configuration/application-roles.properties \
domain/configuration/application-users.properties \
domain/configuration/default-server-logging.properties \
domain/configuration/domain.xml \
domain/configuration/host-master.xml \
domain/configuration/host-slave.xml \
domain/configuration/host.xml \
domain/configuration/logging.properties \
domain/configuration/mgmt-groups.properties \
domain/configuration/mgmt-users.properties \
standalone/configuration/application-roles.properties \
standalone/configuration/application-users.properties \
standalone/configuration/logging.properties \
standalone/configuration/mgmt-groups.properties \
standalone/configuration/mgmt-users.properties \
standalone/configuration/standalone-full-ha.xml \
standalone/configuration/standalone-full.xml \
standalone/configuration/standalone-ha.xml \
standalone/configuration/standalone.xml
post-patch:
${RM} ${WRKSRC}/bin/add-user.sh.orig
@ -46,5 +68,9 @@ do-install:
(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} \
${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
.endfor
.include <bsd.port.mk>

View File

@ -1,27 +1,27 @@
@owner www
@group www
@mode 644
%%APP_HOME%%/appclient/configuration/appclient.xml
%%APP_HOME%%/appclient/configuration/logging.properties
%%APP_HOME%%/domain/configuration/application-roles.properties
%%APP_HOME%%/domain/configuration/application-users.properties
%%APP_HOME%%/domain/configuration/default-server-logging.properties
%%APP_HOME%%/domain/configuration/domain.xml
%%APP_HOME%%/domain/configuration/host-master.xml
%%APP_HOME%%/domain/configuration/host-slave.xml
%%APP_HOME%%/domain/configuration/host.xml
%%APP_HOME%%/domain/configuration/logging.properties
%%APP_HOME%%/domain/configuration/mgmt-groups.properties
%%APP_HOME%%/domain/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/application-roles.properties
%%APP_HOME%%/standalone/configuration/application-users.properties
%%APP_HOME%%/standalone/configuration/logging.properties
%%APP_HOME%%/standalone/configuration/mgmt-groups.properties
%%APP_HOME%%/standalone/configuration/mgmt-users.properties
%%APP_HOME%%/standalone/configuration/standalone-full-ha.xml
%%APP_HOME%%/standalone/configuration/standalone-full.xml
%%APP_HOME%%/standalone/configuration/standalone-ha.xml
%%APP_HOME%%/standalone/configuration/standalone.xml
@mode 600
@sample %%APP_HOME%%/appclient/configuration/appclient.xml.sample
@sample %%APP_HOME%%/appclient/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/domain/configuration/application-users.properties.sample
@sample %%APP_HOME%%/domain/configuration/default-server-logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/domain.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-master.xml.sample
@sample %%APP_HOME%%/domain/configuration/host-slave.xml.sample
@sample %%APP_HOME%%/domain/configuration/host.xml.sample
@sample %%APP_HOME%%/domain/configuration/logging.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/domain/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-roles.properties.sample
@sample %%APP_HOME%%/standalone/configuration/application-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/logging.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-groups.properties.sample
@sample %%APP_HOME%%/standalone/configuration/mgmt-users.properties.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-full.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone-ha.xml.sample
@sample %%APP_HOME%%/standalone/configuration/standalone.xml.sample
@mode
%%APP_HOME%%/LICENSE.txt
%%APP_HOME%%/README.txt