Ticket #21218 (closed update: fixed)
mc: update version, homepage, master_sites, livecheck
| Reported by: | ryandesign@… | Owned by: | waqar@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ono@…, snc@…, sierkb@…, xeenon@… | |
| Port: | mc |
Description
mc is at version 4.6.1 but version 4.6.2 has been released. The homepage has changed to http://www.midnight-commander.org/ and the downloads are now hosted in Trac, which has challenging download URLs. The livecheck doesn't work.
I will work on a patch to make these changes.
Attachments
Change History
comment:2 Changed 4 years ago by kthenriksson@…
I just checked and Trac will accept URLs like http://www.midnight-commander.org/downloads/mc-4.6.1.tar.gz, so you can replace the download_id bit with a more conventional master_sites entry.
comment:3 Changed 4 years ago by ryandesign@…
Thanks, that's cleaner.
comment:8 Changed 3 years ago by sierkb@…
Latest released version (as told by http://www.midnight-commander.org/): 4.7.0-pre4.
See http://www.midnight-commander.org/wiki/NEWS-4.7.0-pre4 for details
and http://www.midnight-commander.org/downloads for source tarballs.
Open Tickets for 4.7.0:
http://www.midnight-commander.org/query?status=testing&status=reopened&status=assigned&status=new&status=accepted&group=status&milestone=4.7.0
Translations (for 4.7.0 and in general) and their status, see:
http://www.midnight-commander.org/ticket/1370
http://www.midnight-commander.org/translations/
http://www.transifex.net/projects/p/mc/c/master/
comment:11 Changed 3 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
In r62161 I updated mc to 4.7.0 using some of your proposed changes and others I made on my own:
- I did not change the livecheck as you suggested because that would prevent the livecheck from detecting versions newer than 4.7.x. The existing livecheck works fine.
- I did not change the glib2 dependency as you suggested because this would prevent glib2-devel from being able to satisfy it.
- I did not add the autoconf213 dependency because mc does not appear to use autoconf.
- I did not reformat the port as you did because reformatting should be handled separately from functional changes.
- I switched the distfile to lzma because that's even smaller than bz2.
- I specified the license as "GPLv2" because that's what we've been doing in other ports.
- I removed what appear to be unnecessary configure args.
- I added a dependency on ncursesw in the ncurses variant.
- I installed the documentation files.


4.6.2 does not build.
In the mean time, please use the attached patch to fix the homepage, master_sites, livecheck, and dependencies (to guarantee the use of MacPorts dependencies and not others the user might have installed).