1 |
# $Id: e-smith-ldap.spec,v 1.18 2022/02/19 04:41:21 jpp Exp $ |
# $Id: e-smith-ldap.spec,v 1.22 2023/02/06 05:48:31 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 15 |
%define release 17 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
20 |
Patch7: e-smith-ldap-5.6.0-bz11598.patch |
Patch7: e-smith-ldap-5.6.0-bz11598.patch |
21 |
Patch8: e-smith-ldap-5.6.0-bz11745-log.patch |
Patch8: e-smith-ldap-5.6.0-bz11745-log.patch |
22 |
Patch9: e-smith-ldap-5.6.0-bz11753-ldif-fix.patch |
Patch9: e-smith-ldap-5.6.0-bz11753-ldif-fix.patch |
23 |
|
Patch10: e-smith-ldap-5.6.0-bz12221-slapd-dropin.patch |
24 |
|
Patch11: e-smith-ldap-5.6.0-bz12314-alias.patch |
25 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
40 |
e-smith server and gateway software - LDAP module. |
e-smith server and gateway software - LDAP module. |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-17.sme |
44 |
|
- remove alias for slapd [SME: 12314] |
45 |
|
|
46 |
|
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-16.sme |
47 |
|
- fix slapd dropin missing section [SME: 12221] |
48 |
|
|
49 |
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-15.sme |
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-15.sme |
50 |
- add support or rsshusers system group [SME: 11753] |
- add support or rsshusers system group [SME: 11753] |
51 |
|
|
1071 |
%patch7 -p1 |
%patch7 -p1 |
1072 |
%patch8 -p1 |
%patch8 -p1 |
1073 |
%patch9 -p1 |
%patch9 -p1 |
1074 |
|
%patch10 -p1 |
1075 |
|
%patch11 -p1 |
1076 |
|
|
1077 |
%build |
%build |
1078 |
perl createlinks |
perl createlinks |
1101 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1102 |
|
|
1103 |
%pre |
%pre |
1104 |
|
if [ -L /etc/systemd/system/slapd.service ] ; then |
1105 |
|
echo "hum" |
1106 |
|
#/usr/bin/unlink /etc/systemd/system/slapd.service |
1107 |
|
fi |
1108 |
if [ $1 -gt 1 ] ; then |
if [ $1 -gt 1 ] ; then |
1109 |
if [ -e /var/service/ldap/run ] ; then |
if [ -e /var/service/ldap/run ] ; then |
1110 |
/usr/bin/sv d ldap |
/usr/bin/sv d ldap |