-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi..

hwere we go:

r...@sogo plugins]# ls -R
.:
Darwin_x86-gcc3    Linux_x86-gcc3     sogo-connector-3.102.xpi
sogo-connector-3.104.xpi   sogo-integrator-3.103.xpi
sogo-integrator-3.104.xpi  WINNT_x86-msvc
Linux_x86_64-gcc3  sogo-connector-3.103.xpi  sogo-integrator-3.102.xpi
sogo-integrator-3.104-sogo-demo.xpi  updates.php-ALT

./Darwin_x86-gcc3:
lightning-1.0b2.102i.xpi  lightning-1.0b2.104i.xpi

./Linux_x86_64-gcc3:
lightning-1.0b2.102i.xpi  lightning-1.0b2.103i.xpi  lightning-1.0b2.104i.xpi

./Linux_x86-gcc3:
lightning-1.0b2.102i.xpi  lightning-1.0b2.103i.xpi  lightning-1.0b2.104i.xpi

./WINNT_x86-msvc:
lightning-1.0b2.102i.xpi  lightning-1.0b2.103i.xpi  lightning-1.0b2.104i.xpi


the updates.php from src only changed to 104
===
<?php
/* updates.php - this file is part of SOGo
 *
 *  Copyright (C) 2006-2010 Inverse inc.
 *
 * Author: Wolfgang Sourdeau <wsourd...@inverse.ca>
 *
 * This file is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This file is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

/* This script handles the automatic propagation of extensions
pertaining to a
   SOGo site. It requires PHP 4.1.0 or later. */
$plugins
= array(
        "sogo-connec...@inverse.ca"
         => array( "application" => "thunderbird",
                   "version" => "3.104",
                   "filename" => "sogo-connector-3.104.xpi" ),
        "sogo-integra...@inverse.ca"
         => array( "application" => "thunderbird",
                   "version" => "3.104",
                   "filename" => "sogo-integrator-3.104.xpi" ),
        "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
        => array( "application" => "thunderbird",
                   "version" => "1.0b2.104i",
                   "filename" => "lightning-1.0b2.104i.xpi" )
);

$applications
= array( "thunderbird" =>
"<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
                <em:minVersion>3.1.0</em:minVersion>
                <em:maxVersion>3.1.*</em:maxVersion>" );

$pluginname = $_GET["plugin"];
$plugin =& $plugins[$pluginname];
$application =& $applications[$plugin["application"]];

if ( $plugin ) {
  $platform = $_GET["platform"];
  if ( $platform
       && file_exists( $platform . "/" . $plugin["filename"] ) ) {
    $plugin["filename"] = $platform . "/" . $plugin["filename"];
  }
  elseif ( !file_exists( $plugin["filename"] ) ) {
    $plugin = false;
  }
}

if ( $plugin ) {
  header("Content-type: text/xml; charset=utf-8");
  echo ('<?xml version="1.0"?>' . "\n");
?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
  xmlns:em="http://www.mozilla.org/2004/em-rdf#";>
  <Description about="urn:mozilla:extension:<?php echo $pluginname ?>">
    <em:updates>
      <Seq>
        <li>
          <Description>
            <em:version><?php echo $plugin["version"] ?></em:version>
            <em:targetApplication>
              <Description><?php echo
$applications[$plugin["application"]] ?>
                <em:updateLink>http://inverse.ca/downloads/extensions/<?php echo
$plugin["filename"] ?></em:updateLink>
              </Description>
            </em:targetApplication>
          </Description>
        </li>
      </Seq>
    </em:updates>
  </Description>
</RDF>
<?php
} else {
  header("Content-type: text/plain; charset=utf-8", true, 404);
  echo( 'Plugin not found' );
}
?>
===

Am 19.11.2010 14:21, schrieb Alessio Fattorini:
> Il 19/11/2010 13:09, Marco Smiatek ha scritto:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> hey..
>>
>> ive just upgraded to 1.3.4 with no problems, but pushing the new addons
>> to Thunderbird failed.
>> The Connector gets updated to 104 but Thunderbird then loops in reboots.
>> Lightning and Intrgrator are not updated.
> 
> Paste your updates.php and hte list of addon filename
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzme0UACgkQqyPvPxEbK36G3ACePytDxvnIyLVs0mwKMzEdj8La
FfoAoNJi/zar5C9MNUUgh/v4T+LkKOQL
=s7B7
-----END PGP SIGNATURE-----
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to