1 |
# $Id: e-smith-runit.spec,v 1.6 2016/07/22 09:56:57 unnilennium Exp $ |
2 |
|
3 |
Summary: generic support framework for Gerrit Pape's runit package |
4 |
%define name e-smith-runit |
5 |
Name: %{name} |
6 |
%define version 2.6.0 |
7 |
%define release 7 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-runit-2.6.0-systemd.patch |
14 |
Patch1: e-smith-runit-2.6.0-bootstrap.patch |
15 |
Patch2: e-smith-runit-2.6.0-bz9688.skipredirect.patch |
16 |
Patch3: e-smith-runit-2.6.0-bz11013-sme-server.target.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildRequires: e-smith-devtools |
19 |
BuildArchitectures: noarch |
20 |
Requires: runit >= 1.0.5 |
21 |
Provides: e-smith-daemontools = 1.7.1-09 |
22 |
Obsoletes: e-smith-daemontools |
23 |
Obsoletes: supervise-scripts |
24 |
|
25 |
%changelog |
26 |
* Wed Sep 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
27 |
- enable for sme-server.target [SME: 11013] |
28 |
|
29 |
* Fri Jul 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
30 |
- add systemd skip redirect [SME: 9688] |
31 |
|
32 |
* Mon Apr 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
33 |
- start runit before bootstrap console [SME: 9352] |
34 |
|
35 |
* Sun Mar 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
36 |
- fix typo in patch [SME: 9366] |
37 |
|
38 |
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
39 |
- make runit working with systemd [SME: 9366] |
40 |
|
41 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
42 |
- rebuild for Bug [SME: 9347] |
43 |
|
44 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
45 |
- Initial release to sme10 |
46 |
|
47 |
* Wed Jan 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
48 |
- Remove 15runsvdir and create /etc/init/runit.conf, |
49 |
by Charlie Brady [SME: 7325] |
50 |
|
51 |
* Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
52 |
- Roll new stream for sme9 |
53 |
|
54 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
55 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
56 |
|
57 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.0.0-6 |
58 |
- Make daemontools script use same echo that is translated [SME: 4120] |
59 |
|
60 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
61 |
- Clean up spec so package can be built by koji/plague |
62 |
|
63 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.0.0-5 |
64 |
- Fix signals sent to prevent errors and delays [SME: 1179] |
65 |
|
66 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.0.0-4 |
67 |
- Change runsvctrl to sv to support runit v1.7.x [SME: 1179] |
68 |
|
69 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
70 |
- Update to new release naming. No functional changes. |
71 |
- Make Packager generic |
72 |
|
73 |
* Tue Aug 22 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-02 |
74 |
- Add support for 'condrestart' param. [SME: 1870] |
75 |
|
76 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.0-01 |
77 |
- Roll stable stream version. [SME: 1016] |
78 |
|
79 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-06 |
80 |
- Bump release number only |
81 |
|
82 |
* Wed Jun 15 2005 Charlie Brady <charlieb@e-smith.com> |
83 |
- [0.0.1-05] |
84 |
- Provide more user feedback from init.d/daemontools script. |
85 |
[SF: 1218682] |
86 |
|
87 |
* Tue Apr 26 2005 Charlie Brady <charlieb@e-smith.com> |
88 |
- [0.0.1-04] |
89 |
- Reopen stdin from /dev/null before running runsvdir. This prevents any |
90 |
supervised services from stealing console input from VT1's getty/console. |
91 |
|
92 |
* Wed Dec 1 2004 Charlie Brady <charlieb@e-smith.com> |
93 |
- [0.0.1-03] |
94 |
- Call runsvctrl multiple times for multiple args - can't combine |
95 |
them (unlike svc). |
96 |
|
97 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
98 |
- [0.0.1-02] |
99 |
- Add Obsoletes header for supervise-scripts |
100 |
|
101 |
* Fri Sep 24 2004 Charlie Brady <charlieb@e-smith.com> 0.0.1-01 |
102 |
- Initial - functional replacement for e-smith-daemontools 1.7.1-09. |
103 |
|
104 |
%description |
105 |
Provide integration of Gerrit Pape's runit package into a SysV init script |
106 |
process environment. |
107 |
|
108 |
%prep |
109 |
%setup |
110 |
%patch0 -p1 |
111 |
%patch1 -p1 |
112 |
%patch2 -p1 |
113 |
%patch3 -p1 |
114 |
|
115 |
%build |
116 |
perl createlinks |
117 |
|
118 |
%install |
119 |
rm -rf $RPM_BUILD_ROOT |
120 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
121 |
rm -f %{name}-%{version}-%{release}-filelist |
122 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
123 |
> %{name}-%{version}-%{release}-filelist |
124 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
125 |
|
126 |
%clean |
127 |
rm -rf $RPM_BUILD_ROOT |
128 |
|
129 |
%pre |
130 |
%preun |
131 |
%post |
132 |
%postun |
133 |
|
134 |
%files -f %{name}-%{version}-%{release}-filelist |
135 |
%defattr(-,root,root) |