Summary: | net-p2p/libtorrent, net-p2p/rtorrent: Incoming connections broken since 0.13.7/0.9.7 update | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Henry <PopularMoment> | ||||||||||
Component: | Individual Port(s) | Assignee: | Danilo G. Baio <dbaio> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Many People | CC: | dbaio, koobs, tj, vladislav.movchan | ||||||||||
Priority: | --- | Keywords: | regression | ||||||||||
Version: | Latest | ||||||||||||
Hardware: | amd64 | ||||||||||||
OS: | Any | ||||||||||||
URL: | https://github.com/rakshasa/rtorrent/issues/786 | ||||||||||||
Attachments: |
|
Description
Henry
2018-09-09 22:58:48 UTC
Thank you for your report Henry. Given these ports don't currently have a maintainer, I'd recommend contacting/reporting the issue upstream to obtain an authoritive response/change proposal on the issue as a first course of action, in the absence of an obvious/correct/tested patch. Further, 10.2 is now EoL, so it would be worth reproducing (confirming) that the issue is present on at least 10.4-RELEASE (EoL October 2018) and 11.2-RELEASE, ie: currently supported branches. It may well be worth doing this before contacting upstream to isolate FreeBSD being a contributing cause. Apologies, 10.2-RELEASE-p2 is a typo and should read 11.2-RELEASE-p2. Created attachment 197597 [details]
libtorrent patch
Created attachment 197598 [details]
rtorrent patch
I've attached the patches that work around the issue for me. I've been running a client with these applied for the last few days without issue. I think these patches or a refinement thereof should be applied as it will fix a regression effecting everyone. If that is not appropriate, then both ports should be rolled back to the last known good versions: libtorrent-0.13.6_5 / rtorrent-0.9.6_3. Hi Henry. I've opened an issue on Github. if you have a GH account, please, help in the discussion there. And thank you for your report. Regards. Created attachment 199065 [details]
libtorrent fix and noop post-patch removal
Created attachment 199066 [details]
rtorrent cleanup - remove unused patch extra-clang
Attached a proper fix for the incoming connections issue courtesy of Vlad Movchan from https://github.com/rakshasa/libtorrent/pull/181. Also while there: - remove noop post-patch in place substitutions from libtorrent - remove unused patch extra-clang from rtorrent Hi Henry. Thanks for the patch. I'll also test it with this other patch, that fix build with OpenSSL 1.1.x. https://github.com/rakshasa/libtorrent/commit/7b29b6bd2547e72e22b9b7981df27092842d2a10 Regards. A commit references this bug: Author: dbaio Date: Thu Nov 8 22:52:55 UTC 2018 New revision: 484484 URL: https://svnweb.freebsd.org/changeset/ports/484484 Log: net-p2p/[libtorrent|rtorrent]: Fix incoming connections Remove unused patches. While here, fix build with OpenSSL 1.1.x PR: 231274 Submitted by: Henry David Bartholomew <PopularMoment@protonmail.com> MFH: 2018Q4 Changes: head/net-p2p/libtorrent/Makefile head/net-p2p/libtorrent/files/patch-openssl-1.1.x head/net-p2p/libtorrent/files/patch-socket-issue head/net-p2p/libtorrent/pkg-plist head/net-p2p/rtorrent/Makefile head/net-p2p/rtorrent/files/extra-clang Committed, thanks for your work! |