1 |
# $Id: e-smith-apache.spec,v 1.18 2016/01/17 20:53:26 vip-ire Exp $ |
# $Id: e-smith-apache.spec,v 1.8 2020/05/02 03:05:56 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 5 |
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 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
33 |
%description |
%description |
34 |
e-smith server and gateway software - apache module. |
e-smith server and gateway software - apache module. |
35 |
|
|
36 |
|
%prep |
37 |
|
%setup |
38 |
|
%patch0 -p1 |
39 |
|
%patch1 -p1 |
40 |
|
%patch2 -p1 |
41 |
|
%patch3 -p1 |
42 |
|
|
43 |
|
%build |
44 |
|
perl createlinks |
45 |
|
|
46 |
|
%install |
47 |
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
50 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
51 |
|
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
52 |
|
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
53 |
|
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
54 |
|
> e-smith-%{version}-filelist |
55 |
|
|
56 |
|
echo "%doc COPYING" >> e-smith-%{version}-filelist |
57 |
|
|
58 |
|
%clean |
59 |
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
61 |
|
%files -f e-smith-%{version}-filelist |
62 |
|
%defattr(-,root,root) |
63 |
|
|
64 |
|
|
65 |
%changelog |
%changelog |
66 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
67 |
|
- disable TLSv1 TLSv1.1 by default [SME: 10459] |
68 |
|
* put strong ciphers first in default string |
69 |
|
* cipher order and properties without periods |
70 |
|
|
71 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
72 |
|
- add SSLHonorCipherOrder Directive [SME: 10916] |
73 |
|
|
74 |
|
* Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
75 |
|
- update apache icon path [SME: 9591] |
76 |
|
|
77 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
78 |
|
- fix syntax preventing httpd to launch [SME: 9364] |
79 |
|
- moved changelog at end of file |
80 |
|
|
81 |
* 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 |
82 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
83 |
|
|
644 |
- [0.1.0-01] |
- [0.1.0-01] |
645 |
- Initial release, split out from e-smith-base [markk 6428] |
- Initial release, split out from e-smith-base [markk 6428] |
646 |
|
|
|
%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) |
|