1 |
# $Id: e-smith-lib.spec,v 1.21 2016/01/12 21:55:13 vip-ire Exp $ |
# $Id: e-smith-lib.spec,v 1.15 2021/04/20 03:22:26 jpp Exp $ |
2 |
|
|
3 |
|
%define copykooz 2013-2021 |
4 |
|
|
5 |
Summary: e-smith server and gateway - library module |
Summary: e-smith server and gateway - library module |
6 |
%define name e-smith-lib |
%define name e-smith-lib |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.6.0 |
%define version 2.6.0 |
9 |
%define release 1 |
%define release 14 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Artistic |
License: Artistic |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
15 |
|
Patch0: e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
16 |
|
Patch1: e-smith-lib-2.6.0-mariadb.patch |
17 |
|
Patch2: e-smith-lib-2.6.0.bz9691.syslof.patch |
18 |
|
Patch3: e-smith-lib-2.6.0.bz9585.fix_startup_display.patch |
19 |
|
Patch4: e-smith-lib-2.6.0.bz9478.patch |
20 |
|
Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch |
21 |
|
Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch |
22 |
|
Patch7: e-smith-lib-2.6.0-bz11177-signals.patch |
23 |
|
Patch8: e-smith-lib-2.6.0-bz11570-copyrights.patch |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
BuildRequires: e-smith-devtools >= 1.6.3-01 |
41 |
e-smith server and gateway software - library module. |
e-smith server and gateway software - library module. |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
45 |
|
- update copyright dates, and make it easier to change from spec file [SME: 11570] |
46 |
|
|
47 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
48 |
|
- partial revert of signals [SME: 11177] |
49 |
|
signal s not passed to runit services (dnscache*, qmail, qpsmtpd...) |
50 |
|
services handled by systemd crash if they do not have Restart=always defined |
51 |
|
|
52 |
|
* Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
53 |
|
- add support for signals SIG* with systemd [SME: 11177] |
54 |
|
fix typo for reload-or-try-restart |
55 |
|
unsupervised services: really stop when disabled and start stopped enabled ones |
56 |
|
|
57 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
58 |
|
- remove error when sending sighup event [SME: 11177] |
59 |
|
|
60 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
61 |
|
- allow more systemctl controls [SME: 11177] |
62 |
|
convert unrecognized signals from service2adjust in events for systemd |
63 |
|
handle unsupervised services the same way supervised were in adjust-services |
64 |
|
- create e-smith-lib-event [SME: 11141] |
65 |
|
|
66 |
|
* Thu Dec 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
67 |
|
- add support for systemctl reload-or-restart, try-restart, enable -now [SME: 10848] |
68 |
|
|
69 |
|
* Wed Oct 25 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
70 |
|
- Revert prev change regarding tap_soft, as it's not needed [SME: 10445] |
71 |
|
|
72 |
|
* Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
73 |
|
- Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang) |
74 |
|
[SME: 10445] |
75 |
|
|
76 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
77 |
|
- remove reference to smtpd in configuration.conf [SME: 9478] |
78 |
|
|
79 |
|
* Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
80 |
|
- fix console startup display [SME: 9352] |
81 |
|
|
82 |
|
* Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
83 |
|
- fix service name syslog to rsyslog [SME: 9691] |
84 |
|
|
85 |
|
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
86 |
|
- fix mysqld to mariadb [SME: 9438] |
87 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
88 |
|
by assuming the date is correct and changing the weekday. |
89 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
90 |
|
Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or .... |
91 |
|
|
92 |
|
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-2.sme |
93 |
|
- fix esmith::util::serviceControl to manage systemd service [SME: 9660] |
94 |
|
- Added e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch |
95 |
|
|
96 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
97 |
- Initial release to sme10 |
- Initial release to sme10 |
98 |
|
|
273 |
* 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 |
274 |
- Roll stable stream. [SME: 2328] |
- Roll stable stream. [SME: 2328] |
275 |
|
|
276 |
* 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 |
277 |
|
Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or .... |
278 |
- Added the validatePassword function to esmith::util. [SME: 2100] |
- Added the validatePassword function to esmith::util. [SME: 2100] |
279 |
|
|
280 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
380 |
- Remove newlines from cluck() string and just note that the old |
- Remove newlines from cluck() string and just note that the old |
381 |
path was used [SME: 365] |
path was used [SME: 365] |
382 |
|
|
383 |
* 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 |
384 |
|
Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or .... |
385 |
- If db exists in both the old and new locations in |
- If db exists in both the old and new locations in |
386 |
initialize_default_databases, rename the one in the new |
initialize_default_databases, rename the one in the new |
387 |
location to db.time(), avoiding the conflict and saving the |
location to db.time(), avoiding the conflict and saving the |
865 |
|
|
866 |
%prep |
%prep |
867 |
%setup |
%setup |
868 |
|
%patch0 -p1 |
869 |
|
%patch1 -p1 |
870 |
|
%patch2 -p1 |
871 |
|
%patch3 -p1 |
872 |
|
%patch4 -p1 |
873 |
|
%patch5 -p1 |
874 |
|
%patch6 -p1 |
875 |
|
# creating an event that do nothing. db init is done every time by yum already. |
876 |
|
mkdir root/etc/e-smith/events/e-smith-lib-update |
877 |
|
%patch7 -p1 |
878 |
|
%patch8 -p1 |
879 |
|
|
880 |
%pre |
%pre |
881 |
|
|
888 |
mkdir -p root/etc/e-smith/events/$event |
mkdir -p root/etc/e-smith/events/$event |
889 |
done |
done |
890 |
perl createlinks |
perl createlinks |
891 |
|
find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g' |
892 |
|
|
893 |
%install |
%install |
894 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |