Howdy,

I noticed that the new releas of the OpenSSH 3.2.3p1
rpm package,

ftp://ftp.openbsd.org/

rpm --rebuild --define "build_6x 1" openssh-3.2.3p1-1.src.rpm

fails on Red Hat 6.2 because the build6x does not
unfortunately exclude Kerberos5, I'm appending a
small patch that fixes the problem.

rpm -ba --define "build_6x 1" openssh.spec

compiles fine afte applying the patch.

HTH,

:-) riku

ps.     I've uploaded the spec and rpms too to
        http://people.jyu.fi/~mesrik/tmp/openssh/

--- openssh.spec.dist   Wed May 22 08:11:24 2002
+++ openssh.spec        Sat May 25 18:53:33 2002
@@ -1,5 +1,5 @@
 %define ver 3.2.3p1
-%define rel 1
+%define rel 2

 # OpenSSH privilege separation requires a user & group ID
 %define sshd_uid    74
@@ -184,10 +184,15 @@
 %if %{noip6}
        --with-ipv4-default \
 %endif
+%if %{build6x}
+%define %withkrb5 ""
+%else
+%define %withkrb5 --with-kerberos5=/usr/kerberos
+%endif
 %if %{rescue}
        --without-pam --with-md5-passwords
 %else
-       --with-pam --with-kerberos5=/usr/kerberos
+       --with-pam %{withkrb5}
 %endif


@@ -362,6 +367,9 @@
 %endif

 %changelog
+* Sat May 25 2002 Riku Meskanen <[EMAIL PROTECTED]>
+- Configuring build6x skip kerberos5 (%withkrb5 stuff)
+
 * Fri May 10 2002 Damien Miller <[EMAIL PROTECTED]>
 - Merge in spec changes from RedHat, reorgansie a little
 - Add Privsep user, group and directory
-- 
    [ This .signature intentionally left blank ]



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

Reply via email to