From fb35d2c2a3e7ce9bd5c5e620ff302dd3922b16bd Mon Sep 17 00:00:00 2001
From: jmmv <jmmv>
Date: Thu, 23 Jan 2003 17:12:36 +0000
Subject: This new patch fixes a privacy problem as posted in bugtraq and
 Gabber's homepage. This has been fixed in Gabber's CVS too.

Quoting from there: A privacy violation in Gabber has been posted to
Bugtraq. The update notification feature of Gabber (and other Jabber
clients) used to work by notifying update.jabber.org that you have
logged in with Gabber version x.x.x. This feature has not been
configurable in Gabber.

Patch provided by Greg Troxel in private mail.

Bump PKGREVISION to 4.
---
 chat/gabber/Makefile         |  4 ++--
 chat/gabber/distinfo         |  3 ++-
 chat/gabber/patches/patch-ad | 18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)
 create mode 100644 chat/gabber/patches/patch-ad

(limited to 'chat/gabber')

diff --git a/chat/gabber/Makefile b/chat/gabber/Makefile
index e5497e1d49d..a70ee2212ca 100644
--- a/chat/gabber/Makefile
+++ b/chat/gabber/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2003/01/03 15:26:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.12 2003/01/23 17:12:36 jmmv Exp $
 
 DISTNAME=	gabber-0.8.7
-PKGREVISION=	3
+PKGREVISION=	4
 CATEGORIES=	chat
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gabber/}
 
diff --git a/chat/gabber/distinfo b/chat/gabber/distinfo
index 6c68971ac1f..bc77a0d1753 100644
--- a/chat/gabber/distinfo
+++ b/chat/gabber/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/07/10 14:16:06 agc Exp $
+$NetBSD: distinfo,v 1.2 2003/01/23 17:12:36 jmmv Exp $
 
 SHA1 (gabber-0.8.7.tar.gz) = f12526a158bb132451fc210c28a41247c3ec7dc9
 Size (gabber-0.8.7.tar.gz) = 2141334 bytes
 SHA1 (patch-aa) = 89bdd406d61d45016ca0a84364eff25e70a707b6
 SHA1 (patch-ab) = 7e45af755011b298295375a8466358cdf2d90dd6
 SHA1 (patch-ac) = bdc8c9539ccc4f44ecd0d5f303c761c9923cb998
+SHA1 (patch-ad) = c606745aca461af94f69eab586820cf2f813bc95
diff --git a/chat/gabber/patches/patch-ad b/chat/gabber/patches/patch-ad
new file mode 100644
index 00000000000..564e44dd770
--- /dev/null
+++ b/chat/gabber/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2003/01/23 17:12:37 jmmv Exp $
+
+--- src/GabberWin.cc.orig	Thu Jan 23 18:07:43 2003
++++ src/GabberWin.cc	Thu Jan 23 18:08:15 2003
+@@ -415,11 +415,13 @@
+      if (WelcomeDruid::isRunning())
+ 	 	WelcomeDruid::Connected();
+ 
++#if WANT_PRIVACY_LEAK
+      // Send out autoupdate request
+      string autoupdateJID = "956878967";             // Gabber's clientID on jabbercentral
+      autoupdateJID += "@update.jabber.org/";         // the only place to grab updates right now
+      autoupdateJID += ConfigManager::get_VERSION();  // Gabber's version
+      G_App->getSession() << Presence(autoupdateJID, Presence::ptAvailable);
++#endif
+ 
+      // Grab the Show, Status, and Priority for presence
+      _curShow = indexShow(G_App->getCfg().get_show());
-- 
cgit v1.2.3