1 |
# $Id$ |
# $Id: e-smith-ldap.spec,v 1.16 2010/01/30 19:19:19 snetram 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 1 |
%define release 7 |
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 |
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 |
|
Patch6: %{name}-%{version}-admin_user.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-base |
Requires: e-smith-base |
30 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
34 |
|
- Add admin user as a standard user [SME: 5742] |
35 |
|
|
36 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
37 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
38 |
|
|
39 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
40 |
|
- Add ldap authentication and tls support [SME: 5720] |
41 |
|
|
42 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
43 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
44 |
|
- Convert ldif dump [SME: 5446] |
45 |
|
|
46 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
47 |
|
- Create bdb log directory. [SME: 3018] |
48 |
|
|
49 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
50 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
51 |
|
[SME: 3018, 2859] |
52 |
|
|
53 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
54 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
55 |
|
|
700 |
|
|
701 |
%prep |
%prep |
702 |
%setup |
%setup |
703 |
|
%patch0 -p1 |
704 |
|
%patch1 -p1 |
705 |
|
%patch2 -p1 |
706 |
|
%patch3 -p1 |
707 |
|
%patch4 -p1 |
708 |
|
%patch5 -p1 |
709 |
|
%patch6 -p1 |
710 |
|
|
711 |
%build |
%build |
712 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
722 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
723 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
724 |
|
|
725 |
|
mkdir -p root/var/log/bdb |
726 |
|
mkdir -p root/var/service/ldap/ssl |
727 |
|
|
728 |
%install |
%install |
729 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
730 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
731 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
732 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
733 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
734 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
735 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
736 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
737 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
738 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
739 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
740 |
|
|