/[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.6 by unnilennium, Sun Jul 24 15:36:18 2016 UTC Revision 1.13 by jpp, Sun Jan 3 04:59:11 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-ldap.spec,v 1.5 2016/07/24 15:35:14 unnilennium Exp $  # $Id: e-smith-ldap.spec,v 1.12 2020/12/12 03:42:54 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 9
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    
19  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20  BuildArchitectures: noarch  BuildArchitectures: noarch
21  Requires: e-smith-base  Requires: e-smith-base
# Line 29  AutoReqProv: no Line 33  AutoReqProv: no
33  e-smith server and gateway software - LDAP module.  e-smith server and gateway software - LDAP module.
34    
35  %changelog  %changelog
36    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
37    - fix wrong alias to ldap.init [SME: 11301]
38    
39    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme
40    - add -update event [SME: 11140]
41    - move ldap to systemd [SME: 11099]
42    - move ldap.init to systemd [SME: 11096]
43    
44    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
45    - New protocol default as TLSv1.2  [SME: 10936]
46      New property TLSProtocolMin
47      Ciphers are now ordered with stronger first
48    
49    * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-6.sme
50    - Disable SSLv3, but keep the possibility to enable it again [SME: 10108]
51    - Better default cipher suite, and honor global suite [SME: 10108]
52    
53  * 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
54  - systemd skip redirect [SME: 9688]  - systemd skip redirect [SME: 9688]
55  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
# Line 827  e-smith server and gateway software - LD Line 848  e-smith server and gateway software - LD
848  - [4.3.1-01]  - [4.3.1-01]
849  - 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.
850    
851  * Thu Aug 07 2001 Charlie Brady <charlieb@e-smith.com>  * Tue Aug 07 2001 Charlie Brady <charlieb@e-smith.com>
852  - [4.3.0-07]  - [4.3.0-07]
853  - Break slapd.conf template into fragments, and include in-line  - Break slapd.conf template into fragments, and include in-line
854    at.conf and co.conf fragements, rather than use include feature.    at.conf and co.conf fragements, rather than use include feature.
# Line 1009  e-smith server and gateway software - LD Line 1030  e-smith server and gateway software - LD
1030  %setup  %setup
1031  %patch0 -p1  %patch0 -p1
1032  %patch1 -p1  %patch1 -p1
1033    %patch2 -p1
1034    %patch3 -p1
1035    %patch4 -p1
1036    
1037    mkdir -p root/etc/openldap/ssl
1038    rm -rf root/service root/var/service root/etc/rc.d/init.d/supervise
1039    
1040  %build  %build
1041  perl createlinks  perl createlinks
# Line 1018  rm -rf $RPM_BUILD_ROOT Line 1045  rm -rf $RPM_BUILD_ROOT
1045  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1046  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
1047  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
1048      --file /var/service/ldap/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-certificate 'attr(0554,root,root)' \
1049      --file /var/service/ldap/log/run 'attr(0750,root,root)' \      --file /sbin/e-smith/systemd/ldap-prepare 'attr(0554,root,root)' \
1050        --file /sbin/e-smith/systemd/ldap-finish 'attr(0554,root,root)' \
1051      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \      --file /var/service/ldap/ldif-fix 'attr(0750,root,root)' \
1052      --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)' \  
1053      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \      --dir /var/log/bdb 'attr(0700,ldap,ldap)' \
1054      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \      --dir /home/e-smith/db/ldap 'attr(0750,root,ldap)' \
1055      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \      --dir /var/log/ldap 'attr(0750,smelog,smelog)' \
1056        --dir /etc/openldap/ssl 'attr(0750,root,ldap)' \
1057      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
1058  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
1059    
# Line 1035  rm -rf $RPM_BUILD_ROOT Line 1063  rm -rf $RPM_BUILD_ROOT
1063  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
1064  %defattr(-,root,root)  %defattr(-,root,root)
1065    
1066    %pre
1067    if [ $1 -gt 1 ] ; then
1068      if [ -e /var/service/ldap/run ] ; then
1069           /usr/bin/sv d ldap
1070           /usr/bin/sv d ldap/log
1071      fi
1072    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