/[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.7 by unnilennium, Sun Jul 24 15:37:08 2016 UTC Revision 1.18 by jpp, Sat Feb 19 04:41:21 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-ldap.spec,v 1.6 2016/07/24 15:36:18 unnilennium Exp $  # $Id: e-smith-ldap.spec,v 1.17 2021/06/09 15:59:48 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 5  %define release 14
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 12  Group: Networking/Daemons Line 12  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  Patch0: e-smith-ldap-5.6.0-missing_shebang_ldap_init.patch  Patch0: e-smith-ldap-5.6.0-missing_shebang_ldap_init.patch
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
16    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    
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
# Line 29  AutoReqProv: no Line 37  AutoReqProv: no
37  e-smith server and gateway software - LDAP module.  e-smith server and gateway software - LDAP module.
38    
39  %changelog  %changelog
40    * Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-14.sme
41    - redirect syslog for ldapt to /var/log/ldap/ldap.log [SME: 11745]
42    
43    * Wed Jun 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-13.sme
44    - fix ssl-update reload instead of restart ldap [SME: 11598]
45    
46    * Thu Jun 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme
47    - fix wrong path for templates.metadata [SME: 11595]
48    
49    * Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme
50    - use template for ssl pem [SME: 11595]
51    
52    * Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme
53    - fix ldap failing to start on initial boot [SME: 11480]
54    
55    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
56    - fix wrong alias to ldap.init [SME: 11301]
57    
58    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
59    - add -update event [SME: 11140]
60    - move ldap to systemd [SME: 11099]
61    - move ldap.init to systemd [SME: 11096]
62    
63    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
64    - New protocol default as TLSv1.2  [SME: 10936]
65      New property TLSProtocolMin
66      Ciphers are now ordered with stronger first
67    
68    * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-6.sme
69    - Disable SSLv3, but keep the possibility to enable it again [SME: 10108]
70    - Better default cipher suite, and honor global suite [SME: 10108]
71    
72  * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme  * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme
73  - systemd skip redirect [SME: 9688]  - systemd skip redirect [SME: 9688]
74  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
# Line 1009  e-smith server and gateway software - LD Line 1049  e-smith server and gateway software - LD
1049  %setup  %setup
1050  %patch0 -p1  %patch0 -p1
1051  %patch1 -p1  %patch1 -p1
1052    %patch2 -p1
1053    %patch3 -p1
1054    %patch4 -p1
1055    %patch5 -p1
1056    mkdir -p root/etc/openldap/ssl
1057    rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise
1058    %patch6 -p1
1059    %patch7 -p1
1060    %patch8 -p1
1061    
1062  %build  %build
1063  perl createlinks  perl createlinks
# Line 1018  rm -rf $RPM_BUILD_ROOT Line 1067  rm -rf $RPM_BUILD_ROOT
1067  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1068  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
1069  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1070      --file /var/service/ldap/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \
1071      --file /var/service/ldap/log/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \
1072        --file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \
1073      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \
1074      --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)' \  
1075      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \
1076      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \
1077      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \
1078        --dir /etc/openldap/ssl 'attr(0750,root,ldap)' \
1079      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
1080  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1081    
# Line 1035  rm -rf $RPM_BUILD_ROOT Line 1085  rm -rf $RPM_BUILD_ROOT
1085  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
1086  %defattr(-,root,root)  %defattr(-,root,root)
1087    
1088    %pre
1089    if [ $1 -gt 1 ] ; then
1090      if [ -e /var/service/ldap/run ] ; then
1091           /usr/bin/sv d ldap
1092           /usr/bin/sv d ldap/log
1093      fi
1094    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