1 |
# $Id: e-smith-base.spec,v 1.29 2013/04/23 02:53:30 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.32 2013/05/07 06:22: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.4.0 |
%define version 5.4.0 |
7 |
%define release 29 |
%define release 32 |
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 |
65 |
Requires: mdadm |
Requires: mdadm |
66 |
Requires: pv |
Requires: pv |
67 |
Requires: pam_abl |
Requires: pam_abl |
68 |
|
Requires: diald |
69 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
70 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
71 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
86 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
87 |
|
|
88 |
%changelog |
%changelog |
89 |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
* Tue May 07 2013 Ian Wells <esmith@wellsi.com> 5.4.0-32.sme |
90 |
|
- Require diald [SME: 7279] |
91 |
|
|
92 |
|
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
93 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
94 |
|
|
95 |
|
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
96 |
|
- Revert last change. [SME: 7227] |
97 |
|
|
98 |
|
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
99 |
- Suppress template text from /etc/inittab [SME: 7227] |
- Suppress template text from /etc/inittab [SME: 7227] |
100 |
|
|
101 |
* 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 |
1637 |
%patch24 -p1 |
%patch24 -p1 |
1638 |
%patch25 -p1 |
%patch25 -p1 |
1639 |
%patch26 -p1 |
%patch26 -p1 |
1640 |
|
%patch27 -p1 |
1641 |
|
|
1642 |
# 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] |
1643 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1644 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1645 |
|
|
|
# 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 |
|
|
|
|
1646 |
%pre |
%pre |
1647 |
/sbin/e-smith/create-system-user smelog 1002 \ |
/sbin/e-smith/create-system-user smelog 1002 \ |
1648 |
'smelog log user' /var/log/smelog /bin/false |
'smelog log user' /var/log/smelog /bin/false |