1 |
# $Id: e-smith-base.spec,v 1.28 2013/04/21 08:46:52 burnat Exp $ |
# $Id: e-smith-base.spec,v 1.34 2013/05/18 03:46:13 burnat 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 28 |
%define release 34 |
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 |
|
Patch28: e-smith-base-5.4.0-add_template_to_ssl.pem.patch |
42 |
|
Patch29: e-smith-base-5.4.0-init-accounts.patch |
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildArch: noarch |
BuildArch: noarch |
45 |
Requires: pwauth |
Requires: pwauth |
67 |
Requires: mdadm |
Requires: mdadm |
68 |
Requires: pv |
Requires: pv |
69 |
Requires: pam_abl |
Requires: pam_abl |
70 |
|
Requires: diald |
71 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
72 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
73 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
88 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
89 |
|
|
90 |
%changelog |
%changelog |
91 |
|
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 5.4.0-34.sme |
92 |
|
- Remove redundant parts of init-accounts [SME: 3350] |
93 |
|
|
94 |
|
* Sat May 18 2013 chris burnat <devlist@burnat.com> 5.4.0-33.sme |
95 |
|
- Add_template_to_ssl.pem, codes by JP Pialasse [SME: 7601] |
96 |
|
|
97 |
|
* Tue May 07 2013 Ian Wells <esmith@wellsi.com> 5.4.0-32.sme |
98 |
|
- Require diald [SME: 7279] |
99 |
|
|
100 |
|
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
101 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
102 |
|
|
103 |
|
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
104 |
|
- Revert last change. [SME: 7227] |
105 |
|
|
106 |
|
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
107 |
|
- Suppress template text from /etc/inittab [SME: 7227] |
108 |
|
|
109 |
* 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 |
110 |
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
111 |
|
|
1645 |
%patch24 -p1 |
%patch24 -p1 |
1646 |
%patch25 -p1 |
%patch25 -p1 |
1647 |
%patch26 -p1 |
%patch26 -p1 |
1648 |
|
%patch27 -p1 |
1649 |
|
%patch28 -p1 |
1650 |
|
%patch29 -p1 |
1651 |
|
|
1652 |
# 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] |
1653 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1654 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1655 |
|
|
1656 |
%pre |
%pre |
|
/sbin/e-smith/create-system-user smelog 1002 \ |
|
|
'smelog log user' /var/log/smelog /bin/false |
|
1657 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1658 |
'sme last system user marker' /tmp /bin/false |
'sme last system user marker' /tmp /bin/false |
1659 |
|
|