1 |
# $Id: e-smith-base.spec,v 1.29 2013/04/23 02:53:30 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.36 2013/05/20 15:06:51 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 35 |
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 |
|
Patch30: e-smith-base-5.4.0-do_not_remove_utf8.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildArch: noarch |
BuildArch: noarch |
46 |
Requires: pwauth |
Requires: pwauth |
68 |
Requires: mdadm |
Requires: mdadm |
69 |
Requires: pv |
Requires: pv |
70 |
Requires: pam_abl |
Requires: pam_abl |
71 |
|
Requires: diald |
72 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
73 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
74 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
89 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
90 |
|
|
91 |
%changelog |
%changelog |
92 |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-35.sme |
93 |
|
- Use UTF-8 in the console [SME: 7591] |
94 |
|
|
95 |
|
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 5.4.0-34.sme |
96 |
|
- Remove redundant parts of init-accounts [SME: 3550] |
97 |
|
|
98 |
|
* Sat May 18 2013 chris burnat <devlist@burnat.com> 5.4.0-33.sme |
99 |
|
- Add_template_to_ssl.pem, codes by JP Pialasse [SME: 7601] |
100 |
|
|
101 |
|
* Tue May 07 2013 Ian Wells <esmith@wellsi.com> 5.4.0-32.sme |
102 |
|
- Require diald [SME: 7279] |
103 |
|
|
104 |
|
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
105 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
106 |
|
|
107 |
|
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
108 |
|
- Revert last change. [SME: 7227] |
109 |
|
|
110 |
|
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
111 |
- Suppress template text from /etc/inittab [SME: 7227] |
- Suppress template text from /etc/inittab [SME: 7227] |
112 |
|
|
113 |
* 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 |
1649 |
%patch24 -p1 |
%patch24 -p1 |
1650 |
%patch25 -p1 |
%patch25 -p1 |
1651 |
%patch26 -p1 |
%patch26 -p1 |
1652 |
|
%patch27 -p1 |
1653 |
|
%patch28 -p1 |
1654 |
|
%patch29 -p1 |
1655 |
|
%patch30 -p1 |
1656 |
|
|
1657 |
# 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] |
1658 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1659 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1660 |
|
|
|
# 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 |
|
|
|
|
1661 |
%pre |
%pre |
|
/sbin/e-smith/create-system-user smelog 1002 \ |
|
|
'smelog log user' /var/log/smelog /bin/false |
|
1662 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1663 |
'sme last system user marker' /tmp /bin/false |
'sme last system user marker' /tmp /bin/false |
1664 |
|
|