[Midnightbsd-cvs] [MidnightBSD/mports] 2d5cac: www/linux-widevine-cdm: new port, Google's Widevin...
Lucas Holt
noreply at github.com
Sun Sep 6 10:17:46 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 2d5cac397035a585914ed5fb26785be53d528035
https://github.com/MidnightBSD/mports/commit/2d5cac397035a585914ed5fb26785be53d528035
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-06 (Sun, 06 Sep 2026)
Changed paths:
M www/Makefile
A www/linux-widevine-cdm/Makefile
A www/linux-widevine-cdm/distinfo
A www/linux-widevine-cdm/pkg-descr
Log Message:
-----------
www/linux-widevine-cdm: new port, Google's Widevine CDM plugin (#844)
New port: `www/linux-widevine-cdm`, imported from FreeBSD.
`www/foreign-cdm` (#843) needs Google's Linux CDM library to proxy, and
its `pkg-message` points users at this port. Without it, foreign-cdm
ships a dangling `WidevineCdm/manifest.json` symlink and cannot play DRM
content.
The distfile is the Linux `google-chrome-stable` `.deb`, from which only
`WidevineCdm` is extracted. `CHROME_VERSION` is `152.0.7977.75-1`,
matching the `www/chromium` in #842.
### MidnightBSD changes versus FreeBSD's port
- `ports at MidnightBSD.org`
- `LICENSE=WIDEVINE` with `LICENSE_NAME`/`LICENSE_PERMS`/`LICENSE_FILE`,
since mports has no `Proprietary` license id. Permissions are unchanged
from FreeBSD's — `no-dist-sell no-pkg-sell no-dist-mirror no-pkg-mirror`
— and acceptance is deliberately left interactive rather than
`auto-accept`, so nobody silently agrees to a Google proprietary
licence. Build with `LICENSES_ACCEPTED=WIDEVINE` in batch contexts.
- mports staging semantics in `do-install`
### Testing (amd64, MidnightBSD 4.1)
`bmake build`, `bmake fake`, `bmake check-fake` and `bmake package` all
clean. `check-fake` reports no missing files.
portlint emits two warnings, both inherited from FreeBSD's port and both
false positives here: `USE_LDCONFIG` (the `.so` is a browser plugin, not
a linkable library) and the hyphen in `PORTNAME` (`PKGNAMEPREFIX=linux-`
is already in use).
### Not verified
DRM playback was not exercised — that needs foreign-cdm installed and a
browser session.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01RfjmwisLNPFuZeaQCUJn4A
## Summary by Sourcery
Add the Google Widevine CDM plugin as a Linux port for use by DRM proxy
consumers.
New Features:
- Add a Linux Widevine CDM port that packages Google's browser DRM
plugin for amd64 and aarch64 systems.
- Register the new port in the www ports collection.
Enhancements:
- Define MidnightBSD-specific handling for the proprietary Widevine
license and staged installation.
---------
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot at users.noreply.github.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