From alex@foxybanana.com  Tue Jun  6 02:51:27 2006
Return-Path: <alex@foxybanana.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 83F3F16D7CB;
	Tue,  6 Jun 2006 01:55:02 +0000 (UTC)
	(envelope-from alex@foxybanana.com)
Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.192.82])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0A7D343D46;
	Tue,  6 Jun 2006 01:55:01 +0000 (GMT)
	(envelope-from alex@foxybanana.com)
Received: from laptop.mine.box (unknown[68.36.46.193])
          by comcast.net (rwcrmhc12) with ESMTP
          id <20060606015501m1200dfrere>; Tue, 6 Jun 2006 01:55:01 +0000
Received: from Laptop.mine.box (localhost [127.0.0.1])
	by Laptop.mine.box (8.13.6/8.13.6) with ESMTP id k561smme044133;
	Mon, 5 Jun 2006 21:54:48 -0400 (EDT)
	(envelope-from alex@Laptop.mine.box)
Received: (from alex@localhost)
	by Laptop.mine.box (8.13.6/8.13.6/Submit) id k561slXF044132;
	Mon, 5 Jun 2006 21:54:47 -0400 (EDT)
	(envelope-from alex)
Message-Id: <200606060154.k561slXF044132@Laptop.mine.box>
Date: Mon, 5 Jun 2006 21:54:47 -0400 (EDT)
From: Alexander Botero-Lowry <alex@foxybanana.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: infofarmer@freebsd.org
Subject: [PATCH] mail/linux-thunderbird: Disable auto-update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98572
>Category:       ports
>Synopsis:       [PATCH] mail/linux-thunderbird: Disable auto-update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 06 03:00:35 GMT 2006
>Closed-Date:    Mon Jan 08 11:27:46 GMT 2007
>Last-Modified:  Mon Jan 08 11:27:46 GMT 2007
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May  6 22:21:39 PDT
>Description:
- This patch disables Thunderbird's auto-updating which is a problem
  with the linux versions of Mozilla products.

Added file(s):
- files/patch-defaults_pref_all-thunderbird.js

Port maintainer (infofarmer@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- linux-thunderbird-1.5.0.4.patch begins here ---
Index: files/patch-defaults_pref_all-thunderbird.js
===================================================================
RCS file: files/patch-defaults_pref_all-thunderbird.js
diff -N files/patch-defaults_pref_all-thunderbird.js
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-defaults_pref_all-thunderbird.js	6 Jun 2006 01:54:02 -0000
@@ -0,0 +1,46 @@
+--- defaults/pref/all-thunderbird.js.orig	Mon Jun  5 21:49:44 2006
++++ defaults/pref/all-thunderbird.js	Mon Jun  5 21:51:50 2006
+@@ -44,19 +44,19 @@
+ 
+ //@line 47 "/builds/tinderbox/Tb-Mozilla1.8.0-Release/Linux_2.4.18-14_Depend/mozilla/mail/app/profile/all-thunderbird.js"
+ 
+-pref("update.app.enabled", true); // Whether or not app updates are enabled 
++pref("update.app.enabled", false); // Whether or not app updates are enabled 
+ pref("update.app.url", "chrome://mozapps/locale/update/update.properties");	
+-pref("update.extensions.enabled", true);
++pref("update.extensions.enabled", false);
+ 
+ // App-specific update preferences
+ 
+ // Whether or not app updates are enabled
+-pref("app.update.enabled", true);               
++pref("app.update.enabled", false);               
+ 
+ // This preference turns on app.update.mode and allows automatic download and
+ // install to take place. We use a separate boolean toggle for this to make     
+ // the UI easier to construct.
+-pref("app.update.auto", true);
++pref("app.update.auto", false);
+ 
+ // Defines how the Application Update Service notifies the user about updates:
+ //
+@@ -118,8 +118,8 @@
+ //  extensions.{GUID}.update.interval
+ //  .. etc ..
+ //
+-pref("extensions.update.enabled", true);
+-pref("extensions.update.autoUpdateEnabled", true);
++pref("extensions.update.enabled", false);
++pref("extensions.update.autoUpdateEnabled", false);
+ pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
+ pref("extensions.update.autoUpdate", false);    // Automatically download and install 
+                                                 // updates to themes and extensions. 
+@@ -391,7 +391,7 @@
+ pref("mail.signature_file",             "");
+ pref("mail.directory",                  "");
+ pref("news.directory",                  "");
+-pref("autoupdate.enabled",              true);
++pref("autoupdate.enabled",              false);
+ pref("browser.editor.disabled", false);
+ pref("spellchecker.dictionary", "");
+ // profile.force.migration can be used to bypass the migration wizard, forcing migration from a particular
--- linux-thunderbird-1.5.0.4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->infofarmer 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 6 04:16:14 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98572 
State-Changed-From-To: open->feedback 
State-Changed-By: sat 
State-Changed-When: Sun Jun 25 16:31:40 UTC 2006 
State-Changed-Why:  
Note that this problem is only there for users running 
thunderbird as root. In general we discourage it strongly 
as it can probably wreak havoc in the system, not to 
mention the security implications. 

The problem is many users don't use xpi-ports, many use 
both xpi-ports and manually-installed extensions. And I'm 
afraid we can't just disable the update functionality. 
OTOH, I would like to disable the autoupdate for 
thunderbird itself, if Alexander cares to provide a patch. 


Responsible-Changed-From-To: infofarmer->sat 
Responsible-Changed-By: sat 
Responsible-Changed-When: Sun Jun 25 16:31:40 UTC 2006 
Responsible-Changed-Why:  
Over to my real login. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98572 
State-Changed-From-To: feedback->closed 
State-Changed-By: sat 
State-Changed-When: Mon Jan 8 11:27:37 UTC 2007 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98572 
>Unformatted:
