Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221833 - include updater in xulrunner and xulrunner-bin
Summary: include updater in xulrunner and xulrunner-bin
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-12 14:20 UTC by William V
Modified: 2008-05-14 17:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William V 2008-05-12 14:20:56 UTC
The updater application for xulrunner and xulrunner-bin is missing, please include as updater is responsible for self updating xulrunner based applications

Reproducible: Always
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-05-12 15:58:48 UTC
Which applications for example?
Comment 2 William V 2008-05-12 17:44:22 UTC
I am developing a business application and use the updater for releasing updates.

ChatZilla uses the update system provided by XULRunner when run with it.

Here is some details: http://chatzilla.rdmsoft.com/xulrunner/update/

Thanks
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-05-14 13:28:46 UTC
Hrm...okay, so with the chatzilla example...it shouldn't show the updater? Because if i run /update it shows the updater, it says it doesn't find new versions, but the updater shows up. Or the thing is that it won't find new updates?
Comment 4 William V 2008-05-14 16:43:34 UTC
You misunderstand what I mean by "updater". 

updater is a utility program contained within XULRunner / Firefox.
The updater program is responsible for unpacking and installing the update file downloaded from the update server. Download the mozilla binary of xulrunner for linux to see it.

All other components for self updates (for the application, not the XULRunner library) are included.

In order for a successful "patch" to occur, a user needs write access to /usr/lib/xulrunner since there a few control files that need to be written:
/usr/lib/xulrunner/updates/ Read and Write
/usr/lib/xulrunner/active-update.xml Read and Write
/usr/lib/xulrunner/updates.xml Read and Write

There could be others.

For this reason I don't expect you will allow the updater to be installed by default, but maybe you could have a use flag "updater" for security reasons.

If not I will just work out something else. Let me know
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-05-14 17:36:35 UTC
Uh, no, no way i can do that. Plus it will get overwritten everytime xulrunner is reemerged :/