ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] upgrading to a newer package -- did i do this correctly?


From: Stuart Hughes
Subject: Re: [Ltib] upgrading to a newer package -- did i do this correctly?
Date: Fri, 12 Dec 2008 11:06:17 +0000

Hi Robert,

On Fri, 2008-12-12 at 05:42 -0500, Robert P. J. Day wrote:
> On Fri, 12 Dec 2008, Stuart Hughes wrote:
> 
> > Hi Robert,
> >
> > On Thu, 2008-12-11 at 19:02 -0500, Robert P. J. Day wrote:
> > >   i just want to verify that i followed the correct steps to add a
> > > newer package to ltib.
> > >
> > >   when it became obvious that i needed a newer version of dropbear,
> > > here's what i did:
> > >
> > >   * edited the file dist/lfs-5.1/dropbear/dropbear.spec to bump the
> > >     version from 0.45 to 0.52, and removed the two references to
> > >     the patch (since it *appears* that version 0.52 doesn't need
> > >     patching, but we'll find out soon enough if that's true)
> >
> > Correct.
> 
>   the new dropbear seems to be working just fine, having been
> shoehorned into the aged 6.4.1 ltib being used where i am.  having
> upgraded a number of OpenWRT packages over the years, i normally take
> greater care in figuring out what patches have to be carried forward
> to a newer version, but dropbear-0.45 had only the one patch:
> 
> --- dropbear-0.45/scp.c 2005-03-07 04:27:02.000000000 +0000
> +++ dropbear-0.45.modified/scp.c        2005-06-16 11:20:40.000000000 +0100
> @@ -249,9 +249,11 @@
> 
>         args.list = NULL;
>         addargs(&args, "ssh");          /* overwritten with ssh_program */
> +#ifndef DROPBEAR_CLIENT
>         addargs(&args, "-x");
>         addargs(&args, "-oForwardAgent no");
>         addargs(&args, "-oClearAllForwardings yes");
> +#endif
> 
>         fflag = tflag = 0;
>         while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:"))!= -1)
> 
> which didn't appear to be valid anymore, the new dropbear worked out
> of the box, and "scp" seemed to scp properly so i just abandoned that
> patch.  if anyone knows whether that patch should still be applied
> somehow, now would be a good time to mention it.  :-)


Probably okay.  Looking back the need for this was to get rid of some
warning messages when you run scp. If anyone notices this we can put it
back.

> 
> > >
> > >   * downloaded dropbear-0.52.tar.gz into /opt/ltib/pkgs since it
> > >     wouldn't be available from the GPP
> > >
> > Correct
> 
>   and if/when dropbear-0.52 gets added to the LTIB GPP officially,
> this step will of course become unnecessary.

I'll upload it today if I get time.

> 
> > >   * left .ltibrc alone
> > >
> > > optionally, once i verify that 0.52 works, i guess i could remove
> > > the 0.45 tarball and the patch from /opt/ltib/pkgs.
> >
> > Usually it's best to leave unless you're short of space is if you
> > share the machine, they can still get at the older version (if they
> > had an older LTIB, or just wanted it).
> 
>   i'm normally of two minds on that.  if i'm responsible for other
> folks all building LTIB images, i might remove an older version of a
> package just to *force* everyone to upgrade, since i'd rather not
> support two different version of the same software.  you're correct,
> of course, in that it makes no real difference to leave the old
> tarball where it is.
> 

If someone does have an older ltib and they build, it would just get
re-downloaded, so it's fine either way.

> > >   does all of that sound about right?  the build seems to be
> > > progressing nicely.
> >
> > Yes that's it.
> >
> > Once you've tested it, can you send a patch to the list and I'll
> > commit the change to CVS, I'll also upload the pristine tarball to
> > the GPP.
> 
>  would that be a simple diff of the spec file?  i can do that shortly.

A diff -u would be fine.

> 
> > If you think you'll make regular contributions, I can give you CVS
> > write access and a password for the GPP upload.
> 
>   sure, i'll probably be looking at upgrading a number of other
> packages.  i'll try not to break anything.  :-)

No worries, the only thing is you'd probably need to move to the latest
CVS to keep things sane.

> rday
> 
> p.s.  i actually posted the above patch to the dropbear mailing list,
> asking whether it was still relevant for 0.52.  i'll let you know but,
> for now, i'm going to drop it.

Thanks.  It was a long time ago, but I recall if you ran scp without it
then it gave warnings fairly obviously, so if they're not showing up
now, it's probably not needed anymore.

Regards, Stuart





reply via email to

[Prev in Thread] Current Thread [Next in Thread]