irc/bitlbee-facebook: update to 1.1.1, drop patch released upstream

Release notes: https://github.com/bitlbee/bitlbee-facebook/releases/tag/v1.1.1
This commit is contained in:
Pietro Cerutti 2017-05-04 12:33:03 +00:00
parent 4fda0bc91c
commit c9bd228a74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440101
3 changed files with 4 additions and 52 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bitlbee-facebook
PORTVERSION= 1.1.0
PORTVERSION= 1.1.1
DISTVERSIONPREFIX=v
PORTEPOCH= 1
CATEGORIES= irc

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1490859018
SHA256 (bitlbee-bitlbee-facebook-v1.1.0_GH0.tar.gz) = ac6d72b0f5b10971ff811fed5cdb9e4fdded43174fe8c16b1bfe7bbfa6c11088
SIZE (bitlbee-bitlbee-facebook-v1.1.0_GH0.tar.gz) = 66317
TIMESTAMP = 1493900905
SHA256 (bitlbee-bitlbee-facebook-v1.1.1_GH0.tar.gz) = 100cd5977fdb2495cb7d0325d12cc3825ccba0c7a2adce9146c9228f15c4e699
SIZE (bitlbee-bitlbee-facebook-v1.1.1_GH0.tar.gz) = 66460

View file

@ -1,48 +0,0 @@
--- 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
/**