cvsdist 3cbd43b
%define contentdir /var/www
cvsdist 3cbd43b
%define suexec_caller apache
96e0b33
%define mmn 20051115
d546d00
%define mmnisa %{mmn}-%{__isa_name}-%{__isa_bits}
805286c
%define vstring Fedora
9dd08ad
%define mpms worker event
cvsdist f8e1fe3
cvsdist 3cbd43b
Summary: Apache HTTP Server
cvsdist 3cbd43b
Name: httpd
5ac19f6
Version: 2.2.19
Jan Kaluza 2673a43
Release: 5%{?dist}
cvsdist 3cbd43b
URL: http://httpd.apache.org/
5ac19f6
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
cvsdist 3cbd43b
Source1: index.html
cvsdist 3cbd43b
Source3: httpd.logrotate
cvsdist 3cbd43b
Source4: httpd.init
cvsdist e9bfb00
Source5: httpd.sysconf
Jan Kaluza 2673a43
Source6: httpd-ssl-pass-dialog
cvsdist 3cbd43b
Source10: httpd.conf
cvsdist 3cbd43b
Source11: ssl.conf
cvsdist d48e904
Source12: welcome.conf
cvsdist f8aafff
Source13: manual.conf
da4346b
Source14: httpd.tmpfiles
bd3365e
Source15: httpd.service
cvsdist f8e1fe3
# Documentation
c187a27
Source31: httpd.mpm.xml
cvsdist f8e1fe3
Source33: README.confd
cvsdist 3cbd43b
# build/scripts patches
96e0b33
Patch1: httpd-2.1.10-apctl.patch
96e0b33
Patch2: httpd-2.1.10-apxs.patch
9dd08ad
Patch3: httpd-2.2.9-deplibs.patch
96e0b33
Patch4: httpd-2.1.10-disablemods.patch
96e0b33
Patch5: httpd-2.1.10-layout.patch
cvsdist 6356941
# Features/functional changes
96e0b33
Patch20: httpd-2.0.48-release.patch
96e0b33
Patch22: httpd-2.1.10-pod.patch
96e0b33
Patch23: httpd-2.0.45-export.patch
110f0ad
Patch24: httpd-2.2.11-corelimit.patch
110f0ad
Patch25: httpd-2.2.11-selinux.patch
6a32927
Patch26: httpd-2.2.9-suenable.patch
Jan Kaluza 39b84c6
Patch27: httpd-2.2.19-logresolve-ipv6.patch
073d591
License: ASL 2.0
cvsdist 3cbd43b
Group: System Environment/Daemons
47c8208
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
c187a27
BuildRequires: autoconf, perl, pkgconfig, findutils, xmlto
110f0ad
BuildRequires: zlib-devel, libselinux-devel
6401925
BuildRequires: apr-devel >= 1.2.0, apr-util-devel >= 1.2.0, pcre-devel >= 5.0
78b00cd
Requires: initscripts >= 8.36, /etc/mime.types, system-logos >= 7.92.1-1
06872c8
Obsoletes: httpd-suexec
47c8208
Requires(pre): /usr/sbin/useradd
47c8208
Requires(post): chkconfig
cvsdist 3cbd43b
Provides: webserver
935b958
Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release}
d546d00
Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}
9bdb50e
Requires: httpd-tools = %{version}-%{release}, apr-util-ldap, systemd-units
cvsdist 3cbd43b
cvsdist 3cbd43b
%description
0f8eb18
The Apache HTTP Server is a powerful, efficient, and extensible
0f8eb18
web server.
cvsdist 3cbd43b
cvsdist 3cbd43b
%package devel
cvsdist 3cbd43b
Group: Development/Libraries
8499915
Summary: Development interfaces for the Apache HTTP server
cvsdist 6356941
Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel
c1d7519
Requires: apr-devel, apr-util-devel, pkgconfig
9f7341d
Requires: httpd = %{version}-%{release}
cvsdist 3cbd43b
cvsdist 3cbd43b
%description devel
cvsdist 3cbd43b
The httpd-devel package contains the APXS binary and other files
7c0f3e4
that you need to build Dynamic Shared Objects (DSOs) for the
7c0f3e4
Apache HTTP Server.
cvsdist 3cbd43b
cvsdist 3cbd43b
If you are installing the Apache HTTP server and you want to be
cvsdist 3cbd43b
able to compile or develop additional modules for Apache, you need
cvsdist 3cbd43b
to install this package.
cvsdist 3cbd43b
cvsdist 3cbd43b
%package manual
cvsdist 3cbd43b
Group: Documentation
935b958
Summary: Documentation for the Apache HTTP server
9f7341d
Requires: httpd = %{version}-%{release}
cvsdist 3cbd43b
Obsoletes: secureweb-manual, apache-manual
39b4bd2
BuildArch: noarch
cvsdist 3cbd43b
cvsdist 3cbd43b
%description manual
cvsdist 3cbd43b
The httpd-manual package contains the complete manual and
cvsdist 3cbd43b
reference guide for the Apache HTTP server. The information can
9f9ccbc
also be found at http://httpd.apache.org/docs/2.2/.
cvsdist 3cbd43b
8499915
%package tools
8499915
Group: System Environment/Daemons
8499915
Summary: Tools for use with the Apache HTTP Server
8499915
8499915
%description tools
8499915
The httpd-tools package contains tools which can be used with 
8499915
the Apache HTTP Server.
8499915
cvsdist 3cbd43b
%package -n mod_ssl
cvsdist 3cbd43b
Group: System Environment/Daemons
8499915
Summary: SSL/TLS module for the Apache HTTP Server
jbj b35049d
Epoch: 1
c187a27
BuildRequires: openssl-devel
3383664
Requires(post): openssl, /bin/cat
9c0ce39
Requires(pre): httpd
d546d00
Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
cvsdist 6356941
Obsoletes: stronghold-mod_ssl
cvsdist 3cbd43b
cvsdist 3cbd43b
%description -n mod_ssl
cvsdist 3cbd43b
The mod_ssl module provides strong cryptography for the Apache Web
cvsdist 3cbd43b
server via the Secure Sockets Layer (SSL) and Transport Layer
cvsdist 3cbd43b
Security (TLS) protocols.
cvsdist 3cbd43b
cvsdist 3cbd43b
%prep
cvsdist 3cbd43b
%setup -q
cvsdist d4ea4ed
%patch1 -p1 -b .apctl
cvsdist 739d054
%patch2 -p1 -b .apxs
96e0b33
%patch3 -p1 -b .deplibs
96e0b33
%patch4 -p1 -b .disablemods
96e0b33
%patch5 -p1 -b .layout
96e0b33
96e0b33
%patch22 -p1 -b .pod
96e0b33
%patch23 -p1 -b .export
96e0b33
%patch24 -p1 -b .corelimit
96e0b33
%patch25 -p1 -b .selinux
6a32927
%patch26 -p1 -b .suenable
Jan Kaluza 39b84c6
%patch27 -p1 -b .logresolve-ipv6
cvsdist 3cbd43b
cvsdist 6356941
# Patch in vendor/release string
96e0b33
sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
cvsdist 2d6a2e5
cvsdist f8e1fe3
# Safety check: prevent build if defined MMN does not equal upstream MMN.
cvsdist 3ebc88d
vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
cvsdist f8e1fe3
if test "x${vmmn}" != "x%{mmn}"; then
d546d00
   : Error: Upstream MMN is now ${vmmn}, packaged MMN is %{mmn}
cvsdist f8e1fe3
   : Update the mmn macro and rebuild.
cvsdist f8e1fe3
   exit 1
cvsdist f8e1fe3
fi
cvsdist f8e1fe3
d546d00
: Building with MMN %{mmn}, MMN-ISA %{mmnisa} and vendor string '%{vstring}'
cvsdist 3ebc88d
cvsdist 739d054
%build
cvsdist 436bfeb
# forcibly prevent use of bundled apr, apr-util, pcre
cvsdist 436bfeb
rm -rf srclib/{apr,apr-util,pcre}
cvsdist 436bfeb
cvsdist 3cbd43b
# regenerate configure scripts
cvsdist 436bfeb
autoheader && autoconf || exit 1
cvsdist 3cbd43b
cvsdist f8e1fe3
# Before configure; fix location of build dir in generated apxs
cvsdist f8e1fe3
%{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \
cvsdist f8e1fe3
	support/apxs.in
cvsdist f8e1fe3
e359920
export CFLAGS=$RPM_OPT_FLAGS
e359920
export LDFLAGS="-Wl,-z,relro,-z,now"
cvsdist f8e1fe3
e91269e
# Hard-code path to links to avoid unnecessary builddep
e91269e
export LYNX_PATH=/usr/bin/links
e91269e
cvsdist f8e1fe3
function mpmbuild()
cvsdist f8e1fe3
{
cvsdist f8e1fe3
mpm=$1; shift
bd3365e
bd3365e
# Build the systemd file
bd3365e
sed "s,@NAME@,${mpm},g;s,@EXEC@,%{_sbindir}/httpd.${mpm},g" %{SOURCE15} > httpd-${mpm}.service
bd3365e
touch -r %{SOURCE15} httpd-${mpm}.service
bd3365e
bd3365e
# Build the man page
bd3365e
ymdate=`date +'%b %Y'`
bd3365e
sed "s/@PROGNAME@/httpd.${mpm}/g;s/@DATE@/${ymdate}/g;s/@VERSION@/%{version}/g;s/@MPM@/${mpm}/g;" \
bd3365e
    < $RPM_SOURCE_DIR/httpd.mpm.xml > httpd.${mpm}.8.xml
bd3365e
xmlto man httpd.${mpm}.8.xml
bd3365e
bd3365e
# Build the daemon
cvsdist f8e1fe3
mkdir $mpm; pushd $mpm
cvsdist 6356941
../configure \
cvsdist 3cbd43b
 	--prefix=%{_sysconfdir}/httpd \
cvsdist 3cbd43b
 	--exec-prefix=%{_prefix} \
cvsdist 3cbd43b
 	--bindir=%{_bindir} \
cvsdist 3cbd43b
 	--sbindir=%{_sbindir} \
cvsdist 3cbd43b
 	--mandir=%{_mandir} \
cvsdist f8e1fe3
	--libdir=%{_libdir} \
cvsdist 3cbd43b
	--sysconfdir=%{_sysconfdir}/httpd/conf \
cvsdist 3cbd43b
	--includedir=%{_includedir}/httpd \
cvsdist 3cbd43b
	--libexecdir=%{_libdir}/httpd/modules \
cvsdist 3cbd43b
	--datadir=%{contentdir} \
cvsdist d48e904
        --with-installbuilddir=%{_libdir}/httpd/build \
cvsdist f8e1fe3
	--with-mpm=$mpm \
cvsdist d48e904
        --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
cvsdist 3cbd43b
	--enable-suexec --with-suexec \
cvsdist 3cbd43b
	--with-suexec-caller=%{suexec_caller} \
cvsdist 3cbd43b
	--with-suexec-docroot=%{contentdir} \
cvsdist 3cbd43b
	--with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
cvsdist 3cbd43b
	--with-suexec-bin=%{_sbindir}/suexec \
cvsdist d48e904
	--with-suexec-uidmin=500 --with-suexec-gidmin=100 \
96e0b33
        --enable-pie \
96e0b33
        --with-pcre \
cvsdist f8e1fe3
	$*
cvsdist f8e1fe3
cvsdist f8e1fe3
make %{?_smp_mflags}
cvsdist f8e1fe3
popd
cvsdist f8e1fe3
}
cvsdist f8e1fe3
96e0b33
# Build everything and the kitchen sink with the prefork build
96e0b33
mpmbuild prefork \
96e0b33
        --enable-mods-shared=all \
c187a27
	--enable-ssl --with-ssl --disable-distcache \
96e0b33
	--enable-proxy \
8a37bd4
        --enable-cache \
8a37bd4
        --enable-disk-cache \
96e0b33
        --enable-ldap --enable-authnz-ldap \
96e0b33
        --enable-cgid \
abfe86f
        --enable-authn-anon --enable-authn-alias \
abfe86f
        --disable-imagemap
cvsdist f8e1fe3
96e0b33
# For the other MPMs, just build httpd and no optional modules
9dd08ad
for f in %{mpms}; do
9dd08ad
   mpmbuild $f --enable-modules=none
9dd08ad
done
cvsdist f8e1fe3
bd3365e
# Create default/prefork service file for systemd
df147d5
sed "s,@NAME@,prefork,g;s,@EXEC@,%{_sbindir}/httpd,g" %{SOURCE15} > httpd.service
bd3365e
touch -r %{SOURCE15} httpd.service
c187a27
cvsdist 3cbd43b
%install
cvsdist 3cbd43b
rm -rf $RPM_BUILD_ROOT
cvsdist 3cbd43b
cvsdist 3cbd43b
# Classify ab and logresolve as section 1 commands, as they are in /usr/bin
cvsdist 3cbd43b
mv docs/man/ab.8 docs/man/ab.1
cvsdist 6356941
mv docs/man/logresolve.8 docs/man/logresolve.1
cvsdist 3cbd43b
cvsdist f8e1fe3
pushd prefork
cvsdist 3cbd43b
make DESTDIR=$RPM_BUILD_ROOT install
cvsdist f8e1fe3
popd
cvsdist 3cbd43b
bd3365e
# install alternative MPMs; executables, man pages, and systemd service files
bd3365e
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
9dd08ad
for f in %{mpms}; do
9dd08ad
  install -m 755 ${f}/httpd $RPM_BUILD_ROOT%{_sbindir}/httpd.${f}
c187a27
  install -m 644 httpd.${f}.8 $RPM_BUILD_ROOT%{_mandir}/man8/httpd.${f}.8
bd3365e
  install -p -m 644 httpd-${f}.service \
bd3365e
          $RPM_BUILD_ROOT/lib/systemd/system/httpd-${f}.service
9dd08ad
done
7c0f3e4
bd3365e
# Default httpd (prefork) service file
bd3365e
install -p -m 644 httpd.service \
bd3365e
        $RPM_BUILD_ROOT/lib/systemd/system/httpd.service
bd3365e
cvsdist 3cbd43b
# install conf file/directory
cvsdist 3cbd43b
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
cvsdist 3cbd43b
install -m 644 $RPM_SOURCE_DIR/README.confd \
cvsdist f8aafff
    $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/README
3383664
for f in ssl.conf welcome.conf manual.conf; do
78b00cd
  install -m 644 -p $RPM_SOURCE_DIR/$f \
78b00cd
        $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/$f
cvsdist f8aafff
done
cvsdist 3cbd43b
cvsdist 3cbd43b
rm $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/*.conf
12462ec
install -m 644 -p $RPM_SOURCE_DIR/httpd.conf \
cvsdist 3cbd43b
   $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/httpd.conf
cvsdist 3cbd43b
cvsdist e9bfb00
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
78b00cd
install -m 644 -p $RPM_SOURCE_DIR/httpd.sysconf \
cvsdist e9bfb00
   $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/httpd
cvsdist e9bfb00
da4346b
# tmpfiles.d configuration
da4346b
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d 
da4346b
install -m 644 -p $RPM_SOURCE_DIR/httpd.tmpfiles \
da4346b
   $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/httpd.conf
da4346b
cvsdist 3cbd43b
# for holding mod_dav lock database
cvsdist 3cbd43b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav
cvsdist 3cbd43b
cvsdist f13b38c
# create a prototype session cache
cvsdist f13b38c
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl
cvsdist f13b38c
touch $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_ssl/scache.{dir,pag,sem}
cvsdist f13b38c
cvsdist d48e904
# create cache root
cvsdist d48e904
mkdir $RPM_BUILD_ROOT%{_localstatedir}/cache/mod_proxy
cvsdist d48e904
cvsdist 3cbd43b
# move utilities to /usr/bin
cvsdist 3cbd43b
mv $RPM_BUILD_ROOT%{_sbindir}/{ab,htdbm,logresolve,htpasswd,htdigest} \
cvsdist 3cbd43b
   $RPM_BUILD_ROOT%{_bindir}
cvsdist 3cbd43b
cvsdist 6af796e
# Make the MMN accessible to module packages
d546d00
echo %{mmnisa} > $RPM_BUILD_ROOT%{_includedir}/httpd/.mmn
cvsdist 6af796e
cvsdist 3cbd43b
# docroot
cvsdist 3cbd43b
mkdir $RPM_BUILD_ROOT%{contentdir}/html
12462ec
install -m 644 -p $RPM_SOURCE_DIR/index.html \
12462ec
        $RPM_BUILD_ROOT%{contentdir}/error/noindex.html
cvsdist d48e904
cvsdist d48e904
# remove manual sources
cvsdist d48e904
find $RPM_BUILD_ROOT%{contentdir}/manual \( \
cvsdist d48e904
    -name \*.xml -o -name \*.xml.* -o -name \*.ent -o -name \*.xsl -o -name \*.dtd \
cvsdist d48e904
    \) -print0 | xargs -0 rm -f
cvsdist 3cbd43b
2724cce
# Strip the manual down just to English and replace the typemaps with flat files:
2724cce
set +x
2724cce
for f in `find $RPM_BUILD_ROOT%{contentdir}/manual -name \*.html -type f`; do
2724cce
   if test -f ${f}.en; then
2724cce
      cp ${f}.en ${f}
2724cce
      rm ${f}.*
2724cce
   fi
2724cce
done
2724cce
set -x
2724cce
78b00cd
# Symlink for the powered-by-$DISTRO image:
78b00cd
ln -s ../../..%{_datadir}/pixmaps/poweredby.png \
78b00cd
        $RPM_BUILD_ROOT%{contentdir}/icons/poweredby.png
cvsdist 3cbd43b
110f0ad
# Set up /var directories
cvsdist 3cbd43b
rmdir $RPM_BUILD_ROOT%{_sysconfdir}/httpd/logs
cvsdist 3cbd43b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/httpd
110f0ad
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/httpd
cvsdist 3cbd43b
cvsdist 3cbd43b
# symlinks for /etc/httpd
cvsdist 3cbd43b
ln -s ../..%{_localstatedir}/log/httpd $RPM_BUILD_ROOT/etc/httpd/logs
f47f283
ln -s ../..%{_localstatedir}/run/httpd $RPM_BUILD_ROOT/etc/httpd/run
cvsdist 3cbd43b
ln -s ../..%{_libdir}/httpd/modules $RPM_BUILD_ROOT/etc/httpd/modules
cvsdist 3cbd43b
cvsdist 3cbd43b
# install SYSV init stuff
cvsdist 3cbd43b
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
cvsdist 3cbd43b
install -m755 $RPM_SOURCE_DIR/httpd.init \
cvsdist 3cbd43b
	$RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
cvsdist 3cbd43b
Jan Kaluza 2673a43
# install http-ssl-pass-dialog
Jan Kaluza 2673a43
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}
Jan Kaluza 2673a43
install -m755 $RPM_SOURCE_DIR/httpd-ssl-pass-dialog \
Jan Kaluza 2673a43
	$RPM_BUILD_ROOT/%{_libexecdir}/httpd-ssl-pass-dialog
Jan Kaluza 2673a43
cvsdist 3cbd43b
# install log rotation stuff
cvsdist 3cbd43b
mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
78b00cd
install -m 644 -p $RPM_SOURCE_DIR/httpd.logrotate \
cvsdist 3cbd43b
	$RPM_BUILD_ROOT/etc/logrotate.d/httpd
cvsdist 3cbd43b
cvsdist 3cbd43b
# fix man page paths
cvsdist 3cbd43b
sed -e "s|/usr/local/apache2/conf/httpd.conf|/etc/httpd/conf/httpd.conf|" \
cvsdist 3cbd43b
    -e "s|/usr/local/apache2/conf/mime.types|/etc/mime.types|" \
cvsdist 3cbd43b
    -e "s|/usr/local/apache2/conf/magic|/etc/httpd/conf/magic|" \
cvsdist 3cbd43b
    -e "s|/usr/local/apache2/logs/error_log|/var/log/httpd/error_log|" \
cvsdist 3cbd43b
    -e "s|/usr/local/apache2/logs/access_log|/var/log/httpd/access_log|" \
110f0ad
    -e "s|/usr/local/apache2/logs/httpd.pid|/var/run/httpd/httpd.pid|" \
cvsdist 3cbd43b
    -e "s|/usr/local/apache2|/etc/httpd|" < docs/man/httpd.8 \
cvsdist 3cbd43b
  > $RPM_BUILD_ROOT%{_mandir}/man8/httpd.8
cvsdist 3cbd43b
48593e5
# Make ap_config_layout.h libdir-agnostic
48593e5
sed -i '/.*DEFAULT_..._LIBEXECDIR/d;/DEFAULT_..._INSTALLBUILDDIR/d' \
48593e5
    $RPM_BUILD_ROOT%{_includedir}/httpd/ap_config_layout.h
48593e5
e91269e
# Fix path to instdso in special.mk
e91269e
sed -i '/instdso/s,top_srcdir,top_builddir,' \
e91269e
    $RPM_BUILD_ROOT%{_libdir}/httpd/build/special.mk
e91269e
cvsdist f8e1fe3
# Remove unpackaged files
cvsdist d48e904
rm -f $RPM_BUILD_ROOT%{_libdir}/*.exp \
cvsdist f8e1fe3
      $RPM_BUILD_ROOT/etc/httpd/conf/mime.types \
cvsdist f8e1fe3
      $RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.exp \
cvsdist 2d6a2e5
      $RPM_BUILD_ROOT%{_libdir}/httpd/build/config.nice \
cvsdist f8e1fe3
      $RPM_BUILD_ROOT%{_bindir}/ap?-config \
cvsdist f8e1fe3
      $RPM_BUILD_ROOT%{_sbindir}/{checkgid,dbmmanage,envvars*} \
cvsdist f8e1fe3
      $RPM_BUILD_ROOT%{contentdir}/htdocs/* \
cvsdist 6356941
      $RPM_BUILD_ROOT%{_mandir}/man1/dbmmanage.* \
cvsdist 6356941
      $RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
cvsdist f8e1fe3
96e0b33
rm -rf $RPM_BUILD_ROOT/etc/httpd/conf/{original,extra}
96e0b33
cvsdist 6356941
# Make suexec a+rw so it can be stripped.  %%files lists real permissions
cvsdist 6356941
chmod 755 $RPM_BUILD_ROOT%{_sbindir}/suexec
cvsdist 6356941
cvsdist 3cbd43b
%pre
cvsdist 3cbd43b
# Add the "apache" user
cvsdist 3cbd43b
/usr/sbin/useradd -c "Apache" -u 48 \
cvsdist 3cbd43b
	-s /sbin/nologin -r -d %{contentdir} apache 2> /dev/null || :
cvsdist 3cbd43b
cvsdist 3cbd43b
%post
cvsdist 3cbd43b
# Register the httpd service
cvsdist 3cbd43b
/sbin/chkconfig --add httpd
cvsdist 3cbd43b
cvsdist 3cbd43b
%preun
cvsdist 3cbd43b
if [ $1 = 0 ]; then
cvsdist 3cbd43b
	/sbin/service httpd stop > /dev/null 2>&1
cvsdist 3cbd43b
	/sbin/chkconfig --del httpd
cvsdist 3cbd43b
fi
cvsdist 3cbd43b
b2a4380
%posttrans
b2a4380
/sbin/service httpd condrestart >/dev/null 2>&1 || :
b2a4380
670541e
%define sslcert %{_sysconfdir}/pki/tls/certs/localhost.crt
670541e
%define sslkey %{_sysconfdir}/pki/tls/private/localhost.key
06872c8
cvsdist 3cbd43b
%post -n mod_ssl
cvsdist 3cbd43b
umask 077
cvsdist 3cbd43b
670541e
if [ ! -f %{sslkey} ] ; then
670541e
%{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{sslkey} 2> /dev/null
cvsdist 3cbd43b
fi
cvsdist 3cbd43b
cvsdist 3cbd43b
FQDN=`hostname`
cvsdist 3cbd43b
if [ "x${FQDN}" = "x" ]; then
cvsdist 3cbd43b
   FQDN=localhost.localdomain
cvsdist 3cbd43b
fi
cvsdist 3cbd43b
670541e
if [ ! -f %{sslcert} ] ; then
670541e
cat << EOF | %{_bindir}/openssl req -new -key %{sslkey} \
c187a27
         -x509 -days 365 -set_serial $RANDOM -extensions v3_req \
670541e
         -out %{sslcert} 2>/dev/null
cvsdist 3cbd43b
--
cvsdist 3cbd43b
SomeState
cvsdist 3cbd43b
SomeCity
cvsdist 3cbd43b
SomeOrganization
cvsdist 3cbd43b
SomeOrganizationalUnit
cvsdist 3cbd43b
${FQDN}
cvsdist 3cbd43b
root@${FQDN}
cvsdist 3cbd43b
EOF
cvsdist 3cbd43b
fi
cvsdist 3cbd43b
cvsdist d48e904
%check
cvsdist d48e904
# Check the built modules are all PIC
cvsdist d48e904
if readelf -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules/*.so | grep TEXTREL; then
cvsdist d48e904
   : modules contain non-relocatable code
cvsdist d48e904
   exit 1
cvsdist d48e904
fi
cvsdist d48e904
96e0b33
# Verify that the same modules were built into the httpd binaries
439691b
./prefork/httpd -l | grep -v prefork > prefork.mods
9dd08ad
for mpm in %{mpms}; do
96e0b33
  ./${mpm}/httpd -l | grep -v ${mpm} > ${mpm}.mods
96e0b33
  if ! diff -u prefork.mods ${mpm}.mods; then
96e0b33
    : Different modules built into httpd binaries, will not proceed
96e0b33
    exit 1
96e0b33
  fi
96e0b33
done
439691b
cvsdist 3cbd43b
%clean
cvsdist 3cbd43b
rm -rf $RPM_BUILD_ROOT
cvsdist 3cbd43b
cvsdist 3cbd43b
%files
cvsdist 3cbd43b
%defattr(-,root,root)
cvsdist 3cbd43b
cvsdist d01424a
%doc ABOUT_APACHE README CHANGES LICENSE VERSIONING NOTICE
cvsdist 3cbd43b
cvsdist 3cbd43b
%dir %{_sysconfdir}/httpd
cvsdist 3cbd43b
%{_sysconfdir}/httpd/modules
cvsdist 3cbd43b
%{_sysconfdir}/httpd/logs
cvsdist 3cbd43b
%{_sysconfdir}/httpd/run
cvsdist 3cbd43b
%dir %{_sysconfdir}/httpd/conf
a980810
%config(noreplace) %{_sysconfdir}/httpd/conf/httpd.conf
cvsdist d48e904
%config(noreplace) %{_sysconfdir}/httpd/conf.d/welcome.conf
cvsdist 3cbd43b
%config(noreplace) %{_sysconfdir}/httpd/conf/magic
cvsdist 3cbd43b
cvsdist d48e904
%config(noreplace) %{_sysconfdir}/logrotate.d/httpd
47c8208
%{_sysconfdir}/rc.d/init.d/httpd
cvsdist 3cbd43b
cvsdist 3cbd43b
%dir %{_sysconfdir}/httpd/conf.d
cvsdist 3cbd43b
%{_sysconfdir}/httpd/conf.d/README
cvsdist 3cbd43b
cvsdist e9bfb00
%config(noreplace) %{_sysconfdir}/sysconfig/httpd
da4346b
%config %{_sysconfdir}/tmpfiles.d/httpd.conf
cvsdist e9bfb00
96e0b33
%{_sbindir}/ht*
cvsdist 3cbd43b
%{_sbindir}/apachectl
cvsdist 3cbd43b
%{_sbindir}/rotatelogs
Jan Kaluza a1caf8d
# cap_dac_override needed to write to /var/log/httpd
Jan Kaluza a1caf8d
%caps(cap_setuid,cap_setgid,cap_dac_override+pe) %attr(510,root,%{suexec_caller}) %{_sbindir}/suexec
cvsdist 3cbd43b
cvsdist 3cbd43b
%dir %{_libdir}/httpd
cvsdist 3cbd43b
%dir %{_libdir}/httpd/modules
cvsdist 6356941
%{_libdir}/httpd/modules/mod*.so
cvsdist 6356941
%exclude %{_libdir}/httpd/modules/mod_ssl.so
cvsdist 3cbd43b
cvsdist 3cbd43b
%dir %{contentdir}
cvsdist 3cbd43b
%dir %{contentdir}/cgi-bin
cvsdist 3cbd43b
%dir %{contentdir}/html
cvsdist 3cbd43b
%dir %{contentdir}/icons
cvsdist d5ddf48
%dir %{contentdir}/error
cvsdist d5ddf48
%dir %{contentdir}/error/include
cvsdist 3cbd43b
%{contentdir}/icons/*
cvsdist d5ddf48
%{contentdir}/error/README
cvsdist d5ddf48
%{contentdir}/error/noindex.html
cvsdist d48e904
%config %{contentdir}/error/*.var
cvsdist d48e904
%config %{contentdir}/error/include/*.html
cvsdist 3cbd43b
ba94879
%attr(0710,root,apache) %dir %{_localstatedir}/run/httpd
cvsdist 3cbd43b
%attr(0700,root,root) %dir %{_localstatedir}/log/httpd
cvsdist 3cbd43b
%attr(0700,apache,apache) %dir %{_localstatedir}/lib/dav
cvsdist d48e904
%attr(0700,apache,apache) %dir %{_localstatedir}/cache/mod_proxy
cvsdist 3cbd43b
8499915
%{_mandir}/man8/*
cvsdist 6356941
%exclude %{_mandir}/man8/apxs.8*
cvsdist 3cbd43b
bd3365e
/lib/systemd/system/*.service
bd3365e
8499915
%files tools
8499915
%defattr(-,root,root)
8499915
%{_bindir}/*
8499915
%{_mandir}/man1/*
3383664
%doc LICENSE NOTICE
8499915
cvsdist 3cbd43b
%files manual
cvsdist 3cbd43b
%defattr(-,root,root)
cvsdist 3cbd43b
%{contentdir}/manual
ab67633
%config %{_sysconfdir}/httpd/conf.d/manual.conf
cvsdist 3cbd43b
cvsdist 3cbd43b
%files -n mod_ssl
cvsdist 3cbd43b
%defattr(-,root,root)
cvsdist 3cbd43b
%{_libdir}/httpd/modules/mod_ssl.so
cvsdist 3cbd43b
%config(noreplace) %{_sysconfdir}/httpd/conf.d/ssl.conf
cvsdist f13b38c
%attr(0700,apache,root) %dir %{_localstatedir}/cache/mod_ssl
cvsdist f13b38c
%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.dir
cvsdist f13b38c
%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.pag
cvsdist f13b38c
%attr(0600,apache,root) %ghost %{_localstatedir}/cache/mod_ssl/scache.sem
Jan Kaluza 2673a43
%{_libexecdir}/httpd-ssl-pass-dialog
cvsdist 3cbd43b
cvsdist 3cbd43b
%files devel
cvsdist 3cbd43b
%defattr(-,root,root)
cvsdist 3cbd43b
%{_includedir}/httpd
cvsdist 3cbd43b
%{_sbindir}/apxs
cvsdist 3cbd43b
%{_mandir}/man8/apxs.8*
cvsdist 3cbd43b
%dir %{_libdir}/httpd/build
cvsdist 3cbd43b
%{_libdir}/httpd/build/*.mk
96e0b33
%{_libdir}/httpd/build/*.sh
cvsdist 3cbd43b
cvsdist 3cbd43b
%changelog
Jan Kaluza 2673a43
* Wed Aug 10 2011 Jan Kaluza <jkaluza@redhat.com> - 2.2.19-5
Jan Kaluza 2673a43
- fix #707917 - add httpd-ssl-pass-dialog to ask for SSL password using systemd
Jan Kaluza 2673a43
badeb4a
* Fri Jul 22 2011 Iain Arnell <iarnell@gmail.com> 1:2.2.19-4
badeb4a
- rebuild while rpm-4.9.1 is untagged to remove trailing slash in provided
badeb4a
  directory names
badeb4a
Jan Kaluza a1caf8d
* Wed Jul 20 2011 Jan Kaluza <jkaluza@redhat.com> - 2.2.19-3
Jan Kaluza a1caf8d
- fix #716621 - suexec now works without setuid bit
Jan Kaluza a1caf8d
Jan Kaluza 39b84c6
* Thu Jul 14 2011 Jan Kaluza <jkaluza@redhat.com> - 2.2.19-2
Jan Kaluza 39b84c6
- fix #689091 - backported patch from 2.3 branch to support IPv6 in logresolve
Jan Kaluza 39b84c6
5ac19f6
* Fri Jul  1 2011 Joe Orton <jorton@redhat.com> - 2.2.19-1
5ac19f6
- update to 2.2.19
5ac19f6
- enable dbd, authn_dbd in default config
5ac19f6
df147d5
* Thu Apr 14 2011 Joe Orton <jorton@redhat.com> - 2.2.17-13
df147d5
- fix path expansion in service files
df147d5
bd3365e
* Tue Apr 12 2011 Joe Orton <jorton@redhat.com> - 2.2.17-12
bd3365e
- add systemd service files (#684175, thanks to J├│hann B. Gu├░mundsson)
bd3365e
718c836
* Wed Mar 23 2011 Joe Orton <jorton@redhat.com> - 2.2.17-11
718c836
- minor updates to httpd.conf
718c836
- drop old patches
718c836
f334064
* Wed Mar  2 2011 Joe Orton <jorton@redhat.com> - 2.2.17-10
f334064
- rebuild
f334064
1c70e18
* Wed Feb 23 2011 Joe Orton <jorton@redhat.com> - 2.2.17-9
d546d00
- use arch-specific mmn
d546d00
f6428e0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.17-8
f6428e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f6428e0
c187a27
* Mon Jan 31 2011 Joe Orton <jorton@redhat.com> - 2.2.17-7
c187a27
- generate dummy mod_ssl cert with CA:FALSE constraint (#667841)
c187a27
- add man page stubs for httpd.event, httpd.worker
c187a27
- drop distcache support
c187a27
- add STOP_TIMEOUT support to init script
c187a27
0e9583d
* Sat Jan  8 2011 Joe Orton <jorton@redhat.com> - 2.2.17-6
0e9583d
- update default SSLCipherSuite per upstream trunk
0e9583d
9bdb50e
* Wed Jan  5 2011 Joe Orton <jorton@redhat.com> - 2.2.17-5
9bdb50e
- fix requires (#667397)
9bdb50e
ba94879
* Wed Jan  5 2011 Joe Orton <jorton@redhat.com> - 2.2.17-4
ba94879
- de-ghost /var/run/httpd
ba94879
da4346b
* Tue Jan  4 2011 Joe Orton <jorton@redhat.com> - 2.2.17-3
da4346b
- add tmpfiles.d configuration, ghost /var/run/httpd (#656600)
da4346b
38e4a75
* Sat Nov 20 2010 Joe Orton <jorton@redhat.com> - 2.2.17-2
38e4a75
- drop setuid bit, use capabilities for suexec binary
38e4a75
ec012a6
* Wed Oct 27 2010 Joe Orton <jorton@redhat.com> - 2.2.17-1
ec012a6
- update to 2.2.17
ec012a6
e359920
* Fri Sep 10 2010 Joe Orton <jorton@redhat.com> - 2.2.16-2
e359920
- link everything using -z relro and -z now
e359920
57af27d
* Mon Jul 26 2010 Joe Orton <jorton@redhat.com> - 2.2.16-1
57af27d
- update to 2.2.16
57af27d
3383664
* Fri Jul  9 2010 Joe Orton <jorton@redhat.com> - 2.2.15-3
3383664
- default config tweaks:
3383664
 * harden httpd.conf w.r.t. .htaccess restriction (#591293)
3383664
 * load mod_substitute, mod_version by default
3383664
 * drop proxy_ajp.conf, load mod_proxy_ajp in httpd.conf
3383664
 * add commented list of shipped-but-unloaded modules
3383664
 * bump up worker defaults a little
3383664
 * drop KeepAliveTimeout to 5 secs per upstream
3383664
- fix LSB compliance in init script (#522074)
3383664
- bundle NOTICE in -tools
3383664
- use init script in logrotate postrotate to pick up PIDFILE
3383664
- drop some old Obsoletes/Conflicts
3383664
0cb0f7f
* Sun Apr 04 2010 Robert Scheck <robert@fedoraproject.org> - 2.2.15-1
0cb0f7f
- update to 2.2.15 (#572404, #579311)
0cb0f7f
9c0ce39
* Thu Dec  3 2009 Joe Orton <jorton@redhat.com> - 2.2.14-1
9c0ce39
- update to 2.2.14
9c0ce39
- relax permissions on /var/run/httpd (#495780)
9c0ce39
- Requires(pre): httpd in mod_ssl subpackage (#543275)
9c0ce39
- add partial security fix for CVE-2009-3555 (#533125)
9c0ce39
19aec0d
* Tue Oct 27 2009 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.13-4
19aec0d
- add additional explanatory text to test page to help prevent legal emails to Fedora
19aec0d
b2a4380
* Tue Sep  8 2009 Joe Orton <jorton@redhat.com> 2.2.13-2
b2a4380
- restart service in posttrans (#491567)
b2a4380
2f347e4
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.2.13-2
2f347e4
- rebuilt with new openssl
2f347e4
28e48be
* Tue Aug 18 2009 Joe Orton <jorton@redhat.com> 2.2.13-1
28e48be
- update to 2.2.13
28e48be
ef98d35
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-10
ef98d35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ef98d35
39b4bd2
* Tue Jun 16 2009 Joe Orton <jorton@redhat.com> 2.2.11-9
39b4bd2
- build -manual as noarch
39b4bd2
8a37bd4
* Tue Mar 17 2009 Joe Orton <jorton@redhat.com> 2.2.11-8
8a37bd4
- fix pidfile in httpd.logrotate (thanks to Rainer Traut)
8a37bd4
- don't build mod_mem_cache or mod_file_cache
8a37bd4
377daf4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-7
377daf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
377daf4
f47f283
* Thu Jan 22 2009 Joe Orton <jorton@redhat.com> 2.2.11-6
f47f283
- Require: apr-util-ldap (#471898)
f47f283
- init script changes: pass pidfile to status(), use status() in
f47f283
  condrestart (#480602), support try-restart as alias for
f47f283
  condrestart
f47f283
- change /etc/httpd/run symlink to have destination /var/run/httpd,
f47f283
  and restore "run/httpd.conf" as default PidFile (#478688)
f47f283
8ba10d8
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> 2.2.11-5
8ba10d8
- rebuild with new openssl
8ba10d8
d78d30d
* Sat Dec 27 2008 Robert Scheck <robert@fedoraproject.org> 2.2.11-4
c8fc7d9
- Made default configuration using /var/run/httpd for pid file
c8fc7d9
110f0ad
* Thu Dec 18 2008 Joe Orton <jorton@redhat.com> 2.2.11-3
110f0ad
- update to 2.2.11
110f0ad
- package new /var/run/httpd directory, and move default pidfile
110f0ad
  location inside there
110f0ad
5256a64
* Tue Oct 21 2008 Joe Orton <jorton@redhat.com> 2.2.10-2
5256a64
- update to 2.2.10
5256a64
a107994
* Tue Jul 15 2008 Joe Orton <jorton@redhat.com> 2.2.9-5
a107994
- move AddTypes for SSL cert/CRL types from ssl.conf to httpd.conf (#449979)
a107994
6a32927
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 2.2.9-4
6a32927
- use Charset=UTF-8 in default httpd.conf (#455123)
6a32927
- only enable suexec when appropriate (Jim Radford, #453697)
6a32927
1485e70
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com>  2.2.9-3
1485e70
- rebuild against new db4 4.7
1485e70
9dd08ad
* Tue Jul  8 2008 Joe Orton <jorton@redhat.com> 2.2.9-2
9dd08ad
- update to 2.2.9
9dd08ad
- build event MPM too
9dd08ad
0a6d82d
* Wed Jun  4 2008 Joe Orton <jorton@redhat.com> 2.2.8-4
0a6d82d
- correct UserDir directive in default config (#449815)
0a6d82d
9aea0b6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.8-3
9aea0b6
- Autorebuild for GCC 4.3
9aea0b6
abfe86f
* Tue Jan 22 2008 Joe Orton <jorton@redhat.com> 2.2.8-2
abfe86f
- update to 2.2.8
abfe86f
- drop mod_imagemap
abfe86f
e22b9a5
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.2.6-4
e22b9a5
 - Rebuild for openssl bump
e22b9a5
78b00cd
* Mon Sep 17 2007 Joe Orton <jorton@redhat.com> 2.2.6-3
78b00cd
- add fix for SSL library string regression (PR 43334)
78b00cd
- use powered-by logo from system-logos (#250676)
78b00cd
- preserve timestamps for installed config files
78b00cd
cd4fdd8
* Fri Sep  7 2007 Joe Orton <jorton@redhat.com> 2.2.6-2
cd4fdd8
- update to 2.2.6 (#250757, #282761)
cd4fdd8
6590dbb
* Sun Sep  2 2007 Joe Orton <jorton@redhat.com> 2.2.4-10
6590dbb
- rebuild for fixed APR
6590dbb
94757f9
* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 2.2.4-9
94757f9
- rebuild for expat soname bump
94757f9
073d591
* Tue Aug 21 2007 Joe Orton <jorton@redhat.com> 2.2.4-8
073d591
- fix License
073d591
- require /etc/mime.types (#249223)
073d591
f642b1a
* Thu Jul 26 2007 Joe Orton <jorton@redhat.com> 2.2.4-7
f642b1a
- drop -tools dependency on httpd (thanks to Matthias Saou)
f642b1a
8499915
* Wed Jul 25 2007 Joe Orton <jorton@redhat.com> 2.2.4-6
8499915
- split out utilities into -tools subpackage, based on patch
8499915
  by Jason Tibbs (#238257)
8499915
935b958
* Tue Jul 24 2007 Joe Orton <jorton@redhat.com> 2.2.4-5
935b958
- spec file cleanups: provide httpd-suexec, mod_dav; 
935b958
 don't obsolete mod_jk; drop trailing dots from Summaries
935b958
- init script
935b958
 * add LSB info header, support force-reload (#246944)
935b958
 * update description
935b958
 * drop 1.3 config check
935b958
 * pass $pidfile to daemon and pidfile everywhere
935b958
a980810
* Wed May  9 2007 Joe Orton <jorton@redhat.com> 2.2.4-4
a980810
- update welcome page branding
a980810
47c8208
* Tue Apr  3 2007 Joe Orton <jorton@redhat.com> 2.2.4-3
47c8208
- drop old triggers, old Requires, xmlto BR
47c8208
- use Requires(...) correctly 
47c8208
- use standard BuildRoot 
47c8208
- don't mark init script as config file
47c8208
- trim CHANGES further
47c8208
b7aa0f9
* Mon Mar 12 2007 Joe Orton <jorton@redhat.com> 2.2.4-2
b7aa0f9
- update to 2.2.4
b7aa0f9
- drop the migration guide (#223605)
b7aa0f9
e91269e
* Thu Dec  7 2006 Joe Orton <jorton@redhat.com> 2.2.3-8
e91269e
- fix path to instdso.sh in special.mk (#217677)
e91269e
- fix detection of links in "apachectl fullstatus"
e91269e
d4de774
* Tue Dec  5 2006 Joe Orton <jorton@redhat.com> 2.2.3-7
d4de774
- rebuild for libpq soname bump
d4de774
191e827
* Sat Nov 11 2006 Joe Orton <jorton@redhat.com> 2.2.3-6
191e827
- rebuild for BDB soname bump
191e827
9e0f41b
* Mon Sep 11 2006 Joe Orton <jorton@redhat.com> 2.2.3-5
9e0f41b
- updated "powered by Fedora" logo (#205573, Diana Fong)
9e0f41b
- tweak welcome page wording slightly (#205880)
9e0f41b
c7d3f56
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 2.2.3-4
c7d3f56
- rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
c7d3f56
  (#203001)
c7d3f56
81d733c
* Thu Aug  3 2006 Joe Orton <jorton@redhat.com> 2.2.3-3
81d733c
- init: use killproc() delay to avoid race killing parent
81d733c
9cf9a14
* Fri Jul 28 2006 Joe Orton <jorton@redhat.com> 2.2.3-2
9cf9a14
- update to 2.2.3
9cf9a14
- trim %%changelog to >=2.0.52
9cf9a14
37e4a81
* Thu Jul 20 2006 Joe Orton <jorton@redhat.com> 2.2.2-8
37e4a81
- fix segfault on dummy connection failure at graceful restart (#199429)
37e4a81
8395bae
* Wed Jul 19 2006 Joe Orton <jorton@redhat.com> 2.2.2-7
8395bae
- fix "apxs -g"-generated Makefile
8395bae
- fix buildconf with autoconf 2.60
8395bae
8395bae
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.2-5.1
586390e
- rebuild
586390e
c1d7519
* Wed Jun  7 2006 Joe Orton <jorton@redhat.com> 2.2.2-5
c1d7519
- require pkgconfig for -devel (#194152)
c1d7519
- fixes for installed support makefiles (special.mk et al)
32dffac
- BR autoconf
c1d7519
48593e5
* Fri Jun  2 2006 Joe Orton <jorton@redhat.com> 2.2.2-4
48593e5
- make -devel package multilib-safe (#192686)
48593e5
21e3591
* Thu May 11 2006 Joe Orton <jorton@redhat.com> 2.2.2-3
21e3591
- build DSOs using -z relro linker flag
21e3591
d2bf1a2
* Wed May  3 2006 Joe Orton <jorton@redhat.com> 2.2.2-2
d2bf1a2
- update to 2.2.2
d2bf1a2
a29a19c
* Thu Apr  6 2006 Joe Orton <jorton@redhat.com> 2.2.0-6
a29a19c
- rebuild to pick up apr-util LDAP interface fix (#188073)
a29a19c
7d1c76a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - (none):2.2.0-5.1.2
7d1c76a
- bump again for double-long bug on ppc(64)
7d1c76a
8caac9d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - (none):2.2.0-5.1.1
8caac9d
- rebuilt for new gcc4.1 snapshot and glibc changes
8caac9d
bc53791
* Mon Feb  6 2006 Joe Orton <jorton@redhat.com> 2.2.0-5.1
bc53791
- mod_auth_basic/mod_authn_file: if no provider is configured,
bc53791
  and AuthUserFile is not configured, decline to handle authn
bc53791
  silently rather than failing noisily.
bc53791
73a46bb
* Fri Feb  3 2006 Joe Orton <jorton@redhat.com> 2.2.0-5
73a46bb
- mod_ssl: add security fix for CVE-2005-3357 (#177914)
73a46bb
- mod_imagemap: add security fix for CVE-2005-3352 (#177913)
73a46bb
- add fix for AP_INIT_* designated initializers with C++ compilers
73a46bb
- httpd.conf: enable HTMLTable in default IndexOptions
73a46bb
- httpd.conf: add more "redirect-carefully" matches for DAV clients
73a46bb
ab67633
* Thu Jan  5 2006 Joe Orton <jorton@redhat.com> 2.2.0-4
ab67633
- mod_proxy_ajp: fix Cookie handling (Mladen Turk, r358769)
ab67633
c27b75c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c27b75c
- rebuilt
c27b75c
2724cce
* Wed Dec  7 2005 Joe Orton <jorton@redhat.com> 2.2.0-3
2724cce
- strip manual to just English content
2724cce
9f9ccbc
* Mon Dec  5 2005 Joe Orton <jorton@redhat.com> 2.2.0-2
9f9ccbc
- don't strip C-L from HEAD responses (Greg Ames, #110552)
9f9ccbc
- load mod_proxy_balancer by default
9f9ccbc
- add proxy_ajp.conf to load/configure mod_proxy_ajp
9f9ccbc
- Obsolete mod_jk
9f9ccbc
- update docs URLs in httpd.conf/ssl.conf
9f9ccbc
96e0b33
* Fri Dec  2 2005 Joe Orton <jorton@redhat.com> 2.2.0-1
96e0b33
- update to 2.2.0
96e0b33
96e0b33
* Wed Nov 30 2005 Joe Orton <jorton@redhat.com> 2.1.10-2
96e0b33
- enable mod_authn_alias, mod_authn_anon
96e0b33
- update default httpd.conf
96e0b33
96e0b33
* Fri Nov 25 2005 Joe Orton <jorton@redhat.com> 2.1.10-1
96e0b33
- update to 2.1.10
96e0b33
- require apr >= 1.2.0, apr-util >= 1.2.0
96e0b33
9e6ce91
* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> 2.0.54-16
9e6ce91
- rebuilt against new openssl
9e6ce91
9d36ace
* Thu Nov  3 2005 Joe Orton <jorton@redhat.com> 2.0.54-15
9d36ace
- log notice giving SELinux context at startup if enabled
9d36ace
- drop SSLv2 and restrict default cipher suite in default
9d36ace
 SSL configuration
9d36ace
2a6347c
* Thu Oct 20 2005 Joe Orton <jorton@redhat.com> 2.0.54-14
2a6347c
- mod_ssl: add security fix for SSLVerifyClient (CVE-2005-2700)
2a6347c
- add security fix for byterange filter DoS (CVE-2005-2728)
2a6347c
- add security fix for C-L vs T-E handling (CVE-2005-2088)
2a6347c
- mod_ssl: add security fix for CRL overflow (CVE-2005-1268)
2a6347c
- mod_ldap/mod_auth_ldap: add fixes from 2.0.x branch (upstream #34209 etc)
2a6347c
- add fix for dummy connection handling (#167425)
2a6347c
- mod_auth_digest: fix hostinfo comparison in CONNECT requests
2a6347c
- mod_include: fix variable corruption in nested includes (upstream #12655)
2a6347c
- mod_ssl: add fix for handling non-blocking reads
2a6347c
- mod_ssl: fix to enable output buffering (upstream #35279)
2a6347c
- mod_ssl: buffer request bodies for per-location renegotiation (upstream #12355)
2a6347c
0f8eb18
* Sat Aug 13 2005 Joe Orton <jorton@redhat.com> 2.0.54-13
0f8eb18
- don't load by default: mod_cern_meta, mod_asis
0f8eb18
- do load by default: mod_ext_filter (#165893)
0f8eb18
9f7341d
* Thu Jul 28 2005 Joe Orton <jorton@redhat.com> 2.0.54-12
9f7341d
- drop broken epoch deps
9f7341d
6da3d31
* Thu Jun 30 2005 Joe Orton <jorton@redhat.com> 2.0.54-11
6da3d31
- mod_dav_fs: fix uninitialized variable (#162144)
6da3d31
- add epoch to dependencies as appropriate
6da3d31
- mod_ssl: drop dependencies on dev, make
6da3d31
- mod_ssl: mark post script dependencies as such
6da3d31
a06501a
* Mon May 23 2005 Joe Orton <jorton@redhat.com> 2.0.54-10
a06501a
- remove broken symlink (Robert Scheck, #158404)
a06501a
a96efcb
* Wed May 18 2005 Joe Orton <jorton@redhat.com> 2.0.54-9
a96efcb
- add piped logger fixes (w/Jeff Trawick)
a96efcb
41aeab8
* Mon May  9 2005 Joe Orton <jorton@redhat.com> 2.0.54-8
41aeab8
- drop old "powered by Red Hat" logos
41aeab8
2758750
* Wed May  4 2005 Joe Orton <jorton@redhat.com> 2.0.54-7
2758750
- mod_userdir: fix memory allocation issue (upstream #34588)
2758750
- mod_ldap: fix memory corruption issue (Brad Nicholes, upstream #34618)
2758750
670541e
* Tue Apr 26 2005 Joe Orton <jorton@redhat.com> 2.0.54-6
670541e
- fix key/cert locations in post script
670541e
06872c8
* Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 2.0.54-5
06872c8
- create default dummy cert in /etc/pki/tls
06872c8
- use a pseudo-random serial number on the dummy cert
06872c8
- change default ssl.conf to point at /etc/pki/tls
06872c8
- merge back -suexec subpackage; SELinux policy can now be
06872c8
  used to persistently disable suexec (#155716)
06872c8
- drop /etc/httpd/conf/ssl.* directories and Makefiles
06872c8
- unconditionally enable PIE support
06872c8
- mod_ssl: fix for picking up -shutdown options (upstream #34452)
06872c8
98f24d7
* Mon Apr 18 2005 Joe Orton <jorton@redhat.com> 2.0.54-4
98f24d7
- replace PreReq with Requires(pre) 
98f24d7
c8c8802
* Mon Apr 18 2005 Joe Orton <jorton@redhat.com> 2.0.54-3
c8c8802
- update to 2.0.54
c8c8802
22b6740
* Tue Mar 29 2005 Joe Orton <jorton@redhat.com> 2.0.53-6
22b6740
- update default httpd.conf:
22b6740
 * clarify the comments on AddDefaultCharset usage (#135821)
22b6740
 * remove all the AddCharset default extensions
22b6740
 * don't load mod_imap by default
22b6740
 * synch with upstream 2.0.53 httpd-std.conf
22b6740
- mod_ssl: set user from SSLUserName in access hook (upstream #31418)
22b6740
- htdigest: fix permissions of created files (upstream #33765)
22b6740
- remove htsslpass
22b6740
4435419
* Wed Mar  2 2005 Joe Orton <jorton@redhat.com> 2.0.53-5
4435419
- apachectl: restore use of $OPTIONS again
4435419
439691b
* Wed Feb  9 2005 Joe Orton <jorton@redhat.com> 2.0.53-4
439691b
- update to 2.0.53
439691b
- move prefork/worker modules comparison to %%check
439691b
3eb2bca
* Mon Feb  7 2005 Joe Orton <jorton@redhat.com> 2.0.52-7
3eb2bca
- fix cosmetic issues in "service httpd reload"
3eb2bca
- move User/Group higher in httpd.conf (#146793)
3eb2bca
- load mod_logio by default in httpd.conf
3eb2bca
- apachectl: update for correct libselinux tools locations
3eb2bca
7c0f3e4
* Tue Nov 16 2004 Joe Orton <jorton@redhat.com> 2.0.52-6
7c0f3e4
- add security fix for CVE CAN-2004-0942 (memory consumption DoS)
7c0f3e4
- SELinux: run httpd -t under runcon in configtest (Steven Smalley)
7c0f3e4
- fix SSLSessionCache comment for distcache in ssl.conf
7c0f3e4
- restart using SIGHUP not SIGUSR1 after logrotate
7c0f3e4
- add ap_save_brigade fix (upstream #31247)
7c0f3e4
- mod_ssl: fix possible segfault in auth hook (upstream #31848)
7c0f3e4
- add htsslpass(1) and configure as default SSLPassPhraseDialog (#128677)
7c0f3e4
- apachectl: restore use of $OPTIONS
7c0f3e4
- apachectl, httpd.init: refuse to restart if $HTTPD -t fails
7c0f3e4
- apachectl: run $HTTPD -t in user SELinux context for configtest
7c0f3e4
- update for pcre-5.0 header locations
7c0f3e4
jbj ff2220f
* Sat Nov 13 2004 Jeff Johnson <jbj@redhat.com> 2.0.52-5
jbj ff2220f
- rebuild against db-4.3.21 aware apr-util.
jbj ff2220f
jbj b35049d
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 2.0.52-4
jbj b35049d
- rebuild against db-4.3-21.
jbj b35049d
8596424
* Thu Sep 28 2004 Joe Orton <jorton@redhat.com> 2.0.52-3
8596424
- add dummy connection address fixes from HEAD
a52696d
- mod_ssl: add security fix for CAN-2004-0885
8596424
d7e535c
* Tue Sep 28 2004 Joe Orton <jorton@redhat.com> 2.0.52-2
d7e535c
- update to 2.0.52
d7e535c