Import galleon, a JBoss Wildfly provisioning tool.

Tweaks & OK sthen@
This commit is contained in:
ian 2021-05-09 12:27:11 +00:00
parent 72d3876ab4
commit 939da6c4ed
6 changed files with 101 additions and 0 deletions

41
sysutils/galleon/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/05/09 12:27:11 ian Exp $
COMMENT = tool to manage JBoss Wildfly installations
V = 4.2.8
PKGNAME = galleon-${V}
DISTNAME = ${PKGNAME}.Final
PKG_ARCH = *
MASTER_SITES = https://github.com/wildfly/galleon/releases/download/${V}.Final/
EXTRACT_SUFX = .zip
CATEGORIES = sysutils java
HOMEPAGE = https://docs.wildfly.org/21/Galleon_Guide.html
MAINTAINER= Ian Darwin <ian@openbsd.org>
# ASL2
PERMIT_PACKAGE = Yes
MODULES = java
MODJAVA_VER = 11+
NO_BUILD = Yes
NO_TEST = Yes
do-install:
${SUBST_CMD} -c -m 555 ${FILESDIR}/galleon.sh ${PREFIX}/bin/galleon
${INSTALL_DATA_DIR} ${PREFIX}/lib/galleon/bin
for f in galleon-cli-logging.properties galleon-cli.jar galleon.sh; \
do \
${INSTALL_DATA} ${WRKDIST}/bin/$${f} ${PREFIX}/lib/galleon/bin; \
done
${SUBST_CMD} -c -m 555 ${FILESDIR}/galleon.8 ${PREFIX}/man/man8/galleon.8
# ${INSTALL_MAN} ${FILESDIR}/galleon.8 ${PREFIX}/man/man8
# ${SUBST_CMD} ${PREFIX}/man/man8/galleon.8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/galleon
${INSTALL_DATA} ${WRKDIST}/docs/index.html ${PREFIX}/share/doc/galleon
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (galleon-4.2.8.Final.zip) = Y8z7FUb74yoiIrYemuCllL5fgaTW5FzSKGHrFYpb+wY=
SIZE (galleon-4.2.8.Final.zip) = 13756243

View File

@ -0,0 +1,36 @@
.\" $OpenBSD: galleon.8,v 1.1.1.1 2021/05/09 12:27:11 ian Exp $
.\"
.\" Public Domain
.\"
.Dd $Mdocdate: May 9 2021 $
.Dt GALLEON 8
.Os
.Sh NAME
.Nm galleon
.Nd provisions and maintains JBoss software such as Wildfly instances
.Sh SYNOPSIS
.Nm
.Op Fl args
.Sh DESCRIPTION
The
.Nm
utility downloads modules to assemble and install a JBoss Wildfly instance.
.Nm
can be controlled with command line arguments, absent which
it will enter an interactive mode.
.Sh EXAMPLES
To install the standalone (non-clustered) version of Wildfly:
.Pp
.Dl # galleon install wildfly:current --dir=/var/wildfly --default-configs=standalone/standalone.xml
.Pp
To update the installation later:
.Pp
.Dl # galleon update --dir=/var/wildfly
.Sh SEE ALSO
There is a guide to using
.Nm
to install Wildfly at ${HOMEPAGE}.
There is built-in help in the interactive mode.
Finally there is extensive documentation on
.Nm
in general in ${TRUEPREFIX}/share/doc/galleon/index.html

View File

@ -0,0 +1,8 @@
#!/bin/sh
# galleon - invoke galleon startup script with Java set correctly.
export JAVA_HOME="$(${TRUEPREFIX}/bin/javaPathHelper -h galleon)"
exec sh ${TRUEPREFIX}/lib/galleon/bin/galleon.sh $*

View File

@ -0,0 +1,5 @@
Galleon is a tool for installing and maintaining JBoss software such
as Wildfly servers. It can install "standard" servers or you can
choose which modules to install in order to provision a smaller server
with just the services you need.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/05/09 12:27:11 ian Exp $
bin/galleon
lib/galleon/
lib/galleon/bin/
lib/galleon/bin/galleon-cli-logging.properties
lib/galleon/bin/galleon-cli.jar
lib/galleon/bin/galleon.sh
@man man/man8/galleon.8
share/doc/galleon/index.html