source:
branches/fc15-dev/server/fedora/specs/httpd.spec.patch
@
2021
Last change on this file since 2021 was 2012, checked in by ezyang, 13 years ago | |
---|---|
File size: 2.5 KB |
-
httpd.spec
old new 8 8 Summary: Apache HTTP Server 9 9 Name: httpd 10 10 Version: 2.2.21 11 Release: 1%{?dist} 11 Release: 1%{?dist}.scripts.%{scriptsversion} 12 12 URL: http://httpd.apache.org/ 13 13 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz 14 14 Source1: index.html … … 52 52 Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa} 53 53 Requires: httpd-tools = %{version}-%{release}, apr-util-ldap, systemd-units 54 54 55 Provides: scripts-httpd = %{version}-%{release} 56 Patch1000: httpd-suexec-scripts.patch 57 Patch1003: httpd-2.2.x-mod_status-security.patch 58 Patch1004: httpd-2.2.x-304.patch 59 Patch1005: httpd-2.2.x-mod_ssl-sessioncaching.patch 60 Patch1006: httpd-suexec-cloexec.patch 61 Patch1007: httpd-fixup-vhost.patch 62 55 63 %description 56 64 The Apache HTTP Server is a powerful, efficient, and extensible 57 65 web server. … … 62 70 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 63 71 Requires: apr-devel, apr-util-devel, pkgconfig 64 72 Requires: httpd = %{version}-%{release} 73 Provides: scripts-httpd-devel = %{version}-%{release} 65 74 66 75 %description devel 67 76 The httpd-devel package contains the APXS binary and other files … … 100 109 Requires(post): openssl, /bin/cat 101 110 Requires(pre): httpd 102 111 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 112 Provides: scripts-mod_ssl 103 113 Obsoletes: stronghold-mod_ssl 104 114 105 115 %description -n mod_ssl … … 125 135 # Patch in vendor/release string 126 136 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 127 137 138 %patch1000 -p1 -b .scripts 139 %patch1003 -p1 -b .permitstatus 140 %patch1004 -p1 -b .scripts-304 141 %patch1005 -p1 -b .ssl-sessioncache 142 %patch1006 -p1 -b .cloexec 143 %patch1007 -p1 -b .fixup-vhost 144 128 145 # Safety check: prevent build if defined MMN does not equal upstream MMN. 129 146 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 130 147 if test "x${vmmn}" != "x%{mmn}"; then … … 172 189 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 173 190 --enable-suexec --with-suexec \ 174 191 --with-suexec-caller=%{suexec_caller} \ 175 --with-suexec-docroot=%{contentdir} \ 192 --with-suexec-docroot=/ \ 193 --with-suexec-userdir=web_scripts \ 194 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 176 195 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 177 196 --with-suexec-bin=%{_sbindir}/suexec \ 178 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \197 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 179 198 --enable-pie \ 180 199 --with-pcre \ 181 200 $*
Note: See TracBrowser
for help on using the repository browser.