1 |
# $Id: e-smith-ldap.spec,v 1.13 2021/01/03 04:59:11 jpp Exp $ |
# $Id: e-smith-ldap.spec,v 1.19 2022/04/18 03:54:37 jpp 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.6.0 |
%define version 5.6.0 |
7 |
%define release 10 |
%define release 16 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
Patch3: e-smith-ldap-5.6.0-bz10936-TLS-and-ciphers.patch |
Patch3: e-smith-ldap-5.6.0-bz10936-TLS-and-ciphers.patch |
17 |
Patch4: e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch |
Patch4: e-smith-ldap-5.6.0-bz11140-bz11099-bz11096-systemd-update.patch |
18 |
Patch5: e-smith-ldap-5.6.0-bz11480-timeoutstart.patch |
Patch5: e-smith-ldap-5.6.0-bz11480-timeoutstart.patch |
19 |
|
Patch6: e-smith-ldap-5.6.0-bz11595-ssl-template.patch |
20 |
|
Patch7: e-smith-ldap-5.6.0-bz11598.patch |
21 |
|
Patch8: e-smith-ldap-5.6.0-bz11745-log.patch |
22 |
|
Patch9: e-smith-ldap-5.6.0-bz11753-ldif-fix.patch |
23 |
|
Patch10: e-smith-ldap-5.6.0-bz12221-slapd-dropin.patch |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-16.sme |
43 |
|
- fix slapd dropin missing section [SME: 12221] |
44 |
|
|
45 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-15.sme |
46 |
|
- add support or rsshusers system group [SME: 11753] |
47 |
|
|
48 |
|
* Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-14.sme |
49 |
|
- redirect syslog for ldapt to /var/log/ldap/ldap.log [SME: 11745] |
50 |
|
|
51 |
|
* Wed Jun 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-13.sme |
52 |
|
- fix ssl-update reload instead of restart ldap [SME: 11598] |
53 |
|
|
54 |
|
* Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme |
55 |
|
- fix wrong path for templates.metadata [SME: 11595] |
56 |
|
|
57 |
|
* Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme |
58 |
|
- use template for ssl pem [SME: 11595] |
59 |
|
|
60 |
* Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
* Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
61 |
- fix ldap failing to start on initial boot [SME: 11480] |
- fix ldap failing to start on initial boot [SME: 11480] |
62 |
|
|
1061 |
%patch3 -p1 |
%patch3 -p1 |
1062 |
%patch4 -p1 |
%patch4 -p1 |
1063 |
%patch5 -p1 |
%patch5 -p1 |
|
|
|
1064 |
mkdir -p root/etc/openldap/ssl |
mkdir -p root/etc/openldap/ssl |
1065 |
rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise |
rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise |
1066 |
|
%patch6 -p1 |
1067 |
|
%patch7 -p1 |
1068 |
|
%patch8 -p1 |
1069 |
|
%patch9 -p1 |
1070 |
|
%patch10 -p1 |
1071 |
|
|
1072 |
%build |
%build |
1073 |
perl createlinks |
perl createlinks |
1084 |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
--file /var/service/ldap/finish 'attr(0750,root,root)' \ |
1085 |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
--dir /var/log/bdb 'attr(0700,ldap,ldap)' \ |
1086 |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
--dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \ |
1087 |
--dir /var/log/ldap 'attr(0750,smelog,smelog)' \ |
--dir /var/log/ldap 'attr(0750,root,root)' \ |
1088 |
--dir /etc/openldap/ssl 'attr(0750,root,ldap)' \ |
--dir /etc/openldap/ssl 'attr(0750,root,ldap)' \ |
1089 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
1090 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |