From 5cb2f7c9574c7380f4ef4280b836ea9c231856d3 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 11 May 2019 15:17:12 +0200 Subject: ktorrent: embed a local copy of the GeoIP database The online version of GeoIP has been discontinued in favor of a new API. The ktorrent code has not been updated for the new API and therefore the program spits out a download error for geoip.dat everytime it starts. By embedding a local copy of the database, a download is not attempted and the error is gone. --- kde/post-install/ktorrent.post-install | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 kde/post-install/ktorrent.post-install (limited to 'kde/post-install/ktorrent.post-install') diff --git a/kde/post-install/ktorrent.post-install b/kde/post-install/ktorrent.post-install new file mode 100644 index 0000000..7e0c130 --- /dev/null +++ b/kde/post-install/ktorrent.post-install @@ -0,0 +1,4 @@ +# Install a private copy of the GeoIP database, now that the online version +# has been discontinued: +mkdir -p $PKG/usr/share/apps/ktorrent/GeoIP +zcat $CWD/patch/ktorrent/geoip.dat.gz > $PKG/usr/share/apps/ktorrent/GeoIP/geoip.dat -- cgit v1.2.3