New Openssh packages? When?

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

 



On Sat, 9 Mar 2002, Pekka Savola wrote:
> On Thu, 7 Mar 2002, Nalin Dahyabhai wrote:
> > On Thu, Mar 07, 2002 at 03:33:37PM -0500, Bill Nottingham wrote:
> > > Pete Peterson (petersonp@genrad.com) said:
> > > > They have 7.2 packages, but I tried 'rpm --rebuild'ing the SRPMs from there
> > > > for my 6.2 systems and the rebuild failed with a pile of errors.
> > > >
> > > >  ... So I'm hoping Red Hat comes up with theirs soon.  :-)
> > >
> > > Red Hat never shipped official openssh packages for 6.2...
> >
> > OpenSSH 3.1 also requires OpenSSL 0.9.6 or newer to build, which we
> > haven't backported to 6.2.  I'm sure this isn't going to be pretty.
>
> I'm curious whether how this would not be pretty: just issue
> openssl-0.9.6[bc] as an update with new library version number, and
> release openssl095a package like how it's done with RHL7x.  To make old
> apps work, one would have to install the legacy package, and for new ones,
> the updated one would be used.
>
> Is there something I'm missing here?
>
No, I think you did it one to one what I did yesterday and
it works great, just for short for someone not figuring out
yet:

1) Old versions (0.9.5a) of these aren't needed any more

   # rpm -e openssl-devel openssl-perl

2) Rebuild new '0.9.5a compatibility library' for old apps

   # rpm --rebuild ftp://ftp.redhat.com/redhat/linux/7.2/en/os/i386/SRPMS/openssl095a-0.9.5a-11.src.rpm

3) Replace current openssl-0.9.5a with openssl095a-0.9.5a

   # rpm -e --nodeps openssl &&\
   rpm -ivh /usr/src/redhat/RPMS/i386/openssl095-0.9.5a-11.i386.rpm

4) Recompile latest openssl from 7.2

   # rpm --rebuild ftp://ftp.redat.com/redhat/linux/7.2/en/os/i386/SRPMS/openssl-0.9.6b-8.src.rpm


5) Install

   # rpm -ivh /usr/src/redhat/RPMS/i386/openssl*-0.9.6b-8.i386.rpm


6) Rebuild openssh-3.1p1

   # rpm --rebuild ftp://updates.redhat.com/7.2/en/os/SRPMS/openssh-3.1p1-2.src.rpm

7) Install or upgrade

   # rpm -Fvh /usr/src/redhat/RPMS/i386/openssh*-3.1p1-1.i386.rpm

   or if you have commercial or old versions with different packet
   names remove first with "rpm -e" old packages and then install

   # rpm -ivh /usr/src/redhat/RPMS/i386/openssh*-3.1p1-1.i386.rpm


8) Make sure before you log off from another window that you are
   still able to login to the system and the configuration at
   /etc/sshd_config and /etc/ssh_config suits your needs.


It would be also good idea to sign the packages with rpm --addsign
or using -sign option when rebuilding.

HTH,

:-) riku

-- 
    [ This .signature intentionally left blank ]





[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux