From 1f4e0415d16460df9352f7e7794c71c539145316 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 6 Jul 2009 13:39:21 +0000 Subject: [PATCH] - rel 4 - disabled kerberos support due to usage of ancient heimdal api Changed files: ckermit.spec -> 1.35 --- ckermit.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ckermit.spec b/ckermit.spec index 7ea4657..076cad6 100644 --- a/ckermit.spec +++ b/ckermit.spec @@ -1,8 +1,12 @@ +# +# Conditional build: +%bcond_with kerberos5 # build with kerberos5 support +# Summary: The quintessential all-purpose communications program Summary(pl.UTF-8): Kwintesencja programów komunikacyjnych Name: ckermit Version: 8.0.211 -Release: 3 +Release: 4 License: Special (see Copyright Notice) Group: Applications/Communications Source0: ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz @@ -15,7 +19,7 @@ Patch0: cku-makefile.patch Patch1: %{name}-gcc4.patch Patch2: %{name}-openssl-clash.patch URL: http://www.columbia.edu/kermit/ -BuildRequires: heimdal-devel +%{?with_kerberos5:BuildRequires: heimdal-devel} BuildRequires: ncurses-devel BuildRequires: openssl-devel >= 0.9.7d BuildRequires: pam-devel @@ -44,7 +48,11 @@ komunikacyjnych. %patch2 -p1 %build -%{__make} linux-PLD+krb5+openssl+zlib+pam+shadow \ +%if %{with kerberos5} +%{__make} linux-PLD+krb5heimdal+openssl+zlib+pam+shadow \ +%else +%{__make} linux-PLD+openssl+zlib+pam+shadow \ +%endif OPT="%{rpmcflags}" \ LNKFLAGS="%{rpmldflags}" -- 2.43.0