0:693a6f2d8c20 | 1:285bd4f3c08b |
---|---|
30 Distribution: OpenPKG Community | 30 Distribution: OpenPKG Community |
31 Class: BASE | 31 Class: BASE |
32 Group: Web | 32 Group: Web |
33 License: ASF | 33 License: ASF |
34 Version: 2.2.22 | 34 Version: 2.2.22 |
35 Release: 20120205 | 35 Release: 20120800 |
36 | 36 |
37 # package options | 37 # package options |
38 %option with_mpm_prefork yes | 38 %option with_mpm_prefork yes |
39 %option with_mpm_worker no | 39 %option with_mpm_worker no |
40 %option with_mpm_event no | 40 %option with_mpm_event no |
78 Source1: rc.apache | 78 Source1: rc.apache |
79 Source2: apache.base | 79 Source2: apache.base |
80 Source3: apache.conf | 80 Source3: apache.conf |
81 Source4: apache.sh | 81 Source4: apache.sh |
82 Patch0: apache.patch | 82 Patch0: apache.patch |
83 Patch1: apache.patch.davquo | |
83 | 84 |
84 # build information | 85 # build information |
85 BuildPreReq: OpenPKG, openpkg >= 20100101, perl, make | 86 BuildPreReq: OpenPKG, openpkg >= 20100101, perl, make |
86 PreReq: OpenPKG, openpkg >= 20100101, perl | 87 PreReq: OpenPKG, openpkg >= 20100101, perl |
87 BuildPreReq: apr, pcre | 88 BuildPreReq: apr, pcre |
124 | 125 |
125 %prep | 126 %prep |
126 # unpack Apache distribution | 127 # unpack Apache distribution |
127 %setup -q -n httpd-%{version} | 128 %setup -q -n httpd-%{version} |
128 %patch -p0 | 129 %patch -p0 |
130 %patch -p0 -P 1 | |
129 %{l_shtool} subst \ | 131 %{l_shtool} subst \ |
130 -e 's;(" PLATFORM ");(%{l_openpkg_release -F "OpenPKG/%%t"});g' \ | 132 -e 's;(" PLATFORM ");(%{l_openpkg_release -F "OpenPKG/%%t"});g' \ |
131 server/core.c | 133 server/core.c |
132 | 134 |
133 %build | 135 %build |