1 |
# $Id: e-smith-apache.spec,v 1.2 2016/02/06 08:36:07 stephdl Exp $ |
# $Id: e-smith-apache.spec,v 1.7 2020/05/02 01:41:57 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.1 |
%define version 2.6.0 |
7 |
%define release 2 |
%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 |
* Sat Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
67 |
- Corrected the problem of hard symlink in archive by a symlink creation |
- disable TLSv1 TLSv1.1 by default [SME: 10459] |
68 |
- in the createlinks [SME: 9215] |
- put strong ciphers first in default string |
69 |
|
|
70 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
71 |
|
- add SSLHonorCipherOrder Directive [SME: 10916] |
72 |
|
|
73 |
|
* Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
74 |
|
- update apache icon path [SME: 9591] |
75 |
|
|
76 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
77 |
|
- fix syntax preventing httpd to launch [SME: 9364] |
78 |
|
- moved changelog at end of file |
79 |
|
|
80 |
* 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 |
81 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
643 |
- [0.1.0-01] |
- [0.1.0-01] |
644 |
- Initial release, split out from e-smith-base [markk 6428] |
- Initial release, split out from e-smith-base [markk 6428] |
645 |
|
|
|
%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) |
|