1 |
# $Id: e-smith-ldap.spec,v 1.13 2009/02/09 00:00:30 charliebrady Exp $ |
# $Id: e-smith-ldap.spec,v 1.14 2010/01/13 16:01:11 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 4 |
%define release 5 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch0: %{name}-%{version}.backend |
Patch0: %{name}-%{version}.backend |
14 |
Patch1: %{name}-%{version}-schema.patch |
Patch1: %{name}-%{version}-schema.patch |
15 |
Patch2: %{name}-%{version}-convert_ldif.patch |
Patch2: %{name}-%{version}-convert_ldif.patch |
16 |
|
Patch3: %{name}-%{version}-password.patch |
17 |
|
Patch4: %{name}-%{version}-tls.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
28 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
32 |
|
- Add ldap authentication and tls support [SME: 5720] |
33 |
|
|
34 |
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
35 |
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
36 |
- Convert ldif dump [SME: 5446] |
- Convert ldif dump [SME: 5446] |
695 |
%patch0 -p1 |
%patch0 -p1 |
696 |
%patch1 -p1 |
%patch1 -p1 |
697 |
%patch2 -p1 |
%patch2 -p1 |
698 |
|
%patch3 -p1 |
699 |
|
%patch4 -p1 |
700 |
|
|
701 |
%build |
%build |
702 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
713 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
714 |
|
|
715 |
mkdir -p root/var/log/bdb |
mkdir -p root/var/log/bdb |
716 |
|
mkdir -p root/var/service/ldap/ssl |
717 |
|
|
718 |
%install |
%install |
719 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
723 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
724 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
725 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
726 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
727 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
728 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
729 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |