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