]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blobdiff - apache1-mod_auth_ldap.spec
- todos
[packages/apache1-mod_auth_ldap.git] / apache1-mod_auth_ldap.spec
index 25f315cb62404aba6337ae50198776463e1a698f..0205f20659c1a05875e082ccffbddc88b33f0c8f 100644 (file)
@@ -1,5 +1,13 @@
-%define        mod_name        auth_ldap
-%define apxs   /usr/sbin/apxs1
+# TODO
+# - issue 29975
+# - alternative module: http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
+# - http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.tar.gz
+#
+# 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
 Summary(cs.UTF-8):     Autentizační modul LDAP pro WWW server Apache
 Summary(da.UTF-8):     En LDAP-autenticeringsmodul for Apache
@@ -18,18 +26,19 @@ Summary(sl.UTF-8):  Avtentikacijski modul LDAP za Apache
 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:       2
 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
@@ -126,7 +135,8 @@ lynx -nolist -dump auth_ldap.html > auth_ldap.txt
 %configure \
        --with-apxs=%{apxs} \
        --with-ldap-sdk=openldap \
-       --without-ssl
+       --with-shared-cache \
+       --with%{!?with_ssl:out}-ssl
 
 %{__make}
 
This page took 0.056958 seconds and 4 git commands to generate.