1 |
|
# $Id: e-smith-ldap.spec,v 1.26 2010/02/04 11:37:22 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 15 |
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}-reinit.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: e-smith-base |
Requires: e-smith-base |
35 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 1.12.0-11 |
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-15.sme |
39 |
|
- re-init readonly database on post-upgrade [SME:5747] |
40 |
|
|
41 |
|
* Thu Feb 4 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-14.sme |
42 |
|
- Force SSL/TLS for remote authentication [SME: 5748] |
43 |
|
|
44 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
45 |
|
- reuse users_groups_ous.patch2 [SME: 5743] |
46 |
|
|
47 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
48 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
49 |
|
|
50 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
51 |
|
- Set readonly access [SME:5752] |
52 |
|
|
53 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
54 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
55 |
|
|
56 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
57 |
|
- Fix Groups entries [SME: 5743] |
58 |
|
|
59 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
60 |
|
- Add Groups entries [SME: 5743] |
61 |
|
|
62 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
63 |
|
- Add admin user as a standard user [SME: 5742] |
64 |
|
|
65 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
66 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
67 |
|
|
68 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
69 |
|
- Add ldap authentication and tls support [SME: 5720] |
70 |
|
|
71 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
72 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
73 |
|
- Convert ldif dump [SME: 5446] |
74 |
|
|
75 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
76 |
|
- Create bdb log directory. [SME: 3018] |
77 |
|
|
78 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
79 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
80 |
|
[SME: 3018, 2859] |
81 |
|
|
82 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
83 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
84 |
|
|
85 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
86 |
|
- Roll new dev stream. |
87 |
|
|
88 |
|
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
89 |
- Separate template to avoid breaking schema [SME: 4171] |
- Separate template to avoid breaking schema [SME: 4171] |
90 |
|
|
91 |
* 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 |
92 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
93 |
|
|
94 |
* 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 |
95 |
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
96 |
|
|
97 |
* 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 |
98 |
- Remove <base> tags now in general [SME: 3919] |
- Remove <base> tags now in general [SME: 3919] |
99 |
|
|
100 |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
738 |
%patch6 -p1 |
%patch6 -p1 |
739 |
%patch7 -p1 |
%patch7 -p1 |
740 |
%patch8 -p1 |
%patch8 -p1 |
741 |
|
%patch9 -p1 |
742 |
|
%patch10 -p1 |
743 |
|
%patch11 -p1 |
744 |
|
|
745 |
%build |
%build |
746 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
756 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
757 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
758 |
|
|
759 |
|
mkdir -p root/var/log/bdb |
760 |
|
mkdir -p root/var/service/ldap/ssl |
761 |
|
|
762 |
%install |
%install |
763 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
764 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
765 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
766 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
767 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
768 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
769 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
770 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
771 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
772 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
773 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
774 |
|
|