[arch-commits] Commit in bitlbee/trunk (PKGBUILD msn.patch)

Gaetan Bisson bisson at archlinux.org
Thu Nov 10 08:33:07 UTC 2011


    Date: Thursday, November 10, 2011 @ 03:33:06
  Author: bisson
Revision: 142454

fix FS#26796

Added:
  bitlbee/trunk/msn.patch
Modified:
  bitlbee/trunk/PKGBUILD

-----------+
 PKGBUILD  |    6 +++++-
 msn.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-10 07:33:32 UTC (rev 142453)
+++ PKGBUILD	2011-11-10 08:33:06 UTC (rev 142454)
@@ -7,7 +7,7 @@
 
 pkgname=bitlbee
 pkgver=3.0.3
-pkgrel=4
+pkgrel=5
 pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
 arch=('i686' 'x86_64')
 url='http://www.bitlbee.org/'
@@ -15,9 +15,11 @@
 depends=('openssl' 'glib2' 'libotr')
 optdepends=('xinetd: to run bitlbee through xinetd')
 source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
+        'msn.patch'
 	'xinetd'
 	'rc.d')
 sha1sums=('4140eb7aaa2c6a39fa059d19f8fbaec0d7a1ebff'
+          'e5880344ff96e6f061d850e7207f5f0bb31fb82b'
           '5e0af27ba9cc4fe455e3381c75fc49a9326e2f17'
           'be09d29af3853825778331df451f16ca9e452d03')
 
@@ -26,6 +28,8 @@
 
 build() { 
 	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -p1 -i ../msn.patch
 	
 	./configure --prefix=/usr \
 		--etcdir=/etc/bitlbee \

Added: msn.patch
===================================================================
--- msn.patch	                        (rev 0)
+++ msn.patch	2011-11-10 08:33:06 UTC (rev 142454)
@@ -0,0 +1,29 @@
+--- bitlbee-3.0.3.old/protocols/msn/soap.h      2011-06-12 08:53:51.000000000 -0300
++++ bitlbee-3.0.3/protocols/msn/soap.h  2011-11-09 21:35:56.000000000 -0200
+@@ -115,7 +115,7 @@ int msn_soapq_flush( struct im_connectio
+                "<wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType>" \
+                "<wsp:AppliesTo>" \
+                    "<wsa:EndpointReference>" \
+-                       "<wsa:Address>contacts.msn.com</wsa:Address>" \
++                       "<wsa:Address>local-bay.contacts.msn.com</wsa:Address>" \
+                    "</wsa:EndpointReference>" \
+                "</wsp:AppliesTo>" \
+                "<wsse:PolicyReference xmlns=\"http://schemas.xmlsoap.org/ws/2003/06/secext\" URI=\"MBI\"></wsse:PolicyReference>" \
+@@ -198,7 +198,7 @@ int msn_soap_oim_send_queue( struct im_c
+   "</soap:Body>" \
+ "</soap:Envelope>"
+ 
+-#define SOAP_MEMLIST_URL "http://contacts.msn.com/abservice/SharingService.asmx"
++#define SOAP_MEMLIST_URL "http://local-bay.contacts.msn.com/abservice/SharingService.asmx"
+ #define SOAP_MEMLIST_ACTION "http://www.msn.com/webservices/AddressBook/FindMembership"
+ 
+ #define SOAP_MEMLIST_PAYLOAD \
+@@ -233,7 +233,7 @@ int msn_soap_memlist_request( struct im_
+ int msn_soap_memlist_edit( struct im_connection *ic, const char *handle, gboolean add, int list );
+ 
+ 
+-#define SOAP_ADDRESSBOOK_URL "http://contacts.msn.com/abservice/abservice.asmx"
++#define SOAP_ADDRESSBOOK_URL "http://local-bay.contacts.msn.com/abservice/abservice.asmx"
+ #define SOAP_ADDRESSBOOK_ACTION "http://www.msn.com/webservices/AddressBook/ABFindAll"
+ 
+ #define SOAP_ADDRESSBOOK_PAYLOAD \




More information about the arch-commits mailing list