1 |
# $Id: e-smith-apache.spec,v 1.12 2020/06/27 17:26:20 jpp Exp $ |
# $Id: e-smith-apache.spec,v 1.15 2020/12/11 02:44:25 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 13 |
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 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
%patch4 -p1 |
%patch4 -p1 |
48 |
%patch5 -p1 |
%patch5 -p1 |
49 |
%patch6 -p1 |
%patch6 -p1 |
50 |
|
%patch7 -p1 |
51 |
|
rm -rf root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith |
52 |
|
%patch8 -p1 |
53 |
|
|
54 |
%build |
%build |
55 |
perl createlinks |
perl createlinks |
59 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
60 |
|
|
61 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
62 |
|
--file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \ |
63 |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
64 |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
65 |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
73 |
%files -f e-smith-%{version}-filelist |
%files -f e-smith-%{version}-filelist |
74 |
%defattr(-,root,root) |
%defattr(-,root,root) |
75 |
|
|
76 |
|
%pre |
77 |
|
# ease the transition between runit and systemd |
78 |
|
if [ $1 -gt 1 ] ; then |
79 |
|
if [ -e /var/service/httpd-e-smith/run ] ; then |
80 |
|
/usr/bin/sv d httpd-e-smith |
81 |
|
fi |
82 |
|
fi |
83 |
|
|
84 |
%changelog |
%changelog |
85 |
|
* Thu Dec 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
86 |
|
- prevent httpd to fail if modSSL defined certs does not exist [SME: 10826] |
87 |
|
default on self generated cert |
88 |
|
|
89 |
|
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
90 |
|
- create-update event [SME: 11123] |
91 |
|
- move httpd-e-smith to systemd [SME: 11111] |
92 |
|
changed sigusr1 used in events to reload as defined in the unit file |
93 |
|
- give a logger to httpd-e-smith : journald [SME: 1416] |
94 |
|
|
95 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
96 |
|
- set default SSLStrictSNIVHostCheck to off [SME: 8693] |
97 |
|
|
98 |
* 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 |
99 |
- add SNI support for individual certificates per VirtualHosts [SME: 8693] |
- add SNI support for individual certificates per VirtualHosts [SME: 8693] |
100 |
|
|