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