[Midnightbsd-cvs] [MidnightBSD/mports] 6314d3: lang/ruby34: add Ruby 3.4 and update WordPress/PHP...

Lucas Holt noreply at github.com
Fri Aug 7 11:10:36 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 6314d32ee7dc8ef8e50c678c603dcaeaa0df9357
      https://github.com/MidnightBSD/mports/commit/6314d32ee7dc8ef8e50c678c603dcaeaa0df9357
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M Mk/components/default-versions.mk
    M Mk/extensions/php.mk
    M Mk/extensions/ruby.mk
    M lang/Makefile
    A lang/ruby34/Makefile
    A lang/ruby34/distinfo
    A lang/ruby34/files/patch-common.mk
    A lang/ruby34/files/patch-configure.ac
    A lang/ruby34/files/patch-lib_mkmf.rb
    A lang/ruby34/files/patch-lib_rdoc_generator_json__index.rb
    A lang/ruby34/files/patch-tool_mkconfig.rb
    A lang/ruby34/pkg-descr
    A lang/ruby34/pkg-message
    A lang/ruby34/pkg-plist
    M www/wordpress/Makefile
    M www/wordpress/distinfo

  Log Message:
  -----------
  lang/ruby34: add Ruby 3.4 and update WordPress/PHP (#693)

## Summary

- add `lang/ruby34` for Ruby 3.4.9, based on the existing MidnightBSD
Ruby ports and FreeBSD's Ruby 3.4 port
- extend `Mk/extensions/ruby.mk` and the default-versions documentation
to recognize Ruby 3.4 while keeping Ruby 3.3 as the default
- add MidnightBSD configure handling so `libruby34.so.34` has the
correct SONAME
- retain the existing branch commits that enable PHP 8.4 and update
WordPress to 7.0.3

## Impact

Ruby 3.4 can be selected explicitly without changing the default Ruby
version. The package registers its shared library correctly with mport,
and RubyGems/default gems remain split into their existing separate
ports.

## Validation

- `BATCH=yes bmake makesum`
- `BATCH=yes bmake patch`
- `BATCH=yes bmake`
- `BATCH=yes bmake fake`
- `BATCH=yes bmake package`
- `BATCH=yes bmake test` — all 2,019 tests passed
- `bmake check-license`
- `portlint -C lang/ruby34` — 0 fatal errors; 9 warnings inherited from
the existing Ruby port structure
- verified `SONAME` is `libruby34.so.34` with `readelf`
- verified the final package CPE is
`cpe:2.3:a:ruby-lang:ruby:3.4.9:p0::::midnightbsd4:x64:0`

## Summary by Sourcery

Add a new Ruby 3.4 port and wire it into the ports framework while
keeping Ruby 3.3 as the default, and update WordPress/PHP support
accordingly.

New Features:
- Introduce the lang/ruby34 port to provide Ruby 3.4.9 with appropriate
options and packaging.
- Allow Ruby 3.4 to be selected in the ports framework by extending
ruby.mk and default-versions configuration.

Enhancements:
- Ensure Ruby 3.4 shared library and architecture-specific paths are
correctly configured for MidnightBSD via additional patches.
- Adjust Ruby installation behavior to exclude bundled RubyGems from the
core Ruby 3.4 port.
- Update WordPress to version 7.0.3 and restrict it from building with
PHP 8.6.
- Extend PHP ports configuration to recognize PHP 8.4 as a supported
version.
- Register the new Ruby 3.4 port in the lang category index.

---------

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



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