[MacPorts] #55440: libpsl: download data files in fetch phase, not in post-extract

MacPorts noreply at macports.org
Mon Dec 4 16:30:10 UTC 2017


#55440: libpsl: download data files in fetch phase, not in post-extract
--------------------------+---------------------------------------
  Reporter:  Schamschula  |      Owner:  dbevans
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  tiger leopard snowleopard
      Port:  libpsl       |
--------------------------+---------------------------------------

Comment (by Schamschula):

 Replying to [comment:6 svensen]:
 > I did some modifications to the Portfile:
 >
 > {{{
 > # set psl_data_url        https://github.com/publicsuffix/list/archive
 > set psl_data_url
 https://codeload.github.com/publicsuffix/list/zip
 >
 > post-extract {
 >     system "/usr/bin/curl -s -k -o
 \"${psl_data_dir}/${psl_data_archive}\"
 \"${psl_data_url}/${psl_data_commit}\""
 > #    curl fetch ${psl_data_url}/${psl_data_archive}
 ${psl_data_dir}/${psl_data_archive}
 >
 > }}}
 >
 > There might be a more appropriate fix. However, this works for me.
 >
 >

 This also worked for me. I must have missed a step when I manually
 downloaded the list data archive.

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


More information about the macports-tickets mailing list