[MacPorts] #64613: Variant of port "ClamAV" to support old systems
MacPorts
noreply at macports.org
Mon Feb 7 15:10:34 UTC 2022
#64613: Variant of port "ClamAV" to support old systems
----------------------------+-----------------------------------------
Reporter: ballapete | Owner: (none)
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: tiger, leopard, snowleopard
Port: clamav-legacy |
----------------------------+-----------------------------------------
Comment (by ryandesign):
rpath support appeared in Mac OS X 10.5 Leopard.
The `maintainers` line is not valid.
Line 97 (the one beginning with `hub.com`) is a syntax error.
Lines 112-129 (which define the python variants and which one of them is
the default) are invalid because they occur within the tests variant;
MacPorts has already finished determining the list of variants and
defaults by the time that any variant's code is evaluated.
If you're going to have python variants, the default at this time should
be python310.
The Portfile uses old Macintosh (carriage return) line endings. It must
use UNIX (line feed) line endings.
`-V` should not be tacked on to `test.cmd`; it should be in `test.args`.
The port overrides the build dependencies the portgroups set. Use
`depends_build-append` instead of `depends_build`.
Livecheck isn't using https though homepage and master_sites are. This
should be made consistent, ideally by reusing existing variables rather
than defining the same URL 2 and 3 times. This problem already existed in
the original clamav portfile.
--
Ticket URL: <https://trac.macports.org/ticket/64613#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list