/[smeserver]/rpms/e-smith-runit/sme10/e-smith-runit.spec
ViewVC logotype

Contents of /rpms/e-smith-runit/sme10/e-smith-runit.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.12 - (show annotations) (download)
Tue Mar 16 19:53:36 2021 UTC (3 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-11_el7_sme
Changes since 1.11: +8 -2 lines
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-11.sme
- cleanup of /etc/rc.d [SME: 9692]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed