SPECS: freeradius-server.spec - BR: krb5-devel and without_kerberos5 bcond ...

jajcus jajcus at pld-linux.org
Wed Mar 18 10:38:48 CET 2009


Author: jajcus                       Date: Wed Mar 18 09:38:48 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: krb5-devel and without_kerberos5 bcond added

---- Files affected:
SPECS:
   freeradius-server.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/freeradius-server.spec
diff -u SPECS/freeradius-server.spec:1.16 SPECS/freeradius-server.spec:1.17
--- SPECS/freeradius-server.spec:1.16	Wed Mar 18 10:24:09 2009
+++ SPECS/freeradius-server.spec	Wed Mar 18 10:38:43 2009
@@ -15,6 +15,7 @@
 %bcond_without	ldap		# without rlm_ldap extension module
 %bcond_without	firebird	# without rlm_sql_firebird extension module
 %bcond_without	eap_ikev2	# without rlm_eap_ikev2 extension module
+%bcond_without	kerberos5	# without rlm_krb5 extension module
 #
 %include	/usr/lib/rpm/macros.perl
 #
@@ -40,6 +41,7 @@
 BuildRequires:	automake
 BuildRequires:	cyrus-sasl-devel
 BuildRequires:	gdbm-devel
+%{?with_kerberos5:BuildRequires:	krb5-devel}
 %{?with_eap_ikev2:BuildRequires:	libeap-ikev2-devel}
 BuildRequires:	libtool
 BuildRequires:	net-snmp-utils
@@ -242,6 +244,7 @@
 	%{!?with_firebird:--without-rlm_sql_firebird} \
 	%{!?with_ldap:--without-rlm_ldap} \
 	%{!?with_eap_ikev2:--without-rlm_eap_ikev2} \
+	%{!?with_kerberos5:--without-rlm_krb5} \
 
 %{make} -j1
 
@@ -491,11 +494,13 @@
 %attr(771,root,radius) %dir %{_var}/log/archive/freeradius/radacct
 %attr(775,root,radius) %dir /var/run/freeradius
 
+%if %{with kerberos5}
 %files module-krb5
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/raddb/modules/krb5
 %attr(755,root,root) %{_libdir}/freeradius/rlm_krb5*.so
 %attr(755,root,root) %{_libdir}/freeradius/rlm_krb5*.la
+%endif
 
 %if %{with ldap}
 %files module-ldap
@@ -591,6 +596,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2009/03/18 09:38:43  jajcus
+- BR: krb5-devel and without_kerberos5 bcond added
+
 Revision 1.16  2009/03/18 09:24:09  jajcus
 - without_ldap, without_firebird and without_eap_ikev2 bconds added
 - %files updated
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freeradius-server.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list