1 |
# $Id: e-smith-base.spec,v 1.26 2013/03/17 05:15:13 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.29 2013/04/23 02:53:30 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 26 |
%define release 29 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
35 |
Patch22: e-smith-base-5.4.0-ConsoleBackupText.patch |
Patch22: e-smith-base-5.4.0-ConsoleBackupText.patch |
36 |
Patch23: e-smith-base-5.4.0-NICBonding.patch |
Patch23: e-smith-base-5.4.0-NICBonding.patch |
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 |
39 |
|
Patch26: e-smith-base-5.4.0-StartService.patch |
40 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
BuildArch: noarch |
BuildArch: noarch |
42 |
Requires: pwauth |
Requires: pwauth |
84 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
85 |
|
|
86 |
%changelog |
%changelog |
87 |
|
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
88 |
|
- Suppress template text from /etc/inittab [SME: 7227] |
89 |
|
|
90 |
|
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
91 |
|
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
92 |
|
|
93 |
|
* Mon Apr 21 2013 chris burnat <devlist@burnat.com> 5.4.0-27.sme |
94 |
|
- Fix the way '.' works in bash [SME: 7532] |
95 |
|
|
96 |
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-26.sme |
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-26.sme |
97 |
- rename /etc/ldap.conf to /etc/pam_ldap.conf (and same for .secret) [SME: 7289] |
- rename /etc/ldap.conf to /etc/pam_ldap.conf (and same for .secret) [SME: 7289] |
98 |
|
|
1624 |
%patch22 -p1 |
%patch22 -p1 |
1625 |
%patch23 -p1 |
%patch23 -p1 |
1626 |
%patch24 -p1 |
%patch24 -p1 |
1627 |
|
%patch25 -p1 |
1628 |
|
%patch26 -p1 |
1629 |
|
|
1630 |
# 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] |
1631 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1632 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1633 |
|
|
1634 |
|
# We cannot add an empy file with a patch, and we want to add an empty template-begin file |
1635 |
|
touch root/etc/e-smith/templates/etc/inittab/template-begin |
1636 |
|
|
1637 |
%pre |
%pre |
1638 |
/sbin/e-smith/create-system-user smelog 1002 \ |
/sbin/e-smith/create-system-user smelog 1002 \ |
1639 |
'smelog log user' /var/log/smelog /bin/false |
'smelog log user' /var/log/smelog /bin/false |