Index: head/games/gogrepo/Makefile =================================================================== --- head/games/gogrepo/Makefile (revision 477334) +++ head/games/gogrepo/Makefile (revision 477335) @@ -1,38 +1,39 @@ # Created by: Stefan Esser # $FreeBSD$ PORTNAME= gogrepo PORTVERSION= 0.3a +PORT_REVISION= 2 CATEGORIES= games net MAINTAINER= se@FreeBSD.org COMMENT= Batch downloader for (linux,mac,windows) games distributed by GOG.com LICENSE= GPLv3+ RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/html5lib/html5parser.py:www/py-html5lib \ html2text:textproc/py-html2text USE_GITHUB= yes GH_ACCOUNT= eddie3 -GH_TAGNAME= c7f3dd0 +GH_TAGNAME= d64d45a USES= python shebangfix SHEBANG_FILES= gogrepo.py OPTIONS_DEFINE= DOCS NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/gogrepo PORTDOCS= README.md do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gogrepo.py ${STAGEDIR}${PREFIX}/bin/gogrepo do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/gogrepo/distinfo =================================================================== --- head/games/gogrepo/distinfo (revision 477334) +++ head/games/gogrepo/distinfo (revision 477335) @@ -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 Index: head/games/gogrepo/files/patch-gogrepo.py =================================================================== --- head/games/gogrepo/files/patch-gogrepo.py (revision 477334) +++ head/games/gogrepo/files/patch-gogrepo.py (revision 477335) @@ -1,29 +1,38 @@ ---- 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 from __future__ import unicode_literals -__appname__ = 'gogrepo.py' +__appname__ = 'gogrepo' __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 -DEFAULT_OS_LIST = ['windows'] +DEFAULT_OS_LIST = ['linux'] 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: - login_data['two_step_security_code'] = input("enter two-step security code: ") + login_data['two_step_security_code'] = input("enter two-step security code (sent by mail): ") # Send the security code back to GOG with request(login_data['two_step_url'], delay=0,