[Bug 270989] print/ghostscript10: adds libgs.sol; connects to USES and DEFAULT_VERSIONS facilities; flavorized

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Apr 2023 21:51:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270989

            Bug ID: 270989
           Summary: print/ghostscript10: adds libgs.sol; connects to USES
                    and DEFAULT_VERSIONS facilities; flavorized
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: milios@ccsys.com
                CC: michael.osipov@siemens.com
             Flags: maintainer-feedback?(michael.osipov@siemens.com)
                CC: michael.osipov@siemens.com
 Attachment #241643 maintainer-approval?(michael.osipov@siemens.com)
             Flags:
             Flags: maintainer-feedback?(michael.osipov@siemens.com),
                    merge-quarterly?

Created attachment 241643
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241643&action=edit
bring ghostscript10 onto USES

print/ghostscript10 was added recently. it addresses CVE-2021-3781 but it
lacked parity with earlier ports in the tree so long as it didnt provide
libgs.so and X11.so. (it provided the executables only) or connect to
Uses/ghostscript.mk

i hooked it in and opted to go with FLAVOR support rather than SLAVE or a
disparate -x11 port. i've successfully rebuilt all the packages i am using here
(graphviz, inkscape, texlive, ImageMagick7, R to name a few) while setting my
DEFAULT_VERSIONS=...ghostscript=10…

so far i've only really had a chance to put ImageMagic through its paces. i
have not tested my changes to Mk with the current default: [9-]agpl

fyi, i've never made or heavily modified a FLAVORed port; i hope i'm on the
right track

thank you

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