diff --git a/net-im/purple-hangouts/Makefile b/net-im/purple-hangouts/Makefile index 30668fc1046e..1b73603e8936 100644 --- a/net-im/purple-hangouts/Makefile +++ b/net-im/purple-hangouts/Makefile @@ -1,40 +1,30 @@ -# Created by: José García Juanino - PORTNAME= purple-hangouts -PORTVERSION= 20190607 -PORTREVISION= 1 +PORTVERSION= 20210630 CATEGORIES= net-im -MASTER_SITES= https://bitbucket.org/EionRobb/${PORTNAME}/get/ -# Commit tag. Must be changed according with PORTVERSION. -DISTNAME= 3f7d89bf9ce2 MAINTAINER= jjuanino@gmail.com COMMENT= Hangouts plugin for libpurple LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/gpl3.txt LIB_DEPENDS= libpurple.so:net-im/libpurple \ libjson-glib-1.0.so:devel/json-glib \ libprotobuf-c.so:devel/protobuf-c -USES= gmake gnome pkgconfig zip +USES= gmake gnome pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= EionRobb +GH_TAGNAME= 55b9f01 # Change accordingly with PORTVERSION USE_GNOME= glib20 -PATCH_STRIP= -p1 --ignore-whitespace - -WRKSRC= ${WRKDIR}/EionRobb-${PORTNAME}-${DISTNAME} - -OPTIONS_DEFINE= NLS - -NLS_USES= gettext USE_LDCONFIG= yes PLIST_FILES= lib/purple-2/libhangouts.so \ share/pixmaps/pidgin/protocols/16/hangouts.png \ share/pixmaps/pidgin/protocols/22/hangouts.png \ share/pixmaps/pidgin/protocols/48/hangouts.png post-install: ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/purple-2/libhangouts.so .include diff --git a/net-im/purple-hangouts/distinfo b/net-im/purple-hangouts/distinfo index 2f41998f2201..b86cd1eaec88 100644 --- a/net-im/purple-hangouts/distinfo +++ b/net-im/purple-hangouts/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1560716336 -SHA256 (3f7d89bf9ce2.zip) = e5265fa947071ef2d6068e7493f6260b8078cc683aa6775d767e04ed3baa536b -SIZE (3f7d89bf9ce2.zip) = 172287 +TIMESTAMP = 1636228644 +SHA256 (EionRobb-purple-hangouts-20210630-55b9f01_GH0.tar.gz) = a6dfd000f5cdc28b9cf423b91230facef172e44b2554bccd0a1e21df49b6b0e6 +SIZE (EionRobb-purple-hangouts-20210630-55b9f01_GH0.tar.gz) = 153325 diff --git a/net-im/purple-hangouts/files/patch-429 b/net-im/purple-hangouts/files/patch-429 deleted file mode 100644 index fa9a62cfc05b..000000000000 --- a/net-im/purple-hangouts/files/patch-429 +++ /dev/null @@ -1,26 +0,0 @@ -From 55b9f01d040b240b794700f44d9c21a6cb51251e Mon Sep 17 00:00:00 2001 -From: Eion Robb -Date: Wed, 30 Jun 2021 09:53:47 +1200 -Subject: [PATCH] Fix for 429 errors - -Fixes issue #222 ---- - hangouts_auth.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/hangouts_auth.c b/hangouts_auth.c -index 025f4f9..d988c3a 100644 ---- a/hangouts_auth.c -+++ b/hangouts_auth.c -@@ -258,6 +258,11 @@ hangouts_auth_get_session_cookies_got_cb(PurpleHttpConnection *http_conn, Purple - return; - } - -+ purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PSID", NULL); -+ purple_http_cookie_jar_set(ha->cookie_jar, "__Host-3PLSID", NULL); -+ purple_http_cookie_jar_set(ha->cookie_jar, "__Secure-3PAPISID", NULL); -+ purple_http_cookie_jar_set(ha->cookie_jar, "__Host-GAPS", NULL); -+ - //Restore the last_event_timestamp before it gets overridden by new events - last_event_timestamp = purple_account_get_int(ha->account, "last_event_timestamp_high", 0); - if (last_event_timestamp != 0) { diff --git a/net-im/purple-hangouts/pkg-descr b/net-im/purple-hangouts/pkg-descr index 74de60d5c0db..c7970cb7e633 100644 --- a/net-im/purple-hangouts/pkg-descr +++ b/net-im/purple-hangouts/pkg-descr @@ -1,8 +1,8 @@ Hangouts Plugin for libpurple is a replacement purple for hangouts in Pidgin/libpurple to support the proprietary protocol that Google uses for its Hangouts service. So far it supports all the fun things that aren't part of the XMPP interface, such as Group Chats, synchronised history between devices and SMS support via Google Voice. -WWW: https://bitbucket.org/EionRobb/purple-hangouts +WWW: https://github.com/EionRobb/purple-hangouts