1 |
# $Id: e-smith-ldap.spec,v 1.11 2008/10/07 18:40:10 slords Exp $ |
# $Id: e-smith-ldap.spec,v 1.15 2010/01/27 14:02:50 filippocarletti 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 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: %{name}-%{version}.backend |
Patch0: %{name}-%{version}.backend |
14 |
|
Patch1: %{name}-%{version}-schema.patch |
15 |
|
Patch2: %{name}-%{version}-convert_ldif.patch |
16 |
|
Patch3: %{name}-%{version}-password.patch |
17 |
|
Patch4: %{name}-%{version}-tls.patch |
18 |
|
Patch5: %{name}-%{version}-ldap-update-link-in-user-lock-event.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base |
Requires: e-smith-base |
29 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
33 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
34 |
|
|
35 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
36 |
|
- Add ldap authentication and tls support [SME: 5720] |
37 |
|
|
38 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
39 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
40 |
|
- Convert ldif dump [SME: 5446] |
41 |
|
|
42 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
43 |
|
- Create bdb log directory. [SME: 3018] |
44 |
|
|
45 |
* 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 |
46 |
- Change ldap backend to bdb, and fix initialisation problem. |
- Change ldap backend to bdb, and fix initialisation problem. |
47 |
[SME: 3018, 2859] |
[SME: 3018, 2859] |
697 |
%prep |
%prep |
698 |
%setup |
%setup |
699 |
%patch0 -p1 |
%patch0 -p1 |
700 |
|
%patch1 -p1 |
701 |
|
%patch2 -p1 |
702 |
|
%patch3 -p1 |
703 |
|
%patch4 -p1 |
704 |
|
%patch5 -p1 |
705 |
|
|
706 |
%build |
%build |
707 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
717 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
718 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
719 |
|
|
720 |
|
mkdir -p root/var/log/bdb |
721 |
|
mkdir -p root/var/service/ldap/ssl |
722 |
|
|
723 |
%install |
%install |
724 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
725 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
728 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
729 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
730 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
731 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
732 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
733 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
734 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
735 |
|
|