[Midnightbsd-cvs] [MidnightBSD/mports] 2c6978: www/librefs: add libreFS S3 compatible object stor...

Lucas Holt noreply at github.com
Thu Aug 13 09:57:44 EDT 2026


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

  Changed paths:
    M GIDs
    M UIDs
    M www/Makefile
    A www/librefs/Makefile
    A www/librefs/distinfo
    A www/librefs/files/librefs.in
    A www/librefs/pkg-descr

  Log Message:
  -----------
  www/librefs: add libreFS S3 compatible object storage server (#743)

libreFS is a community maintained fork of MinIO taken at
`RELEASE.2025-04-22T22-12-26Z`, the last release before the embedded web
console, LDAP/OIDC login and distributed mode were moved into a
proprietary
product. `www/minio` is marked deprecated upstream with an expiration
date of
2026-12-31, so this provides a maintained replacement.

Ported at `RELEASE.2026-05-04T00-42-47Z`.

### Notes

- The fork keeps the upstream `github.com/minio/minio` module path, so
sources
come from GitHub via `USE_GITHUB` while `go.mod` drives the module cache
via
  `GO_MOD_DIST=github`. The Go proxy has nothing published for
  `github.com/libreFS/libreFS`.
- The binary installs as `bin/librefs`, matching upstream's own build,
so it
  does not conflict with `www/minio`'s `bin/minio`.
- New `librefs` user/group allocated uid/gid 801 from the free range.
- The rc script renames all `minio_*` knobs to `librefs_*` but still
exports
`MINIO_ROOT_USER`, `MINIO_ROOT_PASSWORD` and `MINIO_API_ROOT_ACCESS`,
which
  are the variable names the fork still reads.
- `pkg-message` was not carried over: both entries are upgrade notes for
  MinIO 2.0 and 2022-era installs and do not apply to a new port.
- `USES=cpe` was dropped since no CPE dictionary entry exists for
libreFS;
keeping it would emit a vendor string that falsely matches MinIO
advisories.

### Testing

`bmake makesum`, `patch`, `bmake`, `fake` and `package` all succeed on
amd64;
`librefs-2026.05.04.00.42.47.mport` builds. The resulting binary
reports:

```
librefs version RELEASE.2026-05-04T00-42-47Z (commit-id=e194bd779f36fdc08f310d2819d9356f0c1f991b)
Runtime: go1.26.2 freebsd/amd64
```

`portlint -AC` reports 0 fatal errors and 2 warnings; the
`/var/db/${PORTNAME}` absolute path warning is inherited from
`www/minio`'s
identical construct.

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

## Summary by Sourcery

Add a new www/librefs port providing the libreFS S3-compatible object
storage server as a maintained alternative to the deprecated MinIO port.

New Features:
- Introduce the www/librefs port packaging the libreFS S3-compatible
object storage server with appropriate rc script and defaults.

Enhancements:
- Register dedicated librefs user and group IDs and integrate the port
into the www category index.

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.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