[Bug 276115] pkgbase: man packages execute same pkginstall as main packages

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Jan 2024 17:23:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276115

            Bug ID: 276115
           Summary: pkgbase: man packages execute same pkginstall as main
                    packages
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: garga@FreeBSD.org

I noticed FreeBSD-certctl-man packages was taking too long to install/upgrade
and after enabling pkg debug I figured out the reason of that delay is because
it executes certctl rehash, what is supposed to happen only when
FreeBSD-certctl package is installed.

I believe the same happen with all other man packages at least.

---

Extracting FreeBSD-certctl-man-15.snap20231103092242: 100%
DBG(3)[74719]> Scripts: executing
--- BEGIN ---
set -- FreeBSD-certctl-man-15.snap20231103092242
[ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \
            /usr/sbin/certctl rehash
Scripts: --- END ---

---

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