1 |
# $Id: e-smith-apache.spec,v 1.1 2016/02/04 18:31:20 vip-ire Exp $ |
# $Id: e-smith-apache.spec,v 1.11 2020/06/23 18:42:24 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 1 |
%define release 9 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
35 |
%description |
%description |
36 |
e-smith server and gateway software - apache module. |
e-smith server and gateway software - apache module. |
37 |
|
|
38 |
|
%prep |
39 |
|
%setup |
40 |
|
%patch0 -p1 |
41 |
|
%patch1 -p1 |
42 |
|
%patch2 -p1 |
43 |
|
%patch3 -p1 |
44 |
|
%patch4 -p1 |
45 |
|
%patch5 -p1 |
46 |
|
|
47 |
|
%build |
48 |
|
perl createlinks |
49 |
|
|
50 |
|
%install |
51 |
|
rm -rf $RPM_BUILD_ROOT |
52 |
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
|
|
54 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
55 |
|
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
56 |
|
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
57 |
|
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
58 |
|
> e-smith-%{version}-filelist |
59 |
|
|
60 |
|
echo "%doc COPYING" >> e-smith-%{version}-filelist |
61 |
|
|
62 |
|
%clean |
63 |
|
rm -rf $RPM_BUILD_ROOT |
64 |
|
|
65 |
|
%files -f e-smith-%{version}-filelist |
66 |
|
%defattr(-,root,root) |
67 |
|
|
68 |
|
|
69 |
%changelog |
%changelog |
70 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
71 |
|
- port 80 and 443 should not be hardcoded [SME: 9192] |
72 |
|
- e-smith-apache removing hardcoded ports [SME: 10966] |
73 |
|
|
74 |
|
* Tue Jun 23 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
75 |
|
- remove php3 and php4 refs [SME: 10867] |
76 |
|
|
77 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
78 |
|
- disable TLSv1 TLSv1.1 by default [SME: 10459] |
79 |
|
* put strong ciphers first in default string |
80 |
|
* cipher order and properties with periods |
81 |
|
|
82 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
83 |
|
- add SSLHonorCipherOrder Directive [SME: 10916] |
84 |
|
|
85 |
|
* Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
86 |
|
- update apache icon path [SME: 9591] |
87 |
|
|
88 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
89 |
|
- fix syntax preventing httpd to launch [SME: 9364] |
90 |
|
- moved changelog at end of file |
91 |
|
|
92 |
* 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 |
93 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
94 |
|
|
655 |
- [0.1.0-01] |
- [0.1.0-01] |
656 |
- Initial release, split out from e-smith-base [markk 6428] |
- Initial release, split out from e-smith-base [markk 6428] |
657 |
|
|
|
%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) |
|