#(ie. use with rpm --rebuild): # # --with debug Compile with debugging code # # enable build with debugging code: will _not_ strip away any debugging code, # will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to # configure. %define mmn 20020903 %define dbver db4 %define dbmver db4 %define build_debug 0 %define TAG Mandriva Linux %define BASEPRODUCT Apache # commandline overrides: # rpm -ba|--rebuild --with 'xxx' %{?_with_debug: %{expand: %%define build_debug 1}} %if %{build_debug} # disable build root strip policy %define __spec_install_post %{_prefix}/lib/rpm/brp-compress || : # This gives extra debuggin and huge binaries %{expand:%%define optflags %{optflags} %([ ! $DEBUG ] && echo '-g3')} %endif %if %{build_debug} %define build_debug 1 %endif %define ap_ldap_libs -lldap -llber -lsasl2 -lssl -lcrypto %define ap_ssl_libs -lssl -lcrypto %define version 2.0.54 %define sourcename httpd-%{version} # define libapr name %define libapr %mklibname apr 0 Summary: The most widely used Web server on the Internet Name: apache Version: %{version} Release: %mkrel 13 Group: System/Servers License: Apache License URL: http://www.apache.org Source0: http://archive.apache.org/dist/httpd/%{sourcename}.tar.gz Source1: http://archive.apache.org/dist/httpd/%{sourcename}.tar.gz.asc Source2: apache-README.urpmi Source3: apache2_transparent_png_icons.tar.bz2 Source4: mod_backtrace.c.bz2 Source5: mod_whatkilledus.c.bz2 Source6: test_char.h.bz2 Source7: apache.macros.bz2 # # please keep this logic. Source30: 30_mod_proxy.conf.bz2 Source45: 45_mod_dav.conf.bz2 Source46: 46_mod_ldap.conf.bz2 Source55: 55_mod_cache.conf.bz2 Source56: 56_mod_disk_cache.conf.bz2 Source57: 57_mod_mem_cache.conf.bz2 Source58: 58_mod_file_cache.conf.bz2 Source59: 59_mod_deflate.conf.bz2 Source67: 67_mod_userdir.conf.bz2 # # provide a simpler buildconf script Source100: buildconf.bz2 # OE: stolen from Fedora (P1 - P92) # build/scripts patches Patch1: httpd-2.0.40-apctl.patch.bz2 Patch2: httpd-2.0.36-apxs.patch.bz2 Patch3: httpd-2.0.48-linkmods.patch.bz2 Patch4: httpd-2.0.45-deplibs.patch.bz2 Patch5: httpd-2.0.47-pie.patch.bz2 Patch6: httpd-2.0.45-syspcre.patch.bz2 Patch8: httpd-2.0.48-vpathinc.patch.bz2 Patch9: httpd-2.0.52-apctlopts.patch.bz2 # # Bug fixes Patch20: httpd-2.0.45-encode.patch.bz2 Patch21: httpd-2.0.45-davetag.patch.bz2 Patch22: httpd-2.0.47-ldapshm.patch.bz2 Patch23: httpd-2.0.48-vhost.patch.bz2 Patch24: httpd-2.0.46-sslmutex.patch.bz2 Patch25: httpd-2.0.46-md5dig.patch.bz2 Patch26: httpd-2.0.48-proxy11.patch.bz2 Patch27: httpd-2.0.48-sslpphrase.patch.bz2 Patch28: httpd-2.0.48-worker.patch.bz2 Patch29: httpd-2.0.48-workerhup.patch.bz2 Patch30: httpd-2.0.48-davmisc.patch.bz2 Patch31: httpd-2.0.54-ssltrans.patch.bz2 Patch32: httpd-2.0.54-userdir.patch.bz2 Patch33: httpd-2.0.54-ldapconn.patch.bz2 Patch34: httpd-2.0.52-pipedlog1.patch.bz2 Patch35: httpd-2.0.52-pipedlog2.patch.bz2 # # Features/functional changes Patch71: httpd-2.0.40-xfsz.patch.bz2 Patch72: httpd-2.0.40-pod.patch.bz2 Patch73: httpd-2.0.40-noshmht.patch.bz2 Patch74: httpd-2.0.45-export.patch.bz2 Patch75: httpd-2.0.48-dynlimit.patch.bz2 Patch76: httpd-2.0.48-dynamic.patch.bz2 Patch77: httpd-2.0.48-sslstatus.patch.bz2 Patch78: httpd-2.0.48-corelimit.patch.bz2 Patch80: httpd-2.0.48-distcache.patch.bz2 Patch81: httpd-2.0.48-debuglog.patch.bz2 Patch82: httpd-2.0.48-abench.patch.bz2 Patch84: httpd-2.0.48-sslheader.patch.bz2 Patch85: httpd-2.0.48-sslvars2.patch.bz2 Patch89: httpd-2.0.49-headerssl.patch.bz2 Patch90: httpd-2.0.49-workerstack.patch.bz2 Patch91: httpd-2.0.46-testhook.patch.bz2 Patch92: httpd-2.0.46-dumpcerts.patch.bz2 # # http://lists.debian.org/debian-apache/2003/11/msg00109.html Patch100: httpd-2.0.48-bsd-ipv6-fix.diff.bz2 # # OE: prepare for the mod_limitipconn module found here: # http://dominia.org/djao/limitipconn.html Patch101: apachesrc.diff.bz2 # JMD: fix suexec path so we can have both versions of Apache and both # versions of suexec Patch102: apache2-suexec.patch.bz2 Patch103: httpd-2.0.49-mod_ldap_cache_file_location.diff.bz2 # OE: add the peruser mpm # http://www.telana.com/peruser.php Patch104: http://www.telana.com/files/httpd-2.0.52-peruser-0.1.6.patch.bz2 # # Security fixes Patch122: httpd-2.0.52-CAN-2005-1268.patch.bz2 Patch123: httpd-2.0.52-CAN-2005-2088.patch.bz2 Patch124: httpd-2.0.52-CAN-2005-2700.patch.bz2 Patch125: httpd-2.0.52-CAN-2005-2728.patch.bz2 # to be continued... BuildRequires: apr-devel >= 0.9.6, apr-util-devel >= 0.9.6, pcre-devel >= 5.0, byacc BuildRequires: %{dbver}-devel, expat-devel, gdbm-devel, openldap-devel, libsasl-devel BuildRequires: libtool >= 1.4.2, openssl-devel, autoconf2.5, automake1.7, pkgconfig BuildRequires: zlib-devel %if %mdkversion >= 1020 BuildRequires: multiarch-utils >= 1.0.3 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This package contains the main binary of apache, a powerful, full-featured, efficient and freely-available Web server. Apache is also the most popular Web server on the Internet. This version of apache is fully modular, and many modules are available in pre-compiled formats, like PHP4 and mod_auth_external. Check for available Apache modules for Mandriva at: http://nux.se/modules_for_apache2.html (most of them can be installed from the contribs repository) You can build apache with some conditional build swithes; (ie. use with rpm --rebuild): --with debug Compile with debugging code %package mpm-prefork Summary: Implements a non-threaded, pre-forking web server (stable) Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(post): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(preun): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires: libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: webserver apache2 Provides: apache = %{version}-%{release}, apache-mpm = %{version}-%{release} Obsoletes: apache2 %description mpm-prefork This Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3. It is appropriate for sites that need to avoid threading for compatibility with non-thread-safe libraries. It is also the best MPM for isolating each request, so that a problem with a single request will not affect any other. This MPM is very self-regulating, so it is rarely necessary to adjust its configuration directives. Most important is that MaxClients be big enough to handle as many simultaneous requests as you expect to receive, but small enough to assure that there is enough physical RAM for all processes. Check for available Apache modules here: http://nux.se/apache/ %package mpm-worker Summary: Implements a hybrid multi-threaded multi-process web server (experimental) Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(post): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(preun): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires: libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: webserver apache2 Provides: apache = %{version}-%{release}, apache-mpm = %{version}-%{release} Obsoletes: apache2-worker %description mpm-worker This Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server. By using threads to serve requests, it is able to serve a large number of requests with less system resources than a process-based server. Yet it retains much of the stability of a process-based server by keeping multiple processes available, each with many threads. The most important directives used to control this MPM are ThreadsPerChild, which controls the number of threads deployed by each child process and MaxClients, which controls the maximum total number of threads that may be launched. This package contains the main binary of apache, a powerful, full-featured, efficient and freely-available Web server. Apache is also the most popular Web server on the Internet. This version of apache is fully modular, and many modules are available in pre-compiled formats, like PHP and mod_auth_external. Check for available Apache modules here: http://nux.se/apache/ I M P O R T A N T ----------------- Note that the worker mpm (this package) requires thread safe modules. This package is totally experimental and may not be stable or suitable at any time, in any way, or for any kind production usage. Be warned. %package mpm-peruser Summary: Implements a hybrid multi-process, multi-threaded web server (experimental) Group: System/Servers URL: http://www.telana.com/peruser.php Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(post): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(preun): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires: libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: webserver apache2 Provides: apache = %{version}-%{release}, apache-mpm = %{version}-%{release} Obsoletes: apache2-peruser %description mpm-peruser This Multi-Processing Module (MPM) implements a hybrid multi-process, multi-threaded web server. A fixed number of processes create threads to handle requests. Fluctuations in load are handled by increasing or decreasing the number of threads in each process. Peruser is an Apache 2 module based on metuxmpm, a working implementation of the perchild MPM. The fundamental concept behind all of them is to run each apache child process as its own user and group, each handling its own set of virtual hosts. Peruser and recent metuxmpm releases can also chroot() apache processes. The result is a sane and secure web server environment for your users, without kludges like PHP's safe_mode. Check for available Apache modules here: http://nux.se/apache/ I M P O R T A N T ----------------- This package is totally experimental and may not be stable or suitable at any time, in any way, or for any kind production usage. Be warned. %package base Summary: Common files and utilities for apache Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(post): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires(preun): libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Requires: libapr-util >= 0.9.6-1mdk, %{libapr} >= 1:0.9.6-1mdk Obsoletes: apache-common Obsoletes: apache2-common %description base This package contains the apache utilities such as Apache Bench (ab) for stress testing your apache installation and several tools for managing user databases, access control, the apache logs and more. %package modules Summary: Standard modules for apache Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Provides: apache-mod_access = %{version}, apache-mod_actions = %{version}, apache-mod_alias = %{version}, apache-mod_asis = %{version} Provides: apache-mod_auth = %{version}, apache-mod_auth_anon = %{version}, apache-mod_auth_dbm = %{version}, apache-mod_auth_digest = %{version} Provides: apache-mod_autoindex = %{version}, apache-mod_case_filter = %{version}, apache-mod_case_filter_in = %{version} Provides: apache-mod_cern_meta = %{version}, apache-mod_cgi = %{version}, apache-mod_cgid = %{version}, apache-mod_charset_lite = %{version} Provides: apache-mod_dir = %{version}, apache-mod_env = %{version}, apache-mod_expires = %{version}, apache-mod_ext_filter = %{version} Provides: apache-mod_headers = %{version}, apache-mod_imap = %{version}, apache-mod_include = %{version}, apache-mod_info = %{version} Provides: apache-mod_log_config = %{version}, apache-mod_logio = %{version}, apache-mod_log_forensic = %{version}, apache-mod_mime = %{version} Provides: apache-mod_mime_magic = %{version}, apache-mod_negotiation = %{version}, apache-mod_rewrite = %{version}, apache-mod_setenvif = %{version} Provides: apache-mod_speling = %{version}, apache-mod_status = %{version}, apache-mod_unique_id = %{version} Provides: apache-mod_usertrack = %{version}, apache-mod_vhost_alias = %{version}, apache-mod_dumpio = %{version} apache2-modules %if %{build_debug} Provides: apache-mod_backtrace = %{version}, apache-mod_whatkilledus = %{version} %endif Obsoletes: apache2-mod_access apache2-mod_actions apache2-mod_alias apache2-mod_asis apache2-mod_auth apache2-mod_auth_anon Obsoletes: apache2-mod_auth_dbm apache2-mod_auth_digest apache2-mod_autoindex apache2-mod_case_filter apache2-mod_case_filter_in Obsoletes: apache2-mod_cern_meta apache2-mod_cgi apache2-mod_cgid apache2-mod_charset_lite apache2-mod_dir apache2-mod_env Obsoletes: apache2-mod_expires apache2-mod_ext_filter apache2-mod_headers apache2-mod_imap apache2-mod_include apache2-mod_info Obsoletes: apache2-mod_log_config apache2-mod_logio apache2-mod_log_forensic apache2-mod_mime apache2-mod_mime_magic Obsoletes: apache2-mod_negotiation apache2-mod_rewrite apache2-mod_setenvif apache2-mod_speling apache2-mod_status Obsoletes: apache2-mod_unique_id apache2-mod_usertrack apache2-mod_vhost_alias apache2-mod_dumpio apache2-modules %description modules This package contains standard modules for apache. It is required for normal operation of the web server. %package mod_dav Summary: Distributed Authoring and Versioning (WebDAV) Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache-mod_dav_fs = %{version}-%{release} apache2-mod_dav apache2-mod_dav_fs Obsoletes: apache2-mod_dav apache2-mod_dav_fs %description mod_dav This module provides class 1 and class 2 WebDAV ('Web-based Distributed Authoring and Versioning') functionality for Apache. This extension to the HTTP protocol allows creating, moving, copying, and deleting resources and collections on a remote web server. %package mod_ldap Summary: LDAP connection pooling and result caching DSO:s Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache-mod_auth_ldap = %{version}-%{release} apache2-mod_ldap apache2-mod_auth_ldap Obsoletes: apache2-mod_ldap apache2-mod_auth_ldap %description mod_ldap This module was created to improve the performance of websites relying on backend connections to LDAP servers. In addition to the functions provided by the standard LDAP libraries, this module adds an LDAP connection pool and an LDAP shared memory cache. %package mod_cache Summary: Content cache keyed to URIs Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache2-mod_cache Obsoletes: apache2-mod_cache %description mod_cache mod_cache implements an RFC 2616 compliant HTTP content cache that can be used to cache either local or proxied content. mod_cache requires the services of one or more storage management modules. Two storage management modules are included in the base Apache distribution: * mod_disk_cache - implements a disk based storage manager for use with mod_proxy. * mod_mem_cache - implements an in-memory based storage manager. mod_mem_cache can be configured to operate in two modes: caching open file descriptors or caching objects in heap storage. mod_mem_cache is most useful when used to cache locally generated content or to cache backend server content for mod_proxy configured for ProxyPass (aka reverse proxy) %package mod_disk_cache Summary: Implements a disk based storage manager Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires(pre): apache-mod_cache = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Requires: apache-mod_cache = %{version}-%{release} Provides: apache2-mod_disk_cache Obsoletes: apache2-mod_disk_cache %description mod_disk_cache mod_disk_cache implements a disk based storage manager. It is primarily of use in conjunction with mod_proxy. Content is stored in and retrieved from the cache using URI based keys. Content with access protection is not cached. %package mod_mem_cache Summary: Implements a memory based storage manager Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires(pre): apache-mod_cache = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Requires: apache-mod_cache = %{version}-%{release} Provides: apache2-mod_mem_cache Obsoletes: apache2-mod_mem_cache %description mod_mem_cache This module requires the service of mod_cache. It acts as a support module for mod_cache and provides a memory based storage manager. mod_mem_cache can be configured to operate in two modes: caching open file descriptors or caching objects in heap storage. mod_mem_cache is most useful when used to cache locally generated content or to cache backend server content for mod_proxy configured for ProxyPass (aka reverse proxy). Content is stored in and retrieved from the cache using URI based keys. Content with access protection is not cached. %package mod_file_cache Summary: Caches a static list of files in memory Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache2-mod_file_cache Obsoletes: apache2-mod_file_cache %description mod_file_cache Caching frequently requested files that change very infrequently is a technique for reducing server load. mod_file_cache provides two techniques for caching frequently requested static files. Through configuration directives, you can direct mod_file_cache to either open then mmap()a file, or to pre-open a file and save the file's open file handle. Both techniques reduce server load when processing requests for these files by doing part of the work (specifically, the file I/O) for serving the file when the server is started rather than during each request. Notice: You cannot use this for speeding up CGI programs or other files which are served by special content handlers. It can only be used for regular files which are usually served by the Apache core content handler. This module is an extension of and borrows heavily from the mod_mmap_static module in Apache 1.3. %package mod_deflate Summary: Compress content before it is delivered to the client Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache2-mod_deflate Obsoletes: mod_gzip apache2-mod_deflate %description mod_deflate The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network. %package mod_proxy Summary: HTTP/1.1 proxy/gateway server Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires(pre): apache-mod_cache = %{version}-%{release} Requires(pre): apache-mod_disk_cache = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Requires: apache-mod_cache = %{version}-%{release} Requires: apache-mod_disk_cache = %{version}-%{release} Provides: apache-mod_proxy_connect = %{version}, apache-mod_proxy_ftp = %{version}, apache-mod_proxy_http = %{version} Provides: apache2-mod_proxy apache2-mod_proxy_connect apache2-mod_proxy_ftp apache2-mod_proxy_http Obsoletes: apache2-mod_proxy apache2-mod_proxy_connect apache2-mod_proxy_ftp apache2-mod_proxy_http %description mod_proxy This module implements a proxy/gateway for Apache. It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, HTTP/1.0, and HTTP/1.1. The module can be configured to connect to other proxy modules for these and other protocols. This module was experimental in Apache 1.1.x. Improvements and bugfixes were made in Apache v1.2.x and Apache v1.3.x, then the module underwent a major overhaul for Apache v2.0. The protocol support was upgraded to HTTP/1.1, and filter support was enabled. Please note that the caching function present in mod_proxy up to Apache v2.0.39 has been removed from mod_proxy and is incorporated into a new module, mod_cache. %package mod_userdir Summary: User-specific directories Group: System/Servers Requires(pre): rpm-helper Requires(postun): rpm-helper Requires(pre): apache-conf >= 2.0.54 Requires(pre): apache-base = %{version}-%{release} Requires(pre): apache-modules = %{version}-%{release} Requires: apache-conf >= 2.0.54 Requires: apache-base = %{version}-%{release} Requires: apache-modules = %{version}-%{release} Provides: apache2-mod_userdir Obsoletes: apache2-mod_userdir %description mod_userdir This module allows user-specific directories to be accessed using the http://example.com/~username/ syntax. %package devel Summary: Module development tools for the apache web server Group: Development/C Requires: apr-devel >= 0.9.6, apr-util-devel >= 0.9.6, pcre-devel >= 5.0, byacc Requires: %{dbver}-devel, expat-devel, gdbm-devel, openldap-devel, libsasl-devel Requires: libtool >= 1.4.2, openssl-devel, autoconf2.5, automake1.7, pkgconfig Provides: apache2-devel apache2-mod_ssl-devel Obsoletes: apache2-devel apache2-mod_ssl-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. If you are installing the apache Web server and you want to be able to compile or develop additional modules for apache, you'll need to install this package. %package source Summary: The apache source code, including Mandriva patches Group: System/Servers Provides: apache2-source Obsoletes: apache2-source %description source The apache source code, including Mandriva patches. Use this package to build your own customized apache if needed. %prep %setup -q -n %{sourcename} # OE: stolen from Fedora %patch1 -p1 -b .apctl.droplet %patch2 -p1 -b .apxs.droplet %patch3 -p1 -b .linkmods.droplet %patch4 -p1 -b .deplibs.droplet %patch6 -p1 -b .syspcre.droplet %patch8 -p1 -b .vpathinc.droplet %patch9 -p1 -b .apctlopts.droplet # %patch20 -p1 %patch21 -p1 -b .davetag.droplet %patch22 -p1 -b .ldapshm.droplet %patch23 -p1 -b .vhost.droplet %patch24 -p1 -b .sslmutex.droplet %patch25 -p1 -b .md5dig.droplet %patch26 -p1 -b .proxy11.droplet %patch27 -p1 -b .sslpphrase.droplet %patch28 -p1 -b .worker.droplet %patch29 -p1 -b .workerhup.droplet %patch30 -p1 -b .davmisc.droplet %patch31 -p1 -b .ssltrans.droplet %patch32 -p1 -b .userdir.droplet %patch33 -p1 -b .ldapconn.droplet %patch34 -p1 -b .pipedlog1.droplet %patch35 -p1 -b .pipedlog2.droplet # %patch71 -p0 -b .xfsz.droplet %patch72 -p1 -b .pod.droplet %patch73 -p1 -b .noshmht.droplet %patch74 -p1 -b .export.droplet %patch75 -p1 -b .dynlimit.droplet %patch76 -p1 -b .dynamic.droplet %patch77 -p1 -b .sslstatus.droplet %patch78 -p1 -b .corelimit.droplet %patch80 -p1 -b .distcache.droplet %patch81 -p1 -b .debuglog.droplet %patch82 -p1 -b .abench.droplet %patch84 -p1 -b .sslheader.droplet %patch85 -p1 -b .sslvars2.droplet %patch89 -p1 -b .headerssl.droplet %patch90 -p1 -b .workerstack.droplet %patch91 -p1 -b .testhook.droplet %patch92 -p1 -b .dumpcerts.droplet # %patch100 -p1 -b .bsd-ipv6.droplet %patch101 -p1 -b .apachesrc.droplet %patch102 -p0 -b .apache2-suexec.droplet %patch103 -p0 -b .mod_ldap_cache_file_location.droplet %patch104 -p1 -b .peruser.droplet # Security fixes %patch122 -p1 -b .can1268.droplet %patch123 -p1 -b .can2088.droplet %patch124 -p1 -b .can2700.droplet %patch125 -p1 -b .can2728.droplet # Touch mod_ssl expression parser sources to prevent regenerating it touch modules/ssl/ssl_expr_*.[chyl] # Safety check: prevent build if defined MMN does not equal upstream MMN. vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` if test "x${vmmn}" != "x%{mmn}"; then : Error: Upstream MMN is now ${vmmn}, packaged MMN is %{mmn}. : Update the mmn macro and rebuild. exit 1 fi # Conditionally enable PIE support if echo 'static int foo[30000]; int main () { return 0; }' | gcc -pie -fpie -O2 -xc - -o pietest && ./pietest; then %patch5 -p1 -b .pie.droplet : PIE support enabled else : WARNING: PIE support not enabled fi # nuke the pietest binary rm -f pietest # forcibly prevent use of bundled apr, apr-util, pcre rm -rf srclib/{apr,apr-util,pcre} # don't install or use bundled pcreposix.h rm -f include/pcreposix.h #Fix apxs %{__perl} -pi -e 's|\@exp_installbuilddir\@|%{_libdir}/apache/build|;' support/apxs.in %{__perl} -pi -e 's|get_vars\("prefix"\)|"%{_libdir}/apache/build"|;' support/apxs.in %{__perl} -pi -e 's|get_vars\("sbindir"\) . "/envvars"|"\$installbuilddir/envvars"|;' support/apxs.in #Correct perl paths find -type f|xargs perl -pi -e " s|/usr/local/bin/perl|%{__perl}|g; \ s|/usr/local/bin/perl5|%{__perl}|g; \ s|/path/to/bin/perl|%{__perl}|g; \ " # use my nice converted transparent png icons tar -jxf %{SOURCE3} mv icons/*.png docs/icons/ # "install" the 2 extra modules bzcat %{SOURCE4} > modules/experimental/mod_backtrace.c bzcat %{SOURCE5} > modules/experimental/mod_whatkilledus.c bzcat %{SOURCE6} > modules/experimental/test_char.h # this is really better and easier than a stupid static patch... # for some reason you have to use ">>" here (!) %{__cat} >> config.layout << EOF <Layout NUX> prefix: %{_sysconfdir}/httpd exec_prefix: %{_prefix} bindir: %{_bindir} sbindir: %{_sbindir} libdir: %{_libdir} libexecdir: %{_libdir}/apache mandir: %{_mandir} infodir: %{_infodir} includedir: %{_includedir}/apache sysconfdir: %{_sysconfdir}/httpd/conf datadir: %{_var}/www installbuilddir: %{_libdir}/apache/build errordir: %{_var}/www/error iconsdir: %{_var}/www/icons htdocsdir: %{_var}/www/html manualdir: cgidir: %{_var}/www/cgi-bin localstatedir: %{_var} runtimedir: %{_var}/run logfiledir: %{_var}/log/httpd proxycachedir: %{_var}/cache/httpd </Layout> EOF #Fix DYNAMIC_MODULE_LIMIT perl -pi -e "s/DYNAMIC_MODULE_LIMIT 64/DYNAMIC_MODULE_LIMIT 128/;" \ include/httpd.h # don't try to touch srclib perl -pi -e "s|^SUBDIRS = .*|SUBDIRS = os server modules support|g" Makefile.in # bump server limit perl -pi -e "s|DEFAULT_SERVER_LIMIT 256|DEFAULT_SERVER_LIMIT 1024|g" server/mpm/prefork/prefork.c # tag it with the "legacy" name so that we can track this at netcraft... perl -pi -e "s|^#define AP_SERVER_BASEPRODUCT .*|#define AP_SERVER_BASEPRODUCT \"%{BASEPRODUCT}\"|g" include/ap_release.h # this will only work if configured correctly in the config (FullOs)... cp server/core.c server/core.c.untagged # add the changes file cp %{SOURCE2} README.urpmi # add the rpm macros file bzcat %{SOURCE7} > apache.macros %build ######################################################################################### # configure and build phase # export WANT_AUTOCONF_2_5="1" # We need to re-run ./buildconf because of any applied patch(es) #./buildconf # use a minimal buildconf instead bzcat %{SOURCE100} > buildconf sh ./buildconf %serverbuild #JMD: -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 is used by mod_perl #export CFLAGS="%{optflags} -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" #export CPPFLAGS="-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" #JMD: but only when we manage to fix the conflict between HAVE_SENDFILE and #JMD: HAVE_LARGEFILE in the APR sources. #export SSL_BASE="SYSTEM" # NOTE! "--enable-modules=all --enable-mods-shared=all" won't # enable _all_ modules, that's why I had to specify all of them... CFLAGS="%{optflags}" CPPFLAGS="-DSSL_EXPERIMENTAL_ENGINE" if pkg-config openssl; then # configure -C barfs with trailing spaces in CFLAGS CPPFLAGS="$CPPFLAGS `pkg-config --cflags openssl | sed 's/ *$//'`" SSL_LIBS="`pkg-config --libs openssl`" fi export CFLAGS CPPFLAGS SSL_LIBS #### #Copy pre-patched apache source so we can package an apache-source rpm and #use it to build mod_perl rm -rf ../tmp-%{sourcename} install -d ../tmp-%{sourcename}/usr/src cp -dpR $RPM_BUILD_DIR/%{sourcename} ../tmp-%{sourcename}%{_usrsrc}/apache-%{version} APVARS="--enable-layout=NUX \ --cache-file=../config.cache \ --with-apr=%{_prefix} \ --with-apr-util=%{_prefix} \ --with-pcre=%{_prefix} \ %if %{build_debug} --enable-debug \ --enable-maintainer-mode \ --enable-exception-hook \ %endif --prefix=%{_sysconfdir}/httpd \ --exec-prefix=%{_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --libexecdir=%{_libdir}/apache \ --sysconfdir=%{_sysconfdir}/httpd/conf \ --localstatedir=/var \ --includedir=%{_includedir}/apache \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --datadir=%{_var}/www \ --with-port=80 \ --with-perl=%{__perl} \ --enable-access=shared \ --enable-auth=shared \ --enable-auth_dbm=shared \ --enable-auth_anon=shared \ --enable-auth_digest=shared \ --enable-alias=shared \ --enable-file-cache=shared \ --disable-echo \ --enable-charset-lite=shared \ --enable-cache=shared \ --enable-disk-cache=shared \ --enable-mem-cache=shared \ --disable-example \ --enable-ext-filter=shared \ --enable-case_filter=shared \ --enable-case-filter-in=shared \ --enable-deflate=shared \ --with-z=%{_prefix} \ --enable-mime-magic=shared \ --enable-cern-meta=shared \ --enable-expires=shared \ --enable-headers=shared \ --enable-usertrack=shared \ --enable-unique-id=shared \ --enable-proxy=shared \ --enable-proxy-connect=shared \ --enable-proxy-ftp=shared \ --enable-proxy-http=shared \ --disable-optional-hook-export \ --disable-optional-hook-import \ --disable-optional-fn-import \ --disable-optional-fn-export \ --disable-bucketeer \ --enable-info=shared \ --enable-include=shared \ --enable-cgi=shared \ --enable-cgid=shared \ --enable-dav=shared \ --enable-dav-fs=shared \ --enable-vhost-alias=shared \ --enable-speling=shared \ --enable-rewrite=shared \ --enable-log_config=shared \ --enable-logio=shared \ --enable-log_forensic=shared \ --enable-env=shared \ --enable-setenvif=shared \ --enable-mime=shared \ --enable-status=shared \ --enable-autoindex=shared \ --enable-asis=shared \ --enable-negotiation=shared \ --enable-dir=shared \ --enable-imap=shared \ --enable-actions=shared \ --enable-userdir=shared \ --enable-alias=shared \ --enable-auth-ldap=shared \ --enable-ldap=shared \ --enable-dumpio=shared \ --enable-forward \ --with-program-name=httpd" # provide useful info for making some of the modules from # their own source rpm packages mkdir build-nothing pushd build-nothing ln -s ../configure . %configure2_5x $APVARS \ --with-mpm=prefork \ --enable-ssl=shared \ --with-ssl=%{_prefix} # make ab-ssl %make -C support CFLAGS="%{optflags} -DUSE_SSL -DHAVE_OPENSSL" ab cp -p support/ab ../ab-ssl # this makes us able to do "apxs -c `cat mod_ssl.txt` -lssl -lcrypto" from an external source rpm package grep "^mod_ssl.la" modules/ssl/modules.mk | cut -d\: -f2 | perl -pi -e "s|\.[s]lo|\.c|g" > ../../tmp-%{sourcename}%{_usrsrc}/apache-%{version}/modules/ssl/mod_ssl.txt grep "^mod_ldap.la" modules/experimental/modules.mk | cut -d\: -f2 | perl -pi -e "s|\.[s]lo|\.c|g" > ../../tmp-%{sourcename}%{_usrsrc}/apache-%{version}/modules/experimental/mod_ldap.txt popd for mpm in worker peruser prefork; do mkdir build-${mpm}; pushd build-${mpm} ln -s ../configure . %configure2_5x $APVARS --with-mpm=${mpm} #Copy configure flags to a file in the apache-source rpm. echo "$APVARS --with-mpm=${mpm}" > ../../tmp-%{sourcename}%{_usrsrc}/apache-%{version}/APVARS.${mpm} # OE: avoid linking of *everything* against all libs, mucho gracias suse! for lib in ldap lber sasl sasl2 ssl crypto; do %{__perl} -pi -e "s|-l$lib||g" build/config_vars.mk done %{__sed} '/SH_LINK.*util_ldap/ s/$/ %{ap_ldap_libs}/' modules/experimental/modules.mk > tmp; %{__mv} tmp modules/experimental/modules.mk %{__sed} '/SH_LINK.*auth_ldap/ s/$/ %{ap_ldap_libs}/' modules/experimental/modules.mk > tmp; %{__mv} tmp modules/experimental/modules.mk %{__sed} '/SH_LINK.*mod_ssl/ s/$/ %{ap_ssl_libs}/' modules/ssl/modules.mk > tmp; %{__mv} tmp modules/ssl/modules.mk # only build what's required. if ! [ "${mpm}" == "prefork" -o "${mpm}" == "peruser" ]; then %{__perl} -pi -e "s|^MODULE_DIRS = .*|MODULE_DIRS = http mappers|g" build/config_vars.mk fi # tag it with the mpm name too so that we can track this somehow at for example netcraft... MPM_NAME=`echo ${mpm}|tr "[a-z]" "[A-Z]"` cp ../server/core.c.untagged ../server/core.c %{__perl} -pi -e "s|\" PLATFORM \"|%{TAG}/${MPM_NAME}-%{release}|g" ../server/core.c # finally doing the build stage %make popd done # Verify that the same modules were built into the two httpd binaries ./build-prefork/httpd -l | grep -v prefork > ./prefork.mods ./build-worker/httpd -l | grep -v worker > ./worker.mods ./build-peruser/httpd -l | grep -v peruser > ./peruser.mods if ! [ `diff -u prefork.mods worker.mods` -o `diff -u prefork.mods peruser.mods` ]; then : Different modules built into httpd binaries, will not proceed exit 1 fi %if %{build_debug} # this won't work..., too bad... # --add-module=experimental:modules/experimental/mod_backtrace.c --enable-backtrace=shared \ # --add-module=experimental:modules/experimental/mod_whatkilledus.c --enable-whatkilledus=shared \ pushd build-prefork cp support/apxs apxs_test; chmod 755 apxs_test perl -pi -e "s|%{_libdir}/apache/build|./build|g" apxs_test ./apxs_test -I../include -I../os/unix -I./include `apr-config --includes` -c ../modules/experimental/mod_backtrace.c ./apxs_test -I../include -I../os/unix -I./include `apr-config --includes` -c ../modules/experimental/mod_whatkilledus.c popd %endif %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} ######################################################################################### # install phase # %if %{build_debug} export DONT_STRIP=1 %endif install -d %{buildroot}%{_libdir}/apache-extramodules install -d %{buildroot}%{_sysconfdir}/httpd/modules.d install -d %{buildroot}%{_sysconfdir}/rpm/macros.d install -d %{buildroot}%{_localstatedir}/dav install -d %{buildroot}%{_var}/www install -d %{buildroot}%{_var}/cache/httpd #EXCLUDE_FROM_STRIP="%{buildroot}%{_sbindir}/httpd %{buildroot}%{_sbindir}/httpd-worker %{buildroot}%{_sbindir}/httpd-peruser" # make mr. lint happy and do some house cleaning... (remember, linux rules!) pushd ../tmp-%{sourcename}%{_usrsrc}/apache-%{version} rm -rf autom4te.cache icons *.zip # if we delete these we have to maintain an "linux only" patch in %%setup too, mark my words! # rm -rf build/win32 modules/arch support/win32 # rm -rf os/beos os/bs2000 os/netware os/os2 os/tpf os/win32 # rm -rf server/mpm/beos server/mpm/mpmt_os2 server/mpm/netware server/mpm/winnt for f in `find . -type f -name ".orig"` \ `find . -type f -name ".deps"` `find . -type f -name ".indent.pro"` \ `find . -type f -name ".gdbinit"` `find . -type f -name "NW*"` \ `find . -type f -name "*.droplet"` `find . -type f -name "*.dsp"`; do rm -f $f done find . -type f | xargs %{__perl} -pi -e "s|%{_builddir}/%{sourcename}|%{_usrsrc}/apache-%{version}|g" popd # install source tar c -C ../tmp-%{sourcename} usr/src | tar x -C %{buildroot} # don't fiddle with the initscript! export DONT_GPRINTIFY=1 pushd build-prefork make install \ prefix=%{buildroot}%{_prefix} \ bindir=%{buildroot}%{_bindir} \ sbindir=%{buildroot}%{_sbindir} \ libdir=%{buildroot}%{_libdir} \ libexecdir=%{buildroot}%{_libdir}/apache \ mandir=%{buildroot}%{_mandir} \ sysconfdir=%{buildroot}%{_sysconfdir}/httpd/conf \ includedir=%{buildroot}%{_includedir}/apache \ localstatedir=%{buildroot}/var \ runtimedir=%{buildroot}/var/run \ installbuilddir=%{buildroot}%{_libdir}/apache/build \ datadir=%{buildroot}%{_var}/www \ errordir=%{buildroot}%{_var}/www/error \ iconsdir=%{buildroot}%{_var}/www/icons \ htdocsdir=%{buildroot}%{_var}/www/html \ manualdir=%{buildroot}%{_var}/www/html/manual \ cgidir=%{buildroot}%{_var}/www/cgi-bin \ runtimedir=%{buildroot}/var/run \ logdir=%{buildroot}%{_var}/log/httpd \ logfiledir=%{buildroot}%{_var}/log/httpd \ proxycachedir=%{buildroot}%{_var}/cache/httpd popd # This was intruduced Sat Jun 15 2002, but it didn't work... ;( #make DESTDIR=%{buildroot} install pushd %{buildroot}%{_sbindir} rm -f suexec popd pushd %{buildroot}%{_mandir}/man8 rm -f suexec.8 popd #Fix config_vars.mk, and add some MDK flags so all other modules #can simply do "apxs -q VARIABLE" and know, for example, the exact #release of apache-devel or the exact directory where the source is #located. CVMK="%{buildroot}%{_libdir}/apache/build/config_vars.mk" %{__perl} -pi -e "s|%{_builddir}/%{sourcename}|%{_usrsrc}/apache-%{version}|g" $CVMK %{__perl} -pi -e "s|%{buildroot}||g" $CVMK %{__perl} -pi -e "s|^EXTRA_INCLUDES.*|EXTRA_INCLUDES = `apr-config --includes` -I%{_includedir}/apache -I%{_includedir}/openssl|g" $CVMK # fix libtool invocation %{__perl} -pi -e "s|^LIBTOOL.*|LIBTOOL = libtool|g" $CVMK %{__perl} -pi -e "s|^SH_LIBTOOL.*|SH_LIBTOOL = libtool|g" $CVMK # if the following 3 lines needs to be enabled again, use the ".*" wildcard as in # "s|bla bla =.*|bla bla = replaced whatever text after the equal char...|g" #%{__perl} -pi -e "s|installbuilddir =.*|installbuilddir = %{_libdir}/apache/build|g" $CVMK #%{__perl} -pi -e "s|htdocsdir =.*|htdocsdir = %{_var}/www/html|g" $CVMK #%{__perl} -pi -e "s|logfiledir =.*|logfiledir = %{_var}/log/httpd|g" $CVMK echo "ap_version = %{version}" >> $CVMK echo "ap_release = %{release}" >> $CVMK ######################################################################################### # fix some bugs and other stuff # %{__perl} -pi -e "s|%{_builddir}/%{sourcename}|%{_usrsrc}/apache-%{version}|g" %{buildroot}%{_libdir}/apache/build/apr_rules.mk mv %{buildroot}%{_sbindir}/envvars %{buildroot}%{_libdir}/apache/build/ ################################################################## # first tuck away the vanilla httpd*.conf file %{__perl} -pi -e "s|%{buildroot}/usr|/etc/httpd|g" %{buildroot}%{_sysconfdir}/httpd/conf/*.conf %{__perl} -pi -e "s|%{buildroot}%{_libdir}/apache|modules|g" %{buildroot}%{_sysconfdir}/httpd/conf/*.conf %{__perl} -pi -e "s|%{buildroot}/var/log/httpd|logs|g" %{buildroot}%{_sysconfdir}/httpd/conf/*.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/highperformance.conf highperformance.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/httpd.conf httpd-VANILLA.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/ssl.conf ssl.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/ssl-std.conf ssl-std.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/highperformance-std.conf highperformance-std.conf cp %{buildroot}%{_sysconfdir}/httpd/conf/httpd-std.conf httpd-std.conf rm -rf %{buildroot}%{_sysconfdir}/httpd/conf # Link build dir ln -s ../../..%{_libdir}/apache/build %{buildroot}%{_sysconfdir}/httpd/build ################################################################## # install module conf files for the "modules.d" dir loading structure bzcat %{SOURCE30} > %{buildroot}%{_sysconfdir}/httpd/modules.d/30_mod_proxy.conf bzcat %{SOURCE45} > %{buildroot}%{_sysconfdir}/httpd/modules.d/45_mod_dav.conf bzcat %{SOURCE46} > %{buildroot}%{_sysconfdir}/httpd/modules.d/46_mod_ldap.conf bzcat %{SOURCE55} > %{buildroot}%{_sysconfdir}/httpd/modules.d/55_mod_cache.conf bzcat %{SOURCE56} > %{buildroot}%{_sysconfdir}/httpd/modules.d/56_mod_disk_cache.conf bzcat %{SOURCE57} > %{buildroot}%{_sysconfdir}/httpd/modules.d/57_mod_mem_cache.conf bzcat %{SOURCE58} > %{buildroot}%{_sysconfdir}/httpd/modules.d/58_mod_file_cache.conf bzcat %{SOURCE59} > %{buildroot}%{_sysconfdir}/httpd/modules.d/59_mod_deflate.conf bzcat %{SOURCE67} > %{buildroot}%{_sysconfdir}/httpd/modules.d/67_mod_userdir.conf %if %{build_debug} # fix the mod_backtrace.conf cat << EOF > %{buildroot}/%{_sysconfdir}/httpd/modules.d/ZZ90_mod_backtrace.conf <IfDefine HAVE_BACKTRACE> <IfModule !mod_backtrace.so.c> LoadModule backtrace_module extramodules/mod_backtrace.so </IfModule> </IfDefine> <IfModule mod_backtrace.c> EnableExceptionHook On BacktraceLog logs/backtrace_log </IfModule> EOF # fix the mod_whatkilledus.conf cat << EOF > %{buildroot}/%{_sysconfdir}/httpd/modules.d/ZZ91_mod_whatkilledus.conf <IfDefine HAVE_WHATKILLEDUS> <IfModule !mod_whatkilledus.so.c> LoadModule whatkilledus_module extramodules/mod_whatkilledus.so </IfModule> </IfDefine> <IfModule mod_whatkilledus.c> EnableExceptionHook On WhatKilledUsLog logs/whatkilledus_log </IfModule> EOF # install the dso's install -m0755 modules/experimental/.libs/mod_backtrace.so %{buildroot}%{_libdir}/apache-extramodules/ install -m0755 modules/experimental/.libs/mod_whatkilledus.so %{buildroot}%{_libdir}/apache-extramodules/ # provide log files too touch %{buildroot}%{_var}/log/httpd/backtrace_log touch %{buildroot}%{_var}/log/httpd/whatkilledus_log %endif #Move mod_ldap.so and mod_auth_ldap.so to %{_libdir}/apache-extramodules mv %{buildroot}%{_libdir}/apache/mod_ldap.so %{buildroot}%{_libdir}/apache-extramodules mv %{buildroot}%{_libdir}/apache/mod_auth_ldap.so %{buildroot}%{_libdir}/apache-extramodules # we only want to provide png files... find %{buildroot}%{_var}/www/icons -type f -name "*.gif" | xargs rm # install missing files install -m755 build-prefork/support/split-logfile %{buildroot}%{_sbindir}/split-logfile install -m755 support/list_hooks.pl %{buildroot}%{_sbindir}/list_hooks.pl install -m755 build-prefork/support/logresolve.pl %{buildroot}%{_sbindir}/logresolve.pl install -m755 build-prefork/support/log_server_status %{buildroot}%{_sbindir}/log_server_status install -m755 build-prefork/support/checkgid %{buildroot}%{_sbindir}/checkgid install -m755 support/check_forensic %{buildroot}%{_sbindir}/check_forensic # install ssl aware ab install -m0755 ab-ssl %{buildroot}%{_sbindir}/ab # cleanup rm -rf %{buildroot}%{_var}/www/html/index* rm -rf %{buildroot}%{_var}/www/html/apach* rm -rf %{buildroot}%{_sbindir}/apachectl rm -rf %{buildroot}%{_var}/www/cgi-bin/printenv rm -rf %{buildroot}%{_var}/www/cgi-bin/test-cgi rm -rf %{buildroot}%{_var}/www/html/manual # fix a msec safe cache for the mod_ldap stuff touch %{buildroot}%{_var}/cache/httpd/mod_ldap_cache # install the mpm stuff install -m0755 build-worker/httpd %{buildroot}%{_sbindir}/httpd-worker install -m0755 build-peruser/httpd %{buildroot}%{_sbindir}/httpd-peruser %if !%{build_debug} # these won't get stripped for some reason... chmod 755 %{buildroot}%{_sbindir}/* strip %{buildroot}%{_sbindir}/ab strip %{buildroot}%{_sbindir}/checkgid strip %{buildroot}%{_sbindir}/htdbm strip %{buildroot}%{_sbindir}/htdigest strip %{buildroot}%{_sbindir}/htpasswd strip %{buildroot}%{_sbindir}/logresolve strip %{buildroot}%{_sbindir}/rotatelogs # neither these it seems... strip %{buildroot}%{_sbindir}/httpd strip %{buildroot}%{_sbindir}/httpd-peruser strip %{buildroot}%{_sbindir}/httpd-worker %endif %if %mdkversion >= 1020 %multiarch_includes %{buildroot}%{_includedir}/apache/ap_config_layout.h %endif # install the rpm macros file install -m0644 apache.macros %{buildroot}%{_sysconfdir}/rpm/macros.d ######################################################################################### # install phase done # %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} #Clean up "install source" and other generated dirs [ "../tmp-%{sourcename}%{_usrsrc}/apache-%{version}" != "/" ] && rm -rf ../tmp-%{sourcename}%{_usrsrc}/apache-%{version} [ "../usr/src" != "/" ] && rm -rf ../usr/src [ "../tmp-%{sourcename}" != "/" ] && rm -rf ../tmp-%{sourcename} %post mpm-prefork if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mpm-prefork if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mpm-worker if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mpm-worker if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mpm-peruser if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mpm-peruser if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %pre base %_pre_useradd apache %{_var}/www /bin/sh %postun base %_postun_userdel apache %post modules %if %{build_debug} %create_ghostfile %{_var}/log/httpd/backtrace_log apache apache 0644 %create_ghostfile %{_var}/log/httpd/whatkilledus_log apache apache 0644 %endif if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %post mod_proxy if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_proxy if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_dav if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_dav if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_ldap %create_ghostfile %{_var}/cache/httpd/mod_ldap_cache apache root 0600 if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_ldap if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_cache if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_cache if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_disk_cache if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_disk_cache if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_mem_cache if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_mem_cache if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_file_cache if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_file_cache if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_deflate if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_deflate if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %post mod_userdir if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2; fi %postun mod_userdir if [ "$1" = "0" ]; then if [ -f %{_var}/lock/subsys/httpd ]; then %{_initrddir}/httpd restart 1>&2 fi fi %files mpm-prefork %defattr(-,root,root) %doc highperformance.conf httpd-VANILLA.conf ssl.conf ssl-std.conf highperformance-std.conf httpd-std.conf %attr(0755,root,root) %{_sbindir}/httpd %files mpm-worker %defattr(-,root,root) %doc highperformance.conf httpd-VANILLA.conf ssl.conf ssl-std.conf highperformance-std.conf httpd-std.conf %attr(0755,root,root) %{_sbindir}/httpd-worker %files mpm-peruser %defattr(-,root,root) %doc highperformance.conf httpd-VANILLA.conf ssl.conf ssl-std.conf highperformance-std.conf httpd-std.conf %attr(0755,root,root) %{_sbindir}/httpd-peruser %files modules %defattr(-,root,root) %doc modules/README* %attr(0755,root,root) %{_libdir}/apache/mod_access.so %attr(0755,root,root) %{_libdir}/apache/mod_actions.so %attr(0755,root,root) %{_libdir}/apache/mod_alias.so %attr(0755,root,root) %{_libdir}/apache/mod_asis.so %attr(0755,root,root) %{_libdir}/apache/mod_auth.so %attr(0755,root,root) %{_libdir}/apache/mod_auth_anon.so %attr(0755,root,root) %{_libdir}/apache/mod_auth_dbm.so %attr(0755,root,root) %{_libdir}/apache/mod_auth_digest.so %attr(0755,root,root) %{_libdir}/apache/mod_autoindex.so %attr(0755,root,root) %{_libdir}/apache/mod_case_filter.so %attr(0755,root,root) %{_libdir}/apache/mod_case_filter_in.so %attr(0755,root,root) %{_libdir}/apache/mod_cern_meta.so %attr(0755,root,root) %{_libdir}/apache/mod_cgi.so %attr(0755,root,root) %{_libdir}/apache/mod_cgid.so %attr(0755,root,root) %{_libdir}/apache/mod_charset_lite.so %attr(0755,root,root) %{_libdir}/apache/mod_dir.so %attr(0755,root,root) %{_libdir}/apache/mod_env.so %attr(0755,root,root) %{_libdir}/apache/mod_expires.so %attr(0755,root,root) %{_libdir}/apache/mod_ext_filter.so %attr(0755,root,root) %{_libdir}/apache/mod_headers.so %attr(0755,root,root) %{_libdir}/apache/mod_imap.so %attr(0755,root,root) %{_libdir}/apache/mod_include.so %attr(0755,root,root) %{_libdir}/apache/mod_info.so %attr(0755,root,root) %{_libdir}/apache/mod_log_config.so %attr(0755,root,root) %{_libdir}/apache/mod_logio.so %attr(0755,root,root) %{_libdir}/apache/mod_log_forensic.so %attr(0755,root,root) %{_libdir}/apache/mod_mime.so %attr(0755,root,root) %{_libdir}/apache/mod_mime_magic.so %attr(0755,root,root) %{_libdir}/apache/mod_negotiation.so %attr(0755,root,root) %{_libdir}/apache/mod_rewrite.so %attr(0755,root,root) %{_libdir}/apache/mod_setenvif.so %attr(0755,root,root) %{_libdir}/apache/mod_speling.so %attr(0755,root,root) %{_libdir}/apache/mod_status.so %attr(0755,root,root) %{_libdir}/apache/mod_unique_id.so %attr(0755,root,root) %{_libdir}/apache/mod_usertrack.so %attr(0755,root,root) %{_libdir}/apache/mod_vhost_alias.so %attr(0755,root,root) %{_libdir}/apache/mod_dumpio.so %attr(0755,root,root) %{_libdir}/apache/httpd.exp %if %{build_debug} %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/ZZ90_mod_backtrace.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/ZZ91_mod_whatkilledus.conf %attr(0755,root,root) %{_libdir}/apache-extramodules/mod_backtrace.so %attr(0755,root,root) %{_libdir}/apache-extramodules/mod_whatkilledus.so %attr(0644,apache,apache) %ghost %{_var}/log/httpd/backtrace_log %attr(0644,apache,apache) %ghost %{_var}/log/httpd/whatkilledus_log %endif %files mod_proxy %defattr(-,root,root) %doc modules/proxy/CHANGES %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_proxy.conf %attr(0755,root,root) %{_libdir}/apache/mod_proxy_connect.so %attr(0755,root,root) %{_libdir}/apache/mod_proxy_ftp.so %attr(0755,root,root) %{_libdir}/apache/mod_proxy_http.so %attr(0755,root,root) %{_libdir}/apache/mod_proxy.so %attr(0770,root,apache) %dir %{_var}/cache/httpd %files mod_dav %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_dav.conf %attr(0755,root,root) %{_libdir}/apache/mod_dav.so %attr(0755,root,root) %{_libdir}/apache/mod_dav_fs.so %attr(-,apache,apache) %dir %{_localstatedir}/dav %files mod_ldap %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_ldap.conf %attr(0755,root,root) %{_libdir}/apache-extramodules/mod_ldap.so %attr(0755,root,root) %{_libdir}/apache-extramodules/mod_auth_ldap.so %attr(0600,apache,root) %ghost %{_var}/cache/httpd/mod_ldap_cache %files mod_cache %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_cache.conf %attr(0755,root,root) %{_libdir}/apache/mod_cache.so %files mod_disk_cache %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_disk_cache.conf %attr(0755,root,root) %{_libdir}/apache/mod_disk_cache.so %files mod_mem_cache %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_mem_cache.conf %attr(0755,root,root) %{_libdir}/apache/mod_mem_cache.so %files mod_file_cache %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_file_cache.conf %attr(0755,root,root) %{_libdir}/apache/mod_file_cache.so %files mod_deflate %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_deflate.conf %attr(0755,root,root) %{_libdir}/apache/mod_deflate.so %files mod_userdir %defattr(-,root,root) %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/modules.d/*_mod_userdir.conf %attr(0755,root,root) %{_libdir}/apache/mod_userdir.so %files base %defattr(-,root,root) %doc README.urpmi %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/rpm/macros.d/apache.macros %dir %{_var}/www/error %dir %{_var}/www/error/include %config(noreplace,missingok) %{_var}/www/error/README %config(noreplace,missingok) %{_var}/www/error/*.var %config(noreplace,missingok) %{_var}/www/error/include/*.html %dir %{_var}/www/icons %dir %{_var}/www/icons/small %attr(0644,root,root) %{_var}/www/icons/README* %attr(0644,root,root) %{_var}/www/icons/*.png %attr(0644,root,root) %{_var}/www/icons/small/README* %attr(0644,root,root) %{_var}/www/icons/small/*.png %attr(0755,root,root) %{_sbindir}/ab %attr(0755,root,root) %{_sbindir}/checkgid %attr(0755,root,root) %{_sbindir}/htdbm %attr(0755,root,root) %{_sbindir}/htdigest %attr(0755,root,root) %{_sbindir}/htpasswd %attr(0755,root,root) %{_sbindir}/logresolve %attr(0755,root,root) %{_sbindir}/rotatelogs %attr(0755,root,root) %{_sbindir}/split-logfile %attr(0755,root,root) %{_sbindir}/dbmmanage %attr(0755,root,root) %{_sbindir}/list_hooks.pl %attr(0755,root,root) %{_sbindir}/logresolve.pl %attr(0755,root,root) %{_sbindir}/log_server_status %attr(0755,root,root) %{_sbindir}/check_forensic %attr(0755,root,root) %dir %{_libdir}/apache %attr(0755,root,root) %dir %{_libdir}/apache-extramodules %{_mandir}/*/* %files devel %defattr(-,root,root) %if %mdkversion >= 1020 %multiarch %{multiarch_includedir}/apache/ap_config_layout.h %endif %{_includedir}/apache %attr(0755,root,root) %dir %{_libdir}/apache/build %attr(0755,root,root) %dir %{_sysconfdir}/httpd/build %attr(0644,root,root) %{_libdir}/apache/build/*.mk %attr(0755,root,root) %{_libdir}/apache/build/*.sh %attr(0755,root,root) %{_libdir}/apache/build/envvars %attr(0755,root,root) %{_libdir}/apache/build/config.nice %attr(0755,root,root) %{_sbindir}/envvars-std %attr(0755,root,root) %{_sbindir}/apxs %files source %defattr(-,root,root) %{_usrsrc}/apache-%{version} %changelog * Mon Sep 12 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-13mdk - peruser-0.1.6 * Fri Sep 09 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-12mdk - added P124 to plug CAN-2005-2700 - added P125 to plug CAN-2005-2728 * Mon Sep 05 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-11mdk - rebuild * Tue Aug 30 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-10mdk - rebuilt against new openldap-2.3.6 libs * Fri Jul 29 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-9mdk - added another work around for a rpm bug * Fri Jul 29 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-8mdk - added P122 to plug CAN-2005-2088 (redhat) - added P123 to plug CVE CAN-2005-1268 (redhat) - added a work around for a rpm bug, "Requires(foo,bar)" don't work * Mon Jul 11 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-7mdk - fix descriptions * Thu Jun 30 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-6mdk - peruser-0.1.5 * Wed Jun 29 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-5mdk - peruser-0.1.4 - added a rpm macros file for web applications to utilize (Guillaume Rousse) * Mon Jun 13 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-4mdk - peruser-0.1.3 * Sat Jun 04 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-3mdk - fix provides - added the README.urpmi file to the apache-base sub package to depict the most significant changes. - better descriptions for certain sub packages - broke out mod_userdir into its own sub package * Sat Jun 04 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.0.54-2mdk - add BuildRequires: zlib-devel * Thu May 26 2005 Oden Eriksson <oeriksson@mandriva.com> 2.0.54-1mdk - let's the apache2/apache renaming begin - added new P45 and P72 (fedora) - peruser-0.1.2 - sync with fedora - call libtool directly from the config_vars.mk file - use modules.d to load modules instead of conf.d - provide the manual from another spec src.rpm - %%distribution is no more, use a local %%TAG (Mandriva Linux) instead - strip the binaries (for now) - rename apache2-common to apache-base to solve a cicrular deps problem - use new rpm-4.4.x pre,post magic * Tue Apr 12 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.54-0.2mdk - peruser-r10 * Tue Apr 12 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.54-0.1mdk - 2.0.54 - rediff P45 - deactivate P72 - drop upstream implemented P95 - peruser-r9 * Wed Mar 30 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-9mdk - the WORKER, PERUSER and PREFORK tagging was not working as intended, fixed now * Thu Mar 17 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-8mdk - use the %%mkrel macro - drop the %%distribution redefine - misc deps cleanups - fix deps on config files - added some missing stuff - drop metuxmpm as it seems to be unmaintained * Sun Mar 06 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-7mdk - drop the requirements of libtool for the apache2 package * Fri Mar 04 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-6mdk - updated to peruser-r8 (P105) * Sun Feb 27 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-5mdk - fix %%post and %%postun to prevent double restarts * Tue Feb 15 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-4mdk - spec file cleanups, remove the ADVX-build stuff * Fri Feb 11 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-3mdk - don't screw up netcraft history (J-M) * Thu Feb 10 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-2mdk - used a more correct P75 (fedora) * Tue Feb 08 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-1mdk - 2.0.53 - added the LDAP socket timeout patch (P95) * Sun Feb 06 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.53-0.rc1.1mdk - 2.0.53-rc1 - build and provide the new dumpio module - rediffed P75 - drop redundant and upstream implemented patches; - P49 (MDK #9850) - P95 (util_ldap_cache_mgr.c.patch) - P200 (CAN-2004-0885) - P201 (CAN-2004-0942) * Fri Feb 04 2005 Buchan Milne <bgmilne@linux-mandrake.com> 2.0.52-18mdk - rebuild for ldap2.2_7 * Mon Jan 31 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-17mdk - fix deps and conditional %%multiarch * Mon Jan 31 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-16mdk - fix strange release gap * Thu Jan 13 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-15mdk - there's a new peruser patch (rediffed from the r7 patch), spotted by Lukas Vesely - use less restrictive attribs on most .conf files, set it when needed instead (pleases rpmlint...) - force permissions on certain files even if not needed * Wed Jan 12 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-14mdk - added P84 (fedora) to make ab-ssl work - added one forgotten official patch (P95) * Tue Jan 11 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-13mdk - make --with debug work * Tue Jan 11 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-12mdk - provide logfiles too if a debug build * Fri Dec 03 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-11mdk - added P49 in an attempt to fix long standing #9850 (this fix will be included in 2.0.53) * Sun Nov 28 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-10mdk - merge lib64 fixes by Gwenole Beauchesne that got lost for some reason - remove an appended ".so" for the mod_auth_ldap module that seems to have been in here for ages. * Sat Nov 27 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-9mdk - rebuilt against new pcre libs * Thu Nov 25 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-8mdk - rebuilt against apr/apu 0.9.5 final * Thu Nov 18 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-7mdk - provide metuxmpm and the new peruser mpm's too * Thu Nov 18 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-6mdk - fix the config_vars.mk file again * Thu Nov 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-5mdk - fix for wrongly assuming ipv6 on listen (P48) - added a security fix (P201) that addresses CAN-2004-0942 * Tue Nov 09 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-4mdk - rebuild against newish apr libs * Sun Oct 17 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-3mdk - added a security fix (P200) that addresses CAN-2004-0885 - added better commented patches from fedora * Wed Oct 13 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-2mdk - added P93 & P94 from fedora/redhat * Tue Sep 28 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.52-1mdk - 2.0.52 (includes the CAN-2004-0811 fix) - drop P8, it's integrated upstream * Fri Sep 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.51-2mdk - added a security fix (P200) that addresses CAN-2004-0811 * Thu Sep 16 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.51-1mdk - rediff a lot of patches - drop patches that are either implemented upstream or redundant * Wed Sep 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-6mdk - added security fixes to the source for mod_ssl from ASF (P202 & P203) that addresses CAN-2004-0747 and CAN-2004-0809 * Thu Sep 09 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-5mdk - added security fixes to the source for mod_ssl from suse (P200 & P201) that addresses CAN-2004-0748 and CAN-2004-0751 * Tue Aug 10 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-4mdk - rebuilt against new db4.2 apr * Wed Jul 14 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-3mdk - have apache2-devel require pcre-devel (Christiaan Welvaart) * Mon Jul 12 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-2mdk - remove redundant provides - re-added P45,P84,P85 (fedora) - added fixed P39 (fedora) * Wed Jun 30 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.50-1mdk - 2.0.50 - enable mod_log_forensic - drop P45,P46,P48,P49,P51,P53,P54,P55,P81,P84,P85,P89 and P90, these are integrated upstream as well as fixes for CAN-2004-0488 and CAN-2004-0493 * Wed Jun 23 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-12mdk - move mod_ssl and to an external source rpm package (the ldap stuff may follow) - remove distcache stuff as we build it using an external source rpm package - sync with fedora (P7, P55) (2.0.49-7) * Fri Jun 18 2004 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.49-11mdk - rebuild with new openssl - use fcntl for mutexes instead of posix mutexes (which won't work on non-NPTL kernels and some older processors), or sysvsem which are not resistand under high load. - should fix bug #9101 at last - tested under heavy load: 100,000 hits in 4 minutes, 1000 simultaneous connections, load average went up to 835.40, not a single failed request. - tested under NPTL kernel and User-Mode Linux kernel using linuxthreads. * Thu Jun 17 2004 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.49-10mdk - test stability of different mutexes * Thu Jun 17 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-9mdk - sync with fedora (P52,P53,P54,P72,P91,P92,P300) - drop P100 in favour to P54 - bump server limit again - fix deps - provide a cleaner source package * Thu Jun 10 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-8mdk - fix deps * Wed May 19 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-7mdk - fix deps and brp-compress location * Tue May 18 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-6mdk - add the metux mpm (P104) - bump DEFAULT_SERVER_LIMIT for the prefork mpm - use the %%configure2_5x macro * Sat May 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-5mdk - use --enable-exception-hook if a debug build - added P103 (fix mod_ldap cache file location) and add the ghostfile - new P90 (jorton) fix #9120 - added S6 & S7 (mod_backtrace & mod_whatkilledus is built if a debug build) * Sat May 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-4mdk - sync with fedora (P51) * Fri May 07 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-3mdk - rebuilt * Mon Apr 26 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-2mdk - sync with fedora (P90) * Sat Apr 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.0.49-1mdk - split out the apr suite as apr-0.9.5-1mdk and apr-util-0.9.5-1mdk - stole a lot of stuff from fedora - removed a lot of patches - made a lot of spec file changes - require new ADVX-build >= 10 (and fix #5732) * Mon Mar 15 2004 Michael Scherer <misc@mandrake.org> 2.0.48-6mdk - /var/lib/dav owned by apache, otherwise, mod_dav doesn't work properly - fix #6208 ( mod_ssl error due to incorrect permission ) - fix various [DIRM],[CFLP] - remove forbidden words - remove debug stuff for release * Mon Dec 15 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.48-5mdk - new openssl - fix mod_auth_ldap (link with ldap, ber, crypto, ssl) * Sun Dec 14 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.48-4mdk - fix #6556 - updated P5 * Sun Dec 07 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.48-3mdk - rebuilt to fix missing package in the repository * Sun Nov 02 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.48-2mdk - added P6 (check: http://bitbrook.de/software/mod_log_mysql/) * Tue Oct 28 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.48-1mdk - 2.0.48 ([CAN-2003-0789], [CAN-2003-0542]) - merged in house stuff with vdanens stuff - fix the httpd2-VANILLA.conf file - include the other *.conf files as well in %%doc - drop P50, pause P40, rediffed P5, updated S2 - build debug per default until mdk10(?) final - fix the mod_ssl cache location and ghost files - don't ship novell stuff in the source package - fix explicit-lib-dependency * Wed Oct 22 2003 Vincent Danen <vdanen@mandrakesoft.com> 2.0.47-6.1.92mdk - don't use the new mod_cgi as it causes more problems than it fixes - fix mod_proxy config since it was entirely insecure * Mon Sep 15 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.47-6mdk - fix CGI - took mod_cgi.c from httpd-2.1-dev since it fixes a nasty bug (and potential DoS attack) [Apache Bug 22030] - put the ssl_scache file into /var/cache to avoid log rotation and segfaults * Thu Aug 14 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.0.47-5mdk - Fix dependencies (aka remove autorequired packages) * Mon Jul 21 2003 David BAUDENS <baudens@mandrakesoft.com> 2.0.47-4mdk - Rebuild to fix bad signature * Sun Jul 20 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.47-3mdk - fix the apu-config file - fix requires - misc spec file fixes * Tue Jul 15 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.47-2mdk - rebuilt against new db4.1, openldap and sasl2 - added P50 - misc spec file fixes * Wed Jul 09 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.47-1mdk - 2.0.47, fixes [CAN-2003-0192], [CAN-2003-0253], [CAN-2003-0254], [VU#379828] - require apache2-conf >= 2.0.46-2mdk * Wed Jun 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.46-5mdk - fix typo in requires for the apr package (sooooo annoying...) * Wed Jun 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.46-4mdk - build options against new shared distcache libs, use --with distcache or wait for a mod_ssl_dc module in contribs - added spec file magic with ideas from suse to prevent everything to be built against all libs, also all requires changed because of this. - use the %%configure2_5x macro - use --enable-nonportable-atomics for i586 and upwards - updated S46, note that the mod_ldap stuff is still market experimental... - misc spec file fixes * Wed Jun 04 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.46-3mdk - added distcache support as a conditional switch (--with distcache), currently not enabled by default - added a distcache entry in S40 - don't require libdb3.3 * Fri May 30 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.46-2mdk - remove useless modules - broke out mod_deflate, cache and proxy modules - misc spec file fixes - require new ADVX-build >= 9.2 * Wed May 28 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.46-1mdk - security release (CAN-2003-0245, CAN-2003-0189) - stole P40 & P41 from redhat - misc spec file fixes * Mon May 05 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.45-5mdk - require libopenssl0.9.7 and not libopenssl0 * Fri Apr 11 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.45-4mdk - Link apache2-extramodules-2.0.44 with 2.0.45, even if directory is empty, so it's possible to install modules for 2.0.44 on 2.0.45. * Mon Apr 07 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.45-3mdk - 2.0.45 is binary compatible with 2.0.44, migrate old modules to new modules directory. * Mon Apr 07 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.45-2mdk - Rebuild for 9.1 security update * Tue Apr 01 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.45-1mdk - 2.0.45 * Tue Mar 4 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-11mdk - I was out of coffee, so I messed up the last package. Went to the store, bought a dozen kilos of French Roast, Colombian and Espresso beans, so I'll be okay for a while. - Really fix the manuals this time, I swear! * Tue Mar 4 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-10mdk - add post script for manual package, and provide a /manual/2.0 alias as well. * Mon Mar 3 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-9mdk - re-add obsoletes on manual package, since the 9.0 manual package had a weird dependency on mm = 1.1.3 (jmdault sucks ;-) * Sun Mar 2 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-8mdk - fix manual config file (thanks Ryan!) * Fri Feb 28 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-7mdk - Do not require libdb*-devel, it breaks the upgrade from 9.0 to 9.1. Instead, each Apache module that requires libdb* to compile should add it to its buildrequires - Make -devel, -manual and -source package not obsolete their old versions, since they can be installed in parallel. - Do not use a symlink for the manual, but use a config file instead, to be able to install both the 1.3 and 2.0 manuals. * Sat Feb 22 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-6mdk - Change DYNAMIC_MODULE_LIMIT from 64 to 96 (Wow! We really have *lots* of apache modules ;-) * Fri Feb 21 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-5mdk - fix suexec path so we can have both versions of Apache and both versions of suexec - fix images (use gif2png) * Thu Feb 13 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.44-4mdk - rebuild - remove fake ASF root, it gives a bunch of danglink symlinks which rpmlint doesn't like... Dumb modules will have to be fixed if they need this. * Wed Feb 12 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.44-3mdk - arrgh!!! forgot to pass --enable-forward to the configure line to get "-DRECORD_FORWARD" correctly added... * Wed Feb 12 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.44-2mdk - add P3 (for mod_limitipconn) * Mon Jan 20 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.44-1mdk - 2.0.44 - drop obsolete P3, P4 & P5 - misc spec file fixes * Mon Jan 20 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-8mdk - fix buildrequires ADVX-build >= 1.1 - fix fake ASF root, make it easier to point to, if nessesary when building dumb third party modules - fix the distribution macro insertion * Sat Jan 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-7mdk - rebuild against openssl-0.9.7 - misc spec file fixes * Wed Jan 08 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.43-6mdk - Rebuilt with db4 * Mon Jan 06 2003 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.43-5mdk - Change apxs to apxs2 and /usr/include/apache to /usr/include/apache2 to be able to work on Apache 1.3 and 2.0 at the same time. - Macroize the db version (3.3 vs 4.0) to be able to easily switch from 9.0 to Cooker. - Add Provides: ADVXpackage, all ADVX package will have this tag, so we can easily do a rpm --whatprovides ADVXpackage to find out what ADVX packages a user has installed on his system. - Likewise, add Provides: AP13package and AP20package in the same manner * Wed Nov 06 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-4mdk - enable build with debugging code, used ideas from Han Boetes and his fluxbox package, but the RedHat way. rpm --rebuild --with debug apache2-2.0.43-4mdk.src.rpm will _not_ strip away any debugging code, will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to configure. * Sat Nov 02 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-3mdk - enable the ldap stuff and build against db4 * Fri Oct 25 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-2mdk - new P5 (for mod_logio; check www.rexursive.com) * Fri Oct 04 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.43-1mdk - new version (security fixes + mod_logio) - dropped P5 - new P4 (mod_logio) * Wed Oct 02 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-6mdk - added P5 [CAN-2002-0840] (will be in 2.0.43 + mod_dav fixes + mod_logio, release probably tomorrow) * Sat Sep 28 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-5mdk - added P4 (mod_logio) * Fri Sep 27 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-4mdk - added P3 (from CVS) that fixes apr-util to honor LIBNAME * Thu Sep 26 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-3mdk - installbuilddir, htdocsdir and logfiledir is suddenly set ok in config_vars.mk, no need to fix that with perl. (it was doubled!, i'm blind...) * Thu Sep 26 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-2mdk - bring back ugly spec file hacks, but now it's even uglier... :-) - finally got mod_ldap to compile, but chose not to enable it - put generated httpd2.conf in docdir as httpd2-VANILLA.conf - misc spec file fixes * Wed Sep 25 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.42-1mdk - the httpd-2.0.36-cnfdir.patch patch by RH is merged upstream, therefore remove it from this package - remove the ADVX rpm package naming scheme - merge changes from my last 2.0.40-*mdk package - provide my nice converted transparent png icons (S4) - added the gnupg signurature as S1 * Tue Sep 3 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40ADVX-8mdk - change version to 2.0.40ADVX so we can easily synchronize Contribs. We'll remove the ADVX suffix for final release. - mod_ssl will be in apache2-mod_ssl module, since it requires openssl, and we want to avoid forcing crypto into the main distro. Thus we also put ab-ssl in this package. - Fix gentestcrt to generate a random certificate authority as well as a random certificate name, so that multiple test certificate don't conflict. - apache2-devel provides apache2-mod_ssl-devel - modules do not require libapr0 * Wed Aug 28 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40-7mdk - macroize completely according to the ADVX policy (http://advx.org/devel/policy.php) - move non-version-dependant stuff and directories to apache2-conf - put less strict Requires, since apache2-common is now version-independant - patch apxs so we only need apache2-devel to build modules, and that no other package is required. - pick up more stuff (htdbm, etc) from the /support directory * Wed Aug 28 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40-6mdk - add ap_confd macro (for the /etc/httpd/conf.d include directory) - use DONT_STRIP=1, it's needed for some modules, such as mod_perl and HTML-Embperl, until we find a way to build them statically with Apache. - merged some of Oden's changes in Contribs, up the release to 6mdk so there is no confusion. * Tue Aug 19 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40-2mdk - macroize specfile completely - Fix a few minor bugs in package and make rpmlint happy. - Put old changelog for Apache 1 in doc/apache-old-changelog in case we forgot some old 1.3 features in 2.0 * Mon Aug 12 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40-1mdk - New, final 2.0.40 release - Split mod_ssl, mod_dav and mod_gzip outside of the main Apache tree, because of some configuration issues when updating. They will be in their separate packages. - Put apr-devel inside apache-devel, since it created conflicts for some files, and besides, you can't use apr-devel if you don't have the Apache headers anyway. - Move apachebase to /etc/httpd/2.0 * Thu Aug 8 2002 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.0.40-0.20020805.2mdk - Totally rebuilt SPEC. This is the result of hundreds of hours of intensive testing, install/uninstall/rollback, and I could write a novel with all the changes. However, those were the general goals of the rewrite: - 1) Take as much possible from Oden's excellent work - 2) Remain compatible with the previous ADVX spec files - 3) Make upgrades possible and still keep previous configuration files so sysadmins don't have to re-configure everything - 4) Rework apache2-common, so that the package contains only icons, man files, cgi-bin and only essential directories. Move /etc/httpd/* to /etc/httpd/2.0 since they're really release-dependant, and move them to the apache2-modules package. - 5) Work with possible rollback to 1.3 in case the user needs some module that works only with 1.3 (frontpage, auth_ldap). In the case of a rollback, the only thing to do should be to remove the apache2 package, we should be able to keep the config files and the new apache2-common, since they are not version-specific. The only problem will be mod_ssl, mod_ldap and mod_gzip, since both the 1.3 and 2.0 versions contain common files, which will conflict. In that case, if there is a problem with the upgrade, those modules will be disabled. This means some functionality will be lost, but at least we don't break the entire web server. - 6) Of course, if it's a brand-new install, everything should work perfectly ;-) * Mon Aug 5 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020805.1mdk - new CVS version (possible the last CVS snapshot) * Thu Aug 1 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020801.1mdk - new CVS version - built against new OpenSSL - fix suexec and mod_userdir conf (thanks to David Walser for reporting this) * Wed Jul 31 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020731.1mdk - new CVS version (mainly doc fixes and one nasty bug) - built with latest system compiler * Thu Jul 25 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020725.1mdk - new CVS version * Tue Jul 23 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020723.1mdk - new CVS version * Thu Jul 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020718.2mdk - new CVS version - fixed the initscript (duh!) - misc spec file fixes * Thu Jul 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020718.1mdk - new CVS version - mod_proxy requires mod_disk_cache (since a while back, sorry about that), fixed S30 to reflect this - improved initscript - misc spec file fixes * Wed Jul 17 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020717.1mdk - new CVS version - there's no such thing as "httpd2 -k configtest" (thanks to Lonnie Borntreger for pointing it out) * Tue Jul 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020716.1mdk - new CVS version - add apache user (as in apache1 by flepied) - better initscript (stole stuff from here and there...) - relocated the SSL certificates to /etc/ssl/apache2/ * Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 2.0.40-0.20020710.2mdk - use a Serial in perl require * Wed Jul 10 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020710.1mdk - new CVS version - don't use the scoreboardfile (it's broken it seems) * Sun Jul 7 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020707.1mdk - new CVS version * Sat Jul 6 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020706.1mdk - new CVS version - added the new MaxMemFree directory to httpd2.conf (yet undocumented, and therefore commented out) - added ab-ssl to the mod_ssl package - fix P1 (apxs didn't work with php-4.3.0-dev) * Wed Jul 3 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020703.1mdk - new CVS version * Mon Jul 1 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020701.1mdk - new CVS version * Sat Jun 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020629.1mdk - new CVS version * Fri Jun 28 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020628.1mdk - new CVS version - construct the "include/ap_config_layout.h" file from the spec file since it's not done properly by apache... (!) (I wonder why???) - ship the migration guide stolen from RedHat * Thu Jun 27 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020627.1mdk - new CVS version * Wed Jun 26 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020626.1mdk - new CVS version - bzip2 all sources * Sun Jun 23 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020623.1mdk - new CVS version - misc spec and conf file fixes (thanks to Yura Gusev for reporting some of the stuff) * Tue Jun 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020618.2mdk - minor spec file and conf file fixes - added the ScoreBoardFile * Tue Jun 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020618.1mdk - new CVS version - removed flood, will be a separate package * Mon Jun 17 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.40-0.20020617.1mdk - new version, new CVS version * Sun Jun 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.39-0.20020617.1mdk - new CVS version (2.0.38 is alpha, might as well go for cvs) - can't tag with cvs version, php needs -dev to build (stupid php) - fix flood %%configure * Sun Jun 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020616.2mdk - new CVS version - mod_ssl should really require mod_setenvif and mod_vhost_alias - changed the %%description - added missing split-logfile (not installed per default...) - broke out the icons as a subpackage to enable using themes for mod_autoindex - misc spec file fixes - fix permission on flood - added P5 - 2.0.38-0.20020616.1mdk was lost in cyberspace... * Sat Jun 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020615.3mdk - missing header files in apache2-devel (GRRRR) * Sat Jun 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020615.2mdk - added S100 (subpackage: flood) - accidently uploaded apache2-common which is no more... * Sat Jun 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020615.1mdk - new CVS version (2.0.38 will be final soon...) - fix the "ServerRoot/conf.d" stuff. - fix the manual alias, and provide only *.html - provide only *.png files (check with unisys...) - HUGE spec file modifications (mega split) - added P3 (require and link with openssl only for mod_ssl) - added P4 - added S100 (flood) * Fri Jun 14 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020614.1mdk - new CVS version - don't use %%exclude, rpm in 8.2 is broken... - misc spec file fixes * Thu Jun 13 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020613.1mdk - new CVS version - Use Redhats version instead of PLDs to ignore invalid files in the "ServerRoot/conf?/" dir (P0) - Mentally prepare to use the "ServerRoot/conf.d/" dir (beware!), soon I'll probably be numbering all files in this dir a'la PLD... There may be a split where all/most modules has their own rpm package... If you don't like this _speak up now!_ * Thu Jun 12 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.38-0.20020612.1mdk - new version, new CVS version - misc spec file fixes - stole some ideas from RedHat :-) * Thu Jun 6 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020606.1mdk - new CVS version - rediff P1 * Sat Jun 1 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020601.1mdk - new CVS version * Wed May 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020529.1mdk - new CVS version * Sun May 26 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020526.1mdk - new CVS version * Thu May 23 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020523.1mdk - new CVS version * Sun May 19 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020519.1mdk - new CVS version - fix perl path and suexec log file; reported by Liam R. E. Quin - misc spec file fixes - added P2 - fix S4 & S10 * Sat May 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020518.1mdk - new CVS version * Thu May 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020516.1mdk - new CVS version (SSLLog and SSLLogLevel is no more) - new S10 * Wed May 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020515.1mdk - new CVS version (apr-util and apxs fixes) - fix P1 * Mon May 13 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020513.1mdk - new CVS version (apr fixes) - misc spec file fixes * Sat May 11 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020511.1mdk - new CVS version - broke out suexec and apr stuff `a la PLD, but with a twist :) - added P0 to prepare for possible use of a conf/[0-9]_*.conf system (?) - added P1 to make apxs work (?) - more Mr. rpmlint fixes - build against db3 for now * Tue May 7 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020507.2mdk - Mr. rpmlint fixes * Tue May 7 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.37-0.20020507.1mdk - new CVS version - made it possible to run apache1 and apache2 on the same box - cleaned up the spec file a bit - removed P0, construct a dynamic config.layout file on the fly instead... - ripped the gentestcrt.sh things from the mod_ssl spec file - enhanced the httpd.conf file a bit * Mon Apr 24 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.36-0.20020424.1mdk - new CVS version * Mon Apr 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.36-0.20020415.2mdk - spec file fix * Mon Apr 15 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.36-0.20020415.1mdk - new CVS version - don't require apache-conf just yet... - forgot to provide S9 & S10 * Sun Apr 14 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.36-0.20020414.1mdk - new CVS version * Fri Apr 12 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.36-0.20020412.1mdk - new CVS version - a lot of specfile fixes * Mon Apr 8 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 2.0.35-1mdk - new version