1 |
# $Id: e-smith-base.spec,v 1.139 2013/01/23 03:47:15 wellsi Exp $ |
# $Id: e-smith-base.spec,v 1.168 2015/01/11 21:46:53 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.2.0 |
%define version 5.2.0 |
7 |
%define release 68 |
%define release 94 |
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 |
15 |
Patch3: e-smith-base-5.2.0-usbRev70drive.patch |
Patch3: e-smith-base-5.2.0_console_verification_dhcp_vs_pptp.patch |
16 |
Patch4: e-smith-base-5.2.0-FixLabelArray.patch |
Patch4: e-smith-base-5.2.0-default_to_no_on_quit_console_app.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 |
|
|
Patch24: e-smith-base-5.2.0-nss_ldap.patch |
|
|
Patch25: e-smith-base-5.2.0-ibay_groups.patch |
|
|
Patch26: e-smith-base-5.2.0-keep_external.patch |
|
|
Patch27: e-smith-base-5.2.0-checkMaxUsers.patch |
|
|
Patch28: e-smith-base-5.2.0-apmd64bit.patch |
|
|
Patch29: e-smith-base-5.2.0-relocate_dhclient_conf.patch |
|
|
Patch30: e-smith-base-5.2.0-echo-options.patch |
|
|
Patch31: e-smith-base-5.2.0-migrateHWaddr.patch |
|
|
Patch32: e-smith-base-5.2.0-relocate_dhcpd_leases_file.patch |
|
|
Patch33: e-smith-base-5.2.0-fix_empty_file_test.patch |
|
|
Patch34: e-smith-base-5.2.0-cpu-conf.patch |
|
|
Patch35: e-smith-base-5.2.0-ldap-auth.patch |
|
|
Patch36: e-smith-base-5.2.0-enable-cpu.patch |
|
|
Patch37: e-smith-base-5.2.0-better-ldap.patch |
|
|
Patch38: e-smith-base-5.2.0-add-extra-ldap.patch |
|
|
Patch39: e-smith-base-5.2.0-cpu-can-delete.patch |
|
|
Patch40: e-smith-base-5.2.0-supp-groups.patch |
|
|
Patch41: e-smith-base-5.2.0-fix_gpasswd_path.patch |
|
|
Patch42: e-smith-base-5.2.0-fix-gid.patch |
|
|
Patch43: e-smith-base-5.2.0-weak-updates.patch |
|
|
Patch44: e-smith-base-5.2.0-apache_alias_for_www.patch |
|
|
Patch45: e-smith-base-5.2.0-no-nic2.patch |
|
|
Patch46: e-smith-base-5.2.0-list-only-write-enabled-backup-targets.patch |
|
|
Patch47: e-smith-base-5.2.0-string-fix.patch |
|
|
Patch48: e-smith-base-5.2.0-dont_set_gecos_in_ldap.patch |
|
|
Patch49: e-smith-base-5.2.0-initExternal.patch |
|
|
Patch50: e-smith-base-5.2.0-ConsoleNetwork.patch |
|
|
Patch51: e-smith-base-5.2.0-ConsoleNetworkText.patch |
|
|
Patch52: e-smith-base-5.2.0-CipherSuite.patch |
|
|
Patch53: e-smith-base-5.2.0-updatedb.patch |
|
|
Patch54: e-smith-base-5.2.0-pppoeMlimit.patch |
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
Requires: mod_auth_external |
Requires: mod_auth_external |
19 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
61 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
62 |
|
|
63 |
%changelog |
%changelog |
64 |
|
* Sun Jan 11 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 5.2.0-94.sme |
65 |
|
- When quiting the console app with unsaved changes set the default selected |
66 |
|
- answer to NO, Hsing-Foo Wang <hsingfoo@gmail.com> [SME: 8794] |
67 |
|
|
68 |
|
* Wed Apr 23 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.2.0-93.sme |
69 |
|
- Add a verification in the console of number of pptp clients against ip allowed in dhcpd |
70 |
|
- [SME: 8298] |
71 |
|
|
72 |
|
* Sun Apr 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.2.0-92.sme |
73 |
|
- Add a verification in remoteaccess panel of number of pptp clients against ip allowed in dhcpd |
74 |
|
- [SME: 8298] |
75 |
|
|
76 |
|
* Mon Mar 10 2014 Chris Burnat <devlist@burnat.com> 5.2.0-91.sme |
77 |
|
- Reset primary ibay default type [SME: 8267] |
78 |
|
|
79 |
|
* Mon Feb 17 2014 Ian Wells <esmith@wellsi.com> 5.2.0-90.sme |
80 |
|
- Remove old images and roll new tarball [SME: 8213] |
81 |
|
|
82 |
|
* Sun Feb 16 2014 Ian Wells <esmith@wellsi.com> 5.2.0-89.sme |
83 |
|
- Refer to removable media not CDROM in console restore [SME: 8212] |
84 |
|
|
85 |
|
* Fri Feb 7 2014 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-88.sme |
86 |
|
- Add the apache group if it's missing [SME: 7932] |
87 |
|
|
88 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 5.2.0-87.sme |
89 |
|
- Remove insecure SSL ciphers [SME: 7916] |
90 |
|
|
91 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 5.2.0-86.sme |
92 |
|
- Change System Name from mitel-networks-server to sme-server [SME: 8131] |
93 |
|
|
94 |
|
* Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 5.2.0-85.sme |
95 |
|
- Reverse change: Use UTF-8 in the console [SME: 7699] |
96 |
|
|
97 |
|
* Sun Jul 7 2013 Ian Wells <esmith@wellsi.com> 5.2.0-84.sme |
98 |
|
- Improve text in console backup for success and failure [SME: 3121] |
99 |
|
|
100 |
|
* Mon Jul 01 2013 Ian Wells <esmith@wellsi.com> 5.2.0-83.sme |
101 |
|
- Compression level of the console backup is now -6 by default [SME: 6304] |
102 |
|
|
103 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-82.sme |
104 |
|
- Console USB Backup, allow user setting of compression level [SME: 6304] |
105 |
|
|
106 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-81.sme |
107 |
|
- Use UTF-8 in the console, by Daniel Berteaud [SME: 7699] |
108 |
|
|
109 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-80.sme |
110 |
|
- Update ServerName (Samba netbios name) when SystemName is updated [SME: 7703] |
111 |
|
|
112 |
|
* Mon Jun 24 2013 Ian Wells <esmith@wellsi.com> 5.2.0-79.sme |
113 |
|
- Remove old System Name from the Hosts DB, by Charlie Brady [SME: 5010] |
114 |
|
|
115 |
|
* Mon Jun 24 2013 Ian Wells <esmith@wellsi.com> 5.2.0-78.sme |
116 |
|
- Prevent emailing about the normal, weekly, checks of RAID arrays, |
117 |
|
by Mark Casey [SME: 6160] |
118 |
|
|
119 |
|
* Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-77.sme |
120 |
|
- Fix init-account script when LDAP auth is enabled [SME: 7670] |
121 |
|
|
122 |
|
* Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-76.sme |
123 |
|
- Fix group creation/modification when LDAP auth is enabled [SME: 7049] |
124 |
|
|
125 |
|
* Fri May 17 2013 chris burnat <devlist@burnat.com> 5.2.0-75.sme |
126 |
|
- Add_template_to_ssl.pem [SME: 4450] |
127 |
|
|
128 |
|
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.2.0-74.sme |
129 |
|
- Ensure existing_hwaddr is always initialized [SME: 6087] |
130 |
|
|
131 |
|
* Thu Feb 28 2013 Terry Fage <trex1512@yahoo.com.au> 5.2.0-73.sme |
132 |
|
- In the console refer to removable media instead of USB disk [SME: 6835] |
133 |
|
|
134 |
|
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-72.sme |
135 |
|
- Optimize user-modify-unix script and link it in bootstrap-ldap-save [SME: 7167] |
136 |
|
|
137 |
|
* Tue Feb 5 2013 John Crisp <jcrisp@safeandsoundit.co.uk> 5.2.0-71.sme |
138 |
|
- Post-upgrades not fired after restore from console [SME: 7060] |
139 |
|
|
140 |
|
* Mon Feb 4 2013 Ian Wells <esmith@wellsi.com> 5.2.0-70.sme |
141 |
|
- Correction for when DB value is lower than MIN_MEMORY_LIMIT [SME: 7000] |
142 |
|
|
143 |
|
* Sat Feb 2 2013 Ian Wells <esmith@wellsi.com> 5.2.0-69.sme |
144 |
|
- Simplified patch after review comments [SME: 7000] |
145 |
|
|
146 |
* Tue Jan 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-68.sme |
* Tue Jan 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-68.sme |
147 |
- Updated previous patch to avoid migrate fragment [SME: 7000] |
- Updated previous patch to avoid migrate fragment [SME: 7000] |
148 |
|
|
1576 |
%patch2 -p1 |
%patch2 -p1 |
1577 |
%patch3 -p1 |
%patch3 -p1 |
1578 |
%patch4 -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 |
|
|
%patch24 -p1 |
|
|
%patch25 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
%patch34 -p1 |
|
|
%patch35 -p1 |
|
|
%patch36 -p1 |
|
|
%patch37 -p1 |
|
|
%patch38 -p1 |
|
|
%patch39 -p1 |
|
|
%patch40 -p1 |
|
|
%patch41 -p1 |
|
|
%patch42 -p1 |
|
|
%patch43 -p1 |
|
|
%patch44 -p1 |
|
|
%patch45 -p1 |
|
|
%patch46 -p1 |
|
|
%patch47 -p1 |
|
|
%patch48 -p1 |
|
|
%patch49 -p1 |
|
|
%patch50 -p1 |
|
|
%patch51 -p1 |
|
|
%patch52 -p1 |
|
|
%patch53 -p1 |
|
|
%patch54 -p1 |
|
|
|
|
1579 |
%pre |
%pre |
1580 |
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 ] |
1581 |
then |
then |
1680 |
ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service |
ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service |
1681 |
done |
done |
1682 |
|
|
|
mkdir -p root/var/service/wan/env.pppoe |
|
|
|
|
1683 |
# Remove (for now) supervised syslog and klogd services |
# Remove (for now) supervised syslog and klogd services |
1684 |
rm root/etc/rc.d/init.d/supervise/{syslog,klogd} |
rm root/etc/rc.d/init.d/supervise/{syslog,klogd} |
1685 |
rm root/service/{syslog,klogd} |
rm root/service/{syslog,klogd} |