Bug 237863

Summary: MASTER_SITES download.gna.org no longer serves distribution files (eg: graphics/camera)
Product: Ports & Packages Reporter: Petr Penzin <penzin.dev>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Many People CC: koobs, penzin.dev, ports, theraven
Priority: --- Keywords: needs-patch
Version: LatestFlags: koobs: merge-quarterly?
Hardware: Any   
OS: Any   

Description Petr Penzin 2019-05-13 02:38:05 UTC
Master site for `graphics/camera` returns 404 (http://download.gna.org/gsimageapps/), also unable to open to gna.org.

CC'ing the last contributor to the port, just in case.

I think it is useful app, I might be able to adopt it as a port maintainer.

# cd /usr/ports/graphics/camera
# make fetch
===>   NOTICE:

The camera port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:


More information about port maintainership is available at:


===>  License GPLv2+ accepted by the user
===>   camera-0.8_13 depends on file: /usr/local/sbin/pkg - found
=> Camera-0.8.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://download.gna.org/gsimageapps/Camera-0.8.tar.bz2
fetch: http://download.gna.org/gsimageapps/Camera-0.8.tar.bz2: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/Camera-0.8.tar.bz2
Camera-0.8.tar.bz2                                      26 kB   89 kBps    00s
===> Fetching all distfiles required by camera-0.8_13 for building
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-13 03:40:57 UTC
Thank you for the report Petr.

If you would like to maintain the port, please include a patch as an attachment updating MAINTAINER and fixing MASTER_SITES after identifying an authoritative and reliable source for the distribution file
Comment 2 Petr Penzin 2019-05-14 16:21:37 UTC
Hi Kubilay,

I suspect that the site has gone offline for good (especially since maintainer was dropped from the port for some time), I'll see if there is a fork of it available somewhere. If not, is maintaining the code in a new Github repository an acceptable solution?
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-15 03:08:47 UTC
(In reply to Petr Penzin from comment #2)

That is an acceptable solution (for now). If you could, please note explicitly in the repository README that it is a fork/holding area for the code since the original upstream was 404, and use the repository URL in the ports pkg-descr WWW: line so that users are explicitly aware of its status.

Thank you for taking the time to resolving this Petr
Comment 4 Petr Penzin 2019-05-17 01:06:27 UTC
(In reply to Kubilay Kocak from comment #3)

I've added the code here: https://github.com/gsimageapps/Camera

There are a few other ports that used to pull from the same site, I'll see if I can make sense of those and move them to the same Github orgn unless there is a better fork somewhere already. If you end up creating bugs for moving that code, feel free to assign them to me.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-17 02:55:45 UTC
(In reply to Petr Penzin from comment #4)

Thanks for that. Feel free to attach a patch updating this port to use these sources, and I'd also be inclined to recommend including changes to any other ports that use the same (now 404) MASTER_SITES in the change, so they can all be updated at the same time.

A cursory search across the ports tree finds the following matches:

Comment 6 Petr Penzin 2019-05-17 06:00:28 UTC
(In reply to Kubilay Kocak from comment #5)

Oh, that is quite a bit! I thought that only hosting for the image apps went down. Looks like it is the fallout from this: https://en.wikipedia.org/wiki/Gna!

I'll try to see if they migrated elsewhere first, Camera certainly did not -- at least I could not locate any more mirrors.
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-17 07:30:33 UTC
(In reply to Petr Penzin from comment #6)

That'd be great Petr. In the mean time I think its probably worth converting this into a broader issue to cover all the other ports, and people update those ports individually, but referencing this single issue in commit logs
Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-17 07:34:25 UTC
Per: https://en.wikipedia.org/wiki/Gna!

  At 24 May, 2017 Gna! servers have been shut down. [6]
  [6] https://www.archiveteam.org/index.php?title=Gna!#Shutdown
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-17 07:39:46 UTC
ArchiveTeam appears to have taken an rsync snapshot at 20170225 [1], quoting:

A snapshot of all of this material from 2017-02-25 has been uploaded to archive.org. <180Gibyte, all in. 

[1] https://www.archiveteam.org/index.php?title=Gna!/code_and_downloads
Comment 10 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-17 07:47:07 UTC
Archive.org link to uploaded data: https://archive.org/details/Gna_code_hosting