View Source

h2. Submitting your package to the OPF repository

The installation packages will be available at the OPF package repository at [http://deb.openplanetsfoundation.org/]    

In order to upload your software to the OPF repository requires the _dupload_ package:
{code}
sudo apt-get install dupload
{code}
Then we need to edit the dupload.conf file:
{code}
sudo vim /etc/dupload.conf  
{code}
Find the _$default_host_ line and change it to "opf" as follows: 
{code}
$default_host = "opf";
{code}Ensure that the following lines are un-commented:
{code}
$preupload{'changes'} = '/usr/share/dupload/gpg-check %1';
$preupload{'deb'} = 'lintian -v -i %1';
{code}
The we need to add the OPF endpoint to the configuration by adding the following:
{code}
$cfg{'opf'} = {        
fqdn => "deb.openplanetsfoundation.org",
        incoming => "incoming/",
        dinstall_runs => 1,
};
{code}
Save this file and return the command line, from here make sure that you enable FTP_PASSIVE mode:
{code}
export FTP_PASSIVE=1{code}
With all this done we can simply upload the changes file:
{code}
dupload package-name_1.0.0_all.changes
{code}
If you get a PORT error, make sure passive mode is enabled. 

*In order for your package to become available it MUST be signed by a member of the OPF team. For now please email David Tarrant (davetaz \[ at \] ecs.soton.ac.uk) to let him know you have submitted a package and that you wished this to be signed and submitted into the main server.*