httpd.spec.in revision c6db6598b8a2e89bc79c12e91174724d4d00f02c
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%define contentdir /var/www
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%define suexec_caller apache
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%define mmn APACHE_MMN
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Apache HTTP Server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelName: httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelVersion: APACHE_VERSION
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRelease: APACHE_RELEASE
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelURL: http://httpd.apache.org/
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelVendor: Apache Software Foundation
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSource0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelLicense: Apache License, Version 2.0
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: autoconf, perl, pkgconfig, findutils
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: zlib-devel, libselinux-devel, libuuid-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: apr-devel >= 1.4.0, apr-util-devel >= 1.4.0, pcre-devel >= 5.0
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: initscripts >= 8.36, /etc/mime.types
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelObsoletes: httpd-suexec
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires(pre): /usr/sbin/useradd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires(post): chkconfig
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelProvides: webserver
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelProvides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelProvides: httpd-mmn = %{mmn}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelApache is a powerful, full-featured, efficient, and freely-available
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelWeb server. Apache is also the most popular Web server on the
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelInternet.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: Development/Libraries
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Development tools for the Apache HTTP server.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelObsoletes: secureweb-devel, apache-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: apr-devel, apr-util-devel, pkgconfig, libtool
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = %{version}-%{release}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe httpd-devel package contains the APXS binary and other files
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelthat you need to build Dynamic Shared Objects (DSOs) for the
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelApache HTTP Server.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelIf you are installing the Apache HTTP server and you want to be
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelable to compile or develop additional modules for Apache, you need
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelto install this package.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package manual
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: Documentation
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Documentation for the Apache HTTP server.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = :%{version}-%{release}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelObsoletes: secureweb-manual, apache-manual
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description manual
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe httpd-manual package contains the complete manual and
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelreference guide for the Apache HTTP server. The information can
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelalso be found at http://httpd.apache.org/docs/.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package tools
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Tools for use with the Apache HTTP Server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description tools
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe httpd-tools package contains tools which can be used with
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelthe Apache HTTP Server.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package -n mod_authnz_ldap
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: LDAP modules for the Apache HTTP server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: openldap-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = %{version}-%{release}, httpd-mmn = %{mmn}, apr-util-ldap
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description -n mod_authnz_ldap
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe mod_authnz_ldap module for the Apache HTTP server provides
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelauthentication and authorization against an LDAP server, while
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmod_ldap provides an LDAP cache.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package -n mod_lua
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Lua language module for the Apache HTTP server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: lua-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = %{version}-%{release}, httpd-mmn = %{mmn}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description -n mod_lua
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe mod_lua module for the Apache HTTP server allows the server to be
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelextended with scripts written in the Lua programming language.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package -n mod_proxy_html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Proxy HTML filter modules for the Apache HTTP server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelEpoch: 1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: libxml2-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmn}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description -n mod_proxy_html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe mod_proxy_html module for the Apache HTTP server provides
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedela filter to rewrite HTML links within web content when used within
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedela reverse proxy environment. The mod_xml2enc module provides
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelenhanced charset/internationalisation support for mod_proxy_html.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package -n mod_socache_dc
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: Distcache shared object cache module for the Apache HTTP server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: distcache-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = %{version}-%{release}, httpd-mmn = %{mmn}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description -n mod_socache_dc
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe mod_socache_dc module for the Apache HTTP server allows the shared
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelobject cache to use the distcache shared caching mechanism.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%package -n mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelGroup: System Environment/Daemons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSummary: SSL/TLS module for the Apache HTTP server
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelEpoch: 1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelBuildRequires: openssl-devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires(post): openssl, /bin/cat
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires(pre): httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelRequires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmn}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%description -n mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelThe mod_ssl module provides strong cryptography for the Apache Web
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelserver via the Secure Sockets Layer (SSL) and Transport Layer
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSecurity (TLS) protocols.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%prep
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%setup -q
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Safety check: prevent build if defined MMN does not equal upstream MMN.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelvmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel/^2/p'`
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif test "x${vmmn}" != "x%{mmn}"; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel : Error: Upstream MMN is now ${vmmn}, packaged MMN is %{mmn}.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel : Update the mmn macro and rebuild.
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel exit 1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%build
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# forcibly prevent use of bundled apr, apr-util, pcre
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelrm -rf srclib/{apr,apr-util,pcre}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%configure \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-layout=RPM \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --libdir=%{_libdir} \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --sysconfdir=%{_sysconfdir}/httpd/conf \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --includedir=%{_includedir}/httpd \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --libexecdir=%{_libdir}/httpd/modules \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --datadir=%{contentdir} \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-installbuilddir=%{_libdir}/httpd/build \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-mpms-shared=all \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-suexec --with-suexec \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-suexec-caller=%{suexec_caller} \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-suexec-docroot=%{contentdir} \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-suexec-bin=%{_sbindir}/suexec \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-suexec-uidmin=500 --with-suexec-gidmin=100 \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-pie \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --with-pcre \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-mods-shared=all \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-ssl --with-ssl --enable-socache-dc --enable-bucketeer \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-case-filter --enable-case-filter-in \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --enable-policy \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel --disable-imagemap
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmake %{?_smp_mflags}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%install
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelrm -rf $RPM_BUILD_ROOT
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmake DESTDIR=$RPM_BUILD_ROOT install
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# for holding mod_dav lock database
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# create a prototype session cache
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedeltouch $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl/scache.{dir,pag,sem}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Make the MMN accessible to module packages
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelecho %{mmn} > $RPM_BUILD_ROOT%{_includedir}/httpd/.mmn
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Set up /var directories
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/httpd/cache-root
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# symlinks for /etc/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelln -s ../..%{_localstatedir}/log/httpd $RPM_BUILD_ROOT/etc/httpd/logs
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelln -s ../..%{_localstatedir}/run $RPM_BUILD_ROOT/etc/httpd/run
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelln -s ../..%{_libdir}/httpd/modules $RPM_BUILD_ROOT/etc/httpd/modules
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# install SYSV init stuff
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelinstall -m755 ./build/rpm/httpd.init \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelinstall -m755 ./build/rpm/htcacheclean.init \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel $RPM_BUILD_ROOT/etc/rc.d/init.d/htcacheclean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# install log rotation stuff
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelmkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelinstall -m644 ./build/rpm/httpd.logrotate \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel $RPM_BUILD_ROOT/etc/logrotate.d/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Remove unpackaged files
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelrm -rf $RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.exp \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel $RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Make suexec a+rw so it can be stripped. %%files lists real permissions
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelchmod 755 $RPM_BUILD_ROOT%{_sbindir}/suexec
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%pre
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Add the "apache" user
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel/usr/sbin/useradd -c "Apache" -u 48 \
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel -s /sbin/nologin -r -d %{contentdir} apache 2> /dev/null || :
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%post
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Register the httpd service
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel/sbin/chkconfig --add httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel/sbin/chkconfig --add htcacheclean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%preun
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif [ $1 = 0 ]; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel /sbin/service httpd stop > /dev/null 2>&1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel /sbin/service htcacheclean stop > /dev/null 2>&1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel /sbin/chkconfig --del httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel /sbin/chkconfig --del htcacheclean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%post -n mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelumask 077
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif [ ! -f %{_sysconfdir}/httpd/conf/server.key ] ; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/httpd/conf/server.key 2> /dev/null
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelFQDN=`hostname`
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif [ "x${FQDN}" = "x" ]; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel FQDN=localhost.localdomain
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif [ ! -f %{_sysconfdir}/httpd/conf/server.crt ] ; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelcat << EOF | %{_bindir}/openssl req -new -key %{_sysconfdir}/httpd/conf/server.key -x509 -days 365 -out %{_sysconfdir}/httpd/conf/server.crt 2>/dev/null
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel--
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSomeState
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSomeCity
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSomeOrganization
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelSomeOrganizationalUnit
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel${FQDN}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelroot@${FQDN}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan FriedelEOF
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%check
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel# Check the built modules are all PIC
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelif readelf -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.so | grep TEXTREL; then
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel : modules contain non-relocatable code
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel exit 1
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelfi
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%clean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedelrm -rf $RPM_BUILD_ROOT
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%doc ABOUT_APACHE README CHANGES LICENSE NOTICE
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_sysconfdir}/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sysconfdir}/httpd/modules
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sysconfdir}/httpd/logs
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sysconfdir}/httpd/run
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_sysconfdir}/httpd/conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_sysconfdir}/httpd/conf.d
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/httpd.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/magic
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/mime.types
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-autoindex.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-dav.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-default.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-info.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-languages.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-manual.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-mpm.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-multilang-errordoc.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-policy.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-userdir.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-vhosts.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/proxy-html.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-autoindex.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-dav.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-default.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-info.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-languages.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-manual.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-mpm.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-multilang-errordoc.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-policy.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-userdir.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-vhosts.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/proxy-html.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/httpd.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config %{_sysconfdir}/logrotate.d/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config %{_sysconfdir}/rc.d/init.d/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config %{_sysconfdir}/rc.d/init.d/htcacheclean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/fcgistarter
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/htcacheclean
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/apachectl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(4510,root,%{suexec_caller}) %{_sbindir}/suexec
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_libdir}/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_libdir}/httpd/modules
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_access_compat.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_actions.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_alias.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_allowhandlers.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_allowmethods.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_apreq.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_asis.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_auth_basic.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_auth_digest.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_auth_form.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_anon.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_core.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_dbd.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_dbm.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_file.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authn_socache.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_core.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_dbd.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_dbm.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_groupfile.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_host.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_owner.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authz_user.so
bf515db2f8b506f788f69875fa1319cfbf177c9dJan Friedel%{_libdir}/httpd/modules/mod_autoindex.so
bf515db2f8b506f788f69875fa1319cfbf177c9dJan Friedel%{_libdir}/httpd/modules/mod_bucketeer.so
c7bef3b16d3d2a0b09ff75fbbd724283ef1ee7e7Jan Friedel%{_libdir}/httpd/modules/mod_buffer.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_cache_disk.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_cache_socache.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_cache.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_case_filter.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_case_filter_in.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_cgid.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_charset_lite.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_data.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dav_fs.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dav_lock.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dav.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dbd.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_deflate.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dialup.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dir.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_dumpio.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_echo.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_env.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_expires.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_ext_filter.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_file_cache.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_filter.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_firehose.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_headers.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_heartbeat.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_heartmonitor.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_include.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_info.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_lbmethod_bybusyness.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_lbmethod_byrequests.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_lbmethod_bytraffic.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_lbmethod_heartbeat.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_log_config.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_log_debug.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_log_forensic.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_logio.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_macro.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mime_magic.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mime.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mpm_event.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mpm_eventopt.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mpm_prefork.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mpm_simple.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_mpm_worker.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_negotiation.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_policy.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_ajp.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_balancer.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_connect.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_express.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_fcgi.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_fdpass.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_ftp.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_http.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_scgi.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_wstunnel.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_ratelimit.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_reflector.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_remoteip.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_reqtimeout.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_request.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_rewrite.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_sed.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_session_cookie.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_session_crypto.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_session_dbd.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_session.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_setenvif.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_slotmem_plain.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_slotmem_shm.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_socache_dbm.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_socache_memcache.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_socache_shmcb.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_speling.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_status.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_substitute.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_suexec.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_unique_id.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_unixd.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_userdir.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_usertrack.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_version.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_vhost_alias.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_watchdog.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}/cgi-bin
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}/html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}/icons
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}/error
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{contentdir}/error/include
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{contentdir}/icons/*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{contentdir}/error/README
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{contentdir}/html/index.html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{contentdir}/error/*.var
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{contentdir}/error/include/*.html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0700,root,root) %dir %{_localstatedir}/log/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0700,apache,apache) %dir %{_localstatedir}/lib/dav
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0700,apache,apache) %dir %{_localstatedir}/cache/httpd/cache-root
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/suexec*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/apachectl.8*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/httpd.8*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/htcacheclean.8*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/fcgistarter.8*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files manual
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{contentdir}/manual
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{contentdir}/error/README
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files tools
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/ab
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/firehose
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/htdbm
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/htdigest
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/htpasswd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/logresolve
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/httxt2dbm
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/rotatelogs
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/firehose.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/htdbm.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/htdigest.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/htpasswd.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/httxt2dbm.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/ab.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/logresolve.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man8/rotatelogs.8*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%doc LICENSE NOTICE
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files -n mod_authnz_ldap
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_ldap.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_authnz_ldap.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files -n mod_lua
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_lua.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files -n mod_proxy_html
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_proxy_html.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_xml2enc.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files -n mod_socache_dc
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_socache_dc.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files -n mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/modules/mod_ssl.so
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/original/extra/httpd-ssl.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%config(noreplace) %{_sysconfdir}/httpd/conf/extra/httpd-ssl.conf
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0700,apache,root) %dir %{_localstatedir}/cache/mod_ssl
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.dir
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.pag
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.sem
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%files devel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%defattr(-,root,root)
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_includedir}/httpd
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/apxs
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/checkgid
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_bindir}/dbmmanage
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_sbindir}/envvars*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/dbmmanage.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_mandir}/man1/apxs.1*
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%dir %{_libdir}/httpd/build
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/build/*.mk
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/build/instdso.sh
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/build/config.nice
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel%{_libdir}/httpd/build/mkdir.sh
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel
657a8c206b913d1ee578fd725f0b25eca5b77253Jan Friedel