1 |
# $Id: e-smith-apache.spec,v 1.13 2020/06/27 19:27:40 jpp Exp $ |
# $Id: e-smith-apache.spec,v 1.18 2021/09/16 18:32:54 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 11 |
%define release 16 |
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 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
%patch4 -p1 |
%patch4 -p1 |
50 |
%patch5 -p1 |
%patch5 -p1 |
51 |
%patch6 -p1 |
%patch6 -p1 |
52 |
|
%patch7 -p1 |
53 |
|
rm -rf root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith |
54 |
|
%patch8 -p1 |
55 |
|
%patch9 -p1 |
56 |
|
%patch10 -p1 |
57 |
|
|
58 |
%build |
%build |
59 |
perl createlinks |
perl createlinks |
63 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
64 |
|
|
65 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
66 |
|
--file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \ |
67 |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
68 |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
69 |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
77 |
%files -f e-smith-%{version}-filelist |
%files -f e-smith-%{version}-filelist |
78 |
%defattr(-,root,root) |
%defattr(-,root,root) |
79 |
|
|
80 |
|
%pre |
81 |
|
# ease the transition between runit and systemd |
82 |
|
if [ $1 -gt 1 ] ; then |
83 |
|
if [ -e /var/service/httpd-e-smith/run ] ; then |
84 |
|
/usr/bin/sv d httpd-e-smith |
85 |
|
fi |
86 |
|
fi |
87 |
|
|
88 |
%changelog |
%changelog |
89 |
|
* Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
90 |
|
- add modules ldap authnz_ldap and proxy_wstunnel [SME: 11760] |
91 |
|
previously provided by webapps-common |
92 |
|
|
93 |
|
* Thu Sep 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
94 |
|
- fix httpd-e-smith failing to start on reboot in private server-gateway mode [SME: 11596] |
95 |
|
|
96 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
97 |
|
- add possibility to force https on LAN only [SME: 11511] |
98 |
|
usefull for VPN over port 443 |
99 |
|
|
100 |
|
* Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
101 |
|
- prevent httpd to fail if modSSL defined certs does not exist [SME: 10826] |
102 |
|
default on self generated cert |
103 |
|
|
104 |
|
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
105 |
|
- create-update event [SME: 11123] |
106 |
|
- move httpd-e-smith to systemd [SME: 11111] |
107 |
|
changed sigusr1 used in events to reload as defined in the unit file |
108 |
|
- give a logger to httpd-e-smith : journald [SME: 1416] |
109 |
|
|
110 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
111 |
- set default SSLStrictSNIVHostCheck to off [SME: 8693] |
- set default SSLStrictSNIVHostCheck to off [SME: 8693] |
112 |
|
|