diff options
author | 2015-07-17 15:03:19 +0000 | |
---|---|---|
committer | 2015-07-17 15:03:19 +0000 | |
commit | 6cc276e22d6c430a514d896adf7cf59da699ac06 (patch) | |
tree | 05e8a9700f9515efb94a7d759c544b7587b3556b /share/man/man5 | |
parent | Assign correct destination port value for the destination netmask. (diff) | |
download | wireguard-openbsd-6cc276e22d6c430a514d896adf7cf59da699ac06.tar.xz wireguard-openbsd-6cc276e22d6c430a514d896adf7cf59da699ac06.zip |
Documentation for recently committed databases/mariadb port module.
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/port-modules.5 | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 2e59d78f4b5..e5939158efc 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.189 2015/06/08 09:23:01 czarkoff Exp $ +.\" $OpenBSD: port-modules.5,v 1.190 2015/07/17 15:03:19 zhuk Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 8 2015 $ +.Dd $Mdocdate: July 17 2015 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -433,6 +433,51 @@ post-install: ... ${MODCPAN_POST_INSTALL} .Ed +.It databases/mariadb +Adds small framework for testing ports that require running MariaDB. +Defines +.Ev MODMARIADB_TEST_TARGET +which consists actual commands to run in +.Ar do-test +target. +If this target isn't defined, it will be added automatically. +.Pp +The actual test command to be run could be specified in the +.Ev MODMARIADB_TEST_CMD . +Default is similar to what +.Xr bsd.port.mk 5 +runs itself. +.Pp +The MariaDB server being started will listen on UNIX domain socket +only, minimizing impact on running system. +The path to socket is recorded in +.Ev MODMARIADB_TEST_SOCKET . +Any local user will be able to connect without password. +.Pp +If the +.Ev MODMARIADB_TEST_DBNAME +variable is set, the database with such name will be set up before +running actual test command. +Otherwise (default), the test is responsible to call +.Xr mysqladmin 1 +itself, if needed. +.Pp +The +.Pa databases/mariadb,-server +will get added to +.Ev TEST_DEPENDS , +but not to any other +.Ev *_DEPENDS . +The +.Ev MODMARIADB_CLIENT_ARGS +and +.Ev MODMARIADB_ADMIN_ARGS +variables hold arguments for +.Xr mysql 1 +and +.Xr mysqladmin 1 , +respectively; those argument lists could be used in test scripts +for connecting to test server, if they aren't satisfied by enviornment. .It databases/postgresql Adds small framework for testing ports that require running Postgres. Defines |