1 |
# $Id: e-smith-base.spec,v 1.83 2010/01/31 05:14:04 dungog Exp $ |
# $Id: e-smith-base.spec,v 1.164 2014/03/10 13:25:54 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.2.0 |
%define version 5.2.0 |
7 |
%define release 14 |
%define release 91 |
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.gz |
Source: e-smith-base-5.2.0.90.tar.gz |
13 |
Patch1: e-smith-base-5.2.0-sambaRole.patch |
Patch1: e-smith-base-5.2.0-reset_ibay_default_type.patch |
|
Patch2: e-smith-base-5.2.0-smartd40.patch |
|
|
Patch3: e-smith-base-5.2.0-usbRev70drive.patch |
|
|
Patch4: e-smith-base-5.2.0-FixLabelArray.patch |
|
|
Patch5: e-smith-base-5.2.0-straysymlink.patch |
|
|
Patch6: e-smith-base-5.2.0-nonetworkdrivers.patch |
|
|
Patch7: e-smith-base-5.2.0-checkIPOverlap.patch |
|
|
Patch8: e-smith-base-5.2.0-adapter-translation-fixes.patch |
|
|
Patch9: e-smith-base-5.2.0-FixLocale_External.patch |
|
|
Patch10: e-smith-base-5.2.0-perform_restore-hal.patch |
|
|
Patch11: e-smith-base-5.2.0-generate-2048-bits-keys.patch |
|
|
Patch12: e-smith-base-5.2.0-perform_backup-hal.patch |
|
|
Patch13: e-smith-base-5.2.0-hwaddress.patch |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: mod_auth_external |
Requires: mod_auth_external |
16 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
26 |
Requires: /usr/sbin/irqbalance |
Requires: /usr/sbin/irqbalance |
27 |
Requires: /usr/sbin/cpuspeed |
Requires: /usr/sbin/cpuspeed |
28 |
Requires: /sbin/microcode_ctl |
Requires: /sbin/microcode_ctl |
29 |
|
Requires: /usr/sbin/smartd |
30 |
Requires: dbus |
Requires: dbus |
31 |
Requires: hal |
Requires: hal |
32 |
Requires: acpid |
Requires: acpid |
37 |
Requires: mdadm |
Requires: mdadm |
38 |
Requires: pv |
Requires: pv |
39 |
Requires: pam_abl |
Requires: pam_abl |
40 |
|
Requires: nss_ldap |
41 |
|
Requires: cpu >= 1.4.3 |
42 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
43 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
44 |
Obsoletes: sshell |
Obsoletes: sshell |
58 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Mon Mar 10 2014 Chris Burnat <devlist@burnat.com> 5.2.0-91.sme |
62 |
|
- Reset primary ibay default type [SME: 8267] |
63 |
|
|
64 |
|
* Mon Feb 17 2014 Ian Wells <esmith@wellsi.com> 5.2.0-90.sme |
65 |
|
- Remove old images and roll new tarball [SME: 8213] |
66 |
|
|
67 |
|
* Sun Feb 16 2014 Ian Wells <esmith@wellsi.com> 5.2.0-89.sme |
68 |
|
- Refer to removable media not CDROM in console restore [SME: 8212] |
69 |
|
|
70 |
|
* Fri Feb 7 2014 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-88.sme |
71 |
|
- Add the apache group if it's missing [SME: 7932] |
72 |
|
|
73 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 5.2.0-87.sme |
74 |
|
- Remove insecure SSL ciphers [SME: 7916] |
75 |
|
|
76 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 5.2.0-86.sme |
77 |
|
- Change System Name from mitel-networks-server to sme-server [SME: 8131] |
78 |
|
|
79 |
|
* Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 5.2.0-85.sme |
80 |
|
- Reverse change: Use UTF-8 in the console [SME: 7699] |
81 |
|
|
82 |
|
* Sun Jul 7 2013 Ian Wells <esmith@wellsi.com> 5.2.0-84.sme |
83 |
|
- Improve text in console backup for success and failure [SME: 3121] |
84 |
|
|
85 |
|
* Mon Jul 01 2013 Ian Wells <esmith@wellsi.com> 5.2.0-83.sme |
86 |
|
- Compression level of the console backup is now -6 by default [SME: 6304] |
87 |
|
|
88 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-82.sme |
89 |
|
- Console USB Backup, allow user setting of compression level [SME: 6304] |
90 |
|
|
91 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-81.sme |
92 |
|
- Use UTF-8 in the console, by Daniel Berteaud [SME: 7699] |
93 |
|
|
94 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-80.sme |
95 |
|
- Update ServerName (Samba netbios name) when SystemName is updated [SME: 7703] |
96 |
|
|
97 |
|
* Mon Jun 24 2013 Ian Wells <esmith@wellsi.com> 5.2.0-79.sme |
98 |
|
- Remove old System Name from the Hosts DB, by Charlie Brady [SME: 5010] |
99 |
|
|
100 |
|
* Mon Jun 24 2013 Ian Wells <esmith@wellsi.com> 5.2.0-78.sme |
101 |
|
- Prevent emailing about the normal, weekly, checks of RAID arrays, |
102 |
|
by Mark Casey [SME: 6160] |
103 |
|
|
104 |
|
* Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-77.sme |
105 |
|
- Fix init-account script when LDAP auth is enabled [SME: 7670] |
106 |
|
|
107 |
|
* Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-76.sme |
108 |
|
- Fix group creation/modification when LDAP auth is enabled [SME: 7049] |
109 |
|
|
110 |
|
* Fri May 17 2013 chris burnat <devlist@burnat.com> 5.2.0-75.sme |
111 |
|
- Add_template_to_ssl.pem [SME: 4450] |
112 |
|
|
113 |
|
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.2.0-74.sme |
114 |
|
- Ensure existing_hwaddr is always initialized [SME: 6087] |
115 |
|
|
116 |
|
* Thu Feb 28 2013 Terry Fage <trex1512@yahoo.com.au> 5.2.0-73.sme |
117 |
|
- In the console refer to removable media instead of USB disk [SME: 6835] |
118 |
|
|
119 |
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-72.sme |
120 |
|
- Optimize user-modify-unix script and link it in bootstrap-ldap-save [SME: 7167] |
121 |
|
|
122 |
|
* Tue Feb 5 2013 John Crisp <jcrisp@safeandsoundit.co.uk> 5.2.0-71.sme |
123 |
|
- Post-upgrades not fired after restore from console [SME: 7060] |
124 |
|
|
125 |
|
* Mon Feb 4 2013 Ian Wells <esmith@wellsi.com> 5.2.0-70.sme |
126 |
|
- Correction for when DB value is lower than MIN_MEMORY_LIMIT [SME: 7000] |
127 |
|
|
128 |
|
* Sat Feb 2 2013 Ian Wells <esmith@wellsi.com> 5.2.0-69.sme |
129 |
|
- Simplified patch after review comments [SME: 7000] |
130 |
|
|
131 |
|
* Tue Jan 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-68.sme |
132 |
|
- Updated previous patch to avoid migrate fragment [SME: 7000] |
133 |
|
|
134 |
|
* Tue Jan 22 2013 Ian Wells <esmith@wellsi.com> 5.2.0-67.sme |
135 |
|
- Increase memory limit for pppoe to 100Mb [SME: 7000] |
136 |
|
|
137 |
|
* Sun Dec 30 2012 Ian Wells <esmith@wellsi.com> 5.2.0-66.sme |
138 |
|
- Template /etc/updatedb.conf [SME: 7090] |
139 |
|
|
140 |
|
* Wed Jul 18 2012 Ian Wells <esmith@wellsi.com> 5.2.0-65.sme |
141 |
|
- Make CipherSuite secure by default [SME: 7026] |
142 |
|
|
143 |
|
* Fri Mar 16 2012 Ian Wells <esmith@wellsi.com> 5.2.0-64.sme |
144 |
|
- Add MAC address into console network selection [SME: 6844] |
145 |
|
|
146 |
|
* Sun Nov 6 2011 Shad L. Lords <slords@mail.com> 5.2.0-63.sme |
147 |
|
- Initialize ExternalInterface db structure so hwaddr in console works |
148 |
|
[SME: 6775] |
149 |
|
|
150 |
|
* Mon Mar 14 2011 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-62.sme |
151 |
|
- Stop using gecos attribute in LDAP [SME: 6539] |
152 |
|
|
153 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-61.sme |
154 |
|
- Fix a typo in strings [SME: 5932] |
155 |
|
|
156 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-60.sme |
157 |
|
- Rework text changes in console screen in previous revision [SME: 5932] |
158 |
|
|
159 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-59.sme |
160 |
|
- Only list backup targets that are writeable [SME: 5932] |
161 |
|
|
162 |
|
* Sun Mar 13 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-58.sme |
163 |
|
- Revert admin password change through user-manager [SME: 3759] |
164 |
|
|
165 |
|
* Sun Mar 13 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-57.sme |
166 |
|
- Allow admin password change through user-manager [SME: 3759] |
167 |
|
|
168 |
|
* Wed Mar 2 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-57.sme |
169 |
|
- Handle no network interface scenario in console and bootstrap-console [SME: 6023] |
170 |
|
|
171 |
|
* Mon Dec 6 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-56.sme |
172 |
|
- change apache uid and gid so they become aliases for www [SME: 6425] |
173 |
|
|
174 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-55.sme |
175 |
|
- Only remove dangling symlinks in weak-updates directories [SME: 6376] |
176 |
|
|
177 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-54.sme |
178 |
|
- Fix create user gid parameter [SME: 6416] |
179 |
|
|
180 |
|
* Mon Nov 29 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-53.sme |
181 |
|
- Fix gpasswd path [SME: 6412] |
182 |
|
|
183 |
|
* Mon Nov 22 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-52.sme |
184 |
|
- Fix relocation of dhclient conf file [SME: 6385] |
185 |
|
|
186 |
|
* Sun Nov 7 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-51.sme |
187 |
|
- No longer need to pass supplemental groups to cpu [SME: 6349] |
188 |
|
|
189 |
|
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-50.sme |
190 |
|
- Allow cpu to remove empty attributes [SME: 6343] |
191 |
|
|
192 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-49.sme |
193 |
|
- Fix maxUsers patch (again) to not break setting passwords [SME: 5537] |
194 |
|
|
195 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-48.sme |
196 |
|
- Fix maxUsers patch to not break setting passwords [SME: 5537] |
197 |
|
|
198 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-47.sme |
199 |
|
- Don't put empty attributes in file for cpu [SME: 6334] |
200 |
|
|
201 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-46.sme |
202 |
|
- Add flush to tmpfile so that data is available to cpu [SME: 6334] |
203 |
|
|
204 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-45.sme |
205 |
|
- Add extra attributes to ldap objects with cpu call [SME: 6334] |
206 |
|
|
207 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-44.sme |
208 |
|
- Fix cpu critical patch missing ' [SME: 6330] |
209 |
|
|
210 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-43.sme |
211 |
|
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
212 |
|
- Add cpu.conf and cpu-system.conf to post-upgrade event [SME: 6327] |
213 |
|
|
214 |
|
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-42.sme |
215 |
|
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6328] |
216 |
|
|
217 |
|
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-41.sme |
218 |
|
- Switch to cpu commands if ldap is master [SME: 6328] |
219 |
|
|
220 |
|
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-40.sme |
221 |
|
- Add templates for ldap authentication if enabled [SME: 6329] |
222 |
|
|
223 |
|
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-39.sme |
224 |
|
- Add cpu.conf and cpu-system.conf template/program to SME [SME: 6327] |
225 |
|
|
226 |
|
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-38.sme |
227 |
|
- Fix empty leases file test [SME: 6274] |
228 |
|
|
229 |
|
* Tue Oct 12 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-37.sme |
230 |
|
- Relocate dhcpd leases file [SME: 6274] |
231 |
|
|
232 |
|
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 5.2.0-36.sme |
233 |
|
- Add migrate script to add missing HWaddr to interface records [SME: 6267] |
234 |
|
|
235 |
|
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 5.2.0-35.sme |
236 |
|
- Make lcp options configurable [SME: 6277] |
237 |
|
|
238 |
|
* Mon Oct 11 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-34.sme |
239 |
|
- Relocate dhclient conf file [SME: 5833] |
240 |
|
|
241 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 5.2.0-33.sme |
242 |
|
- Disable apmd on 64-bit arch [SME: 6170] |
243 |
|
|
244 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 5.2.0-32.sme |
245 |
|
- Remove check for maxUsers [SME: 5537] |
246 |
|
|
247 |
|
* Wed Oct 6 2010 Shad L. Lords <slords@mail.com> 5.2.0-31.sme |
248 |
|
- Try and keep same external address for pppoe connections [SME: 6263] |
249 |
|
|
250 |
|
* Mon Sep 27 2010 Shad L. Lords <slords@mail.com> 5.2.0-30.sme |
251 |
|
- Add ibay groups to group membership [SME: 6247] |
252 |
|
|
253 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-29.sme |
254 |
|
- Prepare nss_ldap [SME: 6227] |
255 |
|
|
256 |
|
* Sun Aug 8 2010 Ian Wells <esmith@wellsi.com> 5.2.0-28.sme |
257 |
|
- Enable cpuspeed by default [SME: 6066] |
258 |
|
|
259 |
|
* Sun Jul 25 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-27.sme |
260 |
|
- Fix syntax error in last patch. [SME: 5830] |
261 |
|
|
262 |
|
* Mon Jul 19 2010 Charlie Brady <charlie_brady@mitel.com> 5.2.0-26.sme |
263 |
|
- Don't exit 99 from e-smith-service script when called with 'condrestart' |
264 |
|
and service is disabled. [SME: 5830] |
265 |
|
|
266 |
|
* Fri Jun 11 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-25.sme |
267 |
|
- FreeBusy patch fix (save account changes) [SME: 5941] |
268 |
|
|
269 |
|
* Fri Jun 11 2010 Ian Wells <esmith@wellsi.com> 5.2.0-24.sme |
270 |
|
- Remove checkMaxUsers patch due to regression. [SME: 5537] |
271 |
|
|
272 |
|
* Tue Jun 8 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-23.sme |
273 |
|
- Fix translation of local nic string in console [SME: 5571] |
274 |
|
|
275 |
|
* Sun Jun 6 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-22.sme |
276 |
|
- Handle no network interface scenario in console [SME: 6023] |
277 |
|
|
278 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 5.2.0-21.sme |
279 |
|
- Remove checkMaxUsers(). [SME: 5537] |
280 |
|
|
281 |
|
* Mon May 10 2010 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-20.sme |
282 |
|
- Patch that will remove all FreeBusy references from e-smith-base. [SME: 5941] |
283 |
|
|
284 |
|
* Wed Mar 3 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-19.sme |
285 |
|
- Restate smartd dependency. [SME: 5814] |
286 |
|
|
287 |
|
* Mon Mar 1 2010 Shad L. Lords <slords@mail.com> 5.2.0-18.sme |
288 |
|
- Fix gettext errors in WAN/LAN subnet error message [SME: 5501] |
289 |
|
|
290 |
|
* Sun Feb 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-17.sme |
291 |
|
- Really fix template expansion error [SME: 4528] |
292 |
|
|
293 |
|
* Sun Feb 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-16.sme |
294 |
|
- Fix template expansion error [SME: 4528] |
295 |
|
|
296 |
|
* Mon Feb 8 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-15.sme |
297 |
|
- Improve security by using SHA1 algorithm for certificate signing [SME: 5737] |
298 |
|
|
299 |
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-14.sme |
* Fri Feb 5 2010 Stephen Noble <support@dungog.net> 5.2.0-14.sme |
300 |
- Fix eth? swapping [SME: 4528] |
- Fix eth? swapping [SME: 4528] |
301 |
|
|
1558 |
%prep |
%prep |
1559 |
%setup |
%setup |
1560 |
%patch1 -p1 |
%patch1 -p1 |
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
1561 |
|
|
1562 |
%pre |
%pre |
1563 |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
1637 |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
1638 |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
1639 |
|
|
1640 |
|
mkdir -p root/etc/e-smith/templates/etc/ldap.secret/ |
1641 |
|
touch root/etc/e-smith/templates/etc/ldap.secret/template-begin |
1642 |
|
|
1643 |
for file in imap login passwd pwauth system-auth |
for file in imap login passwd pwauth system-auth |
1644 |
do |
do |
1645 |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |