From owner-svn-ports-head@freebsd.org Thu Aug 16 13:18:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E672C105B3AC; Thu, 16 Aug 2018 13:18:55 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96DCE81927; Thu, 16 Aug 2018 13:18:55 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F46A19DB3; Thu, 16 Aug 2018 13:18:55 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7GDItpu077097; Thu, 16 Aug 2018 13:18:55 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7GDIsTs077094; Thu, 16 Aug 2018 13:18:54 GMT (envelope-from se@FreeBSD.org) Message-Id: <201808161318.w7GDIsTs077094@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: Stefan Esser Date: Thu, 16 Aug 2018 13:18:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477335 - in head/games/gogrepo: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/games/gogrepo: . files X-SVN-Commit-Revision: 477335 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 13:18:56 -0000 Author: se Date: Thu Aug 16 13:18:54 2018 New Revision: 477335 URL: https://svnweb.freebsd.org/changeset/ports/477335 Log: Upgrade to latest official version and apply auth API patch not yet in the official version. Approved by: antoine (implicit) Modified: head/games/gogrepo/Makefile head/games/gogrepo/distinfo head/games/gogrepo/files/patch-gogrepo.py Modified: head/games/gogrepo/Makefile ============================================================================== --- head/games/gogrepo/Makefile Thu Aug 16 13:13:57 2018 (r477334) +++ head/games/gogrepo/Makefile Thu Aug 16 13:18:54 2018 (r477335) @@ -3,6 +3,7 @@ PORTNAME= gogrepo PORTVERSION= 0.3a +PORT_REVISION= 2 CATEGORIES= games net MAINTAINER= se@FreeBSD.org @@ -15,7 +16,7 @@ RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/html5lib/html5 USE_GITHUB= yes GH_ACCOUNT= eddie3 -GH_TAGNAME= c7f3dd0 +GH_TAGNAME= d64d45a USES= python shebangfix SHEBANG_FILES= gogrepo.py Modified: head/games/gogrepo/distinfo ============================================================================== --- head/games/gogrepo/distinfo Thu Aug 16 13:13:57 2018 (r477334) +++ head/games/gogrepo/distinfo Thu Aug 16 13:18:54 2018 (r477335) @@ -1,3 +1,3 @@ -TIMESTAMP = 1490357927 -SHA256 (eddie3-gogrepo-0.3a-c7f3dd0_GH0.tar.gz) = d6c35a08dc9d0d311dd93a767c197d17cb2f863d75c6d2febe3ce2d0ea6abf1e -SIZE (eddie3-gogrepo-0.3a-c7f3dd0_GH0.tar.gz) = 15045 +TIMESTAMP = 1534425381 +SHA256 (eddie3-gogrepo-0.3a-d64d45a_GH0.tar.gz) = 02adc531637172e5f40bfd82ef5ea28c8cf86a3d00bfcfea805268499f697d97 +SIZE (eddie3-gogrepo-0.3a-d64d45a_GH0.tar.gz) = 15041 Modified: head/games/gogrepo/files/patch-gogrepo.py ============================================================================== --- head/games/gogrepo/files/patch-gogrepo.py Thu Aug 16 13:13:57 2018 (r477334) +++ head/games/gogrepo/files/patch-gogrepo.py Thu Aug 16 13:18:54 2018 (r477335) @@ -1,4 +1,4 @@ ---- gogrepo.py.orig 2017-04-18 19:27:22 UTC +--- gogrepo.py.orig 2018-05-23 15:45:06 UTC +++ gogrepo.py @@ -4,7 +4,7 @@ from __future__ import print_function from __future__ import division @@ -9,7 +9,7 @@ __author__ = 'eddie3' __version__ = '0.3a' __url__ = 'https://github.com/eddie3/gogrepo' -@@ -110,7 +110,7 @@ HTTP_GAME_DOWNLOADER_THREADS = 4 +@@ -113,7 +113,7 @@ HTTP_GAME_DOWNLOADER_THREADS = 4 HTTP_PERM_ERRORCODES = (404, 403, 503) # Save manifest data for these os and lang combinations @@ -18,7 +18,16 @@ DEFAULT_LANG_LIST = ['en'] # These file types don't have md5 data from GOG -@@ -575,7 +575,7 @@ def cmd_login(user, passwd): +@@ -699,7 +699,7 @@ def cmd_login(user, passwd): + etree = html5lib.parse(page, namespaceHTMLElements=False) + for elm in etree.findall('.//script'): + if elm.text is not None and 'GalaxyAccounts' in elm.text: +- login_data['auth_url'] = elm.text.split("'")[1] ++ login_data['auth_url'] = elm.text.split("'")[3] + break + + # fetch the login token +@@ -731,7 +731,7 @@ def cmd_login(user, passwd): # perform two-step if needed if login_data['two_step_url'] is not None: