# # Conditional build: # mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha) # %include /usr/lib/rpm/macros.perl Summary: The most widely used Web server on the Internet Summary(de): Leading World Wide Web-Server 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: 27 License: BSD-like Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Source0: ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz Source1: %{name}.init Source2: %{name}.logrotate Source3: %{name}-icons.tar.gz Source4: %{name}.sysconfig Source6: %{name}-httpd.conf Source8: %{name}-mod_vhost_alias.conf Source9: %{name}-mod_status.conf Source10: %{name}-mod_proxy.conf Patch0: %{name}-PLD.patch Patch1: %{name}-suexec.patch Patch2: %{name}-htdocs.patch Patch3: %{name}-errordocs.patch Patch4: %{name}-apxs.patch Patch5: %{name}-EAPI.patch Patch6: %{name}-v6-PLD-3.patch.gz Patch7: %{name}-mm_conf.patch Patch8: %{name}-modules_symbols.patch Patch9: %{name}-apxs_force_rm_cp.patch Patch10: %{name}-db3.patch Patch11: %{name}-lookup_map_ldap.patch Provides: httpd Provides: webserver Prereq: /sbin/chkconfig Prereq: /usr/sbin/useradd Prereq: /usr/bin/getgid Prereq: /bin/id Prereq: sh-utils BuildRequires: db2-devel BuildRequires: mm-devel >= 1.1.3 %{?mod_rewrite_ldap:BuildRequires: openldap-devel} Requires: rc-scripts Requires: mailcap Requires: /etc/mime.types URL: http://www.apache.org/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Provides: %{name}(EAPI) = %{version} Obsoletes: apache-extra Obsoletes: apache6 Obsoletes: apache-doc %define _sysconfdir /etc/httpd %define _includedir %{_prefix}/include/apache %define _datadir /home/httpd %define _libexecdir %{_prefix}/lib/apache %description Apache is a powerful, full-featured, efficient and freely-available Web server. Apache is also the most popular Web server on the Internet. %description -l de Apache ist ein voll funktionsfähiger Web-Server, der kostenlos erhältlich und weit verbreitet ist. %description -l fr Apache est un serveur Web puissant, efficace, gratuit et complet. Apache est aussi le serveur Web le plus populaire sur Internet. %description -l pl Apache jest serwerem WWW (World Wide Web). Instalując ten pakiet będziesz mógł prezentować własne strony WWW w sieci internet. %description -l tr Apache serbest dađýtýlan ve çok kullanýlan yetenekli bir web sunucusudur. %package suexec Summary: Apache suexec wrapper Summary(pl): Suexec wrapper do serwera www Apache Group: Development/Tools Group(de): Entwicklung/Werkzeuge Group(fr): Development/Outils Group(pl): Programowanie/Narzędzia Requires: %{name}(EAPI) = %{version} %description suexec The suEXEC feature provides Apache users the ability to run CGI and SSI programs under user IDs different from the user ID of the calling web-server. Normally, when a CGI or SSI program executes, it runs as the same user who is running the web server. %description -l pl suexec SuEXEC umożliwia serwerowi Apache uruchamianie programów CGI i SSI z innym UID niż wywołujący je serwer. Normalnie programy CGI i SSI są wykonywane jako taki sam użytkownik jak serwer WWW. %package devel 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. %description -l fr devel Le package apache-devel contient le code source pour le serveur Web Apache et le binaire APXS dont vous aurez besoin pour construire des Objets Dynamiques Partages (DSOs) pour Apache. %description -l pl devel Pliki nagłówkowe dla serwera WWW Apache. %package mod_actions 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 Requires: %{name}(EAPI) = %{version} %description mod_actions This package contains mod_actions module. This module lets you run CGI scripts whenever a file of a certain type is requested. This makes it much easier to execute scripts that process files. %description -l pl mod_actions 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 Requires: %{name}(EAPI) = %{version} %description mod_auth This package contains mod_auth module. It provides for user authentication using textual files. %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 Requires: %{name}(EAPI) = %{version} %description mod_auth_anon This package contains mod_auth_anon module. It allows "anonymous" user access to authenticated areas. It does access control in a manner similar to anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email address as a password. These email addresses can be logged. Combined with other (database) access control methods, this allows for effective user tracking and customization according to a user profile while still keeping the site open for 'unregistered' users. One advantage of using Auth-based user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it is completely browser independent and it allows users to share URLs. %description -l pl mod_auth_anon Ten moduł oferuje anonimową autoryzację użytkownia podobnie do 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 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 moduł 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 Requires: %{name}(EAPI) = %{version} %description mod_define It provides the definition variables for arbitrary directives, i.e. variables which can be expanded on any(!) directive line. %description -l pl mod_define Moduł ten umożliwia definicję zmiennych i dyrektyw. %package mod_digest 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 Requires: %{name}(EAPI) = %{version} %description mod_digest This package contains mod_digest module. It provides user authentication using MD5 Digest Authentication. %description -l pl mod_digest Moduł ten dostarcza metodę autoryzacji bazującą na MD5 Digest Authentication. %package mod_dir 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 Requires: %{name}(EAPI) = %{version} %description mod_dir This package contains mod_dir which provides "trailing slash" redirects and serving directory index files. %description -l pl mod_dir Moduł oferujący przekierowania i serwowanie indeksu katalogu. %package mod_headers 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 Requires: %{name}(EAPI) = %{version} %description mod_headers This package contains mod_headers module. The module allows for the customization of HTTP response headers. Headers can be merged, replaced or removed. %description -l pl mod_headers Moduł pozwalający na łączenie, usuwania, zamianę nagłówków HTTP wysyłanych do przeglądarki. %package mod_mmap_static 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 Requires: %{name}(EAPI) = %{version} %description mod_mmap_static This package contains mod_mmap_static module. It provides mmap()ing of a statically configured list of frequently requested but not changed files. %description -l pl mod_mmap_static Moduł umożliwia mmap()owanie statycznie skonfigurowanych plików (często używanych ale nie ulegających zmianom). %package mod_imap 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 Requires: %{name}(EAPI) = %{version} %description mod_imap This package contains mod_imap module. It provides for .map files, replacing the functionality of the imagemap CGI program. Any directory or document type configured to use the handler imap-file. %description -l pl mod_imap Moduł umozliwiający obsługę plików .map (imap-file handler) %package mod_info 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 Requires: %{name}(EAPI) = %{version} %description mod_info This package contains mod_info module. It provides a comprehensive overview of the server configuration including all installed modules and directives in the configuration files. %description -l pl mod_info Moduł dostarczający informacji o konfiguracji serwera, zainstalowanych modułach itp. %package mod_proxy 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 Requires: %{name}(EAPI) = %{version} %description mod_proxy This package contains module with implementation a proxy/cache for Apache. It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, and HTTP/1.0. The module can be configured to connect to other proxy modules for these and other protocols. %description -l pl mod_proxy Moduł zawiera implementację serwera proxy/cache dla Apache. Iplementacja zawiera obsługę FTP, CONNECT (dla SSL), HTTP/0.9 i HTTP/1.0. %package mod_rewrite 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 Requires: %{name}(EAPI) = %{version} %description mod_rewrite This package contains It provides a rule-based rewriting engine to rewrite requested URLs on the fly. %description -l pl mod_rewrite Moduł oferujący możliwość ,,przepisywania'' adresów URL w locie. %package mod_status 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 Requires: %{name}(EAPI) = %{version} %description mod_status The Status module allows a server administrator to find out how well their server is performing. A HTML page is presented that gives the current server statistics in an easily readable form. If required this page can be made to automatically refresh (given a compatible browser). %description -l pl mod_status Moduł pozwala administratorowi na przeglądanie statystyk dotyczących pracy serwera apache (w postaci strony HTML). %package mod_usertrack 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 Requires: %{name}(EAPI) = %{version} %description mod_usertrack This package contains the user tracking module which did its own logging using CookieLog directory. This module allow multiple log files. %description -l pl mod_usertrack Moduł pozwalający na śledzenie ,,ciasteczek''. %package mod_vhost_alias 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 Requires: %{name}(EAPI) = %{version} %description mod_vhost_alias This package contains the mod_vhost_alias. It provides support for dynamically configured mass virtual hosting. %description -l pl mod_vhost_alias Moduł umożliwia na dynamiczne konfigurowanie masowej ilości serwerów wirtualnych. %package mod_unique_id Summary: Apache module which provides a magic token for each request Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Prereq: %{_sbindir}/apxs Requires: %{name}(EAPI) = %{version} %description mod_unique_id This package contains the mod_unique_id. This module provides a magic token for each request which is guaranteed to be unique across "all" requests under very specific conditions. The unique identifier is even unique across multiple machines in a properly configured cluster of 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. %package mod_expires Summary: Apache module which provides .... Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Prereq: %{_sbindir}/apxs Requires: %{name}(EAPI) = %{version} %description mod_expires %prep %setup -q -n apache_%{version} -a3 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %{?mod_rewrite_ldap:%patch11 -p1} %build OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \ ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --includedir=%{_includedir} \ --sbindir=%{_sbindir} \ --libexecdir=%{_libexecdir} \ --datadir=%{_datadir} \ --localstatedir=/var \ --runtimedir=/var/run \ --logfiledir=/var/log/httpd \ --with-layout=PLD \ --without-confadjust \ --enable-module=all \ --disable-module=auth_dbm \ --enable-shared=max \ --proxycachedir=/var/cache/apache \ --with-perl=%{_bindir}/perl \ --enable-suexec \ --suexec-caller=http \ --suexec-uidmin=500 \ --suexec-gidmin=500 \ --suexec-docroot=%{_datadir} \ --disable-rule=WANTHSREGEX \ --enable-rule=EAPI \ --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_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} %{__make} install-quiet root="$RPM_BUILD_ROOT" mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir} install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html 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 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 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 /sbin/chkconfig --add httpd %{_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 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 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2 umask 137 touch /var/log/httpd/{access,error,agent,referer}_log 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 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 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 %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2 %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2 %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2 %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2 %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2 %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2 %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2 %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2 %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2 %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2 %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd stop 1>&2 fi /sbin/chkconfig --del httpd 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 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.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_actions if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 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 /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_anon if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_auth_db %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.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 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 /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_define if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_digest %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.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_digest if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_dir %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.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_dir if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_expires %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.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_expires if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_headers %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.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_headers if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_mmap_static %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.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_mmap_static if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_imap %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.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_imap if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_info %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.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_info if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_proxy %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf fi 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_proxy if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2 grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \ /etc/httpd/httpd.conf.tmp mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_rewrite %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.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_rewrite if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_status %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf fi 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_status if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2 grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \ /etc/httpd/httpd.conf.tmp mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_usertrack %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.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_usertrack if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_unique_id %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.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_unique_id if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %post mod_vhost_alias %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf fi 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_vhost_alias if [ "$1" = "0" ]; then %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2 grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \ /etc/httpd/httpd.conf.tmp mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz %doc conf/mime.types %dir %{_datadir}/manual %dir %{_datadir}/manual/images/ %{_datadir}/manual/images/sub.gif %{_datadir}/manual/images/index.gif %{_datadir}/manual/images/home.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 %{_datadir}/manual/content-negotiation.html %{_datadir}/manual/custom-error.html %{_datadir}/manual/dns-caveats.html %{_datadir}/manual/dso.html %{_datadir}/manual/env.html %{_datadir}/manual/footer.html %{_datadir}/manual/handler.html %{_datadir}/manual/header.html %{_datadir}/manual/index.html %{_datadir}/manual/install.html %{_datadir}/manual/invoking.html %{_datadir}/manual/keepalive.html %{_datadir}/manual/location.html %{_datadir}/manual/multilogs.html %{_datadir}/manual/new_features_1_3.html %{_datadir}/manual/process-model.html %{_datadir}/manual/sections.html %{_datadir}/manual/sourcereorg.html %{_datadir}/manual/suexec.html %{_datadir}/manual/upgrading_to_1_3.html %dir %{_datadir}/manual/mod %{_datadir}/manual/mod/core.html %{_datadir}/manual/mod/directive-dict.html %{_datadir}/manual/mod/directives.html %{_datadir}/manual/mod/footer.html %{_datadir}/manual/mod/header.html %{_datadir}/manual/mod/index.html %{_datadir}/manual/mod/mod_access.html %{_datadir}/manual/mod/mod_alias.html %{_datadir}/manual/mod/mod_asis.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 %{_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 %{_datadir}/manual/mod/mod_mime_magic.html %{_datadir}/manual/mod/mod_negotiation.html %{_datadir}/manual/mod/mod_setenvif.html %{_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/* %attr(755,root,root) %dir %{_datadir}/html %config(noreplace) %{_datadir}/html/index.html %lang(ca) %{_datadir}/html/index.html.ca %lang(cz) %{_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(en) %{_datadir}/html/index.html.en %lang(es) %{_datadir}/html/index.html.es %lang(fr) %{_datadir}/html/index.html.fr %lang(it) %{_datadir}/html/index.html.it %lang(lu) %{_datadir}/html/index.html.lu %lang(nl) %{_datadir}/html/index.html.nl %lang(pt) %{_datadir}/html/index.html.pt %lang(se) %{_datadir}/html/index.html.se %{_datadir}/html/*.gif %{_datadir}/errordocs %dir %{_datadir}/icons %{_datadir}/icons/*.gif %dir %{_datadir}/icons/small %{_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_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(750,http,http) /var/lib/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/* %files suexec %defattr(644,root,root,755) %attr(4755,root,root) %{_sbindir}/suexec %files devel %defattr(644,root,root,755) %{_includedir} %files mod_actions %defattr(644,root,root,755) %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 %{_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 %attr(755,root,root) %{_bindir}/htpasswd %{_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 %{_datadir}/manual/mod/mod_define.html %files mod_digest %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_digest.so %{_datadir}/manual/mod/mod_digest.html %files mod_dir %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_dir.so %{_datadir}/manual/mod/mod_dir.html %files mod_expires %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_expires.so %{_datadir}/manual/mod/mod_expires.html %files mod_headers %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_headers.so %{_datadir}/manual/mod/mod_headers.html %files mod_mmap_static %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so %{_datadir}/manual/mod/mod_mmap_static.html %files mod_imap %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_imap.so %{_datadir}/manual/mod/mod_imap.html %files mod_info %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_info.so %{_datadir}/manual/mod/mod_info.html %files mod_proxy %defattr(644,root,root,755) %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 %files mod_rewrite %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_rewrite.so %{_datadir}/manual/mod/mod_rewrite.html %files mod_status %defattr(644,root,root,755) %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf %attr(755,root,root) %{_libexecdir}/mod_status.so %{_datadir}/manual/mod/mod_status.html %files mod_usertrack %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_usertrack.so %{_datadir}/manual/mod/mod_usertrack.html %files mod_unique_id %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_unique_id.so %{_datadir}/manual/mod/mod_unique_id.html %files mod_vhost_alias %defattr(644,root,root,755) %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so %{_datadir}/manual/mod/mod_vhost_alias.html %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf