1 |
# $Id: e-smith-base.spec,v 1.30 2013/05/05 05:00:45 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.40 2013/06/08 09:58:58 vip-ire 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 30 |
%define release 39 |
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 |
|
Patch31: e-smith-base-5.4.0-space_lf_on_receive.patch |
45 |
|
Patch32: e-smith-base-5.4.0-disable_ipv6.patch |
46 |
|
Patch33: e-smith-base-5.4.0-fix_group_create_with_ldap_auth.patch |
47 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
48 |
BuildArch: noarch |
BuildArch: noarch |
49 |
Requires: pwauth |
Requires: pwauth |
71 |
Requires: mdadm |
Requires: mdadm |
72 |
Requires: pv |
Requires: pv |
73 |
Requires: pam_abl |
Requires: pam_abl |
74 |
|
Requires: diald |
75 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
76 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
77 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
92 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
93 |
|
|
94 |
%changelog |
%changelog |
95 |
|
* Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-39.sme |
96 |
|
- Fix group creation when LDAP auth is enabled [SME: 7672] |
97 |
|
|
98 |
|
* Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-38.sme |
99 |
|
- Disable IPv6 on a default install (patch by Shad Lords) [SME: 7531] |
100 |
|
|
101 |
|
* Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-37.sme |
102 |
|
- Continue escaping control chars in rsyslog, just replace LF with space [SME: 7662] |
103 |
|
|
104 |
|
* Fri Jun 7 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-36.sme |
105 |
|
- Don't escape control characters in rsyslog [SME: 7662] |
106 |
|
|
107 |
|
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-35.sme |
108 |
|
- Use UTF-8 in the console [SME: 7591] |
109 |
|
|
110 |
|
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 5.4.0-34.sme |
111 |
|
- Remove redundant parts of init-accounts [SME: 3550] |
112 |
|
|
113 |
|
* Sat May 18 2013 chris burnat <devlist@burnat.com> 5.4.0-33.sme |
114 |
|
- Add_template_to_ssl.pem, codes by JP Pialasse [SME: 7601] |
115 |
|
|
116 |
|
* Tue May 07 2013 Ian Wells <esmith@wellsi.com> 5.4.0-32.sme |
117 |
|
- Require diald [SME: 7279] |
118 |
|
|
119 |
|
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
120 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
121 |
|
|
122 |
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
123 |
- Revert last change. [SME: 7227] |
- Revert last change. [SME: 7227] |
124 |
|
|
1664 |
%patch24 -p1 |
%patch24 -p1 |
1665 |
%patch25 -p1 |
%patch25 -p1 |
1666 |
%patch26 -p1 |
%patch26 -p1 |
1667 |
|
%patch27 -p1 |
1668 |
|
%patch28 -p1 |
1669 |
|
%patch29 -p1 |
1670 |
|
%patch30 -p1 |
1671 |
|
%patch31 -p1 |
1672 |
|
%patch32 -p1 |
1673 |
|
%patch33 -p1 |
1674 |
|
|
1675 |
# 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] |
1676 |
# We remove this because it contains an empty template-begin file |
# We remove this because it contains an empty template-begin file |
1677 |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
rm -rf root/etc/e-smith/templates/etc/ldap.secret/ |
1678 |
|
|
1679 |
%pre |
%pre |
|
/sbin/e-smith/create-system-user smelog 1002 \ |
|
|
'smelog log user' /var/log/smelog /bin/false |
|
1680 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1681 |
'sme last system user marker' /tmp /bin/false |
'sme last system user marker' /tmp /bin/false |
1682 |
|
|