1 |
# $Id: e-smith-lib.spec,v 1.24 2010/10/11 22:27:51 slords Exp $ |
# $Id: e-smith-lib.spec,v 1.8 2013/03/09 22:31:57 slords 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 1 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
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 |
15 |
|
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 |
25 |
Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage) |
Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage) |
26 |
Requires: perl(I18N::LangTags) >= 0.27 |
Requires: perl(I18N::LangTags) >= 0.27 |
27 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
28 |
|
Requires: pciutils |
29 |
|
|
30 |
%description |
%description |
31 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 2.4.0-7.sme |
35 |
|
- Ensure group www exists before user [SME: 7319] |
36 |
|
|
37 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme |
38 |
|
- Fix pre script to make www and apache the same [SME: 7319] |
39 |
|
|
40 |
|
* Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme |
41 |
|
- Untaint variable in probeAdapters() [SME: 7416] |
42 |
|
|
43 |
|
* Thu Feb 28 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
44 |
|
- Improve error checking in isValidIP [SME: 7410] |
45 |
|
|
46 |
|
* Sun Feb 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
47 |
|
- Fix MAC detection for bond slaves [SME: 3596] |
48 |
|
|
49 |
|
* Thu Jan 31 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme |
50 |
|
- Stop using kudzu for NIC detection [SME: 3596] |
51 |
|
|
52 |
* Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
53 |
- Bump version in prep for SME9 |
- Bump version in prep for SME9 |
54 |
|
- Perl module rpms moved to /usr/share/perl5/vendor_perl [SME: 7223] |
55 |
|
|
56 |
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
57 |
- Serialize configure_peers to prevent errors [SME: 5831] |
- Serialize configure_peers to prevent errors [SME: 5831] |
766 |
|
|
767 |
%prep |
%prep |
768 |
%setup |
%setup |
769 |
|
%patch0 -p1 |
770 |
|
%patch1 -p1 |
771 |
|
%patch2 -p1 |
772 |
|
%patch3 -p1 |
773 |
|
|
774 |
%pre |
%pre |
775 |
#-------------------------------------------------- |
#-------------------------------------------------- |
777 |
#-------------------------------------------------- |
#-------------------------------------------------- |
778 |
/usr/sbin/groupadd \ |
/usr/sbin/groupadd \ |
779 |
-g 500 shared 2>/dev/null || : |
-g 500 shared 2>/dev/null || : |
780 |
|
/usr/sbin/groupadd \ |
781 |
|
-g 102 -o www 2>/dev/null || : |
782 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
783 |
-u 102 -c 'e-smith web server' -d /home/e-smith \ |
-u 102 -g 102 -o -c 'e-smith web server' -d /home/e-smith \ |
784 |
-G shared -M -s /bin/false www 2>/dev/null || : |
-G shared -M -s /bin/false www 2>/dev/null || : |
785 |
/usr/sbin/useradd \ |
/usr/sbin/useradd \ |
786 |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |
-u 101 -c 'e-smith administrator' -d /home/e-smith \ |