[MacPorts] #59743: clamav-server: destroot patch failed

MacPorts noreply at macports.org
Fri Nov 22 21:58:03 UTC 2019


#59743: clamav-server: destroot patch failed
----------------------------+-----------------------
  Reporter:  ryandesign     |      Owner:  essandess
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------

Comment (by essandess):

 Would anyone object to this approach, which generates the patch file for
 {{{.conf}} on the fly:

 1. Stick a clamav-server specific {{{.conf}}} into the port.
 2. Use the command {{{diff -NaurdwB -I '^ *#.*'}}} to create a patch file
 from the upstream {{{clamav.conf}}} and the clamav-server specific one.
 This ignores comments and just captures keyword-value diffs.
 3. Patch the upstream {{{clamav.conf}}} using this patch file.

 That’s pretty much how I update any commented {{{.conf}}} files by hand.

-- 
Ticket URL: <https://trac.macports.org/ticket/59743#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list