[Bug 257427] Mk/bsd.port.mk: add PKG_COMPRESSION_LEVEL as a companion to PKG_COMPRESSION_FORMAT

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Jul 2021 08:00:11 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257427

            Bug ID: 257427
           Summary: Mk/bsd.port.mk: add PKG_COMPRESSION_LEVEL as a
                    companion to PKG_COMPRESSION_FORMAT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: Trond.Endrestol_at_ximalas.info

For completion it would be nice to have PKG_COMPRESSION_LEVEL as a companion to
PKG_COMPRESSION_FORMAT. Thus, it becomes easier to specify the wanted
compression level, be it best, or fast, or a numerical value.

E.g.:

PKG_COMPRESSION_LEVEL=  best

The current workaround is to use in /etc/make.conf or an equivalent file:

PKG_CREATE_ARGS+=       -l <level>

E.g.:

PKG_CREATE_ARGS+=       -l best

Both PKG_COMPRESSION_FORMAT and PKG_COMPRESSION_LEVEL should be documented at
around line 1004.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jul 26 2021 - 08:00:11 UTC

Original text of this message