[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Dec 2023 23:45:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275329

mc.dhuibh@proton.me changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #246561|0                           |1
        is obsolete|                            |

--- Comment #2 from mc.dhuibh@proton.me ---
Created attachment 246962
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246962&action=edit
0002 Patch to upgrade net-p2p/jigdo to v0.8.2

Thank you for the localbase suggestion!  I noticed that the current
dependencies I needed to add to get jigdo to build were using some libraries
under $LOCALBASE so I went ahead and added localbase:ldflags to the USES line. 
I also reviewed the porter's handbook discussion of LOCALBASE, and made a
change to the line in the Makefile calling brename to refer to the binary under
$LOCALBASE/bin/brename instead of just calling brename.

I moved some of the variables in the port Makefile around to address portlint
warnings about their locations.  I found an item that I must have missed
earlier for pkg-plist, so I've included that now too
(share/locale/de/LC_MESSAGES/jigdo.mo)

I ran the tests described in the porter's handbook with this updated patch,
which builds with poudriere testport with a recent ports tree checkout and
FreeBSD versions 12.4, 13.2, and 14.0.  I also installed the patched port in a
FreeBSD 14.0 jail and it looks to be working for me there.

According to Steve McIntyre's website
(https://www.einval.com/~steve/software/jigdo/), the original author of jigdo
is Richard Atterer.  Steve McIntyre explains how he added the SH256 algorithm
starting with jigdo version 0.8.0. Prior versions appear used MD5. Steve
McIntyre points to http://atterer.org/jigdo for an explanation about the
handover from Richard Atterer.  The original content no longer seems to be up,
but I was able to find an archived version at
https://web.archive.org/web/20230227215619/http://atterer.org/jigdo That site
appears to explain that Richard Atterer wasn't maintaining jigdo any longer so
development was handed over to Steve McIntyre ("a forked version") and directs
users to einval.com

The debian project uses jigdo for distributing large images and making
mirroring less burdensome. I was able to find an old bug from 2014 where Steve
McIntyre (current jigdo maintainer for debian) says he was taking over
maintenance of the package. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772110  He says there "Hmmm,
it's probably time that somebody picked up jigdo-file and maintained it I
guess. I'll add it to my list."  His debian biography says he's team lead for
Debian-CD (https://nm.debian.org/person/93sam/) and the project is still using
jigdo for software distribution.

Since all uses of jigdo I was able to find seemed to point back to Steve
McIntyre's site at this time, and because Richard Atter's jigdo site appears to
be offline, it looked like einval.com was the right place to retrieve the
version 0.8.2 source code for jigdo now instead of atterer.org.

-- 
You are receiving this mail because:
You are the assignee for the bug.