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