[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275329] net-p2p/jigdo: Upgrade to 0.8.2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Nov 2023 11:15:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275329 Bug ID: 275329 Summary: net-p2p/jigdo: Upgrade to 0.8.2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mc.dhuibh@proton.me Created attachment 246561 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246561&action=edit Patch to upgrade net-p2p/jigdo to v0.8.2 As mentioned in PR 266573 the author of net-p2p/jigdo has updated the software to use sha256 instead of MD5. The current version is now 0.8.2 though. I'm submitting the attached patch, which successfully builds in Poudriere with FreeBSD 12.4 and 13.2 jails. I can also test on the just-released v14. I needed to add both docbook-utils as well as sgmlformat dependencies to get the man pages to build. I was unable to get the html versions of the documentation to build using docbook2html, which is expected by the way the author structured the build. I don't know if the problem is with docbook-utils or the source files or another explanation. The porters handbook implies the html documentation is optional, so I modified the makefiles to only build the man pages. One of the sed calls used to rename the man page output of docbook2man I could not get to work. (The makefiles don't have comments explaining, but it looks like the sgml to man file conversion by docbook2man produces filenames with locale information that the author's scripts removed.) So I did the file renaming using brename and added a dependency to make sure it' available. I didn't see direction in the porters handbook about preferred renaming utilities, so if using brename is the wrong way to do this, I can try again a different way. I did need to set MAKE_JOBS_UNSAFE, I think because I couldn't use the author's makefile code to move the man pages out of the temporary directory the author uses to create them, and the line or two I added do it instead didn't like multiple jobs. I wasn't sure how to fix that though. The new distfile I checked using the author's gpg key and signature, which he provides on his webpage. With the attached patch I removed from the package Makefile the GUI options, because it looks like this depended on Glade2/GTK2 and I guess those are not really in FreeBSD ports anymore? So didn't see how the GUI option could be built any longer from available ports. Portlint complained there was no license field completed, but that's also the case with the current port version. The author seems to be using a modified version of GPLv2, so I added the name of the file that contains the license information, but wasn't sure what else to do because the license wasn't strictly GPL. Docbook2man objected to a missing closing paragraph tag in one of the sgml source files used to build the documentation, so I patched that too. The porters handbook says prefer not to manually strip binaries produced with the port, but the current port does that and when I tried removing the post-install call that strips the binary the resulting package had an unstripped binary. I don't know if that was supposed to happen, so I left the post-install STRIP_CMD alone. Thank you for considering upgrading this port to 0.8.2! -- You are receiving this mail because: You are the assignee for the bug.