ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/apache.spec
(Generate patch)

Comparing COMP/CMSDIST/apache.spec (file contents):
Revision 1.1 by eulisse, Fri Mar 17 10:26:14 2006 UTC vs.
Revision 1.11 by elmer, Tue May 1 11:48:49 2007 UTC

# Line 1 | Line 1
1 < ### RPM external apache 2.2.0
1 > ### RPM external apache 2.0.59
2   %define downloadn httpd
3 < Source: http://mirror1.zic-network.ch/apache/%{downloadn}/%{downloadn}-%{v}.tar.gz
4 < Requires: apr apr-util pcre zlib openssl
3 > Source: http://apache.osuosl.org/httpd/httpd-%v.tar.gz
4 > Requires: zlib openssl expat
5   %prep
6   %setup -n %{downloadn}-%{v}
7  
8   %build
9 < ./configure --prefix=%{i} \
10 <            --with-apr=$APR_ROOT \
11 <            --with-apr-util=$APR_UTIL_ROOT \
12 <            --with-pcre=$PCRE_ROOT \
9 > ./configure CFLAGS="-I$EXPAT_ROOT/include" \
10 >            LDFLAGS="-L$EXPAT_ROOT/lib" \
11 >            --prefix=%{i} \
12              --with-z=$LIBZ_ROOT \
13 <            --with-ssl=$OPENSSL_ROOT
13 >            --with-ssl=$OPENSSL_ROOT \
14 >            --enable-ssl \
15 >            --enable-rewrite \
16 >            --enable-so
17 >
18 > mkdir -p %i/conf.d
19 >
20   make %makeprocesses
21 + %install
22 + %initenv
23 + mkdir -p %{i}
24 + true || exit 0
25 + make install
26 +
27 + echo 'Include '"%i/conf.d/"'*.conf' >> \
28 +  %i/conf/httpd.conf
29 +
30 +
31 + %post
32 + %{relocateConfig}conf/highperformance.conf
33 + %{relocateConfig}conf/highperformance-std.conf
34 + %{relocateConfig}conf/httpd.conf
35 + %{relocateConfig}conf/httpd-std.conf
36 + %{relocateConfig}conf/ssl.conf
37 + %{relocateConfig}conf/ssl-std.conf
38 + %{relocateConfig}include/ap_config_auto.h
39 + %{relocateConfig}include/ap_config_layout.h
40 + %{relocateConfig}bin/apachectl
41 + %{relocateConfig}bin/apr-config
42 + %{relocateConfig}bin/apu-config
43 + %{relocateConfig}bin/apxs
44 + %{relocateConfig}bin/envvars
45 + %{relocateConfig}bin/envvars-std

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines