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

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

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

Revision 1.3 by stephdl, Sat Feb 6 08:53:30 2016 UTC Revision 1.27 by terryfage, Fri Oct 7 09:04:44 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-apache.spec,v 1.2 2016/02/06 08:36:07 stephdl Exp $  # $Id: e-smith-apache.spec,v 1.26 2022/07/25 08:52:20 jpp Exp $
2    
3  Summary: e-smith server and gateway - apache module  Summary: e-smith server and gateway - apache module
4  %define name e-smith-apache  %define name e-smith-apache
5  Name: %{name}  Name: %{name}
6  %define version 2.6.1  %define version 2.6.0
7  %define release 2  %define release 23
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-apache-2.6.0-httpd24.patch
14    Patch1: e-smith-apache-2.6.0-bz9591-iconspath.patch
15    Patch2: e-smith-apache-2.6.0-bz10916-SSLHonorCipherOrder.patch
16    Patch3: e-smith-apache-2.6.0-bz10459-Ciphers-and-TLS.patch
17    Patch4: e-smith-apache-2.6.0-bz10867-remove-php3-refs.patch
18    Patch5: e-smith-apache-2.6.0-bz10966-remove-hardcoded-ports.patch
19    Patch6: e-smith-apache-2.6.0-bz8693-SNI.patch
20    Patch7: e-smith-apache-2.6.0-bz11123-bz11111-systemd-update.patch
21    Patch8: e-smith-apache-2.6.0-bz10826-defaultSSLCert-if-file-does-not-exist.patch
22    Patch9: e-smith-apache-2.6.0-bz11551-httpsForceLocalOnly.patch
23    Patch10: e-smith-apache-2.6.0-bz11760-moremodules.patch
24    Patch11: e-smith-apache-2.6.0-bz11867.patch
25    Patch12: e-smith-apache-2.6.0-bz9375-Require.patch
26    Patch13: e-smith-apache-2.6.0-bz12207-reload-httpd-admin.patch
27    
28  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29  BuildArchitectures: noarch  BuildArchitectures: noarch
30  Requires: e-smith-base >= 4.15.1  Requires: e-smith-base >= 4.15.1
# Line 21  Obsoletes: distcache <= 1.4.5 Line 36  Obsoletes: distcache <= 1.4.5
36  Obsoletes: mod_auth_external  Obsoletes: mod_auth_external
37  Obsoletes: e-smith-proxypass  Obsoletes: e-smith-proxypass
38  Obsoletes: e-smith-apache-proxy  Obsoletes: e-smith-apache-proxy
39  Conflicts: e-smith-ibays < 1.0.2  # for the new httpd 2.4 syntax
40    Conflicts: e-smith-ibays < 2.6.0-19
41    Conflicts: smeserver-horde < 1.0.0-32
42    Conflicts: smeserver-php < 3.0.0-43
43    Conflicts: e-smith-proxy < 5.6.0-11
44    Conflicts: e-smith-manager < 2.8.0-36
45  AutoReqProv: no  AutoReqProv: no
46  BuildRequires: e-smith-devtools >= 1.11.0-12  BuildRequires: e-smith-devtools >= 1.11.0-12
47    
48  %description  %description
49  e-smith server and gateway software - apache module.  e-smith server and gateway software - apache module.
50    
51    %prep
52    %setup
53    %patch0 -p1
54    %patch1 -p1
55    %patch2 -p1
56    %patch3 -p1
57    %patch4 -p1
58    %patch5 -p1
59    %patch6 -p1
60    %patch7 -p1
61    rm -rf  root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith
62    %patch8 -p1
63    %patch9 -p1
64    %patch10 -p1
65    %patch11 -p1
66    %patch12 -p1
67    %patch13 -p1
68    
69    %build
70    perl createlinks
71    
72    %install
73    rm -rf $RPM_BUILD_ROOT
74    (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
75    
76    /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
77        --file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \
78        --dir /var/service/httpd-e-smith 'attr(01755,root,root)' \
79        --file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \
80        --file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \
81        > e-smith-%{version}-filelist
82    
83    echo "%doc COPYING"          >> e-smith-%{version}-filelist
84    
85    %clean
86    rm -rf $RPM_BUILD_ROOT
87    
88    %files -f e-smith-%{version}-filelist
89    %defattr(-,root,root)
90    
91    %pre
92    # ease the transition between runit and systemd
93    if [ $1 -gt 1 ] ; then
94      if [ -e /var/service/httpd-e-smith/run ] ; then
95           /usr/bin/sv d httpd-e-smith
96      fi
97    fi
98    
99  %changelog  %changelog
100  * Sat Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr>  2.6.1-2.sme  * Fri Oct 07 2022 Zsolt Vasarhely <vasarhelyizsolt@hotmail.com> 2.6.0-23.sme
101  - Corrected the problem of hard symlink in archive by a symlink creation  - Running reconfigure from server-manager hangs at S07rotate_logfiles [SME: 12207]
102  - in the createlinks [SME: 9215]  
103    * Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-22.sme
104    - reverting last change [SME: 9375]
105    - add conflict on older ibays, php, horde, proxy, manager rpms
106    
107    * Sun Jul 24 2022 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme
108    - removing mod_access_compat [SME: 9375]
109    
110    * Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-19.sme
111    - convert httpd 2.2 allow,deny to Require for 2.4 [SME: 9375]
112    - use maxsize, not size [SME: 11867]
113    
114    * Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-18.sme
115    - use logrotate.d instead of event action [SME: 11867]
116      use size to force log rotate before normal delay
117    
118    * Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme
119    - add modules ldap authnz_ldap and proxy_wstunnel [SME: 11760]
120      previously provided by webapps-common
121    
122    * Thu Sep 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme
123    - fix httpd-e-smith failing to start on reboot in private server-gateway mode [SME: 11596]
124    
125    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
126    - add possibility to force https on LAN only [SME: 11511]
127      usefull for VPN over port 443
128    
129    * Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
130    - prevent httpd to fail if modSSL defined certs does not exist [SME: 10826]
131      default on self generated cert
132    
133    * Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
134    - create-update event [SME: 11123]
135    - move httpd-e-smith to systemd [SME: 11111]
136      changed sigusr1 used in events to reload as defined in the unit file
137    - give a logger to httpd-e-smith : journald [SME: 1416]
138    
139    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
140    - set default SSLStrictSNIVHostCheck to off [SME: 8693]
141    
142    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
143    - add SNI support for individual certificates per VirtualHosts [SME: 8693]
144    
145    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
146    - port 80 and 443 should not be hardcoded [SME: 9192]
147    - e-smith-apache removing hardcoded ports [SME: 10966]
148    
149    * Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
150    - remove php3 and php4 refs [SME: 10867]
151    
152    * Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
153    - disable TLSv1 TLSv1.1 by default [SME: 10459]
154      * put strong ciphers first in default string
155      * cipher order and properties with periods
156    
157    * Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
158    - add SSLHonorCipherOrder Directive  [SME: 10916]
159    
160    * Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
161    - update apache icon path [SME: 9591]
162    
163    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
164    - fix syntax preventing httpd to launch [SME: 9364]
165    - moved changelog at end of file
166    
167  * Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme  * Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme
168  - Roll new stream for sme10  - Roll new stream for sme10
# Line 599  e-smith server and gateway software - ap Line 730  e-smith server and gateway software - ap
730  - [0.1.0-01]  - [0.1.0-01]
731  - Initial release, split out from e-smith-base [markk 6428]  - Initial release, split out from e-smith-base [markk 6428]
732    
 %prep  
 %setup  
   
 %build  
 perl createlinks  
   
 %install  
 rm -rf $RPM_BUILD_ROOT  
 (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  
   
 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  
     --dir /var/service/httpd-e-smith 'attr(01755,root,root)' \  
     --file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \  
     --file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \  
     > e-smith-%{version}-filelist  
   
 echo "%doc COPYING"          >> e-smith-%{version}-filelist  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %files -f e-smith-%{version}-filelist  
 %defattr(-,root,root)  


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