]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
8f6174c0d291856f38cdac6cdb632a3a httpd.init
[packages/apache.git] / apache.spec
index e0d9efec9563d86bc80820689203fafe60190355..5a7963aa0190265edc5d88a437173cb9beff87ce 100644 (file)
@@ -1,3 +1,8 @@
+#
+# Conditional build:
+# mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
+# _without_apache_ipv6 - disable IPv6 support
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       The most widely used Web server on the Internet
 Summary(de):   Leading World Wide Web-Server
@@ -5,11 +10,13 @@ Summary(fr): Le serveur web le plus utilise sur Internet
 Summary(pl):   Serwer WWW (World Wide Web)
 Summary(tr):   Lider WWW tarayýcý
 Name:          apache
-Version:       1.3.12
-Release:       7
-License:       BSD-like
+Version:       1.3.20
+Release:       2
+License:       Apache Group License
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
+URL:           http://www.apache.org/
 Source0:       ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
@@ -24,28 +31,45 @@ Patch1:             %{name}-suexec.patch
 Patch2:                %{name}-htdocs.patch
 Patch3:                %{name}-errordocs.patch
 Patch4:                %{name}-apxs.patch
-Patch5:                %{name}-EAPI.patch
-Patch6:                %{name}-v6-PLD-2.patch.gz
-Patch7:                %{name}-mm_conf.patch
-Patch8:                %{name}-modules_symbols.patch
-Patch9:                %{name}-apxs_force_rm_cp.patch
+Patch5:                %{name}-mod_ssl-addon.patch
+Patch6:                %{name}-mod_ssl-eapi.patch
+Patch7:                %{name}-EAPI_MM_CORE_PATH-correction.patch
+Patch8:                %{name}-EAPI_MM=SYSTEM.patch
+Patch9:                %{name}-ipv6-PLD.patch
+Patch10:       %{name}-modules_symbols.patch
+Patch11:       %{name}-apxs_force_rm_cp.patch
+Patch12:       %{name}-db3.patch
+Patch13:       %{name}-lookup_map_ldap.patch
+Patch14:       %{name}-man.patch
+Patch15:       %{name}-fpic.patch
+Patch16:       %{name}-buff.patch
+Patch17:       %{name}-mkstemp.patch
+Patch18:       %{name}-EAPI-missing_files.patch
+Patch19:       %{name}-mod_include-segv.patch
+Patch20:       %{name}-PLD-nov6.patch
+Patch21:       %{name}-configdir_skip_backups.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires:  db3-devel
+BuildRequires: mm-devel >= 1.1.3
+%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
 Provides:      httpd
 Provides:      webserver
+Provides:      %{name}(EAPI) = %{version}
 Prereq:                /sbin/chkconfig
 Prereq:                /usr/sbin/useradd
 Prereq:                /usr/bin/getgid
 Prereq:                /bin/id
 Prereq:                sh-utils
-BuildRequires: mm-devel >= 1.1.3
-Requires:      rc-scripts
+Prereq:                rc-scripts
+Prereq:                mm
+Prereq:                perl
 Requires:      mailcap
 Requires:      /etc/mime.types
-URL:           http://www.apache.org/
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Provides:      %{name}(EAPI) = %{version}
+Requires:      psmisc >= 20.1
 Obsoletes:     apache-extra
 Obsoletes:     apache6
 Obsoletes:     apache-doc
+Obsoletes:     indexhtml
 
 %define                _sysconfdir     /etc/httpd
 %define                _includedir     %{_prefix}/include/apache
@@ -76,9 +100,10 @@ sunucusudur.
 %package suexec
 Summary:       Apache suexec wrapper
 Summary(pl):   Suexec wrapper do serwera www Apache
-Group:         Networking/Development
-######         Unknown group!
-Group(pl):     Sieciowe/Programowanie
+Group:         Development/Tools
+Group(de):     Entwicklung/Werkzeuge
+Group(fr):     Development/Outils
+Group(pl):     Programowanie/Narzêdzia
 Requires:      %{name}(EAPI) = %{version}
 
 %description suexec
@@ -97,14 +122,13 @@ Summary:   Module development tools for the Apache web server
 Summary(fr):   Les outils de developpement de modules pour le serveur web Apache
 Summary(pl):   Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
 Group:         Networking/Utilities
+Group(de):     Netzwerkwesen/Werkzeuge
 Group(pl):     Sieciowe/Narzêdzia
 Requires:      %{name}(EAPI) = %{version}
 Provides:      %{name}(EAPI)-devel
 
 %description devel
-The apache-devel package contains the source code for the Apache Web
-server and the APXS binary you'll need to build Dynamic Shared Objects
-(DSOs) for Apache.
+The apache-devel package contains header files for Apache.
 
 %description -l fr devel
 Le package apache-devel contient le code source pour le serveur Web
@@ -118,8 +142,10 @@ Pliki nag
 Summary:       Apache module for run CGI whenever a file of a certain type is requested
 Summary(pl):   Modu³ dla apache do uruchamiania skryptów cgi
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_actions
@@ -131,12 +157,31 @@ much easier to execute scripts that process files.
 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
 ¿±danie pobrania pliku okre¶lonego typu.
 
+%package mod_auth
+Summary:       Apache module with user authentication using textual files
+Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
+Group(pl):     Sieciowe/Serwery
+Prereq:                %{_sbindir}/apxs
+Prereq:                perl
+Requires:      %{name}(EAPI) = %{version}
+
+%description mod_auth
+This package contains mod_auth module. It provides for user
+authentication using textual files.
+
+%description -l pl mod_auth
+Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy u¿yciu
+plików tekstowych.
+
 %package mod_auth_anon
 Summary:       Apache module with "anonymous" user access authentication
 Summary(pl):   Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_auth_anon
@@ -156,12 +201,34 @@ Ten modu
 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
 postaci adresu pocztowego u¿ytkownika).
 
+%package mod_auth_db
+Summary:       Apache module with user authentication which uses Berkeley DB files
+Summary(pl):   Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
+Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
+Group(pl):     Sieciowe/Serwery
+Prereq:                %{_sbindir}/apxs
+Prereq:                perl
+Requires:      %{name}(EAPI) = %{version}
+
+%description mod_auth_db
+This package contains mod_auth_db module. It provides for user
+authentication using Berkeley DB files. It is an alternative to DBM
+files for those systems which support DB and not DBM. It is only
+available in Apache 1.1 and later.
+
+%description -l pl mod_auth_db
+Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
+ale jako plików danych u¿ywa Berkeley DB.
+
 %package mod_define
 Summary:       Apache module - authentication variables for arbitrary directives
 Summary(pl):   Modu³ apache do definiowania zmiennych
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_define
@@ -175,8 +242,10 @@ Modu
 Summary:       Apache user authentication module using MD5 Digest Authentication 
 Summary(pl):   Modu³ apache do autoryzacji MD5
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_digest
@@ -191,8 +260,10 @@ Authentication.
 Summary:       Apache module for "trailing slash" redirects and serving directory index files
 Summary(pl):   Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_dir
@@ -206,8 +277,10 @@ Modu
 Summary:       Apache module allows for the customization of HTTP response headers
 Summary(pl):   Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_headers
@@ -223,8 +296,10 @@ wysy
 Summary:       Apache module for mmap()ing statically configured list files
 Summary(pl):   Modu³ s³u¿±cy do mmap()owania plików.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_mmap_static
@@ -240,8 +315,10 @@ Modu
 Summary:       Apache module with imap-file handler
 Summary(pl):   Modu³ z obs³ug± imap-file
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_imap
@@ -256,8 +333,10 @@ Modu
 Summary:       Apache module with comprehensive overview of the server configuration
 Summary(pl):   Modu³ dostarczaj±cy informacji na temat serwera.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_info
@@ -273,8 +352,10 @@ modu
 Summary:       Apache module with Web proxy
 Summary(pl):   Modu³ dodaj±cy obs³ugê serwera proxy
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_proxy
@@ -292,8 +373,10 @@ HTTP/1.0.
 Summary:       Apache module with rule-based engine for rewrite requested URLs on the fly
 Summary(pl):   Modu³ do ,,przepisywania'' adresów URL w locie
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_rewrite
@@ -307,8 +390,10 @@ Modu
 Summary:       Server status report module for apache
 Summary(pl):   Modu³ dostarczaj±cy informacje statystyczne o serwerze.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_status
@@ -326,8 +411,10 @@ pracy serwera apache (w postaci strony HTML).
 Summary:       Apache module for user tracking using cookies
 Summary(pl):   Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_usertrack
@@ -342,8 +429,10 @@ Modu
 Summary:       Apache module for dynamically configured mass virtual hosting
 Summary(pl):   Modu³ dodaj±cy obs³ugê hostów wirtualnych.
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_vhost_alias
@@ -356,9 +445,12 @@ wirtualnych.
 
 %package mod_unique_id
 Summary:       Apache module which provides a magic token for each request
+Summary(pl):   Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_unique_id
@@ -370,14 +462,31 @@ machines. The environment variable UNIQUE_ID is set to the identifier
 for each request. Unique identifiers are useful for various reasons
 which are beyond the scope of this document.
 
+%description -l pl mod_unique_id
+Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
+¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
+maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
+UNIQUE_ID.
+
 %package mod_expires
-Summary:       Apache module which provides .... 
+Summary:       Apache module which generates Expires HTTP headers
+Summary(pl):   Modu³ generuj±cy nag³ówki HTTP Expires
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Prereq:                %{_sbindir}/apxs
+Prereq:                perl
 Requires:      %{name}(EAPI) = %{version}
 
 %description mod_expires
+This module controls the setting of the Expires HTTP header in server
+responses. The expiration date can set to be relative to either the time
+the source file was last modified, or to the time of the client access.
+
+%description -l pl mod_expires
+Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
+wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
+¼ród³owych lub odwo³ania klienta.
 
 %prep 
 %setup -q -n apache_%{version} -a3
@@ -386,16 +495,26 @@ Requires: %{name}(EAPI) = %{version}
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%patch5 -p0
+%patch6 -p0
 %patch7 -p1
 %patch8 -p1
-%patch9 -p1
+%{!?_without_apache_ipv6:%patch9 -p1}
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%{?mod_rewrite_ldap:%patch13 -p1}
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%{?_without_apache_ipv6:%patch20 -p1}
+%patch21 -p1
 
 %build
-
-LDFLAGS="-s"; export LDFLAGS
-OPTIM="$RPM_OPT_FLAGS" \
+OPTIM="%{rpmcflags}" \
 ./configure \
        --prefix=%{_prefix} \
        --sysconfdir=%{_sysconfdir} \
@@ -419,14 +538,24 @@ OPTIM="$RPM_OPT_FLAGS" \
        --suexec-docroot=%{_datadir} \
        --disable-rule=WANTHSREGEX \
        --enable-rule=EAPI \
-       --enable-rule=INET6
-%{__make}
+       %{!?_without_apache_ipv6:--enable-rule=INET6}
+
+%{__make} LIBS1="-lm -lcrypt -lmm -ldl"
+
+rm -f src/modules/standard/mod_auth_db.so
+%{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
+
+rm -f src/modules/standard/mod_auth_dbm.so
+%{__make} -C src/modules/standard mod_auth_dbm.so LIBS_SHLIB="-lndbm"
+
+rm -f src/modules/standard/mod_rewrite.so
+%{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
        $RPM_BUILD_ROOT%{_datadir}/errordocs \
-       $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
+       $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
 
 %{__make} install-quiet root="$RPM_BUILD_ROOT"
 
@@ -448,33 +577,24 @@ install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
 
 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
-       ABOUT_APACHE src/CHANGES KEYS README
+gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
 
 %pre
 if [ -n "`getgid http`" ]; then
        if [ "`getgid http`" != "51" ]; then
-               echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
+               echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
                exit 1
        fi
 else
        /usr/sbin/groupadd -g 51 -r -f http
-       if [ -f /var/db/group.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 if [ -n "`id -u http 2>/dev/null`" ]; then
        if [ "`id -u http`" != "51" ]; then
-               echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
+               echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
                exit 1
        fi
 else
        /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
-       if [ -f /var/db/passwd.db ]; then
-               /usr/bin/update-db 1>&2
-       fi
 fi
 
 %post
@@ -482,9 +602,6 @@ fi
 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
-%{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
-%{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
-%{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
@@ -512,9 +629,6 @@ if [ "$1" = "0" ]; then
        %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
        %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
        %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
-       %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
-       %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
-       %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
        %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
        %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
        %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
@@ -538,13 +652,7 @@ fi
 %postun
 if [ "$1" = "0" ]; then
        /usr/sbin/userdel http
-       if [ -f /var/db/passwd.db ]; then
-               /usr/bin/update-db
-       fi
        /usr/sbin/groupdel http
-       if [ -f /var/db/group.db ]; then
-               /usr/bin/update-db
-       fi
 fi
 
 %post mod_actions
@@ -563,6 +671,22 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
+%post mod_auth
+%{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
+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_auth
+if [ "$1" = "0" ]; then
+       %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
 %post mod_auth_anon
 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
@@ -579,6 +703,24 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
+%post mod_auth_db
+%{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
+%{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
+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_auth_db
+if [ "$1" = "0" ]; then
+       %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
+       %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
 %post mod_define
 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
@@ -829,90 +971,227 @@ rm -rf $RPM_BUILD_ROOT
 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
 %doc conf/mime.types
 
+%attr(754,root,root) /etc/rc.d/init.d/httpd
+
+%attr(750,root,root) %dir %{_sysconfdir}
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %{_sysconfdir}/magic
+
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
+%attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
+
+%dir %{_libexecdir}
+%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
+%attr(755,root,root) %{_libexecdir}/mod_include.so
+%attr(755,root,root) %{_libexecdir}/mod_log_agent.so
+%attr(755,root,root) %{_libexecdir}/mod_log_config.so
+%attr(755,root,root) %{_libexecdir}/mod_log_referer.so
+%attr(755,root,root) %{_libexecdir}/mod_mime.so
+%attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
+%attr(755,root,root) %{_libexecdir}/mod_negotiation.so
+%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
+%attr(755,root,root) %{_libexecdir}/mod_speling.so
+%attr(755,root,root) %{_libexecdir}/mod_userdir.so
+
+%attr(755,root,root) %{_bindir}/htdigest
+
+%attr(755,root,root) %{_sbindir}/ab
+%attr(755,root,root) %{_sbindir}/apachectl
+%attr(755,root,root) %{_sbindir}/apxs
+%attr(755,root,root) %{_sbindir}/httpd
+%attr(755,root,root) %{_sbindir}/logresolve
+%attr(755,root,root) %{_sbindir}/rotatelogs
+
+%dir %attr(770,root,http) /var/run/apache
+
+%{_mandir}/man1/htdigest.1*
+%{_mandir}/man8/*
+
+%attr(750,root,root) %dir /var/log/httpd
+%attr(750,root,root) %dir /var/log/archiv/httpd
+%attr(640,root,root) %ghost /var/log/httpd/*
+
+%dir %{_datadir}
 %dir %{_datadir}/manual
 %dir %{_datadir}/manual/images/
-%{_datadir}/manual/images/sub.gif
-%{_datadir}/manual/images/index.gif
+%{_datadir}/manual/images/apache_header.gif 
+%{_datadir}/manual/images/custom_errordocs.gif 
 %{_datadir}/manual/images/home.gif 
+%{_datadir}/manual/images/index.gif
+%{_datadir}/manual/images/pixel.gif 
+%{_datadir}/manual/images/sub.gif 
 %{_datadir}/manual/misc
 %dir %{_datadir}/manual/search
 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
-%{_datadir}/manual/vhosts
 %{_datadir}/manual/LICENSE
 %{_datadir}/manual/bind.html
 %{_datadir}/manual/cgi_path.html
+%lang(en) /home/httpd/manual/configuring.html.html
+%lang(en) %{_datadir}/manual/configuring.html.en
+%lang(fr) %{_datadir}/manual/configuring.html.fr
+%lang(ja) %{_datadir}/manual/configuring.html.ja.jis
 %{_datadir}/manual/content-negotiation.html
-%{_datadir}/manual/custom-error.html
+%lang(en) %{_datadir}/manual/custom-error.html.en
+%lang(en) %{_datadir}/manual/custom-error.html.html
+%lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
 %{_datadir}/manual/dns-caveats.html
 %{_datadir}/manual/dso.html
 %{_datadir}/manual/env.html
 %{_datadir}/manual/footer.html
-%{_datadir}/manual/handler.html
+%lang(en) %{_datadir}/manual/handler.html.en
+%lang(en) %{_datadir}/manual/handler.html.html
+%lang(ja) %{_datadir}/manual/handler.html.ja.jis
 %{_datadir}/manual/header.html
-%{_datadir}/manual/index.html
-%{_datadir}/manual/install.html
-%{_datadir}/manual/invoking.html
+%lang(en) %{_datadir}/manual/index.html.en
+%lang(fr) %{_datadir}/manual/index.html.fr
+%lang(en) %{_datadir}/manual/index.html.html
+%lang(ja) %{_datadir}/manual/index.html.ja.jis
+%lang(en) %{_datadir}/manual/install.html.en
+%lang(es) %{_datadir}/manual/install.html.es
+%lang(fr) %{_datadir}/manual/install.html.fr
+%lang(en) %{_datadir}/manual/install.html.html
+%lang(ja) %{_datadir}/manual/install.html.ja.jis
+%lang(en) %{_datadir}/manual/invoking.html
+%lang(fr) %{_datadir}/manual/invoking.html.fr
+%lang(en) %{_datadir}/manual/invoking.html.html
 %{_datadir}/manual/keepalive.html
 %{_datadir}/manual/location.html
 %{_datadir}/manual/multilogs.html
-%{_datadir}/manual/new_features_1_3.html
+%lang(en) %{_datadir}/manual/new_features_1_3.html.en
+%lang(en) %{_datadir}/manual/new_features_1_3.html.html
+%lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
 %{_datadir}/manual/process-model.html
 %{_datadir}/manual/sections.html
+%lang(en) %{_datadir}/manual/server-wide.html.en
+%lang(fr) %{_datadir}/manual/server-wide.html.fr
+%lang(en) %{_datadir}/manual/server-wide.html.html
+%lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
 %{_datadir}/manual/sourcereorg.html
-%{_datadir}/manual/suexec.html
+%lang(en) %{_datadir}/manual/stopping.html
+%lang(fr) %{_datadir}/manual/stopping.html.fr
+%lang(en) %{_datadir}/manual/stopping.html.html
+%lang(en) %{_datadir}/manual/suexec.html.en
+%lang(en) %{_datadir}/manual/suexec.html.html
+%lang(j1) %{_datadir}/manual/suexec.html.ja.jis
 %{_datadir}/manual/upgrading_to_1_3.html
+%dir %{_datadir}/manual/howto
+%lang(en) %{_datadir}/manual/howto/cgi.html.en
+%lang(en) %{_datadir}/manual/howto/cgi.html.html
+%lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
+%{_datadir}/manual/howto/footer.html
+%{_datadir}/manual/howto/header.html
+%lang(en) %{_datadir}/manual/howto/ssi.html.en
+%lang(en) %{_datadir}/manual/howto/ssi.html.html
+%lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
 %dir %{_datadir}/manual/mod
 %{_datadir}/manual/mod/core.html
-%{_datadir}/manual/mod/directive-dict.html
+%lang(en) %{_datadir}/manual/mod/directive-dict.html.en
+%lang(en) %{_datadir}/manual/mod/directive-dict.html.html
+%lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
 %{_datadir}/manual/mod/directives.html
 %{_datadir}/manual/mod/footer.html
 %{_datadir}/manual/mod/header.html
-%{_datadir}/manual/mod/index.html
+%lang(en) %{_datadir}/manual/mod/index-bytype.html
+%lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
+%lang(en) %{_datadir}/manual/mod/index.html
+%lang(en) %{_datadir}/manual/mod/index.html.fr
 %{_datadir}/manual/mod/mod_access.html
 %{_datadir}/manual/mod/mod_alias.html
 %{_datadir}/manual/mod/mod_asis.html
-%{_datadir}/manual/mod/mod_auth.html
-%{_datadir}/manual/mod/mod_auth_db.html
-%{_datadir}/manual/mod/mod_auth_dbm.html
 %{_datadir}/manual/mod/mod_autoindex.html
 %{_datadir}/manual/mod/mod_cgi.html
-%{_datadir}/manual/mod/mod_cookies.html
-%{_datadir}/manual/mod/mod_env.html
+%lang(en) %{_datadir}/manual/mod/mod_env.html.en
+%lang(en) %{_datadir}/manual/mod/mod_env.html.html
+%lang(en) %{_datadir}/manual/mod/mod_env.html.ja.jis
 %{_datadir}/manual/mod/mod_include.html
 %{_datadir}/manual/mod/mod_log_agent.html
 %{_datadir}/manual/mod/mod_log_config.html
 %{_datadir}/manual/mod/mod_log_referer.html
-%{_datadir}/manual/mod/mod_mime.html
+%lang(en) %{_datadir}/manual/mod/mod_mime.html.en
+%lang(en) %{_datadir}/manual/mod/mod_mime.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
 %{_datadir}/manual/mod/mod_mime_magic.html
-%{_datadir}/manual/mod/mod_negotiation.html
-%{_datadir}/manual/mod/mod_setenvif.html
+%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
+%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
+%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.en
+%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja.jis
 %{_datadir}/manual/mod/mod_speling.html
 %{_datadir}/manual/mod/mod_userdir.html
-
-%attr(754,root,root) /etc/rc.d/init.d/httpd
-
-%attr(750,root,root) %dir %{_sysconfdir}
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
-%attr(640,root,root) %{_sysconfdir}/magic
-
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
-%attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
+%lang(en) %{_datadir}/manual/mod/module-dict.html.en
+%lang(en) %{_datadir}/manual/mod/module-dict.html.html
+%lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
+%dir %{_datadir}/manual/programs
+%{_datadir}/manual/programs/ab.html
+%{_datadir}/manual/programs/apachectl.html
+%{_datadir}/manual/programs/apxs.html
+%{_datadir}/manual/programs/dbmmanage.html
+%{_datadir}/manual/programs/footer.html
+%{_datadir}/manual/programs/header.html
+%{_datadir}/manual/programs/htdigest.html
+%{_datadir}/manual/programs/htpasswd.html
+%{_datadir}/manual/programs/httpd.html
+%lang(en) %{_datadir}/manual/programs/index.html.en
+%lang(en) %{_datadir}/manual/programs/index.html.html
+%lang(ja) %{_datadir}/manual/programs/index.html.ja.jis
+%{_datadir}/manual/programs/logresolve.html
+%{_datadir}/manual/programs/other.html
+%{_datadir}/manual/programs/rotatelogs.html
+%{_datadir}/manual/programs/suexec.html
+%dir %{_datadir}/manual/vhosts
+%{_datadir}/manual/vhosts/details.html
+%{_datadir}/manual/vhosts/examples.html
+%{_datadir}/manual/vhosts/fd-limits.html
+%{_datadir}/manual/vhosts/footer.html
+%{_datadir}/manual/vhosts/header.html
+%{_datadir}/manual/vhosts/host.html
+%lang(en) %{_datadir}/manual/vhosts/index.html.en
+%lang(en) %{_datadir}/manual/vhosts/index.html.html
+%lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
+%{_datadir}/manual/vhosts/ip-based.html
+%{_datadir}/manual/vhosts/mass.html
+%{_datadir}/manual/vhosts/name-based.html
+%{_datadir}/manual/vhosts/vhosts-in-depth.html
+%{_datadir}/manual/vhosts/virtual-host.html
 
 %attr(755,root,root) %dir %{_datadir}/html
-%config(noreplace) %{_datadir}/html/index.html
+%config(noreplace,missingok) %{_datadir}/html/index.html
+# note: html extensions are not the same as (g)libc locale names
 %lang(ca) %{_datadir}/html/index.html.ca
-%lang(cz) %{_datadir}/html/index.html.cz
+%lang(cs) %{_datadir}/html/index.html.cz
 %lang(de) %{_datadir}/html/index.html.de
-%lang(dk) %{_datadir}/html/index.html.dk
-%lang(ee) %{_datadir}/html/index.html.ee
+%lang(da) %{_datadir}/html/index.html.dk
+%lang(et) %{_datadir}/html/index.html.ee
+%lang(el) %{_datadir}/html/index.html.el
 %lang(en) %{_datadir}/html/index.html.en
 %lang(es) %{_datadir}/html/index.html.es
 %lang(fr) %{_datadir}/html/index.html.fr
+%lang(he) %{_datadir}/html/index.html.he.iso8859-8
 %lang(it) %{_datadir}/html/index.html.it
-%lang(lu) %{_datadir}/html/index.html.lu
+%lang(ja) %{_datadir}/html/index.html.ja.jis
+%lang(ko) %{_datadir}/html/index.html.kr.iso-kr
+%lang(de_LU) %{_datadir}/html/index.html.lu
 %lang(nl) %{_datadir}/html/index.html.nl
-%lang(pt) %{_datadir}/html/index.html.pt
+%lang(no) %{_datadir}/html/index.html.no
+%lang(pl) %{_datadir}/html/index.html.po.iso-pl
+%lang(pt_PT) %{_datadir}/html/index.html.pt
+%lang(pt_BR) %{_datadir}/html/index.html.pt-br
+%lang(ru) %{_datadir}/html/index.html.ru.cp-1251
+%lang(ru) %{_datadir}/html/index.html.ru.cp866
+%lang(ru) %{_datadir}/html/index.html.ru.iso-ru
+%lang(ru) %{_datadir}/html/index.html.ru.koi8-r
+%lang(ru) %{_datadir}/html/index.html.ru.ucs2
+%lang(ru) %{_datadir}/html/index.html.ru.ucs4
+%lang(ru) %{_datadir}/html/index.html.ru.utf8
 %lang(se) %{_datadir}/html/index.html.se
+%lang(zh_TW) %{_datadir}/html/index.html.zh.Big5
 
 %{_datadir}/html/*.gif
 %{_datadir}/errordocs
@@ -922,47 +1201,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/small/*.gif
 %attr(755,root,root) %{_datadir}/cgi-bin
 
-%dir %{_libexecdir}
-%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_auth.so
-%attr(755,root,root) %{_libexecdir}/mod_auth_db.so
-%attr(755,root,root) %{_libexecdir}/mod_auth_dbm.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
-%attr(755,root,root) %{_libexecdir}/mod_include.so
-%attr(755,root,root) %{_libexecdir}/mod_log_agent.so
-%attr(755,root,root) %{_libexecdir}/mod_log_config.so
-%attr(755,root,root) %{_libexecdir}/mod_log_referer.so
-%attr(755,root,root) %{_libexecdir}/mod_mime.so
-%attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
-%attr(755,root,root) %{_libexecdir}/mod_negotiation.so
-%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
-%attr(755,root,root) %{_libexecdir}/mod_speling.so
-%attr(755,root,root) %{_libexecdir}/mod_userdir.so
-
-%attr(755,root,root) %{_bindir}/dbmmanage 
-%attr(755,root,root) %{_bindir}/htdigest
-%attr(755,root,root) %{_bindir}/htpasswd
-
-%attr(755,root,root) %{_sbindir}/ab
-%attr(755,root,root) %{_sbindir}/apachectl
-%attr(755,root,root) %{_sbindir}/apxs
-%attr(755,root,root) %{_sbindir}/httpd
-%attr(755,root,root) %{_sbindir}/logresolve
-%attr(755,root,root) %{_sbindir}/rotatelogs
-
-%dir %attr(750,http,http) /var/lib/apache
-
-%{_mandir}/man[18]/*
-
-%attr(750,root,root) %dir /var/log/httpd
-%attr(750,root,root) %dir /var/log/archiv/httpd
-%attr(640,root,root) %ghost /var/log/httpd/*
-
 %files suexec
 %defattr(644,root,root,755)
 %attr(4755,root,root) %{_sbindir}/suexec
@@ -976,11 +1214,25 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/mod_actions.so
 %{_datadir}/manual/mod/mod_actions.html
 
+%files mod_auth
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_auth.so
+%attr(755,root,root) %{_bindir}/htpasswd
+%{_datadir}/manual/mod/mod_auth.html
+
 %files mod_auth_anon
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
 %{_datadir}/manual/mod/mod_auth_anon.html
 
+%files mod_auth_db
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_auth_db.so
+%attr(755,root,root) %{_bindir}/dbmmanage 
+%{_datadir}/manual/mod/mod_auth_db.html
+%{_mandir}/man1/dbmmanage.1*
+%{_mandir}/man1/htpasswd.1*
+
 %files mod_define
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_define.so
@@ -1026,12 +1278,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
 %attr(755,root,root) %{_libexecdir}/libproxy.so
 %{_datadir}/manual/mod/mod_proxy.html
-%dir %attr(750,http,http) /var/cache/apache
+%dir %attr(770,root,http) /var/cache/apache
 
 %files mod_rewrite
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
 %{_datadir}/manual/mod/mod_rewrite.html
+%{_datadir}/manual/images/mod_rewrite*
 
 %files mod_status
 %defattr(644,root,root,755)
@@ -1042,6 +1295,7 @@ rm -rf $RPM_BUILD_ROOT
 %files mod_usertrack
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
+%{_datadir}/manual/mod/mod_cookies.html
 %{_datadir}/manual/mod/mod_usertrack.html
 
 %files mod_unique_id
This page took 0.08379 seconds and 4 git commands to generate.