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

Comparing COMP/CMSDIST/openldap.spec (file contents):
Revision 1.7 by andreasp, Tue May 19 09:01:05 2009 UTC vs.
Revision 1.9 by eulisse, Tue Aug 24 10:28:01 2010 UTC

# Line 1 | Line 1
1   ### RPM external openldap 2.3.39
2 ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) true ;; esac
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib
3   Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz
4   Patch0: openldap-2.3.39-gcc44
# Line 19 | Line 18 | pwd
18   pwd
19  
20   # Fix missing sasl2 library link on 64-bit SLC4:
21 <
22 < mkdir -p sasl2lib
23 < ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
21 > case %cmsplatf in
22 >   slc*)
23 >        mkdir -p sasl2lib
24 >        ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
25 >   ;;
26 > esac
27  
28   #  CC          C compiler command
29   #  CFLAGS      C compiler flags
# Line 42 | Line 44 | make depend
44   make
45   %install
46   make install
45
46 # SCRAM ToolBox toolfile
47 mkdir -p %i/etc/scram.d
48 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
49 <doc type=BuildSystem::ToolDoc version=1.0>
50 <Tool name=%n version=%v>
51 <Client>
52 <Environment name=OPENLDAP_BASE default="%i"></Environment>
53 <Environment name=LIBDIR default="$OPENLDAP_BASE/lib"></Environment>
54 </Client>
55 <use name=openssl>
56 <use name=db4>
57 </Tool>
58 EOF_TOOLFILE
59
60 %post
61 %{relocateConfig}etc/scram.d/%n
62

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines