1 |
# $Id: e-smith-lib.spec,v 1.3 2016/07/18 07:52:44 unnilennium Exp $ |
# $Id: e-smith-lib.spec,v 1.10 2019/12/12 06:57:41 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - library module |
Summary: e-smith server and gateway - library module |
4 |
%define name e-smith-lib |
%define name e-smith-lib |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 3 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
14 |
|
Patch1: e-smith-lib-2.6.0-mariadb.patch |
15 |
|
Patch2: e-smith-lib-2.6.0.bz9691.syslof.patch |
16 |
|
Patch3: e-smith-lib-2.6.0.bz9585.fix_startup_display.patch |
17 |
|
Patch4: e-smith-lib-2.6.0.bz9478.patch |
18 |
|
Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch |
19 |
|
Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
32 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
33 |
Requires: perl(Taint::Util) |
Requires: perl(Taint::Util) |
34 |
Requires: pciutils |
Requires: pciutils |
35 |
Patch0: e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
|
|
Patch1: e-smith-lib-2.6.0-mariadb.patch |
|
36 |
%description |
%description |
37 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
41 |
|
- allow more systemctl controls [SME: 11177] |
42 |
|
convert unrecognized signals from service2adjust in events for systemd |
43 |
|
handle unsupervised services the same way supervised were in adjust-services |
44 |
|
- create e-smith-lib-event [SME: 11141] |
45 |
|
|
46 |
|
* Thu Dec 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
47 |
|
- add support for systemctl reload-or-restart, try-restart, enable -now [SME: 10848] |
48 |
|
|
49 |
|
* Wed Oct 25 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
50 |
|
- Revert prev change regarding tap_soft, as it's not needed [SME: 10445] |
51 |
|
|
52 |
|
* Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
53 |
|
- Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang) |
54 |
|
[SME: 10445] |
55 |
|
|
56 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
57 |
|
- remove reference to smtpd in configuration.conf [SME: 9478] |
58 |
|
|
59 |
|
* Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
60 |
|
- fix console startup display [SME: 9352] |
61 |
|
|
62 |
|
* Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
63 |
|
- fix service name syslog to rsyslog [SME: 9691] |
64 |
|
|
65 |
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
66 |
- fix mysqld to mariadb [SME: 9438] |
- fix mysqld to mariadb [SME: 9438] |
67 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
847 |
%setup |
%setup |
848 |
%patch0 -p1 |
%patch0 -p1 |
849 |
%patch1 -p1 |
%patch1 -p1 |
850 |
|
%patch2 -p1 |
851 |
|
%patch3 -p1 |
852 |
|
%patch4 -p1 |
853 |
|
%patch5 -p1 |
854 |
|
%patch6 -p1 |
855 |
|
# creating an event that do nothing. db init is done every time by yum already. |
856 |
|
mkdir root/etc/e-smith/events/e-smith-lib-update |
857 |
|
|
858 |
%pre |
%pre |
859 |
|
|