/[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.2 by unnilennium, Thu Mar 17 16:36:57 2016 UTC Revision 1.14 by jpp, Mon Mar 22 03:12:12 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-ldap.spec,v 1.1 2016/02/05 16:04:52 stephdl Exp $  # $Id: e-smith-ldap.spec,v 1.13 2021/01/03 04:59:11 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 2  %define release 10
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  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
14    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    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  Requires: e-smith-base  Requires: e-smith-base
# Line 27  AutoReqProv: no Line 34  AutoReqProv: no
34  e-smith server and gateway software - LDAP module.  e-smith server and gateway software - LDAP module.
35    
36  %changelog  %changelog
37    * Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme
38    - fix ldap failing to start on initial boot [SME: 11480]
39    
40    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
41    - fix wrong alias to ldap.init [SME: 11301]
42    
43    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
44    - add -update event [SME: 11140]
45    - move ldap to systemd [SME: 11099]
46    - move ldap.init to systemd [SME: 11096]
47    
48    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
49    - New protocol default as TLSv1.2  [SME: 10936]
50      New property TLSProtocolMin
51      Ciphers are now ordered with stronger first
52    
53    * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-6.sme
54    - Disable SSLv3, but keep the possibility to enable it again [SME: 10108]
55    - Better default cipher suite, and honor global suite [SME: 10108]
56    
57    * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme
58    - systemd skip redirect [SME: 9688]
59    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
60      by assuming the date is correct and changing the weekday.
61      Fri Jun 01 2000 --> Fri May 26 2000 or Thu Jun 01 2000 or Fri Jun 02 2000 or ....
62      Thu Aug 07 2001 --> Thu Aug 02 2001 or Tue Aug 07 2001 or Thu Aug 09 2001 or ....
63      Tue Jun 10 2010 --> Tue Jun 08 2010 or Thu Jun 10 2010 or Tue Jun 15 2010 or ....
64    
65    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme
66    - Add missing shebang in ldap.init script [SME: 9432]
67    
68    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme
69    - Rebuild for [SME: 9393]
70    
71  * Fri Mar 18 2016 JP Pialasse <tests@pialasse.com> 5.6.0-2.sme  * Fri Mar 18 2016 JP Pialasse <tests@pialasse.com> 5.6.0-2.sme
72  - fix Requires db4-utils to  libdb4-utils [SME: 9319]  - fix Requires db4-utils to  libdb4-utils [SME: 9319]
73    
# Line 270  e-smith server and gateway software - LD Line 311  e-smith server and gateway software - LD
311  * Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-24.sme  * Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-24.sme
312  - Restrict access to the ldif file [SME: 6217]  - Restrict access to the ldif file [SME: 6217]
313    
314  * Tue Jun 10 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-23.sme  * Thu Jun 10 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-23.sme
315      Tue Jun 10 2010 --> Tue Jun 08 2010 or Thu Jun 10 2010 or Tue Jun 15 2010 or ....
316  - Fix ldap-create errors when adding empty groups [SME: 5920]  - Fix ldap-create errors when adding empty groups [SME: 5920]
317    
318  * Mon Jun  7 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-22.sme  * Mon Jun  7 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-22.sme
# Line 810  e-smith server and gateway software - LD Line 852  e-smith server and gateway software - LD
852  - [4.3.1-01]  - [4.3.1-01]
853  - Rolled version number to 4.3.1-01. Includes patches upto 4.3.0-07.  - Rolled version number to 4.3.1-01. Includes patches upto 4.3.0-07.
854    
855  * Thu Aug 07 2001 Charlie Brady <charlieb@e-smith.com>  * Tue Aug 07 2001 Charlie Brady <charlieb@e-smith.com>
856  - [4.3.0-07]  - [4.3.0-07]
857  - Break slapd.conf template into fragments, and include in-line  - Break slapd.conf template into fragments, and include in-line
858    at.conf and co.conf fragements, rather than use include feature.    at.conf and co.conf fragements, rather than use include feature.
# Line 984  e-smith server and gateway software - LD Line 1026  e-smith server and gateway software - LD
1026  * Mon Jun 12 2000 Charlie Brady <charlieb@e-smith.net>  * Mon Jun 12 2000 Charlie Brady <charlieb@e-smith.net>
1027  - Use new multi-arg form of backgroundCommand.  - Use new multi-arg form of backgroundCommand.
1028    
1029  * Fri Jun 1 2000 Charlie Brady <charlieb@e-smith.net>  * Thu Jun 01 2000 Charlie Brady <charlieb@e-smith.net>
1030      Fri Jun 01 2000 --> Fri May 26 2000 or Thu Jun 01 2000 or Fri Jun 02 2000 or ....
1031  - First created - broken out of e-smith-base 4.0.11.  - First created - broken out of e-smith-base 4.0.11.
1032    
1033  %prep  %prep
1034  %setup  %setup
1035    %patch0 -p1
1036    %patch1 -p1
1037    %patch2 -p1
1038    %patch3 -p1
1039    %patch4 -p1
1040    %patch5 -p1
1041    
1042    mkdir -p root/etc/openldap/ssl
1043    rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise
1044    
1045  %build  %build
1046  perl createlinks  perl createlinks
# Line 998  rm -rf $RPM_BUILD_ROOT Line 1050  rm -rf $RPM_BUILD_ROOT
1050  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1051  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
1052  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1053      --file /var/service/ldap/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \
1054      --file /var/service/ldap/log/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \
1055        --file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \
1056      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \
1057      --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)' \  
1058      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \
1059      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \
1060      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \
1061        --dir /etc/openldap/ssl 'attr(0750,root,ldap)' \
1062      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
1063  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1064    
# Line 1015  rm -rf $RPM_BUILD_ROOT Line 1068  rm -rf $RPM_BUILD_ROOT
1068  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
1069  %defattr(-,root,root)  %defattr(-,root,root)
1070    
1071    %pre
1072    if [ $1 -gt 1 ] ; then
1073      if [ -e /var/service/ldap/run ] ; then
1074           /usr/bin/sv d ldap
1075           /usr/bin/sv d ldap/log
1076      fi
1077    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