SPECS: sudo.spec - add heimdal, ldap, skey bconds

djurban djurban at pld-linux.org
Fri Sep 23 13:30:32 CEST 2005


Author: djurban                      Date: Fri Sep 23 11:30:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add heimdal, ldap, skey bconds

---- Files affected:
SPECS:
   sudo.spec (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: SPECS/sudo.spec
diff -u SPECS/sudo.spec:1.97 SPECS/sudo.spec:1.98
--- SPECS/sudo.spec:1.97	Wed Jul  6 21:39:39 2005
+++ SPECS/sudo.spec	Fri Sep 23 13:30:26 2005
@@ -2,6 +2,9 @@
 #
 # Conditional build:
 %bcond_without	selinux		# build without SELinux support
+%bcond_without	skey		# disable skey (onetime passwords
+%bcond_without	heimdal		# disable kerberos
+%bcond_without	ldap		# disable ldap
 #
 Summary:	Allows command execution as root for specified users
 Summary(es):	Permite que usuarios específicos ejecuten comandos como se fueran el root
@@ -26,9 +29,9 @@
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 %{?with_selinux:BuildRequires:	libselinux-devel}
-BuildRequires:	heimdal-devel >= 0.7
-BuildRequires:	openldap-devel
-BuildRequires:	skey-devel >= 2.2-11
+%{?with_heimdal:BuildRequires:	heimdal-devel >= 0.7}
+%{?with_ldap:BuildRequires:	openldap-devel}
+%{?with_skey:BuildRequires:	skey-devel >= 2.2-11}
 BuildRequires:	libtool
 BuildRequires:	pam-devel
 Requires:	pam >= 0.77.3
@@ -139,9 +142,9 @@
 	--with-secure-path="/bin:/sbin:/usr/bin:/usr/sbin" \
 	--with-loglen=320 \
 	--disable-saved-ids \
-	--with-kerb5 \
-	--with-ldap \
-	--with-skey \
+	--with%{?with_heimdal:out}-kerb5 \
+	--with%{?with_ldap:out}-ldap \
+	--with%{?with_skey:out}-skey \
 	--with-long-otp-prompt
 
 %{__make}
@@ -189,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2005/09/23 11:30:26  djurban
+- add heimdal, ldap, skey bconds
+
 Revision 1.97  2005/07/06 19:39:39  arekm
 - br heimdal >= 0.7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sudo.spec?r1=1.97&r2=1.98&f=u




More information about the pld-cvs-commit mailing list