summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz>2017-01-15 09:29:08 +0000
committerwiz <wiz>2017-01-15 09:29:08 +0000
commitaaf8cefac41657e7c395af3315c144a598e39af3 (patch)
treec7df70367e2593aba59c091c8eff2d36426c2f2a /games
parentaf647396174b2335e9360c5330be2199a7aeb229 (diff)
downloadpkgsrc-aaf8cefac41657e7c395af3315c144a598e39af3.tar.gz
Updated lgogdownloader to 3.1.
LGOGDownloader 3.1 - Make libcurl usage thread-safe (Patch by: Philipp Kerling) * libcurl internally uses signals by default, which will crash the application when using multiple threads. * Setting CURLOPT_NOSIGNAL on all handles avoids the crashes and is recommended in the libcurl documentation. - Made getTerminalWidth detect if it is running in a terminal before trying to get the width (Patch by: Steffan Byrne) * Before this change, if you tried to pipe the standard out to a file or run this as a process, it would fail. - Moved global curl init/cleanup and ssl thread setup out of the Downloader class * Allows using libcurl calls before calling Downloader::init() which can be useful in future - Some code restructuring * Moved some code from Downloader::init() to constructor * Added function API::isLoggedIn() * Added function Downloader::isLoggedIn() * Downloader::init() no longer calls Downloader::getGameList() it is now called from other functions when needed - Fixed some login issues - Limit download thread count to number of items in download queue - Rewrote and removed lots of duplicate code from Downloader::checkStatus() * --status now tries to get remote file hash for patches and language packs * GOG doesn't provide xml data for extras so we still have to rely on local xml data for those - Made --list show number of updates for games that have been updated * Allows user to check for updated games more easily - Replaced all printf and sprintf calls using new Util::formattedString() function * Util::formattedString creates formatted std::string using std::snprintf * Fixes possible buffer overflow in Downloader::printProgress() caused by sprintf call
Diffstat (limited to 'games')
-rw-r--r--games/lgogdownloader/Makefile5
-rw-r--r--games/lgogdownloader/distinfo10
2 files changed, 7 insertions, 8 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile
index 59761e9a416..730149dd550 100644
--- a/games/lgogdownloader/Makefile
+++ b/games/lgogdownloader/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2017/01/01 16:06:16 adam Exp $
+# $NetBSD: Makefile,v 1.26 2017/01/15 09:29:08 wiz Exp $
-DISTNAME= lgogdownloader-3.0
-PKGREVISION= 1
+DISTNAME= lgogdownloader-3.1
CATEGORIES= games
MASTER_SITES= http://sites.google.com/site/gogdownloader/
diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo
index 24cf027dfa7..fd255c0c22b 100644
--- a/games/lgogdownloader/distinfo
+++ b/games/lgogdownloader/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2016/11/20 09:41:20 wiz Exp $
+$NetBSD: distinfo,v 1.22 2017/01/15 09:29:08 wiz Exp $
-SHA1 (lgogdownloader-3.0.tar.gz) = b10a011b1eee2a66f4b041efb964f626c863b85c
-RMD160 (lgogdownloader-3.0.tar.gz) = 8a8fb9eaca1f13fd344a9348710b492ca44e8ecd
-SHA512 (lgogdownloader-3.0.tar.gz) = e99960c7bec55c37b230890911585eb68f133988a76bc00715fc715781b2e41c28879dc92563f3a6564a699dd5abe5c350f10b2d7e1d213e744ef0f768abe434
-Size (lgogdownloader-3.0.tar.gz) = 60859 bytes
+SHA1 (lgogdownloader-3.1.tar.gz) = 2847b4bbda28301b7a640be8b73e1cfe4d32c36d
+RMD160 (lgogdownloader-3.1.tar.gz) = fab195c6db9d662b3e44e7905b6763d8c52ede75
+SHA512 (lgogdownloader-3.1.tar.gz) = e15f6d359298bee0922439703ca256ad9f5f07052a12b241fe03031663dce44bd61427dbe9739115d529736b261a51068c5b2c7669fe4a4b4c0553c2ed77a793
+Size (lgogdownloader-3.1.tar.gz) = 60834 bytes