1 |
|
# $Id: e-smith-ldap.spec,v 1.12 2009/01/28 04:04:18 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 10 |
%define release 3 |
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 |
|
Patch1: e-smith-ldap-4.12.0-slapd.conf.perms.patch |
|
|
Patch2: e-smith-ldap-4.12.0-success.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 |
|
|
Patch6: e-smith-ldap-4.12.0-freebusy.patch |
|
|
Patch7: e-smith-ldap-4.12.0-add2general.patch |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base |
Requires: e-smith-base |
24 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
* Fri Jul 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-10 |
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
28 |
|
- Create bdb log directory. [SME: 3018] |
29 |
|
|
30 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
31 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
32 |
|
[SME: 3018, 2859] |
33 |
|
|
34 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
35 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
36 |
|
|
37 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
38 |
|
- Roll new dev stream. |
39 |
|
|
40 |
|
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
41 |
|
- Separate template to avoid breaking schema [SME: 4171] |
42 |
|
|
43 |
|
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.12.0-10 |
44 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
45 |
|
|
46 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.12.0-9 |
|
4.12.0-9 |
|
47 |
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
48 |
|
|
49 |
* 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 |
50 |
- Remove <base> tags now in general [SME: 3919] |
- Remove <base> tags now in general [SME: 3919] |
51 |
|
|
52 |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
682 |
%prep |
%prep |
683 |
%setup |
%setup |
684 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
685 |
|
|
686 |
%build |
%build |
687 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
697 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
698 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
699 |
|
|
700 |
|
mkdir -p root/var/log/bdb |
701 |
|
|
702 |
%install |
%install |
703 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
704 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
705 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
706 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
707 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
708 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
709 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
710 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
711 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
712 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
713 |
|
|