1 |
# $Id: e-smith-base.spec,v 1.95 2010/06/11 13:21:14 filippocarletti Exp $ |
# $Id: e-smith-base.spec,v 1.99 2010/09/23 14:59:41 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.2.0 |
%define version 5.2.0 |
7 |
%define release 26 |
%define release 30 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
31 |
Patch19: e-smith-base-5.2.0-fix-local-nic-string-in-console.patch |
Patch19: e-smith-base-5.2.0-fix-local-nic-string-in-console.patch |
32 |
Patch20: e-smith-base-5.2.0-freebusy-user-modify-fix.patch |
Patch20: e-smith-base-5.2.0-freebusy-user-modify-fix.patch |
33 |
Patch21: e-smith-base-5.2.0-condrestart.patch |
Patch21: e-smith-base-5.2.0-condrestart.patch |
34 |
|
Patch22: e-smith-base-5.2.0-condrestart.patch2 |
35 |
|
Patch23: e-smith-base-5.2.0-cpuspeed.patch |
36 |
|
Patch24: e-smith-base-5.2.0-nss_ldap.patch |
37 |
|
Patch25: e-smith-base-5.2.0-ibay_groups.patch |
38 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
39 |
Requires: mod_auth_external |
Requires: mod_auth_external |
40 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
61 |
Requires: mdadm |
Requires: mdadm |
62 |
Requires: pv |
Requires: pv |
63 |
Requires: pam_abl |
Requires: pam_abl |
64 |
|
Requires: nss_ldap |
65 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
66 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
67 |
Obsoletes: sshell |
Obsoletes: sshell |
81 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Mon Sep 27 2010 Shad L. Lords <slords@mail.com> 5.2.0-30.sme |
85 |
|
- Add ibay groups to group membership [SME: 6247] |
86 |
|
|
87 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-29.sme |
88 |
|
- Prepare nss_ldap [SME: 6227] |
89 |
|
|
90 |
|
* Sun Aug 8 2010 Ian Wells <esmith@wellsi.com> 5.2.0-28.sme |
91 |
|
- Enable cpuspeed by default [SME: 6066] |
92 |
|
|
93 |
|
* Sun Jul 25 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-27.sme |
94 |
|
- Fix syntax error in last patch. [SME: 5830] |
95 |
|
|
96 |
* Mon Jul 19 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-26.sme |
* Mon Jul 19 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-26.sme |
97 |
- Don't exit 99 from e-smith-service script when called with 'condrestart' |
- Don't exit 99 from e-smith-service script when called with 'condrestart' |
98 |
and service is disabled. [SME: 5830] |
and service is disabled. [SME: 5830] |
1412 |
%patch19 -p1 |
%patch19 -p1 |
1413 |
%patch20 -p1 |
%patch20 -p1 |
1414 |
%patch21 -p1 |
%patch21 -p1 |
1415 |
|
%patch22 -p1 |
1416 |
|
%patch23 -p1 |
1417 |
|
%patch24 -p1 |
1418 |
|
%patch25 -p1 |
1419 |
|
|
1420 |
%pre |
%pre |
1421 |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
1495 |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
1496 |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
1497 |
|
|
1498 |
|
mkdir -p root/etc/e-smith/templates/etc/ldap.secret/ |
1499 |
|
touch root/etc/e-smith/templates/etc/ldap.secret/template-begin |
1500 |
|
|
1501 |
for file in imap login passwd pwauth system-auth |
for file in imap login passwd pwauth system-auth |
1502 |
do |
do |
1503 |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |