/[smeserver]/rpms/e-smith-base/sme10/e-smith-base.spec
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by vip-ire, Thu Feb 4 23:19:17 2016 UTC Revision 1.25 by unnilennium, Mon Jul 18 07:58:17 2016 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.1 2016/02/04 23:18:11 vip-ire Exp $  # $Id: e-smith-base.spec,v 1.24 2016/07/16 14:47:40 unnilennium 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 22
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    Patch10: e-smith-base-5.8.0.bz9631.SetHostnameByHostnamectl.patch
24    Patch11: e-smith-base-5.8.0.bz9398.DeprecatedRsyslogSyntax.patch
25    Patch12: e-smith-base-5.8.0.bz9641.fix-startup-path.patch
26    Patch13: e-smith-base-5.8.0-mariadb.patch
27  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
 BuildArch: noarch  
28  Requires: pwauth  Requires: pwauth
29  Requires: e-smith-lib >= 2.2.0-2  Requires: e-smith-lib >= 2.2.0-2
30  Requires: server-manager-images, server-manager  Requires: server-manager-images, server-manager
# Line 21  Requires: e-smith-daemontools >= 1.7.1-0 Line 34  Requires: e-smith-daemontools >= 1.7.1-0
34  Requires: perl(Locale::gettext)  Requires: perl(Locale::gettext)
35  Requires: perl(Crypt::Cracklib)  Requires: perl(Crypt::Cracklib)
36  Requires: perl(Date::Manip)  Requires: perl(Date::Manip)
 Requires: perl(Data::UUID)  
37  Requires: perl(Net::IPv4Addr)  Requires: perl(Net::IPv4Addr)
38    Requires: perl(Digest::SHA1)
39  Requires: /usr/sbin/irqbalance  Requires: /usr/sbin/irqbalance
 Requires: /usr/sbin/cpuspeed  
40  Requires: /usr/sbin/smartd  Requires: /usr/sbin/smartd
41  Requires: dbus  Requires: dbus
 Requires: hal  
42  Requires: acpid  Requires: acpid
43  Requires: rssh  Requires: rssh
44  Requires: bridge-utils  Requires: bridge-utils
# Line 35  Requires: vconfig Line 46  Requires: vconfig
46  Requires: e-smith-bootloader  Requires: e-smith-bootloader
47  Requires: mdadm  Requires: mdadm
48  Requires: pv  Requires: pv
49  Requires: pam_abl  Requires: dhcp
50  Requires: diald  Requires: diald
51  Requires: /usr/bin/passwd  Requires: /usr/bin/passwd
52  Requires: nss-pam-ldapd  Requires: nss-pam-ldapd
53    Requires: uuid-perl
54    Requires: kbd
55  Obsoletes: nss_ldap < 254  Obsoletes: nss_ldap < 254
56  Requires: cpu >= 1.4.3  Requires: cpu >= 1.4.3
57  Obsoletes: rlinetd, e-smith-mod_ssl  Obsoletes: rlinetd, e-smith-mod_ssl
58  Obsoletes: e-smith-serial-console  Obsoletes: e-smith-serial-console
59  Obsoletes: sshell  Obsoletes: sshell
60  Obsoletes: e-smith-rp-pppoe  Obsoletes: e-smith-rp-pppoe
 Obsoletes: perl-Data-UUID  
61  BuildRequires: perl, perl(Test::Inline) >= 0.12  BuildRequires: perl, perl(Test::Inline) >= 0.12
62  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
63  BuildRequires: gettext  BuildRequires: gettext
# Line 57  AutoReqProv: no Line 69  AutoReqProv: no
69  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
70    
71  %changelog  %changelog
72    * Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-22.sme
73    - fix mysqld to mariadb  [SME: 9438]
74    
75    * Sat Jul 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-21.sme
76    - fix missing path to chkconfig [SME: 9641]
77    
78    * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-20.sme
79    - Fix deprecated syntax '*' in rsyslog [SME: 9398]
80    - Added e-smith-base-5.8.0.bz9398.DeprecatedRsyslogSyntax.patch
81    
82    * Mon Jul 4 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-19.sme
83    - Set the hostname by hostnamectl [SME: 9631]
84    - Stefano Zamboni <zamboni@mind-at-work.it>
85    
86    * Sun Jun 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-18.sme
87    - fix Lang and keyboard layout configured are not used [SME: 9539]
88    
89    * Thu Jun 2 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-17.sme
90    - Fix display of email forward fields since smtpd entry has been merged
91      qpsmtpd [SME: 9552]
92    
93    * Sun May 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-16.sme
94    - Allow bootstrap to start services after post-install configuration [SME: 9530]
95    
96    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme
97    - Use a C wrapper for the console to replace perl-suid [SME: 9393]
98    
99    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme
100    - fix password not asked after signal-event post-install [SME: 9445]
101    
102    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-13.sme
103    - only start services on regular boot  [SME: 9436]
104    
105    * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme
106    - fix getting locale for db configuration  [SME: 9378]
107    
108    * Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-11.sme
109    - rearange startup [SME: 9352]
110    - let systemd handle following unsupervised services:
111    - bootstrap-console, rsyslog, irqbalance, crond, acpid, smartd
112    - disable from systemd services whith link in rc7.d
113    - let bootstrap-console run at every reboot and handle surpevised services startup
114    
115    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-9.sme
116    - Remove ctrlaltdel service entry [SME: 9437]
117    
118    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-8.sme
119    - Remove obsolete services [SME: 9420]
120    
121    * Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-7.sme
122    - added requires dhcp [SME: 9392]
123    
124    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-6.sme
125    - add Requires perl(Digest::SHA1) for console [SME: 9372]
126    
127    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-5.sme
128    - fix conflict  perl-Data-UUID vs uuid-perl [SME: 9344]
129    
130    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-3.sme
131    - remove cpuspeed Requires and support [SME: 9337]
132    - remove pam_abl Requires [SME: 9341]
133    
134    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-2.sme
135    - Remove Requires: hal [SME: 9342]
136    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
137      by assuming the date is correct and changing the weekday.
138      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
139      Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or ....
140      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
141      Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or ....
142      Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or ....
143      Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or ....
144    
145  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme
146  - Roll new stream for sme10  - Roll new stream for sme10
147    
# Line 72  e-smith server and gateway software - ba Line 157  e-smith server and gateway software - ba
157  * 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
158  - Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152]  - Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152]
159    
160  * 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
161      Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or ....
162  - Update /etc/mime.types templates [SME: 9078]  - Update /etc/mime.types templates [SME: 9078]
163    
164  * 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
# Line 261  e-smith server and gateway software - ba Line 347  e-smith server and gateway software - ba
347  * 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
348  - 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]
349    
350  * 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
351      Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or ....
352  - Fix the way '.' works in bash [SME: 7532]  - Fix the way '.' works in bash [SME: 7532]
353    
354  * 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
# Line 657  e-smith server and gateway software - ba Line 744  e-smith server and gateway software - ba
744  * 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
745  - Cleanup SAVE/ADD tag mixup [SME: 4045]  - Cleanup SAVE/ADD tag mixup [SME: 4045]
746    
747  * 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
748      Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or ....
749  - Fix dyndns custom gettext [SME: 4032]  - Fix dyndns custom gettext [SME: 4032]
750    
751  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98
752      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
753  - revised gettext messages [SME: 631]  - revised gettext messages [SME: 631]
754    
755  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97
756      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
757  - gettext messages [SME: 631]  - gettext messages [SME: 631]
758    
759  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96
760      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
761  - remove duplicate system password has been changed [SME: 3974]  - remove duplicate system password has been changed [SME: 3974]
762    
763  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95
764      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
765  - EthernetAssign shouldn't be translated [SME: 3947]  - EthernetAssign shouldn't be translated [SME: 3947]
766    
767  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 4.18-94  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 4.18-94
# Line 1074  e-smith server and gateway software - ba Line 1166  e-smith server and gateway software - ba
1166  * 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
1167  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]
1168    
1169  * 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
1170  - Allow for admin account when locking null passwords, and perform  - Allow for admin account when locking null passwords, and perform
1171    check in post-upgrade so that the password screen will be presented    check in post-upgrade so that the password screen will be presented
1172    after the reboot [SME: 1529]    after the reboot [SME: 1529]
1173    
1174  * 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
1175  - Correct argument ordering in last change [SME: 790, SME: 1541]  - Correct argument ordering in last change [SME: 790, SME: 1541]
1176    
1177  * 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
# Line 1220  e-smith server and gateway software - ba Line 1312  e-smith server and gateway software - ba
1312  * 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
1313  - Remove default fragment for AdminEmail [SME: 863]  - Remove default fragment for AdminEmail [SME: 863]
1314    
1315  * 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
1316      Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or ....
1317  - Change 'Reconfigure' to lower case in menu [SME: 2]  - Change 'Reconfigure' to lower case in menu [SME: 2]
1318    
1319  * 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
# Line 1270  e-smith server and gateway software - ba Line 1363  e-smith server and gateway software - ba
1363  * 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
1364  - Run kudzu -q from inittab [SME: 727]  - Run kudzu -q from inittab [SME: 727]
1365    
1366  * 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
1367  - Make bootp support optional, defaulting to 'deny'. [SME: 660]  - Make bootp support optional, defaulting to 'deny'. [SME: 660]
1368    
1369  * 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
# Line 1358  e-smith server and gateway software - ba Line 1451  e-smith server and gateway software - ba
1451  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and
1452    remove them if found. [SME: 390]    remove them if found. [SME: 390]
1453    
1454  * 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
1455  - Use regexp as well as cracklib to check admin password in console.  - Use regexp as well as cracklib to check admin password in console.
1456    [SME: 335]    [SME: 335]
1457    
1458  * 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
1459  - Change heuristic for finding disks in manageRAID.pl [SME: 342]  - Change heuristic for finding disks in manageRAID.pl [SME: 342]
1460    
1461  * 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
1462      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
1463  - Move testInternet console menu item to smeserver-support [SME: 364]  - Move testInternet console menu item to smeserver-support [SME: 364]
1464    
1465  * 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
# Line 1770  e-smith server and gateway software - ba Line 1864  e-smith server and gateway software - ba
1864    
1865  %prep  %prep
1866  %setup  %setup
1867    %patch0 -p1
1868    %patch1 -p1
1869    %patch2 -p1
1870    %patch3 -p1
1871    %patch4 -p1
1872    %patch5 -p1
1873    %patch6 -p1
1874    %patch7 -p1
1875    %patch8 -p1
1876    %patch9 -p1
1877    %patch10 -p1
1878    %patch11 -p1
1879    %patch12 -p1
1880    %patch13 -p1
1881    
1882  %pre  %pre
1883  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
# Line 1789  done Line 1897  done
1897    
1898  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
1899    
1900  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
1901    
1902  perl createlinks  perl createlinks
1903  /sbin/e-smith/buildtests 10e-smith-base  /sbin/e-smith/buildtests 10e-smith-base
1904    
1905    gcc -o root/sbin/e-smith/console console_wrapper.c
1906    
1907  %install  %install
1908  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1909  mkdir -p $RPM_BUILD_ROOT/etc/selinux  mkdir -p $RPM_BUILD_ROOT/etc/selinux


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed