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