packages: gsasl/gsasl.spec - without_heimdal bcond added, so one can build ...

jajcus jajcus at pld-linux.org
Tue Jun 5 09:50:24 CEST 2012


Author: jajcus                       Date: Tue Jun  5 07:50:24 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- without_heimdal bcond added, so one can build gsasl with no Kerberos at all

---- Files affected:
packages/gsasl:
   gsasl.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: packages/gsasl/gsasl.spec
diff -u packages/gsasl/gsasl.spec:1.66 packages/gsasl/gsasl.spec:1.67
--- packages/gsasl/gsasl.spec:1.66	Fri Jun  1 21:48:51 2012
+++ packages/gsasl/gsasl.spec	Tue Jun  5 09:50:19 2012
@@ -4,6 +4,7 @@
 %bcond_without	apidocs		# disable gtk-doc
 %bcond_with	gss		# use gss instead of Heimdal as GSSAPI implementation
 %bcond_with	kerberos5	# with KERBEROS_V5 mechanism (based on shishi, currently broken)
+%bcond_without	heimdal		# do not use Heimdal either
 %bcond_without	ntlm		# without NTLM mechanism
 %bcond_without	static_libs	# don't build static libraries
 #
@@ -31,8 +32,10 @@
 %{?with_ntlm:BuildRequires:	libntlm-devel >= 0.3.5}
 BuildRequires:	libtool >= 2:1.5
 BuildRequires:	pkgconfig
+%if %{without gss}
 # alternatively, gss or krb5 can be used for GSSAPI
-%{!?with_gss:BuildRequires:	heimdal-devel}
+%{?with_heimdal:BuildRequires:	heimdal-devel}
+%endif
 %{?with_kerberos5:BuildRequires:	shishi-devel}
 BuildRequires:	texinfo
 Requires(post,postun):	/sbin/ldconfig
@@ -87,8 +90,11 @@
 License:	LGPL v2.1+
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-%{?with_gss:Requires:	gss-devel >= 1.0.0}
-%{!?with_gss:Requires:	heimdal-devel}
+%if %{with gss}
+Requires:	gss-devel >= 1.0.0
+%else
+%{?with_heimdal:Requires:	heimdal-devel}
+%endif
 Requires:	libgcrypt-devel >= 1.3.0
 Requires:	libidn-devel >= 0.1.0
 %{?with_ntlm:Requires:	libntlm-devel >= 0.3.5}
@@ -146,7 +152,12 @@
 	%{!?with_ntlm:--disable-ntlm} \
 	%{!?with_static_libs:--disable-static} \
 	%{?with_kerberos5:--enable-kerberos_v5} \
-	%{!?with_gss:--with-gssapi-impl=heimdal} \
+%if %{with gss}
+	--with-gssapi-impl=gss
+%else
+	%{?with_heimdal:--with-gssapi-impl=heimdal} \
+	%{!?with_heimdal:--with-gssapi-impl=no} \
+%endif
 	--with-html-dir=%{_gtkdocdir} \
 	--with-libgcrypt
 
@@ -204,6 +215,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2012/06/05 07:50:19  jajcus
+- without_heimdal bcond added, so one can build gsasl with no Kerberos at all
+
 Revision 1.66  2012/06/01 19:48:51  qboosh
 - updated to 1.8.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/gsasl/gsasl.spec?r1=1.66&r2=1.67



More information about the pld-cvs-commit mailing list