]> git.pld-linux.org Git - packages/apache.git/commitdiff
- release 6.1 - separated autoindex
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 12 Sep 2004 21:14:42 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.spec -> 1.328

apache.spec

index c2c4cf022ef081fa60507b7f855bfcee28d0be31..4ab653810714ed470abd7f4add753e754a620806 100644 (file)
@@ -31,7 +31,7 @@ Summary(ru):  
 Summary(tr):   Lider WWW tarayýcý
 Name:          apache
 Version:       2.0.50
-Release:       6
+Release:       6.1
 License:       Apache Group License
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -52,6 +52,7 @@ Source13:     %{name}-mod_dav.conf
 Source14:      %{name}-mod_dir.conf
 Source15:      %{name}-mod_suexec.conf
 Source16:      %{name}-mod_deflate.conf
+Source17:      %{name}-mod_autoindex.conf
 Source20:      %{name}-server.crt
 Source21:      %{name}-server.key
 Patch0:                %{name}-configdir_skip_backups.patch
@@ -354,6 +355,21 @@ authentication using MD5 Digest Authentication.
 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
 Authentication.
 
+%package mod_autoindex
+Summary:       Apache module - display index of files
+Summary(pl):   Modu³ apache do wy¶wietlania indeksu plików
+Group:         Networking/Daemons
+Requires(post,preun):  %{apxs}
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     Apache-Gallery
+
+%description mod_autoindex
+This package contains mod_autoindex module. It provides
+generation index of files.
+
+%description mod_autoindex -l pl
+Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
+
 %package mod_cache
 Summary:       Content cache keyed to URIs
 Summary(pl):   Pamiêæ podrêczna wg klucza URI
@@ -838,6 +854,7 @@ install %{SOURCE13} $CFG/45_mod_dav.conf
 install %{SOURCE14} $CFG/59_mod_dir.conf
 install %{SOURCE15} $CFG/13_mod_suexec.conf
 install %{SOURCE16} $CFG/58_mod_deflate.conf
+install %{SOURCE17} $CFG/57_mod_autoindex.conf
 
 echo "LoadModule ldap_module   %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
 echo "LoadModule actions_module        %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
@@ -964,6 +981,20 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
+%post mod_autoindex
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+fi
+
+%preun mod_autoindex
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
 %post mod_cache
 if [ -f /var/lock/subsys/httpd ]; then
        /etc/rc.d/init.d/httpd restart 1>&2
@@ -1249,7 +1280,6 @@ fi
 %attr(755,root,root) %{_libexecdir}/mod_access.so
 %attr(755,root,root) %{_libexecdir}/mod_alias.so
 %attr(755,root,root) %{_libexecdir}/mod_asis.so
-%attr(755,root,root) %{_libexecdir}/mod_autoindex.so
 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
 %attr(755,root,root) %{_libexecdir}/mod_env.so
@@ -1768,6 +1798,11 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
 
+%files mod_autoindex
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
+%attr(755,root,root) %{_libexecdir}/mod_autoindex.so
+
 %files mod_cache
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
This page took 0.07224 seconds and 4 git commands to generate.