Upgrade java/wildfly10 to 10.1.0.

- Move installation directory to /usr/local/wildfly10.
- Fix directory permissions and ownership (root:wheel everywhere except config.)
- Remove all @dir entries which are now unnecessary.
- Add upgrade notice to UPDATING.

PR:		212052
Submitted by:	olgeni
Approved by:	maintainer
This commit is contained in:
Jimmy Olgeni 2017-01-16 15:27:01 +00:00
parent e16667f9c2
commit a23ba94b33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431670
4 changed files with 344 additions and 1190 deletions

View File

@ -5,6 +5,15 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20170116:
AFFECTS: users of java/wildfly10
AUTHOR: olgeni@FreeBSD.org
The java/wildfly10 port has been updated to 10.1.0. To complete the
migration you must copy your existing configuration (directories
"appclient", "standalone", and "domain") from /usr/local/wildfly-10.0.0
to /usr/local/wildfly10.
20170115:
AFFECTS: users of net-mgmt/librenms
AUTHOR: dvl@FreeBSD.org
@ -190,7 +199,7 @@ you update your ports collection, before attempting any port upgrades.
Bareos v1.6.x changed the configuration scheme, from one configuration
file per Bareos component (file daemon, storage daemon, and director)
to several configuration files, in several directories, for each
to several configuration files, in several directories, for each
component. See http://doc.bareos.org/master/html/bareos-manual-main-reference.html
The new scheme will use all files named *.conf in the directory
@ -218,7 +227,7 @@ you update your ports collection, before attempting any port upgrades.
- misc/osinfo-db: contains database with OS data
- devel/libosinfo: the library
As osinfo-db-tools now ships binaries that previously were
As osinfo-db-tools now ships binaries that previously were
part of libosinfo, it's required to delete the old libosinfo
package to prevent conflict because of same files installation:
@ -444,15 +453,15 @@ you update your ports collection, before attempting any port upgrades.
AFFECTS: Users of net-im/ejabberd
AUTHOR: ashish@FreeBSD.org
Before upgrading ejabberd to 16.09, please make sure to backup your
Before upgrading ejabberd to 16.09, please make sure to backup your
ejabberd data using:
% sudo -u ejabberd -H ejabberdctl backup /path/to/backup/file
In some cases, ejabberd may fail to start, for which a workaround is to
In some cases, ejabberd may fail to start, for which a workaround is to
remove the schema.DAT file from /var/spool/ejabberd before starting, and
then restoring everything from the backup using:
% sudo -u ejabberd -H ejabberdctl restore /path/to/backup/file
For more details:

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= wildfly10
PORTVERSION= 10.0.0
PORTREVISION= 3
PORTVERSION= 10.1.0
CATEGORIES= java www
MASTER_SITES= http://download.jboss.org/wildfly/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@ -29,8 +28,8 @@ SUB_LIST= APP_SHORTNAME=${PORTNAME} \
USER=${USER} \
GROUP=${GROUP} \
PID_FILE=${PID_FILE} \
APP_HOME=${PREFIX}/wildfly-${PORTVERSION}
PLIST_SUB= APP_HOME=wildfly-${PORTVERSION}
APP_HOME=${PREFIX}/${PORTNAME}
PLIST_SUB= APP_HOME=${PORTNAME}
CONFIG_FILES= appclient/configuration/appclient.xml \
appclient/configuration/logging.properties \
@ -64,12 +63,12 @@ do-build:
${RM} -r ${WRKSRC}/bin/init.d
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION})
${RMDIR} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/.installation
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME})
${RMDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/.installation
.for FILE in ${CONFIG_FILES}
${MV} ${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE} \
${STAGEDIR}${PREFIX}/wildfly-${PORTVERSION}/${FILE}.sample
${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/${FILE} \
${STAGEDIR}${PREFIX}/${PORTNAME}/${FILE}.sample
.endfor
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (wildfly-10.0.0.Final.tar.gz) = e00c4e4852add7ac09693e7600c91be40fa5f2791d0b232e768c00b2cb20a84b
SIZE (wildfly-10.0.0.Final.tar.gz) = 137189474
TIMESTAMP = 1484476942
SHA256 (wildfly-10.1.0.Final.tar.gz) = 80781609be387045273f974662dadf7f64ad43ee93395871429bc6b7786ec8bc
SIZE (wildfly-10.1.0.Final.tar.gz) = 139025162

File diff suppressed because it is too large Load Diff