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

Comparing COMP/CMSDIST/openssl.spec (file contents):
Revision 1.7 by ratnik, Wed Apr 18 23:46:02 2007 UTC vs.
Revision 1.14 by eulisse, Sat Nov 24 10:28:23 2007 UTC

# Line 1 | Line 1
1 < ### RPM external openssl 0.9.7d
2 < Requires: gcc-wrapper
3 < Source: http://www.openssl.org/source/%n-%v.tar.gz
1 > ### RPM external openssl 0.9.7d-CMS18
2 > Source: http://www.openssl.org/source/%n-%realversion.tar.gz
3 >
4 > %prep
5 > %setup -n %n-%{realversion}
6  
7   %build
6 ## IMPORT gcc-wrapper
8   ./config --prefix=%i shared
9   case $(uname)-$(uname -m) in
10    Darwin*)
# Line 13 | Line 14 | esac
14   make
15   %install
16   make install
17 + # MacOSX is case insensitive and the man page structure has case sensitive logic
18 + case %cmsplatf in
19 +    osx* )
20 +        rm -rf %{i}/ssl/man
21 +    ;;
22 + esac
23   perl -p -i -e "s|^#!.*perl|#!/usr/bin/env perl|" %{i}/ssl/misc/CA.pl %{i}/ssl/misc/der_chop %{i}/bin/c_rehash
24   #
25 + # SCRAM ToolBox toolfile
26 + mkdir -p %i/etc/scram.d
27 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
28 + <doc type=BuildSystem::ToolDoc version=1.0>
29 + <Tool name=%n version=%v>
30 + <lib name=ssl>
31 + <lib name=crypto>
32 + <client>
33 + <Environment name=OPENSSL_BASE default="%i"></Environment>
34 + <Environment name=INCLUDE default="$OPENSSL_BASE/include"></Environment>
35 + <Environment name=LIBDIR  default="$OPENSSL_BASE/lib"></Environment>
36 + </client>
37 + </Tool>
38 + EOF_TOOLFILE
39 +
40 + %post
41 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines