/[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.1 by vip-ire, Thu Feb 4 23:18:11 2016 UTC Revision 1.18 by unnilennium, Sun May 29 18:26:00 2016 UTC
# Line 1  Line 1 
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.17 2016/05/12 17:10:46 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 16
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
 BuildArch: noarch  
23  Requires: pwauth  Requires: pwauth
24  Requires: e-smith-lib >= 2.2.0-2  Requires: e-smith-lib >= 2.2.0-2
25  Requires: server-manager-images, server-manager  Requires: server-manager-images, server-manager
# Line 21  Requires: e-smith-daemontools >= 1.7.1-0 Line 29  Requires: e-smith-daemontools >= 1.7.1-0
29  Requires: perl(Locale::gettext)  Requires: perl(Locale::gettext)
30  Requires: perl(Crypt::Cracklib)  Requires: perl(Crypt::Cracklib)
31  Requires: perl(Date::Manip)  Requires: perl(Date::Manip)
 Requires: perl(Data::UUID)  
32  Requires: perl(Net::IPv4Addr)  Requires: perl(Net::IPv4Addr)
33    Requires: perl(Digest::SHA1)
34  Requires: /usr/sbin/irqbalance  Requires: /usr/sbin/irqbalance
 Requires: /usr/sbin/cpuspeed  
35  Requires: /usr/sbin/smartd  Requires: /usr/sbin/smartd
36  Requires: dbus  Requires: dbus
 Requires: hal  
37  Requires: acpid  Requires: acpid
38  Requires: rssh  Requires: rssh
39  Requires: bridge-utils  Requires: bridge-utils
# Line 35  Requires: vconfig Line 41  Requires: vconfig
41  Requires: e-smith-bootloader  Requires: e-smith-bootloader
42  Requires: mdadm  Requires: mdadm
43  Requires: pv  Requires: pv
44  Requires: pam_abl  Requires: dhcp
45  Requires: diald  Requires: diald
46  Requires: /usr/bin/passwd  Requires: /usr/bin/passwd
47  Requires: nss-pam-ldapd  Requires: nss-pam-ldapd
48    Requires: uuid-perl
49  Obsoletes: nss_ldap < 254  Obsoletes: nss_ldap < 254
50  Requires: cpu >= 1.4.3  Requires: cpu >= 1.4.3
51  Obsoletes: rlinetd, e-smith-mod_ssl  Obsoletes: rlinetd, e-smith-mod_ssl
52  Obsoletes: e-smith-serial-console  Obsoletes: e-smith-serial-console
53  Obsoletes: sshell  Obsoletes: sshell
54  Obsoletes: e-smith-rp-pppoe  Obsoletes: e-smith-rp-pppoe
 Obsoletes: perl-Data-UUID  
55  BuildRequires: perl, perl(Test::Inline) >= 0.12  BuildRequires: perl, perl(Test::Inline) >= 0.12
56  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
57  BuildRequires: gettext  BuildRequires: gettext
# Line 57  AutoReqProv: no Line 63  AutoReqProv: no
63  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
64    
65  %changelog  %changelog
66  * Fri 5 Feb 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme  * Sun May 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-16.sme
67    - Allow bootstrap to start services after post-install configuration [SME: 9530]
68    
69    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme
70    - Use a C wrapper for the console to replace perl-suid [SME: 9393]
71    
72    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme
73    - fix password not asked after signal-event post-install [SME: 9445]
74    
75    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-13.sme
76    - only start services on regular boot  [SME: 9436]
77    
78    * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme
79    - fix getting locale for db configuration  [SME: 9378]
80    
81    * Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-11.sme
82    - rearange startup [SME: 9352]
83    - let systemd handle following unsupervised services:
84    - bootstrap-console, rsyslog, irqbalance, crond, acpid, smartd
85    - disable from systemd services whith link in rc7.d
86    - let bootstrap-console run at every reboot and handle surpevised services startup
87    
88    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-9.sme
89    - Remove ctrlaltdel service entry [SME: 9437]
90    
91    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-8.sme
92    - Remove obsolete services [SME: 9420]
93    
94    * Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-7.sme
95    - added requires dhcp [SME: 9392]
96    
97    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-6.sme
98    - add Requires perl(Digest::SHA1) for console [SME: 9372]
99    
100    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-5.sme
101    - fix conflict  perl-Data-UUID vs uuid-perl [SME: 9344]
102    
103    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-3.sme
104    - remove cpuspeed Requires and support [SME: 9337]
105    - remove pam_abl Requires [SME: 9341]
106    
107    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-2.sme
108    - Remove Requires: hal [SME: 9342]
109    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
110      by assuming the date is correct and changing the weekday.
111      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
112      Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or ....
113      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
114      Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or ....
115      Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or ....
116      Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or ....
117    
118    * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-1.sme
119  - Roll new stream for sme10  - Roll new stream for sme10
120    
121  * 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
# Line 72  e-smith server and gateway software - ba Line 130  e-smith server and gateway software - ba
130  * 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
131  - Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152]  - Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152]
132    
133  * 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
134      Tue Sep 30 2015 --> Tue Sep 29 2015 or Wed Sep 30 2015 or Tue Oct 06 2015 or ....
135  - Update /etc/mime.types templates [SME: 9078]  - Update /etc/mime.types templates [SME: 9078]
136    
137  * 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 320  e-smith server and gateway software - ba
320  * 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
321  - 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]
322    
323  * 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
324      Mon Apr 21 2013 --> Mon Apr 15 2013 or Sun Apr 21 2013 or Mon Apr 22 2013 or ....
325  - Fix the way '.' works in bash [SME: 7532]  - Fix the way '.' works in bash [SME: 7532]
326    
327  * 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 717  e-smith server and gateway software - ba
717  * 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
718  - Cleanup SAVE/ADD tag mixup [SME: 4045]  - Cleanup SAVE/ADD tag mixup [SME: 4045]
719    
720  * 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
721      Sat Mar 10 2008 --> Sat Mar 08 2008 or Mon Mar 10 2008 or Sat Mar 15 2008 or ....
722  - Fix dyndns custom gettext [SME: 4032]  - Fix dyndns custom gettext [SME: 4032]
723    
724  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-98
725      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
726  - revised gettext messages [SME: 631]  - revised gettext messages [SME: 631]
727    
728  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-97
729      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
730  - gettext messages [SME: 631]  - gettext messages [SME: 631]
731    
732  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-96
733      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
734  - remove duplicate system password has been changed [SME: 3974]  - remove duplicate system password has been changed [SME: 3974]
735    
736  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 4.18-95
737      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
738  - EthernetAssign shouldn't be translated [SME: 3947]  - EthernetAssign shouldn't be translated [SME: 3947]
739    
740  * 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 1139  e-smith server and gateway software - ba
1139  * 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
1140  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]
1141    
1142  * 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
1143  - Allow for admin account when locking null passwords, and perform  - Allow for admin account when locking null passwords, and perform
1144    check in post-upgrade so that the password screen will be presented    check in post-upgrade so that the password screen will be presented
1145    after the reboot [SME: 1529]    after the reboot [SME: 1529]
1146    
1147  * 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
1148  - Correct argument ordering in last change [SME: 790, SME: 1541]  - Correct argument ordering in last change [SME: 790, SME: 1541]
1149    
1150  * 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 1285  e-smith server and gateway software - ba
1285  * 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
1286  - Remove default fragment for AdminEmail [SME: 863]  - Remove default fragment for AdminEmail [SME: 863]
1287    
1288  * 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
1289      Mon Feb 21 2006 --> Mon Feb 20 2006 or Tue Feb 21 2006 or Mon Feb 27 2006 or ....
1290  - Change 'Reconfigure' to lower case in menu [SME: 2]  - Change 'Reconfigure' to lower case in menu [SME: 2]
1291    
1292  * 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 1336  e-smith server and gateway software - ba
1336  * 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
1337  - Run kudzu -q from inittab [SME: 727]  - Run kudzu -q from inittab [SME: 727]
1338    
1339  * 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
1340  - Make bootp support optional, defaulting to 'deny'. [SME: 660]  - Make bootp support optional, defaulting to 'deny'. [SME: 660]
1341    
1342  * 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 1424  e-smith server and gateway software - ba
1424  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and
1425    remove them if found. [SME: 390]    remove them if found. [SME: 390]
1426    
1427  * 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
1428  - Use regexp as well as cracklib to check admin password in console.  - Use regexp as well as cracklib to check admin password in console.
1429    [SME: 335]    [SME: 335]
1430    
1431  * 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
1432  - Change heuristic for finding disks in manageRAID.pl [SME: 342]  - Change heuristic for finding disks in manageRAID.pl [SME: 342]
1433    
1434  * 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
1435      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
1436  - Move testInternet console menu item to smeserver-support [SME: 364]  - Move testInternet console menu item to smeserver-support [SME: 364]
1437    
1438  * 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 1837  e-smith server and gateway software - ba
1837    
1838  %prep  %prep
1839  %setup  %setup
1840    %patch0 -p1
1841    %patch1 -p1
1842    %patch2 -p1
1843    %patch3 -p1
1844    %patch4 -p1
1845    %patch5 -p1
1846    %patch6 -p1
1847    %patch7 -p1
1848    %patch8 -p1
1849    
1850    
1851  %pre  %pre
1852  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
# Line 1789  done Line 1866  done
1866    
1867  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
1868    
1869  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
1870    
1871  perl createlinks  perl createlinks
1872  /sbin/e-smith/buildtests 10e-smith-base  /sbin/e-smith/buildtests 10e-smith-base
1873    
1874    gcc -o root/sbin/e-smith/console console_wrapper.c
1875    
1876  %install  %install
1877  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1878  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