1 |
# $Id: e-smith-base.spec,v 1.90 2015/06/11 20:13:30 vip-ire Exp $ |
# $Id: e-smith-base.spec,v 1.91 2015/06/25 14:55:52 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - base module |
Summary: e-smith server and gateway - base module |
4 |
%define name e-smith-base |
%define name e-smith-base |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.6.0 |
%define version 5.6.0 |
7 |
%define release 21 |
%define release 22 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
73 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
74 |
|
|
75 |
%changelog |
%changelog |
76 |
|
* Thu Jun 25 2015 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-22.sme |
77 |
|
- Fix including /etc/selinux directory [SME: 8954] |
78 |
|
|
79 |
* Thu Jun 25 2015 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-21.sme |
* Thu Jun 25 2015 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-21.sme |
80 |
- Add templates for /etc/selinux/config [SME: 8954] |
- Add templates for /etc/selinux/config [SME: 8954] |
81 |
|
|
1790 |
|
|
1791 |
%build |
%build |
1792 |
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/selinux |
|
|
|
|
1793 |
LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ |
LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ |
1794 |
-type f | grep -v CVS) |
-type f | grep -v CVS) |
1795 |
|
|
1807 |
|
|
1808 |
%install |
%install |
1809 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1810 |
|
mkdir -p $RPM_BUILD_ROOT/etc/selinux |
1811 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
1812 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
1813 |
--file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \ |
--file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \ |