1 |
# $Id: e-smith-base.spec,v 1.97 2010/07/25 13:42:18 charliebrady Exp $ |
# $Id: e-smith-base.spec,v 1.106 2010/10/11 23:17:01 slords 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 37 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
33 |
Patch21: e-smith-base-5.2.0-condrestart.patch |
Patch21: e-smith-base-5.2.0-condrestart.patch |
34 |
Patch22: e-smith-base-5.2.0-condrestart.patch2 |
Patch22: e-smith-base-5.2.0-condrestart.patch2 |
35 |
Patch23: e-smith-base-5.2.0-cpuspeed.patch |
Patch23: e-smith-base-5.2.0-cpuspeed.patch |
36 |
|
Patch24: e-smith-base-5.2.0-nss_ldap.patch |
37 |
|
Patch25: e-smith-base-5.2.0-ibay_groups.patch |
38 |
|
Patch26: e-smith-base-5.2.0-keep_external.patch |
39 |
|
Patch27: e-smith-base-5.2.0-checkMaxUsers.patch |
40 |
|
Patch28: e-smith-base-5.2.0-apmd64bit.patch |
41 |
|
Patch29: e-smith-base-5.2.0-relocate_dhclient_conf.patch |
42 |
|
Patch30: e-smith-base-5.2.0-echo-options.patch |
43 |
|
Patch31: e-smith-base-5.2.0-migrateHWaddr.patch |
44 |
|
Patch32: e-smith-base-5.2.0-relocate_dhcpd_leases_file.patch |
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
Requires: mod_auth_external |
Requires: mod_auth_external |
47 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
68 |
Requires: mdadm |
Requires: mdadm |
69 |
Requires: pv |
Requires: pv |
70 |
Requires: pam_abl |
Requires: pam_abl |
71 |
|
Requires: nss_ldap |
72 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
73 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
74 |
Obsoletes: sshell |
Obsoletes: sshell |
88 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
89 |
|
|
90 |
%changelog |
%changelog |
91 |
|
* Tue Oct 12 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-37.sme |
92 |
|
- Relocate dhcpd leases file [SME: 6274] |
93 |
|
|
94 |
|
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 5.2.0-36.sme |
95 |
|
- Add migrate script to add missing HWaddr to interface records [SME: 6267] |
96 |
|
|
97 |
|
* Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 5.2.0-35.sme |
98 |
|
- Make lcp options configurable [SME: 6277] |
99 |
|
|
100 |
|
* Mon Oct 11 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-34.sme |
101 |
|
- Relocate dhclient conf file [SME: 5833] |
102 |
|
|
103 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 5.2.0-33.sme |
104 |
|
- Disable apmd on 64-bit arch [SME: 6170] |
105 |
|
|
106 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 5.2.0-32.sme |
107 |
|
- Remove check for maxUsers [SME: 5537] |
108 |
|
|
109 |
|
* Wed Oct 6 2010 Shad L. Lords <slords@mail.com> 5.2.0-31.sme |
110 |
|
- Try and keep same external address for pppoe connections [SME: 6263] |
111 |
|
|
112 |
|
* Mon Sep 27 2010 Shad L. Lords <slords@mail.com> 5.2.0-30.sme |
113 |
|
- Add ibay groups to group membership [SME: 6247] |
114 |
|
|
115 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-29.sme |
116 |
|
- Prepare nss_ldap [SME: 6227] |
117 |
|
|
118 |
* 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 |
119 |
- Enable cpuspeed by default [SME: 6066] |
- Enable cpuspeed by default [SME: 6066] |
120 |
|
|
1442 |
%patch21 -p1 |
%patch21 -p1 |
1443 |
%patch22 -p1 |
%patch22 -p1 |
1444 |
%patch23 -p1 |
%patch23 -p1 |
1445 |
|
%patch24 -p1 |
1446 |
|
%patch25 -p1 |
1447 |
|
%patch26 -p1 |
1448 |
|
%patch27 -p1 |
1449 |
|
%patch28 -p1 |
1450 |
|
%patch29 -p1 |
1451 |
|
%patch30 -p1 |
1452 |
|
%patch31 -p1 |
1453 |
|
%patch32 -p1 |
1454 |
|
|
1455 |
%pre |
%pre |
1456 |
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 ] |
1530 |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
ln -s /etc/e-smith/templates-default/template-begin-shell \ |
1531 |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
root/etc/e-smith/templates/etc/dhcpc/dhcpcd.exe/template-begin |
1532 |
|
|
1533 |
|
mkdir -p root/etc/e-smith/templates/etc/ldap.secret/ |
1534 |
|
touch root/etc/e-smith/templates/etc/ldap.secret/template-begin |
1535 |
|
|
1536 |
for file in imap login passwd pwauth system-auth |
for file in imap login passwd pwauth system-auth |
1537 |
do |
do |
1538 |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |