Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
http-testing
>
tortixd
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
tortixd.spec
@@ -0,0 +1,802 @@ +%define contentdir /var/asl/www +%define suexec_caller tortix +%define mmn 20051115 +%define vstring Atomicorp +%define distro Atomicorp +# ASL - for fc10+ +%define _default_patch_fuzz 2 + + +Summary: Apache HTTP Server +Name: tortixd +# based on 2.2.23-53 originally +Version: 2.2.25 +Release: 1 +Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 +# <ART> +#Source1: centos_index.html +Source3: tortixd.logrotate +Source4: tortixd.init +Source5: tortixd.sysconf +#Source8: centos_powered_by_rh.png +Source10: tortixd.conf +Source11: tortixd-ssl.conf +Source12: welcome.conf +Source13: manual.conf +Source30: migration.xml +Source31: migration.css +Source32: html.xsl +Source33: README.confd +Source34: tortixd-ssl-compression.conf +# build/scripts patches +Patch1: httpd-2.1.10-apctl.patch +# <ART> +Patch2: httpd-2.1.10-apxs-asl.patch +# </ART> +Patch4: httpd-2.1.10-disablemods.patch +Patch5: httpd-2.1.10-layout.patch +# Features/functional changes +Patch23: httpd-2.0.45-export.patch +Patch24: httpd-2.0.48-corelimit.patch + +# Bug fixes +Patch54: httpd-2.2.0-authnoprov.patch +Patch57: httpd-2.0.52-logresline.patch +Patch64: httpd-2.2.3-proxysslhost.patch +Patch69: httpd-2.2.3-graceful-ebadf.patch +Patch72: httpd-2.2.3-extfiltereos.patch +Patch74: httpd-2.2.3-pngmagic.patch +Patch79: httpd-2.2.3-noxpad.patch +Patch86: httpd-2.2.3-aboverflow.patch +Patch88: httpd-2.2.3-davputfail.patch +Patch97: httpd-2.2.3-ssldupkeys.patch + +# Security Fixes + +# Rebases + +# ASL +Patch10000: asl-apachectl.patch +Patch10001: httpd-disable-ssl-compression.patch + +License: Apache Software License +Group: System Environment/Daemons +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: autoconf, perl, pkgconfig, xmlto >= 0.0.11, findutils, lynx +BuildRequires: db4-devel, expat-devel, zlib-devel, libselinux-devel +# <ART> el5 +#BuildRequires: apr-devel >= 1.2.0, apr-util-devel >= 1.2.0, pcre-devel >= 5.0, +#Requires: initscripts >= 8.36 +BuildRequires: apr-devel apr-util-devel pcre-devel +# fc9 +BuildRequires: ed +Requires: initscripts +# fc11 +%if 0%{?el6}%{?fc11}%{?fc12}%{?fc13}%{?fc14}%{?fc15} +BuildRequires: libtool libtool-ltdl libtool-ltdl-devel +%endif +# el4 +%if 0%{?el4} +BuildRequires: asl-apr asl-apr-devel asl-apr-util asl-apr-util-devel +Requires: asl-apr asl-apr-util +%endif + +# FC10 does not use /usr/share/magic.mime +%if 0%{?el6}%{?fc10}%{?fc11}%{?fc12}%{?fc13}%{?fc14}%{?fc15} +Requires: /etc/mime.types, gawk, /usr/bin/find +%else +Requires: /etc/mime.types, gawk, /usr/share/magic.mime, /usr/bin/find +%endif + +#Obsoletes: httpd-suexec +# </ART> +Requires(pre): /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv +Requires(pre): sh-utils, textutils, /usr/sbin/useradd +#Provides: webserver +Provides: tortixd-mmn = %{mmn} +Provides: asl-httpd +Obsoletes: asl-httpd +Conflicts: pcre < 4.0 + + +%description +The Apache HTTP Server is a powerful, efficient, and extensible +web server. + +%package devel +Group: Development/Libraries +Summary: Development tools for the Apache HTTP server. +#Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel +Provides: asl-httpd-devel +%if 0%{?el4} +Requires: asl-apr-devel, asl-apr-util-devel, pkgconfig +%else +Requires: apr-devel, apr-util-devel, pkgconfig +%endif +Requires: tortixd = %{version}-%{release} + +%description devel +The httpd-devel package contains the APXS binary and other files +that you need to build Dynamic Shared Objects (DSOs) for the +Apache HTTP Server. + +If you are installing the Apache HTTP server and you want to be +able to compile or develop additional modules for Apache, you need +to install this package. + +%package manual +Group: Documentation +Summary: Documentation for the Apache HTTP server. + +%description manual +The httpd-manual package contains the complete manual and +reference guide for the Apache HTTP server. The information can +also be found at http://httpd.apache.org/docs/2.2/. + +%package -n tortixd-mod_ssl +Group: System Environment/Daemons +Summary: SSL/TLS module for the Apache HTTP server +Epoch: 1 +BuildRequires: openssl-devel +Provides: asl-mod_ssl +Obsoletes: asl-mod_ssl +#Requires(post): openssl >= 0.9.7f-4, /bin/cat +# <ART> el4 +Requires(post): openssl , /bin/cat +# </ART> + +Requires: tortixd = 0:%{version}-%{release}, tortixd-mmn = %{mmn} + +%description -n tortixd-mod_ssl +The mod_ssl module provides strong cryptography for the Apache Web +server via the Secure Sockets Layer (SSL) and Transport Layer +Security (TLS) protocols. + +%prep +%setup -q -n httpd-%{version} +%patch1 -p1 -b .apctl +%patch2 -p1 -b .apxs +#ART %patch3 -p1 -b .deplibs +%patch4 -p1 -b .disablemods +%patch5 -p1 -b .layout +#ART %patch6 -p1 -b .ac260 + +%patch23 -p1 -b .export +%patch24 -p1 -b .corelimit +#ART %patch25 -p1 -b .selinux + +%patch54 -p1 -b .authnoprov +# ART %patch55 -p1 -b .proxyopt +# ART %patch56 -p1 -b .proxyoride +%patch57 -p1 -b .logresline +%patch64 -p1 -b .proxysslhost +# ART %patch65 -p1 -b .pr46428 +# ART %patch66 -p1 -b .cgierror +# ART %patch67 -p1 -b .pr43562 +# ART %patch68 -p1 -b .logports +%patch69 -p1 -b .graceful-ebadf +# ART %patch70 -p1 -b .sslrenegredir +# ART %patch71 -p1 -b .rewritelll +%patch72 -p1 -b .extfiltereos +# ART %patch73 -p1 -b .cgierror2 +%patch74 -p1 -b .pngmagic +# ART %patch75 -p1 -b .defpidlog +# ART %patch76 -p1 -b .rewritedpi +# ART %patch77 -p1 -b .ldapremuser +# ART %patch78 -p1 -b .ldappassauth +%patch79 -p1 -b .noxpad +#patch80 applied after proxy changes +# ART %patch81 -p1 -b .sslflush +#patch82 applied after proxy changes +# ART %patch83 -p1 -b .ssloidval +#patch84 applied after mod_ssl security fixes +# ART %patch85 -p1 -b .pr49328 +%patch86 -p1 -b .aboverflow +# ART %patch87 -p1 -b .pr40232 +%patch88 -p1 -b .davputfail +# ART %patch89 -p1 -b .dbdcleanup +# ART %patch90 -p1 -b .pr41743 +# ART %patch91 -p1 -b .bbflush