-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 30 March 2002 12:25 pm, Bret Hughes wrote:
> On Sat, 2002-03-30 at 10:33, David Talkington wrote:

> > Bret Hughes wrote:
> > >it is the Xfree and gnome libs stuff that is needed and that leads
> > > me down the road to dependency hell.
> >
> > Oh for Pete's sake, Brother Hughes, just build it from official
> > source. You don't need X-anything for sshd.
>
> yeah I know but I REALLY like having the rpms so I can easily (read
> hard to make mistatkes) upgrade all machines.  I only have 6 or 7 of
> these 6.x boxes and don't anticipate anymore but I have 32 7.x boxes
> with more coming and since I still can't afford to have someone be a
> dedicated admin I have to try and make this as quick and easy as
> possible.

Hi Bret,
Get and install the source rpm. cd {/path/to/rpm/SOURCE/directory}
edit openssh.spec
Change the defines at the top of the file. Here is a patch that should do 
the trick.
[mfratoni@tuxfan openssh-3.1p1]$ pwd
/home/mfratoni/rpmbuild/SOURCES/openssh-3.1p1
[mfratoni@tuxfan openssh-3.1p1]$ diff -Nau openssh.spec.save openssh.spec
- --- openssh.spec.save   Sat Mar 30 12:39:32 2002
+++ openssh.spec        Sat Mar 30 12:45:31 2002
@@ -2,10 +2,10 @@
 %define aversion 1.2.4.1

 # Do we want to disable building of x11-askpass? (1=yes 0=no)
- -%define no_x11_askpass 0
+%define no_x11_askpass 1

 # Do we want to disable building of gnome-askpass? (1=yes 0=no)
- -%define no_gnome_askpass 0
+%define no_gnome_askpass 1

 # Do we want to link against a static libcrypto? (1=yes 0=no)
 %define static_libcrypto 0
@@ -14,7 +14,7 @@
 %define scard 0

 # Is this build for RHL 6.x?
- -%define build6x 0
+%define build6x 1

 # Disable IPv6 (avoids DNS hangs on some glibc versions)
 %define noip6 0

Then rpm -bb openssh.spec should build new binaries for you.

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 6M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8pfqLeMAUbzJhSVcRAhEWAJ0QemD/VnqeqBKZZAWCr8e903qzKQCfc2T5
9mnyCeoi6SVYlceJ1ACu+QI=
=D249
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to