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.7 by steen, Tue May 16 21:50:35 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.0.55
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: 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} \
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 \
14              --enable-ssl \
# Line 20 | Line 22 | make %makeprocesses
22   %initenv
23   mkdir -p %{i}
24   true || exit 0
23
24
25   make install
26  
27 + echo 'Include '"%i/conf.d/"'*.conf' >> \
28 +  %i/conf/httpd.conf
29  
28 mkdir -p %i/conf.d
29
30 #--------------------------------------------------------------------
31 mkdir -p %i/etc/profile.d
32 cat << DEPS_SETUP > %i/etc/profile.d/dependencies-setup.sh
33 #!/bin/sh
34
35 temp_line=\$(grep 'Include[ \t]*[^ ]*/conf.d/\*.conf' \
36           \$APACHE_ROOT/conf/httpd.conf)
37
38 if [ -z "\$temp_line" ]
39 then
40  echo "Inserting Include statement"
41  echo 'Include '"\$APACHE_ROOT/conf.d/"'*.conf' >> \
42  \$APACHE_ROOT/conf/httpd.conf
43 fi
44
45 DEPS_SETUP
30  
31   %post
32   %{relocateConfig}conf/highperformance.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines