summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-01-15 09:29:08 +0000
committerwiz <wiz@pkgsrc.org>2017-01-15 09:29:08 +0000
commit3cd256941d870148ef9255d21a08e399b1c7f6e5 (patch)
treea7fc219ec97552e2b7e88fe8ef33763d38c99a93 /games
parentb4cf41645ca56e472d0766e4b055f5cd0dbb4c5c (diff)
downloadpkgsrc-3cd256941d870148ef9255d21a08e399b1c7f6e5.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