1 |
# $Id: e-smith-lib.spec,v 1.4 2013/02/24 15:12:29 vip-ire Exp $ |
# $Id: e-smith-lib.spec,v 1.6 2013/03/05 21:28:24 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - library module |
Summary: e-smith server and gateway - library module |
4 |
%define name e-smith-lib |
%define name e-smith-lib |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 4 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
13 |
Patch0: e-smith-lib-2.4.0-dont_use_kudzu_to_probe_nics.patch |
Patch0: e-smith-lib-2.4.0-dont_use_kudzu_to_probe_nics.patch |
14 |
Patch1: e-smith-lib-2.4.0-fix_bonding.patch |
Patch1: e-smith-lib-2.4.0-fix_bonding.patch |
15 |
Patch2: e-smith-lib-2.4.0-ipv4check.patch |
Patch2: e-smith-lib-2.4.0-ipv4check.patch |
16 |
|
Patch3: e-smith-lib-2.4.0-untaint_nic_names.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
31 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme |
35 |
|
- Fix pre script to make www and apache the same [SME: 7319] |
36 |
|
|
37 |
|
* Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme |
38 |
|
- Untaint variable in probeAdapters() [SME: 7416] |
39 |
|
|
40 |
* Thu Feb 28 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
* Thu Feb 28 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
41 |
- Improve error checking in isValidIP [SME: 7410] |
- Improve error checking in isValidIP [SME: 7410] |
42 |
|
|
765 |
%patch0 -p1 |
%patch0 -p1 |
766 |
%patch1 -p1 |
%patch1 -p1 |
767 |
%patch2 -p1 |
%patch2 -p1 |
768 |
|
%patch3 -p1 |
769 |
|
|
770 |
%pre |
%pre |
771 |
#-------------------------------------------------- |
#-------------------------------------------------- |
774 |
/usr/sbin/groupadd \ |
/usr/sbin/groupadd \ |
775 |
-g 500 shared 2>/dev/null || : |
-g 500 shared 2>/dev/null || : |
776 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
777 |
-u 102 -c 'e-smith web server' -d /home/e-smith \ |
-u 102 -g 102 -c 'e-smith web server' -d /home/e-smith \ |
778 |
-G shared -M -s /bin/false www 2>/dev/null || : |
-G shared -M -s /bin/false www 2>/dev/null || : |
779 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
780 |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |