1 |
# $Id: e-smith-apache.spec,v 1.7 2020/05/02 01:41:57 jpp Exp $ |
# $Id: e-smith-apache.spec,v 1.14 2020/06/27 20:46:34 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 5 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: e-smith-apache-2.6.0-bz9591-iconspath.patch |
Patch1: e-smith-apache-2.6.0-bz9591-iconspath.patch |
15 |
Patch2: e-smith-apache-2.6.0-bz10916-SSLHonorCipherOrder.patch |
Patch2: e-smith-apache-2.6.0-bz10916-SSLHonorCipherOrder.patch |
16 |
Patch3: e-smith-apache-2.6.0-bz10459-Ciphers-and-TLS.patch |
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 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
%patch1 -p1 |
%patch1 -p1 |
44 |
%patch2 -p1 |
%patch2 -p1 |
45 |
%patch3 -p1 |
%patch3 -p1 |
46 |
|
%patch4 -p1 |
47 |
|
%patch5 -p1 |
48 |
|
%patch6 -p1 |
49 |
|
%patch7 -p1 |
50 |
|
rm -rf root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith |
51 |
|
|
52 |
%build |
%build |
53 |
perl createlinks |
perl createlinks |
57 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
58 |
|
|
59 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
60 |
|
--file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \ |
61 |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
62 |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
63 |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
71 |
%files -f e-smith-%{version}-filelist |
%files -f e-smith-%{version}-filelist |
72 |
%defattr(-,root,root) |
%defattr(-,root,root) |
73 |
|
|
74 |
|
%pre |
75 |
|
# ease the transition between runit and systemd |
76 |
|
if [ $1 -gt 1 ] ; then |
77 |
|
if [ -e /var/service/httpd-e-smith/run ] ; then |
78 |
|
/usr/bin/sv d httpd-e-smith |
79 |
|
fi |
80 |
|
fi |
81 |
|
|
82 |
%changelog |
%changelog |
83 |
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
84 |
|
- create-update event [SME: 11123] |
85 |
|
- move httpd-e-smith to systemd [SME: 11111] |
86 |
|
changed sigusr1 used in events to reload as defined in the unit file |
87 |
|
- give a logger to httpd-e-smith : journald [SME: 1416] |
88 |
|
|
89 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
90 |
|
- set default SSLStrictSNIVHostCheck to off [SME: 8693] |
91 |
|
|
92 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
93 |
|
- add SNI support for individual certificates per VirtualHosts [SME: 8693] |
94 |
|
|
95 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
96 |
|
- port 80 and 443 should not be hardcoded [SME: 9192] |
97 |
|
- e-smith-apache removing hardcoded ports [SME: 10966] |
98 |
|
|
99 |
|
* Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
100 |
|
- remove php3 and php4 refs [SME: 10867] |
101 |
|
|
102 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
103 |
- disable TLSv1 TLSv1.1 by default [SME: 10459] |
- disable TLSv1 TLSv1.1 by default [SME: 10459] |
104 |
- put strong ciphers first in default string |
* put strong ciphers first in default string |
105 |
|
* cipher order and properties with periods |
106 |
|
|
107 |
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
108 |
- add SSLHonorCipherOrder Directive [SME: 10916] |
- add SSLHonorCipherOrder Directive [SME: 10916] |