[Midnightbsd-cvs] [MidnightBSD/mports] f48f4d: databases/mariadb118-server: add MariaDB 11.8 (#1686)

Lucas Holt noreply at github.com
Sat Oct 3 18:51:50 EDT 2026


  Branch: refs/heads/databases/mariadb123-server
  Home:   https://github.com/MidnightBSD/mports
  Commit: f48f4d5d6aadf54294e6b8bb108dca1bfc358e59
      https://github.com/MidnightBSD/mports/commit/f48f4d5d6aadf54294e6b8bb108dca1bfc358e59
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M Mk/extensions/mysql.mk
    M databases/Makefile
    A databases/mariadb118-client/Makefile
    A databases/mariadb118-client/pkg-plist
    A databases/mariadb118-server/Makefile
    A databases/mariadb118-server/distinfo
    A databases/mariadb118-server/files/client.cnf.sample.in
    A databases/mariadb118-server/files/my.cnf.sample.in
    A databases/mariadb118-server/files/mysql-server.in
    A databases/mariadb118-server/files/patch-cmake_dtrace.cmake
    A databases/mariadb118-server/files/patch-scripts_CMakeLists.txt
    A databases/mariadb118-server/files/patch-scripts_mysql__config.sh
    A databases/mariadb118-server/files/patch-scripts_wsrep__sst__common.sh
    A databases/mariadb118-server/files/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h
    A databases/mariadb118-server/files/patch-tpool_CMakeLists.txt
    A databases/mariadb118-server/files/pkg-message.in
    A databases/mariadb118-server/files/server.cnf.sample.in
    A databases/mariadb118-server/pkg-descr
    A databases/mariadb118-server/pkg-plist

  Log Message:
  -----------
  databases/mariadb118-server: add MariaDB 11.8 (#1686)

## Summary

- Add MariaDB 11.8.9 client and server ports from the FreeBSD ports
tree, adapted for MidnightBSD staging and OS detection.
- Register both origins and the `mysql:118m` client library mapping.
- Keep the upstream server options, including WSREP, and add the Perl
runtime dependency used by installed scripts.

## Validation

- `bmake makesum`, `patch`, build, `fake`, and `package` passed for
client and server on MidnightBSD 4.2/amd64.
- `bmake check-license` passed for both ports; `bmake test` has no test
commands.
- Server package built with default engine and WSREP options; client
SONAME is `libmariadb.so.3`.
- Fresh server configure confirmed the MidnightBSD DTrace adjustment.
- `portlint -C`: server 0 fatal errors; client reports the existing
slave Makefile layout warning.

## Limits

- No MidnightBSD stable/4.0 build environment was available, so that
release remains unverified.
- The optional `mariadb-convert-table-format` utility uses
`DBD::MariaDB`; no coinstallable mports driver is currently available.
The package does not add an incompatible mandatory driver dependency.
- `git diff --check` flags whitespace in imported unified patch text.

## Summary by Sourcery

Add MariaDB 11.8 client and server ports for MidnightBSD.

New Features:
- Add MariaDB 11.8.9 client and server ports with client library
integration and server support for optional storage, compression,
security, and clustering features.

Bug Fixes:
- Apply MidnightBSD compatibility adjustments for DTrace, WSREP scripts,
RocksDB, and client library configuration.

Enhancements:
- Register the new MariaDB 11.8 client and server ports and define their
package metadata, dependencies, configuration files, service
integration, and installation manifests.

Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 7c014526b57c315cec8ef8ab5fa92a83a30fa8ae
      https://github.com/MidnightBSD/mports/commit/7c014526b57c315cec8ef8ab5fa92a83a30fa8ae
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M AGENTS.md
    M Mk/bsd.mport.mk
    M Mk/components/options.mk

  Log Message:
  -----------
  Mk: add BUILD_RUN_DEPENDS for dependencies needed to build and at run time (#1685)

Mirrors FreeBSD ports
[07679900322e](https://cgit.freebsd.org/ports/commit/?id=07679900322e1a1ac7aca93d7fae94be87adde90)
(the variable) and
[07687630f389](https://cgit.freebsd.org/ports/commit/?id=07687630f3891fa51f675885d0c417ab91ecd942)
(flavor helper), documented in FreeBSD doc commit 006125500eb7.

## Change

`BUILD_RUN_DEPENDS` lists a dependency once for both build and run time.
It is folded into `BUILD_DEPENDS` and `RUN_DEPENDS` at the top of the
dependency checking section in `bsd.mport.mk`, for the main package and
each subpackage, before either is read. It replaces
`RUN_DEPENDS=${BUILD_DEPENDS}`, which also copies whatever `USES` added
to `BUILD_DEPENDS`.

- `Mk/bsd.mport.mk`: the fold loop; `BUILD_RUN_DEPENDS` added to
`_FLAVOR_HELPERS_APPEND`.
- `Mk/components/options.mk`: `BUILD_RUN` added to `_OPTIONS_DEPENDS`,
so `OPT_BUILD_RUN_DEPENDS` and `_OFF` work.
- `AGENTS.md`: a Dependencies section describing it.

## Package manager impact: none

Everything downstream sees only `BUILD_DEPENDS` and `RUN_DEPENDS`: the
`*-depends` targets, `build-/run-/package-depends-list`,
`actual-package-depends` (which feeds `mport.create -D`), and so the
package file and the registry. Magus reads the lists through the same
targets. No mport change is needed.

## Verification (archivers/zip)

| Case | Result |
|---|---|
| `BUILD_RUN_DEPENDS=unzip:archivers/unzip` | present in both
`BUILD_DEPENDS` and `RUN_DEPENDS` |
| `build-depends-list`, `run-depends-list`, `package-depends-list` |
`archivers/unzip` listed |
| `DOCS_BUILD_RUN_DEPENDS` with DOCS on / `OPTIONS_EXCLUDE=DOCS` |
present / absent, same as `DOCS_RUN_DEPENDS` control |
| `DOCS_BUILD_RUN_DEPENDS_OFF` with DOCS excluded | present |
| `qt5_BUILD_RUN_DEPENDS` on accessibility/libqaccessibilityclient with
`FLAVOR=qt5` | present in both |
| `BUILD_RUN_DEPENDS.foo` with `SUBPACKAGES=foo` | in
`BUILD_DEPENDS.foo` and `RUN_DEPENDS.foo`, main package untouched |
| portlint on a copy of the port using it in the dependency section |
"looks fine" |

portlint 2.22.8 (and upstream 2.25.0) do not know the variable yet, so
they neither flag nor check it; portfmt leaves it in place.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Add framework support for dependencies shared between build and runtime
requirements.

New Features:
- Add BUILD_RUN_DEPENDS for declaring dependencies required during both
build and runtime.
- Support BUILD_RUN_DEPENDS across flavors, options, and subpackages.

Enhancements:
- Fold BUILD_RUN_DEPENDS into the existing build and runtime dependency
sets without exposing a new dependency type downstream.

Documentation:
- Document BUILD_RUN_DEPENDS usage and its option, flavor, and
subpackage forms.

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Fable 5.1 <noreply at anthropic.com>


  Commit: fe1a2afce8a8f3f0416db46389dc2566dc3b6127
      https://github.com/MidnightBSD/mports/commit/fe1a2afce8a8f3f0416db46389dc2566dc3b6127
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M AGENTS.md
    M Mk/bsd.mport.mk
    M Mk/components/options.mk
    M databases/Makefile
    A databases/mariadb118-client/Makefile
    A databases/mariadb118-client/pkg-plist
    A databases/mariadb118-server/Makefile
    A databases/mariadb118-server/distinfo
    A databases/mariadb118-server/files/client.cnf.sample.in
    A databases/mariadb118-server/files/my.cnf.sample.in
    A databases/mariadb118-server/files/mysql-server.in
    A databases/mariadb118-server/files/patch-cmake_dtrace.cmake
    A databases/mariadb118-server/files/patch-scripts_CMakeLists.txt
    A databases/mariadb118-server/files/patch-scripts_mysql__config.sh
    A databases/mariadb118-server/files/patch-scripts_wsrep__sst__common.sh
    A databases/mariadb118-server/files/patch-storage_rocksdb_rocksdb_port_jemalloc__helper.h
    A databases/mariadb118-server/files/patch-tpool_CMakeLists.txt
    A databases/mariadb118-server/files/pkg-message.in
    A databases/mariadb118-server/files/server.cnf.sample.in
    A databases/mariadb118-server/pkg-descr
    A databases/mariadb118-server/pkg-plist

  Log Message:
  -----------
  Merge branch 'master' into databases/mariadb123-server

Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/mports/compare/e32bdb51ceda...fe1a2afce8a8

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications



More information about the Midnightbsd-cvs mailing list