OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Leon Harris (leonquoll.com)
Date: Sun Mar 10 2002 - 21:25:54 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi. I hope this helps someone.

    I have built openssh-3.1p1-1_StackGuard and associated packages based on
    redhats update for immunix 7.0.

    1) There are a couple of gotchas - the specedit modified spec generate a
    package which doesn't the original - thus when you do a rpm --erase to
    remove the original you also end up killing your new package.

    2) The other thing to note using redhats rpm is that you must edit the
    spec file to
    %define build 6x 1
    immunix 7.0 looks more like redhat 6.2 than 7.0 in some respects.

    3) you need to restart after installation :)

    Recipe:
    ------
    wget ftp://updates.redhat.com:21/7.0/en/os/SRPMS/openssh-3.1p1-1.src.rpm

    rpm -Uvh openssh-3.1p1-1.src.rpm

    cd /usr/src/redhat/SPECS

    specedit openssh.spec

    vi openssh.spec
         /define build
         then change from 0 to 1 to set to rh6.x build
         :wq

    rpm -bb openssh.spec

    cd /usr/src/redhat/RPMS/i386

    ls
       (to make sure the packages are there)

    rpm -qa | grep openssh

    rpm --erase {whatever the above command revealed to you}

    rpm -Uvh --nodeps openssh*.rpm

    then remember to restart sshd, or you will still be running the old one:
    /etc/rc.d/init.d/sshd restart

    Good luck, I hope this helps someone

    Cheers,
    Leon

    _______________________________________________
    Immunix-users mailing list
    Immunix-usersmail.wirex.com
    http://mail.wirex.com/mailman/listinfo/immunix-users