/[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.16 by jpp, Thu Jun 3 14:36:13 2021 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.15 2021/05/31 03:58:58 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 12
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    
21  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 32  AutoReqProv: no Line 35  AutoReqProv: no
35  e-smith server and gateway software - LDAP module.  e-smith server and gateway software - LDAP module.
36    
37  %changelog  %changelog
38    * Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme
39    - fix wrong path for templates.metadata [SME: 11595]
40    
41    * Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme
42    - use template for ssl pem [SME: 11595]
43    
44    * Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme
45    - fix ldap failing to start on initial boot [SME: 11480]
46    
47    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
48    - fix wrong alias to ldap.init [SME: 11301]
49    
50    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
51    - add -update event [SME: 11140]
52    - move ldap to systemd [SME: 11099]
53    - move ldap.init to systemd [SME: 11096]
54    
55  * 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
56  - New protocol default as TLSv1.2  [SME: 10936]  - New protocol default as TLSv1.2  [SME: 10936]
57    New property TLSProtocolMin    New property TLSProtocolMin
# Line 1023  e-smith server and gateway software - LD Line 1043  e-smith server and gateway software - LD
1043  %patch1 -p1  %patch1 -p1
1044  %patch2 -p1  %patch2 -p1
1045  %patch3 -p1  %patch3 -p1
1046    %patch4 -p1
1047    %patch5 -p1
1048    mkdir -p root/etc/openldap/ssl
1049    rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise
1050    %patch6 -p1
1051    
1052  %build  %build
1053  perl createlinks  perl createlinks
# Line 1033  rm -rf $RPM_BUILD_ROOT Line 1057  rm -rf $RPM_BUILD_ROOT
1057  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1058  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
1059  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1060      --file /var/service/ldap/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \
1061      --file /var/service/ldap/log/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \
1062        --file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \
1063      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \
1064      --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)' \  
1065      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \
1066      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \
1067      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \
1068        --dir /etc/openldap/ssl 'attr(0750,root,ldap)' \
1069      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
1070  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1071    
# Line 1050  rm -rf $RPM_BUILD_ROOT Line 1075  rm -rf $RPM_BUILD_ROOT
1075  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
1076  %defattr(-,root,root)  %defattr(-,root,root)
1077    
1078    %pre
1079    if [ $1 -gt 1 ] ; then
1080      if [ -e /var/service/ldap/run ] ; then
1081           /usr/bin/sv d ldap
1082           /usr/bin/sv d ldap/log
1083      fi
1084    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