1 |
# $Id: e-smith-base.spec,v 1.94 2010/06/11 07:39:39 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.98 2010/08/08 08:08:32 wellsi 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 25 |
%define release 29 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
30 |
Patch18: e-smith-base-5.2.0-no-nic.patch |
Patch18: e-smith-base-5.2.0-no-nic.patch |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
38 |
Requires: mod_auth_external |
Requires: mod_auth_external |
39 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
60 |
Requires: mdadm |
Requires: mdadm |
61 |
Requires: pv |
Requires: pv |
62 |
Requires: pam_abl |
Requires: pam_abl |
63 |
|
Requires: nss_ldap |
64 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
65 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
66 |
Obsoletes: sshell |
Obsoletes: sshell |
80 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
81 |
|
|
82 |
%changelog |
%changelog |
83 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-29.sme |
84 |
|
- Prepare nss_ldap [SME: 6227] |
85 |
|
|
86 |
|
* Sun Aug 8 2010 Ian Wells <esmith@wellsi.com> 5.2.0-28.sme |
87 |
|
- Enable cpuspeed by default [SME: 6066] |
88 |
|
|
89 |
|
* Sun Jul 25 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-27.sme |
90 |
|
- Fix syntax error in last patch. [SME: 5830] |
91 |
|
|
92 |
|
* Mon Jul 19 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-26.sme |
93 |
|
- Don't exit 99 from e-smith-service script when called with 'condrestart' |
94 |
|
and service is disabled. [SME: 5830] |
95 |
|
|
96 |
* Fri Jun 11 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-25.sme |
* Fri Jun 11 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-25.sme |
97 |
- FreeBusy patch fix (save account changes) [SME: 5941] |
- FreeBusy patch fix (save account changes) [SME: 5941] |
98 |
|
|
1407 |
%patch18 -p1 |
%patch18 -p1 |
1408 |
%patch19 -p1 |
%patch19 -p1 |
1409 |
%patch20 -p1 |
%patch20 -p1 |
1410 |
|
%patch21 -p1 |
1411 |
|
%patch22 -p1 |
1412 |
|
%patch23 -p1 |
1413 |
|
%patch24 -p1 |
1414 |
|
|
1415 |
%pre |
%pre |
1416 |
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 ] |
1490 |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
1491 |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
1492 |
|
|
1493 |
|
mkdir -p root/etc/e-smith/templates/etc/ldap.secret/ |
1494 |
|
touch root/etc/e-smith/templates/etc/ldap.secret/template-begin |
1495 |
|
|
1496 |
for file in imap login passwd pwauth system-auth |
for file in imap login passwd pwauth system-auth |
1497 |
do |
do |
1498 |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |