1 |
|
# $Id: e-smith-ldap.spec,v 1.13 2009/02/09 00:00:30 charliebrady 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 8 |
%define release 4 |
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 |
|
Patch3: e-smith-ldap-4.12.0-pid_args_files.patch |
|
|
Patch4: e-smith-ldap-4.12.0-objectClass.patch |
|
|
Patch5: e-smith-ldap-4.12.0-tags2general.patch |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-base |
Requires: e-smith-base |
26 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.12.0-8 |
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
30 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
31 |
|
- Convert ldif dump [SME: 5446] |
32 |
|
|
33 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
34 |
|
- Create bdb log directory. [SME: 3018] |
35 |
|
|
36 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
37 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
38 |
|
[SME: 3018, 2859] |
39 |
|
|
40 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
41 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
42 |
|
|
43 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
44 |
|
- Roll new dev stream. |
45 |
|
|
46 |
|
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
47 |
|
- Separate template to avoid breaking schema [SME: 4171] |
48 |
|
|
49 |
|
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.12.0-10 |
50 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
51 |
|
|
52 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.12.0-9 |
53 |
|
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
54 |
|
|
55 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 4.12.0-8 |
56 |
- Remove <base> tags now in general [SME: 3919] |
- Remove <base> tags now in general [SME: 3919] |
57 |
|
|
58 |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
690 |
%patch0 -p1 |
%patch0 -p1 |
691 |
%patch1 -p1 |
%patch1 -p1 |
692 |
%patch2 -p1 |
%patch2 -p1 |
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
693 |
|
|
694 |
%build |
%build |
695 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
705 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
706 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
707 |
|
|
708 |
|
mkdir -p root/var/log/bdb |
709 |
|
|
710 |
%install |
%install |
711 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
712 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
713 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
714 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
715 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
716 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
717 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
718 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
719 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
720 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
721 |
|
|