[Midnightbsd-cvs] [MidnightBSD/mports] a5cab7: cad/cura: fix invalid LICENSE, set to lgpl3 (#766)

Lucas Holt noreply at github.com
Fri Aug 21 23:59:32 EDT 2026


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

  Changed paths:
    M cad/cura/Makefile

  Log Message:
  -----------
  cad/cura: fix invalid LICENSE, set to lgpl3 (#766)

## Problem

`LICENSE= apgl` is not a recognized identifier. The framework treats an
unknown token as a *custom* license and aborts before doing any work:

```
===>  License not correctly defined: for unknown licenses, defining
      LICENSE_PERMS is mandatory (otherwise use a known LICENSE)
```

Magus run 647 recorded this as a **fetch failure**, because the license
check runs inside the fetch target — but nothing was ever fetched. (The
trailing `make: exec(exit) failed (No such file or directory)` in that
log is framework noise masking the real error on the line above.)

## Why lgpl3 and not agpl

`apgl` reads like a transposition of `agpl`, and FreeBSD's `cad/cura`
does use `AGPLv3` — but that is **not what this port builds**.

Cura relicensed at 4.0. This port is `DISTVERSION= 4.13.1`, `GH_ACCOUNT=
Ultimaker`, and the `LICENSE` file at that tag — the very file
`LICENSE_FILE= ${WRKSRC}/LICENSE` points at — is:

```console
$ fetch -qo - https://raw.githubusercontent.com/Ultimaker/Cura/4.13.1/LICENSE | head -2
    GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007
```

So `lgpl3` is the value that matches the shipped source. Taking the
obvious typo fix would have recorded a license the source does not
carry, and left `LICENSE_FILE` contradicting `LICENSE`.

FreeBSD's port looks stale on this point.

## Fix

`LICENSE= apgl` → `LICENSE= lgpl3`

No `PORTREVISION` bump — the port could not build at all, so there is no
package whose metadata changes.

## Testing

`bmake check-license` → `===>  License lgpl3 accepted by the user`

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

## Summary by Sourcery

Bug Fixes:
- Correct the Cura port license identifier from the invalid `apgl` value
to `lgpl3`, allowing license checks and builds to proceed.

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