1 |
# $Id: e-smith-ldap.spec,v 1.11 2008/10/07 18:40:10 slords Exp $ |
# $Id: e-smith-ldap.spec,v 1.27 2010/02/05 12:39:07 dungog 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 16 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-base |
Requires: e-smith-base |
34 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-16.sme |
38 |
|
- revert re-init database [SME:5747] |
39 |
|
|
40 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-15.sme |
41 |
|
- re-init readonly database on post-upgrade [SME:5747] |
42 |
|
|
43 |
|
* Thu Feb 4 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-14.sme |
44 |
|
- Force SSL/TLS for remote authentication [SME: 5748] |
45 |
|
|
46 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
47 |
|
- reuse users_groups_ous.patch2 [SME: 5743] |
48 |
|
|
49 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
50 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
51 |
|
|
52 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
53 |
|
- Set readonly access [SME:5752] |
54 |
|
|
55 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
56 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
57 |
|
|
58 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
59 |
|
- Fix Groups entries [SME: 5743] |
60 |
|
|
61 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
62 |
|
- Add Groups entries [SME: 5743] |
63 |
|
|
64 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
65 |
|
- Add admin user as a standard user [SME: 5742] |
66 |
|
|
67 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
68 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
69 |
|
|
70 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
71 |
|
- Add ldap authentication and tls support [SME: 5720] |
72 |
|
|
73 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
74 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
75 |
|
- Convert ldif dump [SME: 5446] |
76 |
|
|
77 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
78 |
|
- Create bdb log directory. [SME: 3018] |
79 |
|
|
80 |
* 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 |
81 |
- Change ldap backend to bdb, and fix initialisation problem. |
- Change ldap backend to bdb, and fix initialisation problem. |
82 |
[SME: 3018, 2859] |
[SME: 3018, 2859] |
732 |
%prep |
%prep |
733 |
%setup |
%setup |
734 |
%patch0 -p1 |
%patch0 -p1 |
735 |
|
%patch1 -p1 |
736 |
|
%patch2 -p1 |
737 |
|
%patch3 -p1 |
738 |
|
%patch4 -p1 |
739 |
|
%patch5 -p1 |
740 |
|
%patch6 -p1 |
741 |
|
%patch7 -p1 |
742 |
|
%patch8 -p1 |
743 |
|
%patch9 -p1 |
744 |
|
%patch10 -p1 |
745 |
|
|
746 |
%build |
%build |
747 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
757 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
758 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
759 |
|
|
760 |
|
mkdir -p root/var/log/bdb |
761 |
|
mkdir -p root/var/service/ldap/ssl |
762 |
|
|
763 |
%install |
%install |
764 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
765 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
768 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
769 |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
770 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
771 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
772 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
773 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
774 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
775 |
|
|