SPECS: apache1-mod_auth_ldap.spec - add text doc of directives - r...

glen glen at pld-linux.org
Tue Apr 1 10:57:47 CEST 2008


Author: glen                         Date: Tue Apr  1 08:57:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add text doc of directives
- remove apxs dep from trigger
- revert ldap version bump
- rel 5

---- Files affected:
SPECS:
   apache1-mod_auth_ldap.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_auth_ldap.spec
diff -u SPECS/apache1-mod_auth_ldap.spec:1.48 SPECS/apache1-mod_auth_ldap.spec:1.49
--- SPECS/apache1-mod_auth_ldap.spec:1.48	Sun Nov  4 20:18:49 2007
+++ SPECS/apache1-mod_auth_ldap.spec	Tue Apr  1 10:57:41 2008
@@ -20,7 +20,7 @@
 Summary(zh_CN.UTF-8):	这是用于 Apache 的 LDAP 验证模块
 Name:		apache1-mod_%{mod_name}
 Version:	1.6.0
-Release:	4
+Release:	5
 License:	BSD
 Group:		Networking/Daemons
 Source0:	http://www.rudedog.org/auth_ldap/auth_ldap-%{version}.tar.gz
@@ -29,7 +29,8 @@
 URL:		http://www.rudedog.org/auth_ldap/
 BuildRequires:	apache1-devel >= 1.3.39
 BuildRequires:	autoconf
-BuildRequires:	openldap-devel >= 2.4.6
+BuildRequires:	lynx
+BuildRequires:	openldap-devel >= 2.3.0
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(triggerpostun):	%{apxs}
 Requires:	apache1(EAPI)
@@ -120,6 +121,8 @@
 %patch0 -p1
 mv -f auth_ldap.c mod_auth_ldap.c
 
+lynx -nolist -dump auth_ldap.html > auth_ldap.txt
+
 %build
 %{__autoconf}
 %configure \
@@ -152,12 +155,12 @@
 %triggerpostun -- apache1-mod_%{mod_name} < 1.6.0-1.1
 # check that they're not using old apache.conf
 if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
-	%{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+	sed -i -e '/^\(Add\|Load\)Module.*mod_%{mod_name}\.\(so\|c\)/d' /etc/apache/apache.conf
 fi
 
 %files
 %defattr(644,root,root,755)
-%doc *.html PROBLEMS
+%doc *.html PROBLEMS auth_ldap.txt
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/mod_auth_ldap.so
 
@@ -167,6 +170,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2008-04-01 08:57:41  glen
+- add text doc of directives
+- remove apxs dep from trigger
+- revert ldap version bump
+- rel 5
+
 Revision 1.48  2007-11-04 19:18:49  glen
 - apxs1 in apache1-devel now
 
================================================================

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



More information about the pld-cvs-commit mailing list