1 |
# $Id: e-smith-base.spec,v 1.100 2016/01/31 22:29:02 vip-ire Exp $ |
# $Id: e-smith-base.spec,v 1.19 2016/06/02 15:07:45 vip-ire 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.8.0 |
%define version 5.8.0 |
7 |
%define release 1 |
%define release 18 |
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.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-base-5.8.0-cpuspeed.patch |
14 |
|
Patch1: e-smith-base-5.8.0-remove_obsolete_services.patch |
15 |
|
Patch2: e-smith-base-5.8.0-remove_ctrlaltdel.patch |
16 |
|
Patch3: e-smith-base-5.8.0-movese_services_to_systemd.patch |
17 |
|
Patch4: e-smith-base-5.8.0-LOCALE.patch |
18 |
|
Patch5: e-smith-base-5.8.0-install_on_every_reboot.patch |
19 |
|
Patch6: e-smith-base-5.8.0-PasswordSet.patch |
20 |
|
Patch7: e-smith-base-5.8.0-console_wrapper.patch |
21 |
|
Patch8: e-smith-base-5.8.0-postinstall.patch |
22 |
|
Patch9: e-smith-base-5.8.0-fix_forward_field_display.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
|
BuildArch: noarch |
|
24 |
Requires: pwauth |
Requires: pwauth |
25 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
26 |
Requires: server-manager-images, server-manager |
Requires: server-manager-images, server-manager |
30 |
Requires: perl(Locale::gettext) |
Requires: perl(Locale::gettext) |
31 |
Requires: perl(Crypt::Cracklib) |
Requires: perl(Crypt::Cracklib) |
32 |
Requires: perl(Date::Manip) |
Requires: perl(Date::Manip) |
|
Requires: perl(Data::UUID) |
|
33 |
Requires: perl(Net::IPv4Addr) |
Requires: perl(Net::IPv4Addr) |
34 |
|
Requires: perl(Digest::SHA1) |
35 |
Requires: /usr/sbin/irqbalance |
Requires: /usr/sbin/irqbalance |
|
Requires: /usr/sbin/cpuspeed |
|
36 |
Requires: /usr/sbin/smartd |
Requires: /usr/sbin/smartd |
37 |
Requires: dbus |
Requires: dbus |
|
Requires: hal |
|
38 |
Requires: acpid |
Requires: acpid |
39 |
Requires: rssh |
Requires: rssh |
40 |
Requires: bridge-utils |
Requires: bridge-utils |
42 |
Requires: e-smith-bootloader |
Requires: e-smith-bootloader |
43 |
Requires: mdadm |
Requires: mdadm |
44 |
Requires: pv |
Requires: pv |
45 |
Requires: pam_abl |
Requires: dhcp |
46 |
Requires: diald |
Requires: diald |
47 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
48 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
49 |
|
Requires: uuid-perl |
50 |
|
Requires: kbd |
51 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
52 |
Requires: cpu >= 1.4.3 |
Requires: cpu >= 1.4.3 |
53 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
54 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
55 |
Obsoletes: sshell |
Obsoletes: sshell |
56 |
Obsoletes: e-smith-rp-pppoe |
Obsoletes: e-smith-rp-pppoe |
|
Obsoletes: perl-Data-UUID |
|
57 |
BuildRequires: perl, perl(Test::Inline) >= 0.12 |
BuildRequires: perl, perl(Test::Inline) >= 0.12 |
58 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
59 |
BuildRequires: gettext |
BuildRequires: gettext |
65 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
66 |
|
|
67 |
%changelog |
%changelog |
68 |
* Fri 5 Feb 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme |
* Sun Jun 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-18.sme |
69 |
|
- fix Lang and keyboard layout configured are not used [SME: 9539] |
70 |
|
|
71 |
|
* Thu Jun 2 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-17.sme |
72 |
|
- Fix display of email forward fields since smtpd entry has been merged |
73 |
|
qpsmtpd [SME: 9552] |
74 |
|
|
75 |
|
* Sun May 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-16.sme |
76 |
|
- Allow bootstrap to start services after post-install configuration [SME: 9530] |
77 |
|
|
78 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme |
79 |
|
- Use a C wrapper for the console to replace perl-suid [SME: 9393] |
80 |
|
|
81 |
|
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme |
82 |
|
- fix password not asked after signal-event post-install [SME: 9445] |
83 |
|
|
84 |
|
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-13.sme |
85 |
|
- only start services on regular boot [SME: 9436] |
86 |
|
|
87 |
|
* Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme |
88 |
|
- fix getting locale for db configuration [SME: 9378] |
89 |
|
|
90 |
|
* Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-11.sme |
91 |
|
- rearange startup [SME: 9352] |
92 |
|
- let systemd handle following unsupervised services: |
93 |
|
- bootstrap-console, rsyslog, irqbalance, crond, acpid, smartd |
94 |
|
- disable from systemd services whith link in rc7.d |
95 |
|
- let bootstrap-console run at every reboot and handle surpevised services startup |
96 |
|
|
97 |
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-9.sme |
98 |
|
- Remove ctrlaltdel service entry [SME: 9437] |
99 |
|
|
100 |
|
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-8.sme |
101 |
|
- Remove obsolete services [SME: 9420] |
102 |
|
|
103 |
|
* Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-7.sme |
104 |
|
- added requires dhcp [SME: 9392] |
105 |
|
|
106 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-6.sme |
107 |
|
- add Requires perl(Digest::SHA1) for console [SME: 9372] |
108 |
|
|
109 |
|
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-5.sme |
110 |
|
- fix conflict perl-Data-UUID vs uuid-perl [SME: 9344] |
111 |
|
|
112 |
|
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-3.sme |
113 |
|
- remove cpuspeed Requires and support [SME: 9337] |
114 |
|
- remove pam_abl Requires [SME: 9341] |
115 |
|
|
116 |
|
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-2.sme |
117 |
|
- Remove Requires: hal [SME: 9342] |
118 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
119 |
|
by assuming the date is correct and changing the weekday. |
120 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
121 |
|
Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or .... |
122 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
123 |
|
Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or .... |
124 |
|
Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or .... |
125 |
|
Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or .... |
126 |
|
|
127 |
|
* Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme |
128 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
129 |
|
|
130 |
* Sun Jan 31 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-28.sme |
* Sun Jan 31 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-28.sme |
139 |
* Sun Jan 17 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-25.sme |
* Sun Jan 17 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-25.sme |
140 |
- Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152] |
- Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152] |
141 |
|
|
142 |
* Tue Sep 30 2015 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-24.sme |
* Wed Sep 30 2015 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-24.sme |
143 |
|
Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or .... |
144 |
- Update /etc/mime.types templates [SME: 9078] |
- Update /etc/mime.types templates [SME: 9078] |
145 |
|
|
146 |
* Mon Aug 24 2015 Charlie Brady <charlie_brady@mitel.com> 5.6.0-23.sme |
* Mon Aug 24 2015 Charlie Brady <charlie_brady@mitel.com> 5.6.0-23.sme |
329 |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
* Mon Apr 22 2013 Ian Wells <esmith@wellsi.com> 5.4.0-28.sme |
330 |
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
- Replacement of rc.e-smith by moving code into e-smith-service [SME: 7267] |
331 |
|
|
332 |
* Mon Apr 21 2013 chris burnat <devlist@burnat.com> 5.4.0-27.sme |
* Sun Apr 21 2013 chris burnat <devlist@burnat.com> 5.4.0-27.sme |
333 |
|
Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or .... |
334 |
- Fix the way '.' works in bash [SME: 7532] |
- Fix the way '.' works in bash [SME: 7532] |
335 |
|
|
336 |
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-26.sme |
* Fri Mar 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-26.sme |
726 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 4.18.0-100 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 4.18.0-100 |
727 |
- Cleanup SAVE/ADD tag mixup [SME: 4045] |
- Cleanup SAVE/ADD tag mixup [SME: 4045] |
728 |
|
|
729 |
* Sat Mar 10 2008 Shad L. Lords <slords@mail.com> 4.18-99 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 4.18-99 |
730 |
|
Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or .... |
731 |
- Fix dyndns custom gettext [SME: 4032] |
- Fix dyndns custom gettext [SME: 4032] |
732 |
|
|
733 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98 |
734 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
735 |
- revised gettext messages [SME: 631] |
- revised gettext messages [SME: 631] |
736 |
|
|
737 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97 |
738 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
739 |
- gettext messages [SME: 631] |
- gettext messages [SME: 631] |
740 |
|
|
741 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96 |
742 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
743 |
- remove duplicate system password has been changed [SME: 3974] |
- remove duplicate system password has been changed [SME: 3974] |
744 |
|
|
745 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95 |
* Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95 |
746 |
|
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or .... |
747 |
- EthernetAssign shouldn't be translated [SME: 3947] |
- EthernetAssign shouldn't be translated [SME: 3947] |
748 |
|
|
749 |
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 4.18-94 |
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 4.18-94 |
1148 |
* Fri Jun 9 2006 Gavin Weight <gweight@gmail.com> 4.16.0-24 |
* Fri Jun 9 2006 Gavin Weight <gweight@gmail.com> 4.16.0-24 |
1149 |
- Remove lines for creating symlink to statusreport from spec file. [SME: 450] |
- Remove lines for creating symlink to statusreport from spec file. [SME: 450] |
1150 |
|
|
1151 |
* Mon Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-23 |
* Tue Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-23 |
1152 |
- Allow for admin account when locking null passwords, and perform |
- Allow for admin account when locking null passwords, and perform |
1153 |
check in post-upgrade so that the password screen will be presented |
check in post-upgrade so that the password screen will be presented |
1154 |
after the reboot [SME: 1529] |
after the reboot [SME: 1529] |
1155 |
|
|
1156 |
* Mon Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-22 |
* Tue Jun 6 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-22 |
1157 |
- Correct argument ordering in last change [SME: 790, SME: 1541] |
- Correct argument ordering in last change [SME: 790, SME: 1541] |
1158 |
|
|
1159 |
* Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-21 |
* Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 4.16.0-21 |
1294 |
* Wed Feb 22 2006 Charlie Brady <charlieb@e-smith.com> 4.15.9-04 |
* Wed Feb 22 2006 Charlie Brady <charlieb@e-smith.com> 4.15.9-04 |
1295 |
- Remove default fragment for AdminEmail [SME: 863] |
- Remove default fragment for AdminEmail [SME: 863] |
1296 |
|
|
1297 |
* Mon Feb 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-03 |
* Tue Feb 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-03 |
1298 |
|
Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or .... |
1299 |
- Change 'Reconfigure' to lower case in menu [SME: 2] |
- Change 'Reconfigure' to lower case in menu [SME: 2] |
1300 |
|
|
1301 |
* Mon Feb 20 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-02 |
* Mon Feb 20 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.9-02 |
1345 |
* Sat Feb 11 2006 Shad L. Lords <slords@mail.com> 4.15.8-50 |
* Sat Feb 11 2006 Shad L. Lords <slords@mail.com> 4.15.8-50 |
1346 |
- Run kudzu -q from inittab [SME: 727] |
- Run kudzu -q from inittab [SME: 727] |
1347 |
|
|
1348 |
* Tue Feb 9 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-49 |
* Thu Feb 9 2006 Charlie Brady <charlie_brady@mitel.com> 4.15.8-49 |
1349 |
- Make bootp support optional, defaulting to 'deny'. [SME: 660] |
- Make bootp support optional, defaulting to 'deny'. [SME: 660] |
1350 |
|
|
1351 |
* Thu Feb 9 2006 Gavin Weight <gweight@gmail.com> 4.15.8-48 |
* Thu Feb 9 2006 Gavin Weight <gweight@gmail.com> 4.15.8-48 |
1433 |
- Don't add obsolete ipsec net-pf aliases to modprobe.conf, and |
- Don't add obsolete ipsec net-pf aliases to modprobe.conf, and |
1434 |
remove them if found. [SME: 390] |
remove them if found. [SME: 390] |
1435 |
|
|
1436 |
* Sun Jan 2 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-23 |
* Mon Jan 2 2006 Charlie Brady <charlieb@e-smith.com> 4.15.8-23 |
1437 |
- Use regexp as well as cracklib to check admin password in console. |
- Use regexp as well as cracklib to check admin password in console. |
1438 |
[SME: 335] |
[SME: 335] |
1439 |
|
|
1440 |
* Mon Jan 2 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-22 |
* Mon Jan 2 2006 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-22 |
1441 |
- Change heuristic for finding disks in manageRAID.pl [SME: 342] |
- Change heuristic for finding disks in manageRAID.pl [SME: 342] |
1442 |
|
|
1443 |
* Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-21 |
* Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 4.15.8-21 |
1444 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
1445 |
- Move testInternet console menu item to smeserver-support [SME: 364] |
- Move testInternet console menu item to smeserver-support [SME: 364] |
1446 |
|
|
1447 |
* Fri Dec 16 2005 Charlie Brady <charlieb@e-smith.com> 4.15.8-20 |
* Fri Dec 16 2005 Charlie Brady <charlieb@e-smith.com> 4.15.8-20 |
1846 |
|
|
1847 |
%prep |
%prep |
1848 |
%setup |
%setup |
1849 |
|
%patch0 -p1 |
1850 |
|
%patch1 -p1 |
1851 |
|
%patch2 -p1 |
1852 |
|
%patch3 -p1 |
1853 |
|
%patch4 -p1 |
1854 |
|
%patch5 -p1 |
1855 |
|
%patch6 -p1 |
1856 |
|
%patch7 -p1 |
1857 |
|
%patch8 -p1 |
1858 |
|
%patch9 -p1 |
1859 |
|
|
1860 |
|
|
1861 |
%pre |
%pre |
1862 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1876 |
|
|
1877 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
1878 |
|
|
1879 |
xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console.pl |
1880 |
|
|
1881 |
perl createlinks |
perl createlinks |
1882 |
/sbin/e-smith/buildtests 10e-smith-base |
/sbin/e-smith/buildtests 10e-smith-base |
1883 |
|
|
1884 |
|
gcc -o root/sbin/e-smith/console console_wrapper.c |
1885 |
|
|
1886 |
%install |
%install |
1887 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1888 |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |