1 |
# $Id: e-smith-ldap.spec,v 1.11 2008/10/07 18:40:10 slords Exp $ |
# $Id: e-smith-ldap.spec,v 1.12 2009/01/28 04:04:18 charliebrady Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.2.0 |
%define version 5.2.0 |
7 |
%define release 2 |
%define release 3 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
24 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
28 |
|
- Create bdb log directory. [SME: 3018] |
29 |
|
|
30 |
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
31 |
- Change ldap backend to bdb, and fix initialisation problem. |
- Change ldap backend to bdb, and fix initialisation problem. |
32 |
[SME: 3018, 2859] |
[SME: 3018, 2859] |
697 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
698 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
699 |
|
|
700 |
|
mkdir -p root/var/log/bdb |
701 |
|
|
702 |
%install |
%install |
703 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
704 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
707 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
708 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
709 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
710 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
711 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
712 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
713 |
|
|