1 |
|
# $Id: e-smith-ldap.spec,v 1.16 2010/01/30 19:19:19 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 11 |
%define release 8 |
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}-ldap-update-link-in-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.patch |
|
Patch8: e-smith-ldap-4.12.0-2739schema.patch |
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
31 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
35 |
|
- Add Groups entries [SME: 5743] |
36 |
|
|
37 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
38 |
|
- Add admin user as a standard user [SME: 5742] |
39 |
|
|
40 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
41 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
42 |
|
|
43 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
44 |
|
- Add ldap authentication and tls support [SME: 5720] |
45 |
|
|
46 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
47 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
48 |
|
- Convert ldif dump [SME: 5446] |
49 |
|
|
50 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
51 |
|
- Create bdb log directory. [SME: 3018] |
52 |
|
|
53 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
54 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
55 |
|
[SME: 3018, 2859] |
56 |
|
|
57 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
58 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
59 |
|
|
60 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
61 |
|
- Roll new dev stream. |
62 |
|
|
63 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
64 |
- Separate template to avoid breaking schema [SME: 4171] |
- Separate template to avoid breaking schema [SME: 4171] |
65 |
|
|
712 |
%patch5 -p1 |
%patch5 -p1 |
713 |
%patch6 -p1 |
%patch6 -p1 |
714 |
%patch7 -p1 |
%patch7 -p1 |
|
%patch8 -p1 |
|
715 |
|
|
716 |
%build |
%build |
717 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
727 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
728 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
729 |
|
|
730 |
|
mkdir -p root/var/log/bdb |
731 |
|
mkdir -p root/var/service/ldap/ssl |
732 |
|
|
733 |
%install |
%install |
734 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
735 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
736 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
737 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
738 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
739 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
740 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
741 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
742 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
743 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
744 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
745 |
|
|