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.6 by eulisse, Wed Apr 19 22:33:51 2006 UTC vs.
Revision 1.7 by steen, Tue May 16 21:50:35 2006 UTC

# Line 12 | Line 12 | Requires: zlib openssl
12              --enable-ssl \
13              --enable-rewrite \
14              --enable-so
15 +
16 + mkdir -p %i/conf.d
17 +
18   make %makeprocesses
19 + %install
20 + %initenv
21 + mkdir -p %{i}
22 + true || exit 0
23 +
24 +
25 + make install
26 +
27 +
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
46 +
47   %post
48   %{relocateConfig}conf/highperformance.conf
49   %{relocateConfig}conf/highperformance-std.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines