1 |
|
# $Id: e-smith-ldap.spec,v 1.21 2010/02/03 08:59:31 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 4.12.0 |
%define version 5.2.0 |
7 |
%define release 6 |
%define release 13 |
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: %{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.patch3 |
21 |
|
Patch8: %{name}-%{version}-attributes.patch |
22 |
|
Patch9: %{name}-%{version}-mailboxRelatedObject.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-base |
Requires: e-smith-base |
26 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
27 |
Requires: openldap >= 2.0.0, perl(Net::LDAP) |
Requires: openldap >= 2.0.0, perl(Net::LDAP) |
28 |
|
Requires: e-smith-formmagick >= 1.4.0-9 |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
AutoReqProv: no |
AutoReqProv: no |
31 |
|
|
33 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-13.sme |
37 |
|
- Fix Groups entries [SME: 5743] |
38 |
|
|
39 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-12.sme |
40 |
|
- Separate groups and users with mailboxRelatedObject [SME:5749] |
41 |
|
|
42 |
|
* Wed Feb 3 2010 Stephen Noble <support@dungog.net> 5.2.0-11.sme |
43 |
|
- Set readonly access [SME:5752] |
44 |
|
|
45 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-10.sme |
46 |
|
- Fix ldap-update action script to user-lock event [SME: 5720] |
47 |
|
|
48 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-9.sme |
49 |
|
- Fix Groups entries [SME: 5743] |
50 |
|
|
51 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-8.sme |
52 |
|
- Add Groups entries [SME: 5743] |
53 |
|
|
54 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 5.2.0-7.sme |
55 |
|
- Add admin user as a standard user [SME: 5742] |
56 |
|
|
57 |
|
* Sat Jan 30 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-6.sme |
58 |
|
- Add ldap-update action script to user-lock event [SME: 5720] |
59 |
|
|
60 |
|
* Wed Jan 27 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-5.sme |
61 |
|
- Add ldap authentication and tls support [SME: 5720] |
62 |
|
|
63 |
|
* Wed Jan 13 2010 Filippo Carletti <filippo.carletti@gmail.com> 5.2.0-4.sme |
64 |
|
- Update schema for newer openldap and remove calFBurl [SME: 5159] |
65 |
|
- Convert ldif dump [SME: 5446] |
66 |
|
|
67 |
|
* Sun Feb 8 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-3.sme |
68 |
|
- Create bdb log directory. [SME: 3018] |
69 |
|
|
70 |
|
* Tue Jan 27 2009 Charlie Brady <charlie_brady@mitel.com> 5.2.0-2.sme |
71 |
|
- Change ldap backend to bdb, and fix initialisation problem. |
72 |
|
[SME: 3018, 2859] |
73 |
|
|
74 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
75 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
76 |
|
|
77 |
|
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.13.0-1 |
78 |
|
- Roll new dev stream. |
79 |
|
|
80 |
|
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.12.0-11 |
81 |
|
- Separate template to avoid breaking schema [SME: 4171] |
82 |
|
|
83 |
|
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.12.0-10 |
84 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
85 |
|
|
86 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.12.0-9 |
87 |
|
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
88 |
|
|
89 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 4.12.0-8 |
90 |
|
- Remove <base> tags now in general [SME: 3919] |
91 |
|
|
92 |
|
* Tue Jun 26 2007 Charlie Brady <charlie_brady@mitel.com> |
93 |
|
- Fix format error in ldif template. [SME: 3107] |
94 |
|
|
95 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
96 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
97 |
|
|
725 |
%patch1 -p1 |
%patch1 -p1 |
726 |
%patch2 -p1 |
%patch2 -p1 |
727 |
%patch3 -p1 |
%patch3 -p1 |
728 |
|
%patch4 -p1 |
729 |
|
%patch5 -p1 |
730 |
|
%patch6 -p1 |
731 |
|
%patch7 -p1 |
732 |
|
%patch8 -p1 |
733 |
|
%patch9 -p1 |
734 |
|
|
735 |
%build |
%build |
736 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
746 |
ln -s /var/service/ldap root/service/ldap |
ln -s /var/service/ldap root/service/ldap |
747 |
touch root/var/service/ldap/down |
touch root/var/service/ldap/down |
748 |
|
|
749 |
|
mkdir -p root/var/log/bdb |
750 |
|
mkdir -p root/var/service/ldap/ssl |
751 |
|
|
752 |
%install |
%install |
753 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
754 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
755 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
756 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
757 |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
--file /var/service/ldap/run 'attr(0750,root,root)' \ |
758 |
|
--file /var/service/ldap/convert_ldif 'attr(0750,root,root)' \ |
759 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
760 |
|
--file /var/service/ldap/control/1 'attr(0750,root,root)' \ |
761 |
|
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
762 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
763 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
764 |
|
|