On 2018-9-16 13:34 , Mark Brethen wrote: > I’m trying to update the master_sites and distname for reduce-algebra port > but can’t seem to make it work. The sourceforge url is: > > projects/reduce-algebra/files/snapshot_2018-04-06/macintosh/Reduce-source_4567.tar.bz2/download > > but the log shows: > > version:1 > :debug:sysinfo macOS 10.12 (darwin/16.7.0) arch i386 > :debug:sysinfo MacPorts 2.5.3 > :debug:sysinfo Xcode 9.2 > :debug:sysinfo SDK 10.12 > :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.12 > :debug:main Executing org.macports.main (reduce-common) > :debug:main dropping privileges: euid changed to 502, egid changed to 501. > :debug:fetch fetch phase started at Sat Sep 15 22:28:51 CDT 2018 > :notice:fetch ---> Fetching distfiles for reduce-common > :warn:fetch Your DNS servers incorrectly claim to know the address of > nonexistent hosts. This may cause checksum mismatches for some ports. See > this page for more information: > <https://trac.macports.org/wiki/MisbehavingServers> > :debug:fetch Executing proc-pre-org.macports.fetch-fetch-0 > :debug:fetch Executing org.macports.fetch (reduce-common) > :info:fetch ---> Reduce-source_4567.tar.bz2 does not exist in > /opt/local/var/macports/distfiles/reduce > :notice:fetch ---> Attempting to fetch Reduce-source_4567.tar.bz2 from > https://distfiles.macports.org/reduce > :debug:fetch Fetching distfile failed: The requested URL returned error: 404 > Not Found > :notice:fetch ---> Attempting to fetch Reduce-source_4567.tar.bz2 from > http://superb-dca2.dl.sourceforge.net/projects/reduce-algebra/files/snapshot_2018-04-06/macintosh/Reduce-source_4567
Looks like it should use something like: set svnrev 4567 distname Reduce-source_${svnrev} master_sites sourceforge:project/reduce-algebra/snapshot_${version_dashes}/macintosh - Josh