/[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.3 by unnilennium, Fri Mar 18 06:46:46 2016 UTC Revision 1.41 by jpp, Tue Feb 13 22:35:49 2018 UTC
# Line 1  Line 1 
1  # $Id: e-smith-base.spec,v 1.2 2016/02/04 23:19:17 vip-ire Exp $  # $Id: e-smith-base.spec,v 1.40 2017/11/15 15:33:35 jpp 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 2  %define release 38
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    Patch14: e-smith-base-5.8.0.bz9687.local-link.patch
28    Patch15: e-smith-base-5.8.0-bz9688.skipredirect.patch
29    Patch16: e-smith-base-5.8.0-bz9672.servicesystemd.patch
30    Patch17: e-smith-base-5.8.0.bz9724.locale_sysconfig.patch
31    Patch18: e-smith-base-5.8.0-allow_32bits_mask.patch
32    Patch19: e-smith-base-5.8.0-ip_route_syntax.patch
33    Patch20: e-smith-base-5.8.0.bz9550.fixconsolerestore.patch
34    Patch21: e-smith-base-5.8.0.bz10121-moretranslationlinks.patch
35    Patch22: e-smith-base-5.8.0.bz9478-move-smtpd-to-qpsmtpd.patch
36    Patch23: e-smith-base-5.8.0-expand_route_bond0.patch
37    Patch24: e-smith-base-5.8.0.bz10519.xinet-cleaning.patch
38    
39  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
 BuildArch: noarch  
40  Requires: pwauth  Requires: pwauth
41  Requires: e-smith-lib >= 2.2.0-2  Requires: e-smith-lib >= 2.2.0-2
42  Requires: server-manager-images, server-manager  Requires: server-manager-images, server-manager
# Line 21  Requires: e-smith-daemontools >= 1.7.1-0 Line 46  Requires: e-smith-daemontools >= 1.7.1-0
46  Requires: perl(Locale::gettext)  Requires: perl(Locale::gettext)
47  Requires: perl(Crypt::Cracklib)  Requires: perl(Crypt::Cracklib)
48  Requires: perl(Date::Manip)  Requires: perl(Date::Manip)
 Requires: perl(Data::UUID)  
49  Requires: perl(Net::IPv4Addr)  Requires: perl(Net::IPv4Addr)
50    Requires: perl(Digest::SHA1)
51  Requires: /usr/sbin/irqbalance  Requires: /usr/sbin/irqbalance
 Requires: /usr/sbin/cpuspeed  
52  Requires: /usr/sbin/smartd  Requires: /usr/sbin/smartd
53  Requires: dbus  Requires: dbus
54  Requires: acpid  Requires: acpid
# Line 34  Requires: vconfig Line 58  Requires: vconfig
58  Requires: e-smith-bootloader  Requires: e-smith-bootloader
59  Requires: mdadm  Requires: mdadm
60  Requires: pv  Requires: pv
61  Requires: pam_abl  Requires: dhcp
62  Requires: diald  Requires: diald
63  Requires: /usr/bin/passwd  Requires: /usr/bin/passwd
64  Requires: nss-pam-ldapd  Requires: nss-pam-ldapd
65    Requires: uuid-perl
66    Requires: kbd
67  Obsoletes: nss_ldap < 254  Obsoletes: nss_ldap < 254
68  Requires: cpu >= 1.4.3  Requires: cpu >= 1.4.3
69  Obsoletes: rlinetd, e-smith-mod_ssl  Obsoletes: rlinetd, e-smith-mod_ssl
70  Obsoletes: e-smith-serial-console  Obsoletes: e-smith-serial-console
71  Obsoletes: sshell  Obsoletes: sshell
72  Obsoletes: e-smith-rp-pppoe  Obsoletes: e-smith-rp-pppoe
 Obsoletes: perl-Data-UUID  
73  BuildRequires: perl, perl(Test::Inline) >= 0.12  BuildRequires: perl, perl(Test::Inline) >= 0.12
74  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
75  BuildRequires: gettext  BuildRequires: gettext
# Line 56  AutoReqProv: no Line 81  AutoReqProv: no
81  e-smith server and gateway software - base module.  e-smith server and gateway software - base module.
82    
83  %changelog  %changelog
84    * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-38.sme
85    - icleaning xinetd.conf fragment out of the package [SME: 10219]
86    
87    * Wed Nov 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-37.sme
88    - revert previous change - wrong package
89    
90    * Tue Nov 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-36.sme
91    - added post transaction rule for ntp [SME: 10190]
92    - thank you to Stefano Zamboni for this work
93    
94    * Thu May 4 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-35.sme
95    - Expand route-bond0 when nic bonding is enabled [SME: 10272]
96    
97    * Sat Apr 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-34.sme
98    - improve regex to catch local [SME: 9724]
99    
100    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-33.sme
101    - change smtpd to qpsmtpd for default service access [SME: 9478]
102    
103    * Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-32.sme
104    - add translation links for manager to most language variations we support [SME: 11121]
105    
106    * Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-31.sme
107    - prevent restoration from being called on regular and post-upgrade reboot [SME: 9550]
108    - console restoration can be launched again from console
109    
110    * Thu Feb 9 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-30.sme
111    - Use ip route syntax to define routes to local network [SME: 10083]
112    
113    * Tue Sep 6 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-29.sme
114    - Allow /32 masks on the external interface, in which case we don't
115      check if the gateway is on the correct network) [SME: 9610]
116    
117    * Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-28.sme
118    - fix config db locale property [SME: 9724]
119    
120    * Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-27.sme
121    - adapt e-smith service command to systemd [SME: 9672]
122    
123    * Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-26.sme
124    - add systemd skip redirect to e-smith-service  [SME: 9688]
125    
126    * Thu Jul 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-25.sme
127    - fix broken link /etc/init.d/supervise/local link [SME: 9687]
128    
129    * Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-22.sme
130    - fix mysqld to mariadb  [SME: 9438]
131    
132    * Sat Jul 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-21.sme
133    - fix missing path to chkconfig [SME: 9641]
134    
135    * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-20.sme
136    - Fix deprecated syntax '*' in rsyslog [SME: 9398]
137    - Added e-smith-base-5.8.0.bz9398.DeprecatedRsyslogSyntax.patch
138    
139    * Mon Jul 4 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-19.sme
140    - Set the hostname by hostnamectl [SME: 9631]
141    - Stefano Zamboni <zamboni@mind-at-work.it>
142    
143    * Sun Jun 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-18.sme
144    - fix Lang and keyboard layout configured are not used [SME: 9539]
145    
146    * Thu Jun 2 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-17.sme
147    - Fix display of email forward fields since smtpd entry has been merged
148      qpsmtpd [SME: 9552]
149    
150    * Sun May 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-16.sme
151    - Allow bootstrap to start services after post-install configuration [SME: 9530]
152    
153    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme
154    - Use a C wrapper for the console to replace perl-suid [SME: 9393]
155    
156    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme
157    - fix password not asked after signal-event post-install [SME: 9445]
158    
159    * Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-13.sme
160    - only start services on regular boot  [SME: 9436]
161    
162    * Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme
163    - fix getting locale for db configuration  [SME: 9378]
164    
165    * Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-11.sme
166    - rearange startup [SME: 9352]
167    - let systemd handle following unsupervised services:
168    - bootstrap-console, rsyslog, irqbalance, crond, acpid, smartd
169    - disable from systemd services whith link in rc7.d
170    - let bootstrap-console run at every reboot and handle surpevised services startup
171    
172    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-9.sme
173    - Remove ctrlaltdel service entry [SME: 9437]
174    
175    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-8.sme
176    - Remove obsolete services [SME: 9420]
177    
178    * Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-7.sme
179    - added requires dhcp [SME: 9392]
180    
181    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-6.sme
182    - add Requires perl(Digest::SHA1) for console [SME: 9372]
183    
184    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-5.sme
185    - fix conflict  perl-Data-UUID vs uuid-perl [SME: 9344]
186    
187    * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-3.sme
188    - remove cpuspeed Requires and support [SME: 9337]
189    - remove pam_abl Requires [SME: 9341]
190    
191  * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-2.sme  * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-2.sme
192  - Remove Requires: hal [SME: 9342]  - Remove Requires: hal [SME: 9342]
193  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,  - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
# Line 1091  e-smith server and gateway software - ba Line 1223  e-smith server and gateway software - ba
1223  * 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
1224  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]  - Remove lines for creating symlink to statusreport from spec file. [SME: 450]
1225    
1226  * 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
1227  - Allow for admin account when locking null passwords, and perform  - Allow for admin account when locking null passwords, and perform
1228    check in post-upgrade so that the password screen will be presented    check in post-upgrade so that the password screen will be presented
1229    after the reboot [SME: 1529]    after the reboot [SME: 1529]
1230    
1231  * 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
1232  - Correct argument ordering in last change [SME: 790, SME: 1541]  - Correct argument ordering in last change [SME: 790, SME: 1541]
1233    
1234  * 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 1288  e-smith server and gateway software - ba Line 1420  e-smith server and gateway software - ba
1420  * 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
1421  - Run kudzu -q from inittab [SME: 727]  - Run kudzu -q from inittab [SME: 727]
1422    
1423  * 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
1424  - Make bootp support optional, defaulting to 'deny'. [SME: 660]  - Make bootp support optional, defaulting to 'deny'. [SME: 660]
1425    
1426  * 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 1376  e-smith server and gateway software - ba Line 1508  e-smith server and gateway software - ba
1508  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and  - Don't add obsolete ipsec net-pf aliases to modprobe.conf, and
1509    remove them if found. [SME: 390]    remove them if found. [SME: 390]
1510    
1511  * 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
1512  - Use regexp as well as cracklib to check admin password in console.  - Use regexp as well as cracklib to check admin password in console.
1513    [SME: 335]    [SME: 335]
1514    
# Line 1789  e-smith server and gateway software - ba Line 1921  e-smith server and gateway software - ba
1921    
1922  %prep  %prep
1923  %setup  %setup
1924    %patch0 -p1
1925    %patch1 -p1
1926    %patch2 -p1
1927    %patch3 -p1
1928    %patch4 -p1
1929    %patch5 -p1
1930    %patch6 -p1
1931    %patch7 -p1
1932    %patch8 -p1
1933    %patch9 -p1
1934    %patch10 -p1
1935    %patch11 -p1
1936    %patch12 -p1
1937    %patch13 -p1
1938    %patch14 -p1
1939    %patch15 -p1
1940    %patch16 -p1
1941    %patch17 -p1
1942    %patch18 -p1
1943    %patch19 -p1
1944    %patch20 -p1
1945    %patch21 -p1
1946    %patch22 -p1
1947    %patch23 -p1
1948    %patch24 -p1
1949    
1950  %pre  %pre
1951  /sbin/e-smith/create-system-user smelastsys 2999 \  /sbin/e-smith/create-system-user smelastsys 2999 \
# Line 1808  done Line 1965  done
1965    
1966  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
1967    
1968  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
1969    
1970  perl createlinks  perl createlinks
1971  /sbin/e-smith/buildtests 10e-smith-base  /sbin/e-smith/buildtests 10e-smith-base
1972    
1973    gcc -o root/sbin/e-smith/console console_wrapper.c
1974    
1975  %install  %install
1976  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
1977  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