1 |
# $Id: e-smith-base.spec,v 1.97 2010/07/25 13:42:18 charliebrady 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 28 |
%define release 29 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch22: e-smith-base-5.2.0-condrestart.patch2 |
35 |
Patch23: e-smith-base-5.2.0-cpuspeed.patch |
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 |
* Sun Aug 8 2010 Ian Wells <esmith@wellsi.com> 5.2.0-28.sme |
87 |
- Enable cpuspeed by default [SME: 6066] |
- Enable cpuspeed by default [SME: 6066] |
88 |
|
|
1410 |
%patch21 -p1 |
%patch21 -p1 |
1411 |
%patch22 -p1 |
%patch22 -p1 |
1412 |
%patch23 -p1 |
%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 |