[MacPorts] #64960: use_7z, use_bzip2, use_lzip, use_lzma, use_tar, use_xz, use_zip cannot be undone

MacPorts noreply at macports.org
Wed Aug 9 06:59:30 UTC 2023


#64960: use_7z, use_bzip2, use_lzip, use_lzma, use_tar, use_xz, use_zip cannot be
undone
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 [comment:ticket:50969:7 Filename suffixes are sometimes wrong] so I would
 not favor basing extraction decisions on the filename suffix. A
 [ticket:50969 format-agnostic extractor] should base its decision on the
 file's magic number (i.e. using `file` or libmagic to identify it). It is
 also important that such an extractor have the ability to do partial
 extractions. Ports currently do partial extractions by modifying
 `extract.post_args` with arguments that are specific to whatever extractor
 is being used. (The php port is an example of this.) Any implementation of
 #50969 would have to not break this feature used by existing ports.

 As I said, since those are bigger issues to consider, this ticket is about
 the smaller task of allowing the `use_*` options to be undone once set. If
 #50969 gets implemented first, then this ticket can be closed.

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


More information about the macports-tickets mailing list