1 |
# $Id: e-smith-base.spec,v 1.13 2016/04/12 04:00:49 unnilennium Exp $ |
# $Id: e-smith-base.spec,v 1.35 2017/02/27 23:32:32 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 12 |
%define release 33 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: e-smith-base-5.8.0-remove_ctrlaltdel.patch |
Patch2: e-smith-base-5.8.0-remove_ctrlaltdel.patch |
16 |
Patch3: e-smith-base-5.8.0-movese_services_to_systemd.patch |
Patch3: e-smith-base-5.8.0-movese_services_to_systemd.patch |
17 |
Patch4: e-smith-base-5.8.0-LOCALE.patch |
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 |
|
|
37 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
|
BuildArch: noarch |
|
38 |
Requires: pwauth |
Requires: pwauth |
39 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
40 |
Requires: server-manager-images, server-manager |
Requires: server-manager-images, server-manager |
61 |
Requires: /usr/bin/passwd |
Requires: /usr/bin/passwd |
62 |
Requires: nss-pam-ldapd |
Requires: nss-pam-ldapd |
63 |
Requires: uuid-perl |
Requires: uuid-perl |
64 |
|
Requires: kbd |
65 |
Obsoletes: nss_ldap < 254 |
Obsoletes: nss_ldap < 254 |
66 |
Requires: cpu >= 1.4.3 |
Requires: cpu >= 1.4.3 |
67 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
79 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
80 |
|
|
81 |
%changelog |
%changelog |
82 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-33.sme |
83 |
|
- change smtpd to qpsmtpd for default service access [SME: 9478] |
84 |
|
|
85 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-32.sme |
86 |
|
- add translation links for manager to most language variations we support [SME: 11121] |
87 |
|
|
88 |
|
* Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-31.sme |
89 |
|
- prevent restoration from being called on regular and post-upgrade reboot [SME: 9550] |
90 |
|
- console restoration can be launched again from console |
91 |
|
|
92 |
|
* Thu Feb 9 2017 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-30.sme |
93 |
|
- Use ip route syntax to define routes to local network [SME: 10083] |
94 |
|
|
95 |
|
* Tue Sep 6 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-29.sme |
96 |
|
- Allow /32 masks on the external interface, in which case we don't |
97 |
|
check if the gateway is on the correct network) [SME: 9610] |
98 |
|
|
99 |
|
* Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-28.sme |
100 |
|
- fix config db locale property [SME: 9724] |
101 |
|
|
102 |
|
* Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-27.sme |
103 |
|
- adapt e-smith service command to systemd [SME: 9672] |
104 |
|
|
105 |
|
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-26.sme |
106 |
|
- add systemd skip redirect to e-smith-service [SME: 9688] |
107 |
|
|
108 |
|
* Thu Jul 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-25.sme |
109 |
|
- fix broken link /etc/init.d/supervise/local link [SME: 9687] |
110 |
|
|
111 |
|
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-22.sme |
112 |
|
- fix mysqld to mariadb [SME: 9438] |
113 |
|
|
114 |
|
* Sat Jul 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-21.sme |
115 |
|
- fix missing path to chkconfig [SME: 9641] |
116 |
|
|
117 |
|
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-20.sme |
118 |
|
- Fix deprecated syntax '*' in rsyslog [SME: 9398] |
119 |
|
- Added e-smith-base-5.8.0.bz9398.DeprecatedRsyslogSyntax.patch |
120 |
|
|
121 |
|
* Mon Jul 4 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.8.0-19.sme |
122 |
|
- Set the hostname by hostnamectl [SME: 9631] |
123 |
|
- Stefano Zamboni <zamboni@mind-at-work.it> |
124 |
|
|
125 |
|
* Sun Jun 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-18.sme |
126 |
|
- fix Lang and keyboard layout configured are not used [SME: 9539] |
127 |
|
|
128 |
|
* Thu Jun 2 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-17.sme |
129 |
|
- Fix display of email forward fields since smtpd entry has been merged |
130 |
|
qpsmtpd [SME: 9552] |
131 |
|
|
132 |
|
* Sun May 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-16.sme |
133 |
|
- Allow bootstrap to start services after post-install configuration [SME: 9530] |
134 |
|
|
135 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.8.0-15.sme |
136 |
|
- Use a C wrapper for the console to replace perl-suid [SME: 9393] |
137 |
|
|
138 |
|
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-14.sme |
139 |
|
- fix password not asked after signal-event post-install [SME: 9445] |
140 |
|
|
141 |
|
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-13.sme |
142 |
|
- only start services on regular boot [SME: 9436] |
143 |
|
|
144 |
* Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme |
* Tue Apr 12 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-12.sme |
145 |
- fix getting locale for db configuration [SME: 9378] |
- fix getting locale for db configuration [SME: 9378] |
146 |
|
|
1908 |
%patch2 -p1 |
%patch2 -p1 |
1909 |
%patch3 -p1 |
%patch3 -p1 |
1910 |
%patch4 -p1 |
%patch4 -p1 |
1911 |
|
%patch5 -p1 |
1912 |
|
%patch6 -p1 |
1913 |
|
%patch7 -p1 |
1914 |
|
%patch8 -p1 |
1915 |
|
%patch9 -p1 |
1916 |
|
%patch10 -p1 |
1917 |
|
%patch11 -p1 |
1918 |
|
%patch12 -p1 |
1919 |
|
%patch13 -p1 |
1920 |
|
%patch14 -p1 |
1921 |
|
%patch15 -p1 |
1922 |
|
%patch16 -p1 |
1923 |
|
%patch17 -p1 |
1924 |
|
%patch18 -p1 |
1925 |
|
%patch19 -p1 |
1926 |
|
%patch20 -p1 |
1927 |
|
%patch21 -p1 |
1928 |
|
%patch22 -p1 |
1929 |
|
|
1930 |
%pre |
%pre |
1931 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
1945 |
|
|
1946 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
1947 |
|
|
1948 |
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 |
1949 |
|
|
1950 |
perl createlinks |
perl createlinks |
1951 |
/sbin/e-smith/buildtests 10e-smith-base |
/sbin/e-smith/buildtests 10e-smith-base |
1952 |
|
|
1953 |
|
gcc -o root/sbin/e-smith/console console_wrapper.c |
1954 |
|
|
1955 |
%install |
%install |
1956 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1957 |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |
mkdir -p $RPM_BUILD_ROOT/etc/selinux |