Bug 430751 - country flags in freeBSD CURRENT
Summary: country flags in freeBSD CURRENT
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-23 13:16 UTC by Lizbeth Mutterhunt, pH.D.
Modified: 2023-11-17 11:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lizbeth Mutterhunt, pH.D. 2020-12-23 13:16:35 UTC
just one link:

https://forum.kde.org/viewtopic.php?f=235&t=169254


I have to find support at the freeBSD development forums, I guess.

Lizbeth
Comment 1 Jack Hill 2023-11-10 14:11:56 UTC
Thanks for the report. The old forum is now dead so the updated link is https://forum.kde.org/viewtopic.php%3Ff=235&t=169254.html

In case that link dies again, here's the forum post copy and pasted:
> I'm using a freeBSD custom plasmashell 5.20.4 with freeBSD 13 with a NODEBUG kernel. When starting ktorrent I get this message something like "Can't find host geolite.maxmind.com" all the time.
> 
> So I installed "sudo pkg install geoipupdate"; got an account there and pasted the credentials into the GeoIP.conf file; but no success, same error message. There's no space in the settings for the API key or something like this.
> 
> How do I get work the flags in freeBSD and ktorrent?

But I think the issue is that MaxMind now requires an account to download their free database. An alternative we could use is DB-IP.com which does not require an account, and is licensed under CC BY 4.0: https://db-ip.com/db/download/ip-to-country-lite
Comment 2 Bug Janitor Service 2023-11-11 12:52:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/ktorrent/-/merge_requests/87
Comment 3 Jack Hill 2023-11-17 11:05:40 UTC
Git commit 8adff2dacad45790bdfc2f1d9fb7070310c0c1aa by Jack Hill.
Committed on 17/11/2023 at 11:58.
Pushed by jackh into branch 'master'.

infowidget: Port from GeoIP to its successor libmaxmind

and use DP-IP.com as the database provider

TODO:
- Need to check if CMake code is right (works but feels like the wrong way
to do it)
- Can't download with KIO for some reason

M  +7    -4    ktorrent/main.cpp
M  +3    -3    plugins/infowidget/CMakeLists.txt
M  +201  -24   plugins/infowidget/geoipmanager.cpp
M  +100  -12   plugins/infowidget/geoipmanager.h
M  +3    -5    plugins/infowidget/peerviewmodel.cpp

https://invent.kde.org/network/ktorrent/-/commit/8adff2dacad45790bdfc2f1d9fb7070310c0c1aa