On Sun, May 14, 2006 at 11:08:09PM +1000, Hamish Moffatt wrote:
> On Sun, May 14, 2006 at 11:47:41AM +0200, Wouter Verhelst wrote:
...
> Without wishing to join the mob,
> 
> e) it's difficult to install versions of packages not available from
> your regular sources.list. For example if you build a new (version of a)
> library package and then an application that uses it and want to upload
> both at the same time. You probably need to set up a local apt
> repository, which is a pain.

Once you do it, it is not too much work.

pbuilder set up for local package is easier if archive is http 
accessible, then OTHERMITRRPOS in ~/.pbuilderrc can simply be set as:

# include my mirrors (No file://)
OTHERMIRROR="deb http://people.debian.org/~osamu/package/ ./"
# (Use your account name of course)

Then you upload to people.d.o with dupload with simple script.  In my
case, "dupload -t osamu package.changes" with ~/.dupload.conf
----------------------------
# Developer account
$cfg{'osamu'} = {
        fqdn => "people.debian.org",
        method => "scpb",
        incoming => "/home/osamu/public_html/package/",
        # The dinstall on ftp-master sends emails itself
        dinstall_runs => 1,
};


$cfg{'osamu'}{preupload}{'changes'} = "
        echo 'mkdir -p public_html/package' | ssh people.debian.org  
2>/dev/null ; 
        echo 'Package directory created!'";

$cfg{'osamu'}{postupload}{'changes'} = "
        echo 'cd public_html/package ;
        dpkg-scanpackages . /dev/null >Packages || true ;
        dpkg-scansources . /dev/null >Sources || true ;
        gzip -c Packages >Packages.gz ;
        gzip -c Sources >Sources.gz ' | ssh people.debian.org  2>/dev/null ;
        echo 'Package archive created!'";



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to