1 |
|
# $Id: e-smith-ldap.spec,v 1.31 2010/03/01 16:58:26 vip-ire 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 4.12.0 |
%define version 5.2.0 |
7 |
%define release 11 |
%define release 20 |
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: e-smith-ldap-4.12.0-noipv6.patch |
Patch0: %{name}-%{version}.backend |
14 |
Patch1: e-smith-ldap-4.12.0-slapd.conf.perms.patch |
Patch1: %{name}-%{version}-schema.patch |
15 |
Patch2: e-smith-ldap-4.12.0-success.patch |
Patch2: %{name}-%{version}-convert_ldif.patch |
16 |
Patch3: e-smith-ldap-4.12.0-pid_args_files.patch |
Patch3: %{name}-%{version}-password.patch |
17 |
Patch4: e-smith-ldap-4.12.0-objectClass.patch |
Patch4: %{name}-%{version}-tls.patch |
18 |
Patch5: e-smith-ldap-4.12.0-tags2general.patch |
Patch5: %{name}-%{version}-user-lock-event.patch |
19 |
Patch6: e-smith-ldap-4.12.0-freebusy.patch |
Patch6: %{name}-%{version}-admin_user.patch |
20 |
Patch7: e-smith-ldap-4.12.0-add2general.patch |
Patch7: %{name}-%{version}-users_groups_ous.patch2 |
21 |
Patch8: e-smith-ldap-4.12.0-2739schema.patch |
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 |
|
Patch13: %{name}-%{version}-ibay_password.patch |
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
29 |
Requires: e-smith-base |
Requires: e-smith-base |
37 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Fri Apr 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-20.sme |
41 |
|
- Don't try to save ibay password to ldap [SME: 5906] |
42 |
|
|
43 |
|
* Mon Mar 1 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-19.sme |
44 |
|
- Fix bug reference in spec file |
45 |
|
|
46 |
|
* Mon Mar 1 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-18.sme |
47 |
|
- Fix admin user password change (Daniel B.) [SME: 5810] |
48 |
|
|
49 |
|
* Tue Feb 9 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-17.sme |
50 |
|
- Init database if the ldif dump is empty (ie from sme8b) [SME: 5747] |
51 |
|
|
52 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-16.sme |
53 |
|
- revert re-init database [SME:5747] |
54 |
|
|
55 |
|
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-15.sme |
56 |
|
- re-init readonly database on post-upgrade [SME:5747] |
57 |
|
|
58 |
|
* Thu Feb 4 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-14.sme |
59 |
|
- Force SSL/TLS for remote authentication [SME: 5748] |
60 |
|
|
61 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
62 |
|
- reuse users_groups_ous.patch2 [SME: 5743] |
63 |
|
|
64 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
65 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
66 |
|
|
67 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
68 |
|
- Set readonly access [SME:5752] |
69 |
|
|
70 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
71 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
72 |
|
|
73 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
74 |
|
- Fix Groups entries [SME: 5743] |
75 |
|
|
76 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
77 |
|
- Add Groups entries [SME: 5743] |
78 |
|
|
79 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
80 |
|
- Add admin user as a standard user [SME: 5742] |
81 |
|
|
82 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
83 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
84 |
|
|
85 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
86 |
|
- Add ldap authentication and tls support [SME: 5720] |
87 |
|
|
88 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
89 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
90 |
|
- Convert ldif dump [SME: 5446] |
91 |
|
|
92 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
93 |
|
- Create bdb log directory. [SME: 3018] |
94 |
|
|
95 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
96 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
97 |
|
[SME: 3018, 2859] |
98 |
|
|
99 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
100 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
101 |
|
|
102 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
103 |
|
- Roll new dev stream. |
104 |
|
|
105 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
106 |
- Separate template to avoid breaking schema [SME: 4171] |
- Separate template to avoid breaking schema [SME: 4171] |
107 |
|
|
755 |
%patch6 -p1 |
%patch6 -p1 |
756 |
%patch7 -p1 |
%patch7 -p1 |
757 |
%patch8 -p1 |
%patch8 -p1 |
758 |
|
%patch9 -p1 |
759 |
|
%patch10 -p1 |
760 |
|
%patch11 -p1 |
761 |
|
%patch12 -p1 |
762 |
|
%patch13 -p1 |
763 |
|
|
764 |
%build |
%build |
765 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
775 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
776 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
777 |
|
|
778 |
|
mkdir -p root/var/log/bdb |
779 |
|
mkdir -p root/var/service/ldap/ssl |
780 |
|
|
781 |
%install |
%install |
782 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
783 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
784 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
785 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
786 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
787 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
788 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
789 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
790 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
791 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
792 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
793 |
|
|