Date: Thu, 30 Mar 2017 07:41:50 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437274 - in head/irc/bitlbee-facebook: . files Message-ID: <201703300741.v2U7fotp043219@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Thu Mar 30 07:41:50 2017 New Revision: 437274 URL: https://svnweb.freebsd.org/changeset/ports/437274 Log: irc/bitlbee-facebook: update to 1.1.0 + patch for issue #139 Release notes: https://github.com/bitlbee/bitlbee-facebook/releases/tag/v1.1.0 Issue #139: https://github.com/bitlbee/bitlbee-facebook/issues/139 Added: head/irc/bitlbee-facebook/files/ head/irc/bitlbee-facebook/files/patch-issue-139 (contents, props changed) Modified: head/irc/bitlbee-facebook/Makefile head/irc/bitlbee-facebook/distinfo Modified: head/irc/bitlbee-facebook/Makefile ============================================================================== --- head/irc/bitlbee-facebook/Makefile Thu Mar 30 06:24:19 2017 (r437273) +++ head/irc/bitlbee-facebook/Makefile Thu Mar 30 07:41:50 2017 (r437274) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= bitlbee-facebook -PORTVERSION= 1.0.0 +PORTVERSION= 1.1.0 DISTVERSIONPREFIX=v -PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= irc @@ -22,8 +21,7 @@ USE_GNOME= glib20 GNU_CONFIGURE= yes USE_GITHUB= yes -GH_ACCOUNT= gahr -GH_TAGNAME= 20170329 +GH_ACCOUNT= bitlbee MAKE_JOBS_UNSAFE= yes Modified: head/irc/bitlbee-facebook/distinfo ============================================================================== --- head/irc/bitlbee-facebook/distinfo Thu Mar 30 06:24:19 2017 (r437273) +++ head/irc/bitlbee-facebook/distinfo Thu Mar 30 07:41:50 2017 (r437274) @@ -1,3 +1,3 @@ -TIMESTAMP = 1490796410 -SHA256 (gahr-bitlbee-facebook-v1.0.0-20170329_GH0.tar.gz) = 0e7644f789b24570ce20cb96bd3fc21afee31c063bfc60d0586e5b8fc7ce37f4 -SIZE (gahr-bitlbee-facebook-v1.0.0-20170329_GH0.tar.gz) = 65531 +TIMESTAMP = 1490859018 +SHA256 (bitlbee-bitlbee-facebook-v1.1.0_GH0.tar.gz) = ac6d72b0f5b10971ff811fed5cdb9e4fdded43174fe8c16b1bfe7bbfa6c11088 +SIZE (bitlbee-bitlbee-facebook-v1.1.0_GH0.tar.gz) = 66317 Added: head/irc/bitlbee-facebook/files/patch-issue-139 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/bitlbee-facebook/files/patch-issue-139 Thu Mar 30 07:41:50 2017 (r437274) @@ -0,0 +1,48 @@ +--- facebook/facebook-api.h.orig ++++ facebook/facebook-api.h +@@ -89,26 +89,36 @@ + #define FB_API_SECRET "374e60f8b9bb6b8cbb30f78030438895" + + /** ++ * FB_ORCA_AGENT ++ * ++ * The part of the user agent that looks like the official client, since the ++ * server started checking this. ++ * ++ * We announce ourselves as compatible with Orca-Android 38.0 since that's the ++ * closest version to the last major protocol update. Some parts use older ++ * features, some parts use newer ones. ++ * ++ * Fun fact: this version sends old-style MQIsdp CONNECT messages for the first ++ * connection, with JSON payloads instead of compressed thrift. ++ * ++ */ ++ ++#define FB_ORCA_AGENT "[FBAN/Orca-Android;FBAV/38.0.0.22.155;FBBV/14477681]" ++ ++/** + * FB_API_AGENT: + * + * The HTTP User-Agent header. + */ +-#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION ++#define FB_API_AGENT "Facebook plugin / BitlBee / " PACKAGE_VERSION " " FB_ORCA_AGENT + + /** + * FB_API_MQTT_AGENT + * + * The client information string sent in the MQTT CONNECT message +- * +- * We announce ourselves as compatible with Orca-Android 38.0 since that's the +- * closest version to the last major protocol update. Some parts use older +- * features, some parts use newer ones. +- * +- * Fun fact: this version sends old-style MQIsdp CONNECT messages for the first +- * connection, with JSON payloads instead of compressed thrift. + */ + +-#define FB_API_MQTT_AGENT FB_API_AGENT " [FBAN/Orca-Android;FBAV/38.0.0.22.155;FBBV/14477681]" ++#define FB_API_MQTT_AGENT FB_API_AGENT + + + /**
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703300741.v2U7fotp043219>