[Bug 288198] [PATCH] net/samba420 : fix pkg-plist when building with BUNDLED_TALLOC

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Jul 2025 22:59:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288198

            Bug ID: 288198
           Summary: [PATCH] net/samba420 : fix pkg-plist when building
                    with BUNDLED_TALLOC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: samba@FreeBSD.org
          Reporter: mike@jellydonut.org
             Flags: maintainer-feedback?(samba@FreeBSD.org)
          Assignee: samba@FreeBSD.org

Created attachment 262123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262123&action=edit
net/samba420 - pkg-list fix for samba-talloc.3.gz

Building net/samba420, with the following in make.conf:

SAMBA4_BUNDLED_TALLOC=YES
OPTIONS_FILE_UNSET+=MANPAGES

Build fails at the packaging step trying to remove a nonexistent
samba-talloc.3.gz:

===>  Building packages for samba420-4.20.7_7
===>   Building samba420-4.20.7_7
pkg-static: Unable to access file
/tmp/_ports/usr/ports/net/samba420/work/stage/usr/local/share/man/man3/samba-talloc.3.gz:No
such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba420
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba420


Looks like share/man/man3/samba-talloc.3.gz isn't listed as a manpage in the
pkg-plist. Attached patch resolves the build issue. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.