SPECS: apache1-mod_auth_ldap.spec - update to 1.6.1, add ssl bcond

glen glen at pld-linux.org
Tue May 20 13:11:27 CEST 2008


Author: glen                         Date: Tue May 20 11:11:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 1.6.1, add ssl bcond

---- Files affected:
SPECS:
   apache1-mod_auth_ldap.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_auth_ldap.spec
diff -u SPECS/apache1-mod_auth_ldap.spec:1.51 SPECS/apache1-mod_auth_ldap.spec:1.52
--- SPECS/apache1-mod_auth_ldap.spec:1.51	Tue May 20 12:11:15 2008
+++ SPECS/apache1-mod_auth_ldap.spec	Tue May 20 13:11:22 2008
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	ssl	# build with ssl (requires netscape sdk), tls is available with openldap
+#
 %define	mod_name	auth_ldap
 %define apxs	/usr/sbin/apxs1
 Summary:	This is a LDAP authentication module for Apache
@@ -19,18 +23,19 @@
 Summary(sv.UTF-8):	En LDAP autentiseringsmodul för Apache
 Summary(zh_CN.UTF-8):	这是用于 Apache 的 LDAP 验证模块
 Name:		apache1-mod_%{mod_name}
-Version:	1.6.0
-Release:	7
+Version:	1.6.1
+Release:	1
 License:	BSD
 Group:		Networking/Daemons
 Source0:	http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
-# Source0-md5:	ff7de9027fe8852facd27be93462c5cc
+# Source0-md5:	a78d8c5fc77086562ca056c226c97992
 Patch0:		%{name}-makefile.patch
 URL:		http://www.rudedog.org/auth_ldap/
 BuildRequires:	apache1-devel >= 1.3.39
 BuildRequires:	autoconf
 BuildRequires:	lynx
 BuildRequires:	openldap-devel >= 2.3.0
+%{?with_ssl:BuildRequires:	mozldap-devel}
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	apache1(EAPI)
 Requires:	apache1-mod_auth
@@ -127,7 +132,7 @@
 %configure \
 	--with-apxs=%{apxs} \
 	--with-ldap-sdk=openldap \
-	--without-ssl
+	--with%{!?with_ssl:out}-ssl
 
 %{__make}
 
@@ -169,6 +174,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2008-05-20 11:11:22  glen
+- update to 1.6.1, add ssl bcond
+
 Revision 1.51  2008-05-20 10:11:15  glen
 - remove runtime apxs dep; rel 7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache1-mod_auth_ldap.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list