[Midnightbsd-cvs] [MidnightBSD/mports] f68eb3: x11/framework-autorotate: register in category ind...

Lucas Holt noreply at github.com
Sat Sep 5 01:00:25 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: f68eb30de5a469dc2a0fa6c980c4b8305e00a521
      https://github.com/MidnightBSD/mports/commit/f68eb30de5a469dc2a0fa6c980c4b8305e00a521
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M x11/Makefile
    M x11/framework-autorotate/pkg-plist

  Log Message:
  -----------
  x11/framework-autorotate: register in category index, own created dirs

Two gaps in the new port:

- x11/Makefile had no SUBDIR entry, so the port was invisible to the
  tree (no index entry, not reachable from a category-level build).
- pkg-plist listed the installed files but not the two directories the
  port creates, so libexec/framework_autorotate and the examples dir
  were left behind on deinstall.  Add @dir for both; the examples one
  is gated on %%PORTEXAMPLES%% to match the files above it.

The rc.d script needs no plist entry -- USE_RC_SUBR appends it to the
generated packing list automatically.

Validated on amd64: builds clean with -Wall -Wextra (zero warnings),
fake and package succeed, the generated packing list now carries both
@dir entries, %%PREFIX%% is substituted in the staged rc script, and
portlint and check-license both pass.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3gFUz4ToPe25CYRu9zvuG
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 0c3ed28a8af162e4ffcf3efee38b7746b259f5b8
      https://github.com/MidnightBSD/mports/commit/0c3ed28a8af162e4ffcf3efee38b7746b259f5b8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M x11/framework-autorotate/files/framework_autorotate.in

  Log Message:
  -----------
  x11/framework-autorotate: restore rc script comments from upstream

files/framework_autorotate.in was upstream's rc.d/framework_autorotate
with every explanatory comment stripped.  That dropped the in-script
documentation of the rc.conf knobs (framework_autorotate_mode,
_display, _hook, _flags, _logfile) and the notes explaining why the
script uses daemon(8) -P rather than -p, why the pidfile is chmod 644,
and why framework_autorotate_user is refused -- all of which an admin
reads out of /usr/local/etc/rc.d/framework_autorotate.

Re-derive the file from upstream so the only local delta is the
%%PREFIX%% substitution USE_RC_SUBR needs.  Verified comment-only:
the diff has no changed non-comment lines.

Staged script still substitutes cleanly (no %% tokens remain) and
passes sh -n.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01K3gFUz4ToPe25CYRu9zvuG
Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/mports/compare/92b081cf90b6...0c3ed28a8af1

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