1 |
# $Id: e-smith-base.spec,v 1.10 2013/02/07 15:45:50 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.72 2014/05/11 18:29:08 stephdl 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.6.0 |
7 |
%define release 9 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-base-5.4.0-runlevel_4.patch |
Patch1: e-smith-base-5.6.0-console.patch |
14 |
Patch1: e-smith-base-5.4.0-local_event.patch |
Patch2: e-smith-base-5.6.0_added_verification_of_pptp_clients_against_dhcp.patch |
15 |
Patch2: e-smith-base-5.4.0-noapmd.patch |
Patch3: e-smith-base-5.6.0_console_verification_dhcp_vs_pptp.patch |
16 |
Patch3: e-smith-base-5.4.0-rsysloglink.patch |
Patch4: e-smith-base-5.6.0_remove_10runparts_for_anacron_compatibility.patch |
17 |
|
Patch5: e-smith-base-5.6.0-mdevent.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
Requires: mod_auth_external |
Requires: pwauth |
21 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
22 |
Requires: server-manager-images, server-manager |
Requires: server-manager-images, server-manager |
23 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
Requires: perl(Net::IPv4Addr) |
Requires: perl(Net::IPv4Addr) |
31 |
Requires: /usr/sbin/irqbalance |
Requires: /usr/sbin/irqbalance |
32 |
Requires: /usr/sbin/cpuspeed |
Requires: /usr/sbin/cpuspeed |
|
Requires: /sbin/microcode_ctl |
|
33 |
Requires: /usr/sbin/smartd |
Requires: /usr/sbin/smartd |
34 |
Requires: dbus |
Requires: dbus |
35 |
Requires: hal |
Requires: hal |
41 |
Requires: mdadm |
Requires: mdadm |
42 |
Requires: pv |
Requires: pv |
43 |
Requires: pam_abl |
Requires: pam_abl |
44 |
|
Requires: diald |
45 |
|
Requires: /usr/bin/passwd |
46 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
47 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
48 |
Requires: cpu >= 1.4.3 |
Requires: cpu >= 1.4.3 |
62 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
63 |
|
|
64 |
%changelog |
%changelog |
65 |
|
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 5.6.0-8.sme |
66 |
|
- Remove dependency on microcode_ctl [SME: 8468] |
67 |
|
|
68 |
|
* Sun May 11 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-7.sme |
69 |
|
- Prevent emailing about the normal, weekly, checks of RAID arrays, by Mark Casey |
70 |
|
- [SME: 7748] |
71 |
|
|
72 |
|
* Tue May 06 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-6.sme |
73 |
|
- remove /etc/e-smith/templates/etc/crontab/10runparts for anacron compatibility |
74 |
|
- [SME: 8364] |
75 |
|
|
76 |
|
* Wed Apr 23 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-5.sme |
77 |
|
- Add a verification in the console of number of pptp clients against ip allowed in dhcpd |
78 |
|
- [SME: 8312] |
79 |
|
|
80 |
|
* Sun Apr 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-4.sme |
81 |
|
- Add a verification in remoteaccess panel of number of pptp clients against ip allowed in dhcpd |
82 |
|
- [SME: 8312] |
83 |
|
|
84 |
|
* Sat Apr 5 2014 Ian Wells <esmith@wellsi.com> 5.6.0-3.sme |
85 |
|
- Ensure console is run with taint checking [SME: 8311] |
86 |
|
- Non-functional perl::Critic changes. |
87 |
|
|
88 |
|
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 5.6.0-2.sme |
89 |
|
- Roll new stream to really remove obsolete images [SME: 7962] |
90 |
|
|
91 |
|
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 5.6.0-1.sme |
92 |
|
- Roll new stream to remove obsolete images [SME: 7962] |
93 |
|
|
94 |
|
* Thu Mar 20 2014 Ian Wells <esmith@wellsi.com> 5.4.0-62.sme |
95 |
|
- Move console backup to e-smith-backup [SME: 3324] |
96 |
|
|
97 |
|
* Sun Mar 16 2014 Ian Wells <esmith@wellsi.com> 5.4.0-61.sme |
98 |
|
- Remove support.pl from e-smith-base and move to smeserver-support [SME: 8264] |
99 |
|
|
100 |
|
* Sat Mar 15 2014 Ian Wells <esmith@wellsi.com> 5.4.0-60.sme |
101 |
|
- Console restore should reboot [SME: 8259] |
102 |
|
|
103 |
|
* Sat Mar 8 2014 Ian Wells <esmith@wellsi.com> 5.4.0-59.sme |
104 |
|
- Boostrap console should only offer restore if no password set [SME: 8259] |
105 |
|
|
106 |
|
* Thu Mar 6 2014 Ian Wells <esmith@wellsi.com> 5.4.0-58.sme |
107 |
|
- Add restore backup as a console item for freshly installed servers [SME: 8259] |
108 |
|
- Non-code changes to perform_restore.pm |
109 |
|
|
110 |
|
* Sun Feb 16 2014 Ian Wells <esmith@wellsi.com> 5.4.0-57.sme |
111 |
|
- Refer to removable media not CDROM in console restore [SME: 8214] |
112 |
|
|
113 |
|
* Tue Jan 28 2014 Ian Wells <esmith@wellsi.com> 5.4.0-56.sme |
114 |
|
- Remove insecure SSL ciphers [SME: 8138] |
115 |
|
|
116 |
|
* Sun Dec 15 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-55.sme |
117 |
|
- Restart rsyslog in logrotate event [SME: 8065] |
118 |
|
|
119 |
|
* Sun Dec 15 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-54.sme |
120 |
|
- Set smb ServerName if unset (patch from Ian Wells) [SME: 8030] |
121 |
|
|
122 |
|
* Mon Dec 9 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-53.sme |
123 |
|
- Don't reload init in bootstrap-console-save and console-save [SME: 8050] |
124 |
|
|
125 |
|
* Mon Dec 9 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-52.sme |
126 |
|
- Re-add missing templates metadata for bond0 [SME: 7990] |
127 |
|
|
128 |
|
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-51.sme |
129 |
|
- Load the bonding module if NIC bonding is enabled [SME: 7996] |
130 |
|
|
131 |
|
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-50.sme |
132 |
|
- Define the udev-post service in the DB [SME: 7992] |
133 |
|
|
134 |
|
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-49.sme |
135 |
|
- Remove the "swap interface" feature [SME: 7993] |
136 |
|
|
137 |
|
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-48.sme |
138 |
|
- Do not hardcode NIC names to eth0 and eth1 [SME: 7990] |
139 |
|
- Remove obsolete VLAN code [SME: 7994] |
140 |
|
|
141 |
|
* Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-47.sme |
142 |
|
- Remove HWAddress prop from interfaces [SME: 7991] |
143 |
|
|
144 |
|
* Thu Nov 14 2013 Chris Burnat <devlist@burnat.com> 5.4.0-46.sme |
145 |
|
- Fix add_new_disk_to_raid1 (codes by Charlie Brady - patch by Terje Edseth) |
146 |
|
[SME: 7960] |
147 |
|
|
148 |
|
* Wed Oct 30 2013 Charlie Brady <charlie_brady@mitel.com> 5.4.0-45.sme |
149 |
|
- Fix parsing issues with "manage RAID" menu option in the console. |
150 |
|
[SME: 7953] |
151 |
|
|
152 |
|
* Mon Sep 30 2013 John H. Bennett III <bennettj@johnbennettservices.com> 5.4.0-44.sme |
153 |
|
- Patch to correct issue with not being able to access a password protected |
154 |
|
ibay [SME: 7794] |
155 |
|
|
156 |
|
* Sun Jul 7 2013 Ian Wells <esmith@wellsi.com> 5.4.0-43.sme |
157 |
|
- Improve text in console backup for success and failure [SME: 7770] |
158 |
|
|
159 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 5.4.0-42.sme |
160 |
|
- Console USB Backup, allow user setting of compression level [SME: 7745] |
161 |
|
Compression level of the console backup is now -6 by default |
162 |
|
|
163 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 5.4.0-41.sme |
164 |
|
- Update ServerName (Samba netbios name) when SystemName is updated [SME: 7746] |
165 |
|
|
166 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 5.4.0-40.sme |
167 |
|
- Remove old System Name from the Hosts DB, by Charlie Brady [SME: 7747] |
168 |
|
|
169 |
|
* Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-39.sme |
170 |
|
- Fix group creation when LDAP auth is enabled [SME: 7672] |
171 |
|
|
172 |
|
* Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-38.sme |
173 |
|
- Disable IPv6 on a default install (patch by Shad Lords) [SME: 7531] |
174 |
|
|
175 |
|
* Sat Jun 8 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-37.sme |
176 |
|
- Continue escaping control chars in rsyslog, just replace LF with space [SME: 7662] |
177 |
|
|
178 |
|
* Fri Jun 7 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-36.sme |
179 |
|
- Don't escape control characters in rsyslog [SME: 7662] |
180 |
|
|
181 |
|
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-35.sme |
182 |
|
- Use UTF-8 in the console [SME: 7591] |
183 |
|
|
184 |
|
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 5.4.0-34.sme |
185 |
|
- Remove redundant parts of init-accounts [SME: 3550] |
186 |
|
|
187 |
|
* Sat May 18 2013 chris burnat <devlist@burnat.com> 5.4.0-33.sme |
188 |
|
- Add_template_to_ssl.pem, codes by JP Pialasse [SME: 7601] |
189 |
|
|
190 |
|
* Tue May 07 2013 Ian Wells <esmith@wellsi.com> 5.4.0-32.sme |
191 |
|
- Require diald [SME: 7279] |
192 |
|
|
193 |
|
* Mon May 06 2013 Ian Wells <esmith@wellsi.com> 5.4.0-31.sme |
194 |
|
- Removal of rc.e-smith now functionality is in e-smith-service [SME: 7267] |
195 |
|
|
196 |
|
* Sun May 05 2013 Ian Wells <esmith@wellsi.com> 5.4.0-30.sme |
197 |
|
- Revert last change. [SME: 7227] |
198 |
|
|
199 |
|
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 5.4.0-29.sme |
200 |
|
- Suppress template text from /etc/inittab [SME: 7227] |
201 |
|
|
202 |
|
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
203 |
|
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
204 |
|
|
205 |
|
* Mon Apr 21 2013 chris burnat <devlist@burnat.com> 5.4.0-27.sme |
206 |
|
- Fix the way '.' works in bash [SME: 7532] |
207 |
|
|
208 |
|
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-26.sme |
209 |
|
- rename /etc/ldap.conf to /etc/pam_ldap.conf (and same for .secret) [SME: 7289] |
210 |
|
|
211 |
|
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.4.0-25.sme |
212 |
|
- Always define InternalInterface NICBonding [SME: 7498] |
213 |
|
|
214 |
|
* Sat Mar 16 2013 Terry Fage <trex1512@yahoo.com.au> 5.4.0-24.sme |
215 |
|
- In the console refer to removable media instead of USB disk [SME: 7414] |
216 |
|
|
217 |
|
* Sat Mar 16 2013 Shad L. Lords <slords@mail.com> 5.4.0-23.sme |
218 |
|
- Fix a few more syslog => rsyslog items [SME: 7221] |
219 |
|
|
220 |
|
* Sat Mar 16 2013 Shad L. Lords <slords@mail.com> 5.4.0-22.sme |
221 |
|
- Remove modprobe stuff [SME: 7261] |
222 |
|
|
223 |
|
* Sat Mar 16 2013 Shad L. Lords <slords@mail.com> 5.4.0-21.sme |
224 |
|
- Don't be as agressive on rate limiting [SME: 7470] |
225 |
|
|
226 |
|
* Sat Mar 16 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-20.sme |
227 |
|
- Change syslog templates to rsyslog [SME: 7221] |
228 |
|
|
229 |
|
* Fri Mar 15 2013 Ian Wells <esmith@wellsi.com> 5.4.0-19.sme |
230 |
|
- Ensure existing_hwaddr is always initialized [SME: 7471] |
231 |
|
|
232 |
|
* Thu Mar 14 2013 Ian Wells <esmith@wellsi.com> 5.4.0-18.sme |
233 |
|
- Change System Name from mitel-networks-server to sme-server [SME: 7485] |
234 |
|
|
235 |
|
* Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 5.4.0-17.sme |
236 |
|
- Fix user www creation in init-accounts [SME: 7319] |
237 |
|
|
238 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-16.sme |
239 |
|
- Update package and path for pwauth [SME: 7319] |
240 |
|
- Update init-accounts to set uid/gid correctly for pwauth |
241 |
|
|
242 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> 5.4.0-15.sme |
243 |
|
- Remove fragments in inittab that are no longer needed [SME: 7227] |
244 |
|
|
245 |
|
* Mon Feb 25 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-14.sme |
246 |
|
- Post-upgrades not fired after restore from console [SME: 7390] |
247 |
|
|
248 |
|
* Sat Feb 23 2013 Ian Wells <esmith@wellsi.com> 5.4.0-13.sme |
249 |
|
- Remove microcode_ctl service as now udev-driven [SME: 7397] |
250 |
|
|
251 |
|
* Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 5.4.0-12.sme |
252 |
|
- Increase memory limit for pppoe to 100Mb matching SME8 solution [SME: 7391] |
253 |
|
|
254 |
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme |
255 |
|
- Optimize user-modify-unix script and link it in bootstrap-ldap-save [SME: 7387] |
256 |
|
|
257 |
|
* Tue Feb 19 2013 Shad L. Lords <slords@mail.com> 5.4.0-10.sme |
258 |
|
- Add /usr/bin/passwd as a required package [SME: 7350] |
259 |
|
|
260 |
* Sat Feb 9 2013 Ian Wells <esmith@wellsi.com> 5.4.0-9.sme |
* Sat Feb 9 2013 Ian Wells <esmith@wellsi.com> 5.4.0-9.sme |
261 |
- Update symlink to not conflict with /etc/init.d [SME: 7322] |
- Update symlink to not conflict with /etc/init.d [SME: 7322] |
262 |
|
|
1711 |
|
|
1712 |
%prep |
%prep |
1713 |
%setup |
%setup |
|
%patch0 -p1 |
|
1714 |
%patch1 -p1 |
%patch1 -p1 |
1715 |
%patch2 -p1 |
%patch2 -p1 |
1716 |
%patch3 -p1 |
%patch3 -p1 |
1717 |
|
%patch4 -p1 |
1718 |
|
%patch5 -p1 |
1719 |
%pre |
%pre |
|
/sbin/e-smith/create-system-user smelog 1002 \ |
|
|
'smelog log user' /var/log/smelog /bin/false |
|
1720 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1721 |
'sme last system user marker' /tmp /bin/false |
'sme last system user marker' /tmp /bin/false |
1722 |
|
|