1 |
# $Id: e-smith-base.spec,v 1.112 2010/11/03 18:55:06 slords Exp $ |
# $Id: e-smith-base.spec,v 1.139 2013/01/23 03:47:15 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 45 |
%define release 68 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
48 |
Patch36: e-smith-base-5.2.0-enable-cpu.patch |
Patch36: e-smith-base-5.2.0-enable-cpu.patch |
49 |
Patch37: e-smith-base-5.2.0-better-ldap.patch |
Patch37: e-smith-base-5.2.0-better-ldap.patch |
50 |
Patch38: e-smith-base-5.2.0-add-extra-ldap.patch |
Patch38: e-smith-base-5.2.0-add-extra-ldap.patch |
51 |
|
Patch39: e-smith-base-5.2.0-cpu-can-delete.patch |
52 |
|
Patch40: e-smith-base-5.2.0-supp-groups.patch |
53 |
|
Patch41: e-smith-base-5.2.0-fix_gpasswd_path.patch |
54 |
|
Patch42: e-smith-base-5.2.0-fix-gid.patch |
55 |
|
Patch43: e-smith-base-5.2.0-weak-updates.patch |
56 |
|
Patch44: e-smith-base-5.2.0-apache_alias_for_www.patch |
57 |
|
Patch45: e-smith-base-5.2.0-no-nic2.patch |
58 |
|
Patch46: e-smith-base-5.2.0-list-only-write-enabled-backup-targets.patch |
59 |
|
Patch47: e-smith-base-5.2.0-string-fix.patch |
60 |
|
Patch48: e-smith-base-5.2.0-dont_set_gecos_in_ldap.patch |
61 |
|
Patch49: e-smith-base-5.2.0-initExternal.patch |
62 |
|
Patch50: e-smith-base-5.2.0-ConsoleNetwork.patch |
63 |
|
Patch51: e-smith-base-5.2.0-ConsoleNetworkText.patch |
64 |
|
Patch52: e-smith-base-5.2.0-CipherSuite.patch |
65 |
|
Patch53: e-smith-base-5.2.0-updatedb.patch |
66 |
|
Patch54: e-smith-base-5.2.0-pppoeMlimit.patch |
67 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
68 |
Requires: mod_auth_external |
Requires: mod_auth_external |
69 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
111 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
112 |
|
|
113 |
%changelog |
%changelog |
114 |
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-45.sme |
* Tue Jan 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-68.sme |
115 |
|
- Updated previous patch to avoid migrate fragment [SME: 7000] |
116 |
|
|
117 |
|
* Tue Jan 22 2013 Ian Wells <esmith@wellsi.com> 5.2.0-67.sme |
118 |
|
- Increase memory limit for pppoe to 100Mb [SME: 7000] |
119 |
|
|
120 |
|
* Sun Dec 30 2012 Ian Wells <esmith@wellsi.com> 5.2.0-66.sme |
121 |
|
- Template /etc/updatedb.conf [SME: 7090] |
122 |
|
|
123 |
|
* Wed Jul 18 2012 Ian Wells <esmith@wellsi.com> 5.2.0-65.sme |
124 |
|
- Make CipherSuite secure by default [SME: 7026] |
125 |
|
|
126 |
|
* Fri Mar 16 2012 Ian Wells <esmith@wellsi.com> 5.2.0-64.sme |
127 |
|
- Add MAC address into console network selection [SME: 6844] |
128 |
|
|
129 |
|
* Sun Nov 6 2011 Shad L. Lords <slords@mail.com> 5.2.0-63.sme |
130 |
|
- Initialize ExternalInterface db structure so hwaddr in console works |
131 |
|
[SME: 6775] |
132 |
|
|
133 |
|
* Mon Mar 14 2011 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-62.sme |
134 |
|
- Stop using gecos attribute in LDAP [SME: 6539] |
135 |
|
|
136 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-61.sme |
137 |
|
- Fix a typo in strings [SME: 5932] |
138 |
|
|
139 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-60.sme |
140 |
|
- Rework text changes in console screen in previous revision [SME: 5932] |
141 |
|
|
142 |
|
* Mon Mar 14 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-59.sme |
143 |
|
- Only list backup targets that are writeable [SME: 5932] |
144 |
|
|
145 |
|
* Sun Mar 13 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-58.sme |
146 |
|
- Revert admin password change through user-manager [SME: 3759] |
147 |
|
|
148 |
|
* Sun Mar 13 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-57.sme |
149 |
|
- Allow admin password change through user-manager [SME: 3759] |
150 |
|
|
151 |
|
* Wed Mar 2 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-57.sme |
152 |
|
- Handle no network interface scenario in console and bootstrap-console [SME: 6023] |
153 |
|
|
154 |
|
* Mon Dec 6 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-56.sme |
155 |
|
- change apache uid and gid so they become aliases for www [SME: 6425] |
156 |
|
|
157 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-55.sme |
158 |
|
- Only remove dangling symlinks in weak-updates directories [SME: 6376] |
159 |
|
|
160 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-54.sme |
161 |
|
- Fix create user gid parameter [SME: 6416] |
162 |
|
|
163 |
|
* Mon Nov 29 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-53.sme |
164 |
|
- Fix gpasswd path [SME: 6412] |
165 |
|
|
166 |
|
* Mon Nov 22 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-52.sme |
167 |
|
- Fix relocation of dhclient conf file [SME: 6385] |
168 |
|
|
169 |
|
* Sun Nov 7 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-51.sme |
170 |
|
- No longer need to pass supplemental groups to cpu [SME: 6349] |
171 |
|
|
172 |
|
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-50.sme |
173 |
|
- Allow cpu to remove empty attributes [SME: 6343] |
174 |
|
|
175 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-49.sme |
176 |
|
- Fix maxUsers patch (again) to not break setting passwords [SME: 5537] |
177 |
|
|
178 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-48.sme |
179 |
|
- Fix maxUsers patch to not break setting passwords [SME: 5537] |
180 |
|
|
181 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-47.sme |
182 |
|
- Don't put empty attributes in file for cpu [SME: 6334] |
183 |
|
|
184 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-46.sme |
185 |
|
- Add flush to tmpfile so that data is available to cpu [SME: 6334] |
186 |
|
|
187 |
|
* Thu Nov 4 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-45.sme |
188 |
- Add extra attributes to ldap objects with cpu call [SME: 6334] |
- Add extra attributes to ldap objects with cpu call [SME: 6334] |
189 |
|
|
190 |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-44.sme |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-44.sme |
191 |
- Fix cpu critical patch missing ' [SME: 6330] |
- Fix cpu critical patch missing ' [SME: 6330] |
192 |
|
|
193 |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-43.sme |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-43.sme |
194 |
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
195 |
- Add cpu.conf and cpu-system.conf to post-upgrade event [SME: 6327] |
- Add cpu.conf and cpu-system.conf to post-upgrade event [SME: 6327] |
196 |
|
|
197 |
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-42.sme |
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-42.sme |
198 |
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6328] |
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6328] |
199 |
|
|
200 |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-41.sme |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-41.sme |
201 |
- Switch to cpu commands if ldap is master [SME: 6328] |
- Switch to cpu commands if ldap is master [SME: 6328] |
202 |
|
|
203 |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-40.sme |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-40.sme |
204 |
- Add templates for ldap authentication if enabled [SME: 6329] |
- Add templates for ldap authentication if enabled [SME: 6329] |
205 |
|
|
206 |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net 5.2.0-39.sme |
* Mon Nov 1 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-39.sme |
207 |
- Add cpu.conf and cpu-system.conf template/program to SME [SME: 6327] |
- Add cpu.conf and cpu-system.conf template/program to SME [SME: 6327] |
208 |
|
|
209 |
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-38.sme |
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-38.sme |
1578 |
%patch36 -p1 |
%patch36 -p1 |
1579 |
%patch37 -p1 |
%patch37 -p1 |
1580 |
%patch38 -p1 |
%patch38 -p1 |
1581 |
|
%patch39 -p1 |
1582 |
|
%patch40 -p1 |
1583 |
|
%patch41 -p1 |
1584 |
|
%patch42 -p1 |
1585 |
|
%patch43 -p1 |
1586 |
|
%patch44 -p1 |
1587 |
|
%patch45 -p1 |
1588 |
|
%patch46 -p1 |
1589 |
|
%patch47 -p1 |
1590 |
|
%patch48 -p1 |
1591 |
|
%patch49 -p1 |
1592 |
|
%patch50 -p1 |
1593 |
|
%patch51 -p1 |
1594 |
|
%patch52 -p1 |
1595 |
|
%patch53 -p1 |
1596 |
|
%patch54 -p1 |
1597 |
|
|
1598 |
%pre |
%pre |
1599 |
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 ] |
1699 |
ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service |
ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service |
1700 |
done |
done |
1701 |
|
|
1702 |
|
mkdir -p root/var/service/wan/env.pppoe |
1703 |
|
|
1704 |
# Remove (for now) supervised syslog and klogd services |
# Remove (for now) supervised syslog and klogd services |
1705 |
rm root/etc/rc.d/init.d/supervise/{syslog,klogd} |
rm root/etc/rc.d/init.d/supervise/{syslog,klogd} |
1706 |
rm root/service/{syslog,klogd} |
rm root/service/{syslog,klogd} |