/[smeserver]/rpms/e-smith-ldap/sme10/e-smith-ldap.spec
ViewVC logotype

Diff of /rpms/e-smith-ldap/sme10/e-smith-ldap.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.9 by jpp, Sun May 3 02:51:32 2020 UTC Revision 1.20 by jpp, Tue Nov 22 19:28:40 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-ldap.spec,v 1.8 2017/02/23 10:21:52 vip-ire 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 7  %define release 16
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 14  Patch0: e-smith-ldap-5.6.0-missing_sheba Line 14  Patch0: e-smith-ldap-5.6.0-missing_sheba
14  Patch1: e-smith-ldap-5.6.0.bz9688.skipredirect.patch  Patch1: e-smith-ldap-5.6.0.bz9688.skipredirect.patch
15  Patch2: e-smith-ldap-5.6.0-strong_encryption.patch  Patch2: e-smith-ldap-5.6.0-strong_encryption.patch
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
18    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
# Line 32  AutoReqProv: no Line 39  AutoReqProv: no
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
61    - fix ldap failing to start on initial boot [SME: 11480]
62    
63    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
64    - fix wrong alias to ldap.init [SME: 11301]
65    
66    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
67    - add -update event [SME: 11140]
68    - move ldap to systemd [SME: 11099]
69    - move ldap.init to systemd [SME: 11096]
70    
71  * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme  * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
72  - New protocol default as TLSv1.2  [SME: 10936]  - New protocol default as TLSv1.2  [SME: 10936]
73    New property TLSProtocolMin    New property TLSProtocolMin
# Line 1023  e-smith server and gateway software - LD Line 1059  e-smith server and gateway software - LD
1059  %patch1 -p1  %patch1 -p1
1060  %patch2 -p1  %patch2 -p1
1061  %patch3 -p1  %patch3 -p1
1062    %patch4 -p1
1063    %patch5 -p1
1064    mkdir -p root/etc/openldap/ssl
1065    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
# Line 1033  rm -rf $RPM_BUILD_ROOT Line 1077  rm -rf $RPM_BUILD_ROOT
1077  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1078  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
1079  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1080      --file /var/service/ldap/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \
1081      --file /var/service/ldap/log/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \
1082        --file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \
1083      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \
1084      --file /var/service/ldap/finish 'attr(0750,root,root)' \      --file /var/service/ldap/finish 'attr(0750,root,root)' \
     --file /var/service/ldap/control/1 '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)' \
1089      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
1090  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1091    
# Line 1050  rm -rf $RPM_BUILD_ROOT Line 1095  rm -rf $RPM_BUILD_ROOT
1095  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
1096  %defattr(-,root,root)  %defattr(-,root,root)
1097    
1098    %pre
1099    if [ $1 -gt 1 ] ; then
1100      if [ -e /var/service/ldap/run ] ; then
1101           /usr/bin/sv d ldap
1102           /usr/bin/sv d ldap/log
1103      fi
1104    fi


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed