1 |
# $Id: e-smith-lib.spec,v 1.1 2016/02/05 22:44:50 stephdl Exp $ |
# $Id: e-smith-lib.spec,v 1.13 2021/01/01 23:22:03 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 2 |
%define release 13 |
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 |
|
Patch7: e-smith-lib-2.6.0-bz11177-signals.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
33 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
Requires: perl(Net::IPv4Addr) >= 0.10 |
34 |
Requires: perl(Taint::Util) |
Requires: perl(Taint::Util) |
35 |
Requires: pciutils |
Requires: pciutils |
36 |
Patch0: e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
|
37 |
%description |
%description |
38 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
42 |
|
- partial revert of signals [SME: 11177] |
43 |
|
signal s not passed to runit services (dnscache*, qmail, qpsmtpd...) |
44 |
|
services handled by systemd crash if they do not have Restart=always defined |
45 |
|
|
46 |
|
* Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
47 |
|
- add support for signals SIG* with systemd [SME: 11177] |
48 |
|
fix typo for reload-or-try-restart |
49 |
|
unsupervised services: really stop when disabled and start stopped enabled ones |
50 |
|
|
51 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
52 |
|
- remove error when sending sighup event [SME: 11177] |
53 |
|
|
54 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
55 |
|
- allow more systemctl controls [SME: 11177] |
56 |
|
convert unrecognized signals from service2adjust in events for systemd |
57 |
|
handle unsupervised services the same way supervised were in adjust-services |
58 |
|
- create e-smith-lib-event [SME: 11141] |
59 |
|
|
60 |
|
* Thu Dec 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
61 |
|
- add support for systemctl reload-or-restart, try-restart, enable -now [SME: 10848] |
62 |
|
|
63 |
|
* Wed Oct 25 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
64 |
|
- Revert prev change regarding tap_soft, as it's not needed [SME: 10445] |
65 |
|
|
66 |
|
* Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
67 |
|
- Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang) |
68 |
|
[SME: 10445] |
69 |
|
|
70 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
71 |
|
- remove reference to smtpd in configuration.conf [SME: 9478] |
72 |
|
|
73 |
|
* Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
74 |
|
- fix console startup display [SME: 9352] |
75 |
|
|
76 |
|
* Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
77 |
|
- fix service name syslog to rsyslog [SME: 9691] |
78 |
|
|
79 |
|
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
80 |
|
- fix mysqld to mariadb [SME: 9438] |
81 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
82 |
|
by assuming the date is correct and changing the weekday. |
83 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
84 |
|
Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or .... |
85 |
|
|
86 |
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-2.sme |
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-2.sme |
87 |
- fix esmith::util::serviceControl to manage systemd service [SME: 9660] |
- fix esmith::util::serviceControl to manage systemd service [SME: 9660] |
88 |
- Added e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
- Added e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
267 |
* Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.18.0-1 |
* Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.18.0-1 |
268 |
- Roll stable stream. [SME: 2328] |
- Roll stable stream. [SME: 2328] |
269 |
|
|
270 |
* Tue Dec 15 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.17.0-8 |
* Fri Dec 15 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.17.0-8 |
271 |
|
Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or .... |
272 |
- Added the validatePassword function to esmith::util. [SME: 2100] |
- Added the validatePassword function to esmith::util. [SME: 2100] |
273 |
|
|
274 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
374 |
- Remove newlines from cluck() string and just note that the old |
- Remove newlines from cluck() string and just note that the old |
375 |
path was used [SME: 365] |
path was used [SME: 365] |
376 |
|
|
377 |
* Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-28 |
* Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-28 |
378 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
379 |
- If db exists in both the old and new locations in |
- If db exists in both the old and new locations in |
380 |
initialize_default_databases, rename the one in the new |
initialize_default_databases, rename the one in the new |
381 |
location to db.time(), avoiding the conflict and saving the |
location to db.time(), avoiding the conflict and saving the |
860 |
%prep |
%prep |
861 |
%setup |
%setup |
862 |
%patch0 -p1 |
%patch0 -p1 |
863 |
|
%patch1 -p1 |
864 |
|
%patch2 -p1 |
865 |
|
%patch3 -p1 |
866 |
|
%patch4 -p1 |
867 |
|
%patch5 -p1 |
868 |
|
%patch6 -p1 |
869 |
|
# creating an event that do nothing. db init is done every time by yum already. |
870 |
|
mkdir root/etc/e-smith/events/e-smith-lib-update |
871 |
|
%patch7 -p1 |
872 |
|
|
873 |
|
|
874 |
%pre |
%pre |
875 |
|
|
876 |
|
|