[Bug 291306] www/redmine60: Use puma 7, fix install directories

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Nov 2025 19:04:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291306

            Bug ID: 291306
           Summary: www/redmine60: Use puma 7, fix install directories
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: fsbruva@yahoo.com
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

This proposed patch corrects an unreported error wherein a public/assets
directory is not created, causing significant runtime errors. Starting with
redmine 6.0, the public/plugin_assets directory is not used, but public/assets
instead. The tmp/pdf directory is also needed, per the redmine installation
instructions.

Additionally, now that the port uses rails-72, puma 7 is automatically
included, and redmine runs successfully without puma6. The other rubygem
dependencies are updated in the Makefile to reflect the contents of the
Gemfile.

The DB option is broken out to one of the four supported by redmine, via
Makefile edits to standardize Postgres option prefix, and add sqlite and sql
server options. Default remains mysql.

Also, the database.yml.sample file is patched to be more informative, and
include all the available information contained in the redmine installation
instructions. 

Lastly, re-ordered Makefile to remove lint found by portclippy.

Build logs:

With SQL server option set, and all other options unset:
https://pkg.compasses.xyz/data/143Ramd64-default-baseSSL/2025-11-29_22h40m07s/logs/redmine60-6.0.7_1.log

With sqlite, markdown and puma options set, magick unset:
https://pkg.compasses.xyz/data/143Ramd64-default-baseSSL/2025-11-26_09h21m21s/logs/redmine60-6.0.7_1.log

With PGSQL, magick, markdown, and puma set:
https://pkg.compasses.xyz/data/143Ramd64-default-baseSSL/2025-11-30_13h45m58s/logs/redmine60-6.0.7_1.log

With default options set:
https://pkg.compasses.xyz/data/143Ramd64-default-baseSSL/2025-11-30_13h48m09s/logs/redmine60-6.0.7_1.log

-- 
You are receiving this mail because:
You are the assignee for the bug.