1 |
|
### RPM external openldap 2.3.39 |
2 |
+ |
## INITENV +PATH LD_LIBRARY_PATH %i/lib |
3 |
|
Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz |
4 |
|
Requires: openssl db4 |
5 |
|
#cyrus-sasl |
38 |
|
make |
39 |
|
%install |
40 |
|
make install |
41 |
+ |
|
42 |
+ |
# SCRAM ToolBox toolfile |
43 |
+ |
mkdir -p %i/etc/scram.d |
44 |
+ |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
45 |
+ |
<doc type=BuildSystem::ToolDoc version=1.0> |
46 |
+ |
<Tool name=%n version=%v> |
47 |
+ |
<Client> |
48 |
+ |
<Environment name=OPENLDAP_BASE default="%i"></Environment> |
49 |
+ |
<Environment name=LIBDIR default="$OPENLDAP_BASE/lib"></Environment> |
50 |
+ |
</Client> |
51 |
+ |
</Tool> |
52 |
+ |
EOF_TOOLFILE |
53 |
+ |
|
54 |
+ |
%post |
55 |
+ |
%{relocateConfig}etc/scram.d/%n |
56 |
+ |
|