1 |
# $Id: e-smith-base.spec,v 1.29 2013/04/23 02:53:30 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.31 2013/05/05 16:38:15 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.4.0 |
%define version 5.4.0 |
7 |
%define release 29 |
%define release 31 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
37 |
Patch24: e-smith-base-5.4.0-rename_pam_ldap_conf.patch |
Patch24: e-smith-base-5.4.0-rename_pam_ldap_conf.patch |
38 |
Patch25: e-smith-base-5.4.0-fix_bash-in_run_pppoe_conf.patch |
Patch25: e-smith-base-5.4.0-fix_bash-in_run_pppoe_conf.patch |
39 |
Patch26: e-smith-base-5.4.0-StartService.patch |
Patch26: e-smith-base-5.4.0-StartService.patch |
40 |
|
Patch27: e-smith-base-5.4.0-rcesmith-removal.patch |
41 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildArch: noarch |
BuildArch: noarch |
43 |
Requires: pwauth |
Requires: pwauth |
85 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
89 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
90 |
|
|
91 |
|
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
92 |
|
- Revert last change. [SME: 7227] |
93 |
|
|
94 |
|
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
95 |
- Suppress template text from /etc/inittab [SME: 7227] |
- Suppress template text from /etc/inittab [SME: 7227] |
96 |
|
|
97 |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
1633 |
%patch24 -p1 |
%patch24 -p1 |
1634 |
%patch25 -p1 |
%patch25 -p1 |
1635 |
%patch26 -p1 |
%patch26 -p1 |
1636 |
|
%patch27 -p1 |
1637 |
|
|
1638 |
# We cannot remove an empy files or folders with a patch, see [SME: 7289] |
# We cannot remove an empy files or folders with a patch, see [SME: 7289] |
1639 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1640 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1641 |
|
|
|
# We cannot add an empy file with a patch, and we want to add an empty template-begin file |
|
|
touch root/etc/e-smith/templates/etc/inittab/template-begin |
|
|
|
|
1642 |
%pre |
%pre |
1643 |
/sbin/e-smith/create-system-user smelog 1002 \ |
/sbin/e-smith/create-system-user smelog 1002 \ |
1644 |
'smelog log user' /var/log/smelog /bin/false |
'smelog log user' /var/log/smelog /bin/false |