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