1 |
# $Id: e-smith-apache.spec,v 1.12 2020/06/27 17:26:20 jpp Exp $ |
# $Id: e-smith-apache.spec,v 1.22 2022/04/16 06:08:10 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.0 |
%define version 2.6.0 |
7 |
%define release 10 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
17 |
Patch4: e-smith-apache-2.6.0-bz10867-remove-php3-refs.patch |
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 |
Patch5: e-smith-apache-2.6.0-bz10966-remove-hardcoded-ports.patch |
19 |
Patch6: e-smith-apache-2.6.0-bz8693-SNI.patch |
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 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
51 |
%patch4 -p1 |
%patch4 -p1 |
52 |
%patch5 -p1 |
%patch5 -p1 |
53 |
%patch6 -p1 |
%patch6 -p1 |
54 |
|
%patch7 -p1 |
55 |
|
rm -rf root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith |
56 |
|
%patch8 -p1 |
57 |
|
%patch9 -p1 |
58 |
|
%patch10 -p1 |
59 |
|
%patch11 -p1 |
60 |
|
%patch12 -p1 |
61 |
|
|
62 |
%build |
%build |
63 |
perl createlinks |
perl createlinks |
67 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
68 |
|
|
69 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
70 |
|
--file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \ |
71 |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
72 |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
73 |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
81 |
%files -f e-smith-%{version}-filelist |
%files -f e-smith-%{version}-filelist |
82 |
%defattr(-,root,root) |
%defattr(-,root,root) |
83 |
|
|
84 |
|
%pre |
85 |
|
# ease the transition between runit and systemd |
86 |
|
if [ $1 -gt 1 ] ; then |
87 |
|
if [ -e /var/service/httpd-e-smith/run ] ; then |
88 |
|
/usr/bin/sv d httpd-e-smith |
89 |
|
fi |
90 |
|
fi |
91 |
|
|
92 |
%changelog |
%changelog |
93 |
|
* Sun Jul 24 2022 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme |
94 |
|
- removing mod_access_compat [SME: 9375] |
95 |
|
|
96 |
|
* Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
97 |
|
- convert httpd 2.2 allow,deny to Require for 2.4 [SME: 9375] |
98 |
|
- use maxsize, not size [SME: 11867] |
99 |
|
|
100 |
|
* Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
101 |
|
- use logrotate.d instead of event action [SME: 11867] |
102 |
|
use size to force log rotate before normal delay |
103 |
|
|
104 |
|
* Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
105 |
|
- add modules ldap authnz_ldap and proxy_wstunnel [SME: 11760] |
106 |
|
previously provided by webapps-common |
107 |
|
|
108 |
|
* Thu Sep 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
109 |
|
- fix httpd-e-smith failing to start on reboot in private server-gateway mode [SME: 11596] |
110 |
|
|
111 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
112 |
|
- add possibility to force https on LAN only [SME: 11511] |
113 |
|
usefull for VPN over port 443 |
114 |
|
|
115 |
|
* Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
116 |
|
- prevent httpd to fail if modSSL defined certs does not exist [SME: 10826] |
117 |
|
default on self generated cert |
118 |
|
|
119 |
|
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
120 |
|
- create-update event [SME: 11123] |
121 |
|
- move httpd-e-smith to systemd [SME: 11111] |
122 |
|
changed sigusr1 used in events to reload as defined in the unit file |
123 |
|
- give a logger to httpd-e-smith : journald [SME: 1416] |
124 |
|
|
125 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
126 |
|
- set default SSLStrictSNIVHostCheck to off [SME: 8693] |
127 |
|
|
128 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
129 |
- add SNI support for individual certificates per VirtualHosts [SME: 8693] |
- add SNI support for individual certificates per VirtualHosts [SME: 8693] |
130 |
|
|