1 |
# $Id$ |
# $Id: e-smith-ldap.spec,v 1.25 2010/02/03 10:00:33 dungog 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 5.2.0 |
%define version 5.2.0 |
7 |
%define release 1 |
%define release 14 |
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: %{name}-%{version}.backend |
14 |
|
Patch1: %{name}-%{version}-schema.patch |
15 |
|
Patch2: %{name}-%{version}-convert_ldif.patch |
16 |
|
Patch3: %{name}-%{version}-password.patch |
17 |
|
Patch4: %{name}-%{version}-tls.patch |
18 |
|
Patch5: %{name}-%{version}-user-lock-event.patch |
19 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-base |
Requires: e-smith-base |
34 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Thu Feb 4 2010 Daniel B. <daniel@firewall-services.com> 5.2.0-14.sme |
38 |
|
- Force SSL/TLS for remote authentication [SME: 5748] |
39 |
|
|
40 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
41 |
|
- reuse users_groups_ous.patch2 [SME: 5743] |
42 |
|
|
43 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
44 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
45 |
|
|
46 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
47 |
|
- Set readonly access [SME:5752] |
48 |
|
|
49 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
50 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
51 |
|
|
52 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
53 |
|
- Fix Groups entries [SME: 5743] |
54 |
|
|
55 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
56 |
|
- Add Groups entries [SME: 5743] |
57 |
|
|
58 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
59 |
|
- Add admin user as a standard user [SME: 5742] |
60 |
|
|
61 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
62 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
63 |
|
|
64 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
65 |
|
- Add ldap authentication and tls support [SME: 5720] |
66 |
|
|
67 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
68 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
69 |
|
- Convert ldif dump [SME: 5446] |
70 |
|
|
71 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
72 |
|
- Create bdb log directory. [SME: 3018] |
73 |
|
|
74 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
75 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
76 |
|
[SME: 3018, 2859] |
77 |
|
|
78 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
79 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
80 |
|
|
725 |
|
|
726 |
%prep |
%prep |
727 |
%setup |
%setup |
728 |
|
%patch0 -p1 |
729 |
|
%patch1 -p1 |
730 |
|
%patch2 -p1 |
731 |
|
%patch3 -p1 |
732 |
|
%patch4 -p1 |
733 |
|
%patch5 -p1 |
734 |
|
%patch6 -p1 |
735 |
|
%patch7 -p1 |
736 |
|
%patch8 -p1 |
737 |
|
%patch9 -p1 |
738 |
|
%patch10 -p1 |
739 |
|
|
740 |
%build |
%build |
741 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
751 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
752 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
753 |
|
|
754 |
|
mkdir -p root/var/log/bdb |
755 |
|
mkdir -p root/var/service/ldap/ssl |
756 |
|
|
757 |
%install |
%install |
758 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
759 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
760 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
761 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
762 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
763 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
764 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
765 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
766 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
767 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
768 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
769 |
|
|