1 |
# $Id: e-smith-ldap.spec,v 1.11 2008/10/07 18:40:10 slords Exp $ |
# $Id: e-smith-ldap.spec,v 1.29 2010/02/09 11:42:54 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 18 |
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}-user-lock-event.patch |
19 |
|
Patch6: %{name}-%{version}-admin_user.patch |
20 |
|
Patch7: %{name}-%{version}-users_groups_ous.patch2 |
21 |
|
Patch8: %{name}-%{version}-attributes.patch |
22 |
|
Patch9: %{name}-%{version}-mailboxRelatedObject.patch |
23 |
|
Patch10: %{name}-%{version}-force_ssl_tls_for_auth.patch |
24 |
|
Patch11: %{name}-%{version}-sme8b-db.patch |
25 |
|
Patch12: %{name}-%{version}-admin_user2.patch |
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
Requires: e-smith-base |
Requires: e-smith-base |
36 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Mon Mar 1 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-18.sme |
40 |
|
- Fix admin user password change (Daniel B.) [SME: 5742] |
41 |
|
|
42 |
|
* Tue Feb 9 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-17.sme |
43 |
|
- Init database if the ldif dump is empty (ie from sme8b) [SME: 5747] |
44 |
|
|
45 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-16.sme |
46 |
|
- revert re-init database [SME:5747] |
47 |
|
|
48 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-15.sme |
49 |
|
- re-init readonly database on post-upgrade [SME:5747] |
50 |
|
|
51 |
|
* Thu Feb 4 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-14.sme |
52 |
|
- Force SSL/TLS for remote authentication [SME: 5748] |
53 |
|
|
54 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
55 |
|
- reuse users_groups_ous.patch2 [SME: 5743] |
56 |
|
|
57 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
58 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
59 |
|
|
60 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
61 |
|
- Set readonly access [SME:5752] |
62 |
|
|
63 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
64 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
65 |
|
|
66 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
67 |
|
- Fix Groups entries [SME: 5743] |
68 |
|
|
69 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
70 |
|
- Add Groups entries [SME: 5743] |
71 |
|
|
72 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
73 |
|
- Add admin user as a standard user [SME: 5742] |
74 |
|
|
75 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
76 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
77 |
|
|
78 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
79 |
|
- Add ldap authentication and tls support [SME: 5720] |
80 |
|
|
81 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
82 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
83 |
|
- Convert ldif dump [SME: 5446] |
84 |
|
|
85 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
86 |
|
- Create bdb log directory. [SME: 3018] |
87 |
|
|
88 |
* 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 |
89 |
- Change ldap backend to bdb, and fix initialisation problem. |
- Change ldap backend to bdb, and fix initialisation problem. |
90 |
[SME: 3018, 2859] |
[SME: 3018, 2859] |
740 |
%prep |
%prep |
741 |
%setup |
%setup |
742 |
%patch0 -p1 |
%patch0 -p1 |
743 |
|
%patch1 -p1 |
744 |
|
%patch2 -p1 |
745 |
|
%patch3 -p1 |
746 |
|
%patch4 -p1 |
747 |
|
%patch5 -p1 |
748 |
|
%patch6 -p1 |
749 |
|
%patch7 -p1 |
750 |
|
%patch8 -p1 |
751 |
|
%patch9 -p1 |
752 |
|
%patch10 -p1 |
753 |
|
%patch11 -p1 |
754 |
|
%patch12 -p1 |
755 |
|
|
756 |
%build |
%build |
757 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
767 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
768 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
769 |
|
|
770 |
|
mkdir -p root/var/log/bdb |
771 |
|
mkdir -p root/var/service/ldap/ssl |
772 |
|
|
773 |
%install |
%install |
774 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
775 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
778 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
779 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
780 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
781 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
782 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
783 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
784 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
785 |
|
|