1 |
# $Id$ |
# $Id: e-smith-ldap.spec,v 1.20 2010/02/01 02:08:27 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 11 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: e-smith-base |
Requires: e-smith-base |
32 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
36 |
|
- Set readonly access [SME:5752] |
37 |
|
|
38 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
39 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
40 |
|
|
41 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
42 |
|
- Fix Groups entries [SME: 5743] |
43 |
|
|
44 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
45 |
|
- Add Groups entries [SME: 5743] |
46 |
|
|
47 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
48 |
|
- Add admin user as a standard user [SME: 5742] |
49 |
|
|
50 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
51 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
52 |
|
|
53 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
54 |
|
- Add ldap authentication and tls support [SME: 5720] |
55 |
|
|
56 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
57 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
58 |
|
- Convert ldif dump [SME: 5446] |
59 |
|
|
60 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
61 |
|
- Create bdb log directory. [SME: 3018] |
62 |
|
|
63 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
64 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
65 |
|
[SME: 3018, 2859] |
66 |
|
|
67 |
* 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 |
68 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
69 |
|
|
714 |
|
|
715 |
%prep |
%prep |
716 |
%setup |
%setup |
717 |
|
%patch0 -p1 |
718 |
|
%patch1 -p1 |
719 |
|
%patch2 -p1 |
720 |
|
%patch3 -p1 |
721 |
|
%patch4 -p1 |
722 |
|
%patch5 -p1 |
723 |
|
%patch6 -p1 |
724 |
|
%patch7 -p1 |
725 |
|
%patch8 -p1 |
726 |
|
|
727 |
%build |
%build |
728 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
738 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
739 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
740 |
|
|
741 |
|
mkdir -p root/var/log/bdb |
742 |
|
mkdir -p root/var/service/ldap/ssl |
743 |
|
|
744 |
%install |
%install |
745 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
746 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
747 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
748 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
749 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
750 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
751 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
752 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
753 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
754 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
755 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
756 |
|
|