[137222] trunk/dports/print/epstool/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Jun 6 17:47:13 PDT 2015
> On Jun 6, 2015, at 6:57 PM, khindenburg at macports.org wrote:
>
> Revision
> 137222
> Author
> khindenburg at macports.org
> Date
> 2015-06-06 16:57:46 -0700 (Sat, 06 Jun 2015)
> Log Message
>
> epstool: update master_sites to somewhere that has the file; disable livecheck
> Modified: trunk/dports/print/epstool/Portfile (137221 => 137222)
> --- trunk/dports/print/epstool/Portfile 2015-06-06 23:27:36 UTC (rev 137221)
> +++ trunk/dports/print/epstool/Portfile 2015-06-06 23:57:46 UTC (rev 137222)
> @@ -17,9 +17,8 @@
> platforms darwin
>
> homepage http://www.cs.wisc.edu/~ghost/gsview/epstool.htm
> -master_sites ftp://tug.ctan.org/tex-archive/nonfree/support/ghostscript/ghostgum \
> - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum \
> -
> ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/old
> +master_sites macports \
> + http://pkgs.fedoraproject.org/repo/pkgs/epstool/epstool-3.08.tar.gz/465a57a598dbef411f4ecbfbd7d4c8d7/epstool-3.08.tar.gz
Neither of those URLs have the file.
The first URL, "macports", expands to http://svn.macports.org/repository/macports/distfiles/epstool/. There is no such directory in our repository. Years ago, we used to store distfiles in the repository, for ports whose distfiles had gone missing, but this practice has been discouraged ever since we set up a distfiles mirror server which mirrors all ports' files automatically.
For the second URL, remember that MacPorts will append the distfile name to the master_sites, so the URL MacPorts actually tries to fetch from is the following nonexistent URL:
http://pkgs.fedoraproject.org/repo/pkgs/epstool/epstool-3.08.tar.gz/465a57a598dbef411f4ecbfbd7d4c8d7/epstool-3.08.tar.gz/epstool-3.08.tar.gz
The correct master_sites entry, if you want to download from Fedora, is:
master_sites http://pkgs.fedoraproject.org/repo/pkgs/epstool/${distfiles}/465a57a598dbef411f4ecbfbd7d4c8d7/
Or if you want to only download from the MacPorts mirrors, use:
master_sites macports_distfiles
More information about the macports-dev
mailing list