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