Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 13:18:54 +0000 (UTC)
From:      Stefan Esser <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477335 - in head/games/gogrepo: . files
Message-ID:  <201808161318.w7GDIsTs077094@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808161318.w7GDIsTs077094>