[Midnightbsd-cvs] [MidnightBSD/mports] 9e4227: sysutils/libsunacl: update to 1.0.1 (#1488)
Lucas Holt
noreply at github.com
Sun Sep 20 00:05:07 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 9e4227c587d7116740aa38d667ec58617619b183
https://github.com/MidnightBSD/mports/commit/9e4227c587d7116740aa38d667ec58617619b183
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-20 (Sun, 20 Sep 2026)
Changed paths:
M sysutils/libsunacl/Makefile
M sysutils/libsunacl/distinfo
A sysutils/libsunacl/files/patch-opensolaris__acl.c
A sysutils/libsunacl/files/patch-sunacl.h
Log Message:
-----------
sysutils/libsunacl: update to 1.0.1 (#1488)
Updates `sysutils/libsunacl` from 1.0 to 1.0.1.
## Why
`net/samba419` builds `vfs_zfsacl` when `sunacl.h` is present, and that
module needs `ACE_INHERITED_ACE`:
```
source3/modules/vfs_zfsacl.c:99: error: use of undeclared identifier 'ACE_INHERITED_ACE'
```
1.0 does not define it; it arrives in 1.0.1 (`sunacl.h:79`). Verified by
building samba against 1.0.1 — the error is gone and samba now compiles
through to the staging step.
This only surfaced now because samba previously fell through every
platform branch on MidnightBSD and never compiled `vfs_zfsacl` at all
(see #1486).
## What changed
Adopted from upstream:
- `PORTVERSION= 1.0.1`
- `MASTER_SITES` moved to the GitHub release tarball, which is where
1.0.1 is published — SourceForge only ever carried 1.0
- `USES= uidfix`
- `MAKE_ENV= WITHOUT_PROFILE=yes`
- the two patches carried for this version: `patch-sunacl.h`,
`patch-opensolaris__acl.c`
Kept mports-local:
- `MAINTAINER= ports at MidnightBSD.org`
- `LICENSE= bsd2` (mports identifier rather than `BSD2CLAUSE`)
- `FAKE_OPTS= trueprefix`
- the `OSVERSION < 4000` guard for pre-0.4 NFSv4 ACL support
Dropped: the `NO_PROFILE` conditional adding `lib/libsunacl_p.a` to
`PLIST_FILES`. With `WITHOUT_PROFILE=yes` the profiled library is not
built, so listing it would fail the plist check — upstream's plist omits
it for the same reason. The port stages and packages with no plist
complaints, which confirms it.
## Validation
Builds, stages, packages and installs on amd64. Distinfo checksum
matches FreeBSD's. `ACE_INHERITED_ACE` is present in the installed
`sunacl.h`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01NSsgED5s7GPYJNb1HxuaU9
## Summary by Sourcery
Update libsunacl to 1.0.1 so dependent Samba ACL functionality builds
correctly on MidnightBSD.
Bug Fixes:
- Update libsunacl to provide the ACL definitions required for Samba's
ZFS ACL module to compile on MidnightBSD.
Enhancements:
- Adopt the upstream libsunacl 1.0.1 release and its expanded ACL
handling, including object ACE types.
- Align port configuration with the updated release by using the GitHub
source, uidfix, and disabled profiling support.
Tests:
- Verify that libsunacl builds, stages, packages, and installs
successfully with the updated headers and library contents.
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