/[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.13 - (show annotations) (download)
Fri Mar 19 03:01:43 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-12_el7_sme, HEAD
Changes since 1.12: +7 -5 lines
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-12.sme
-  reverting removal of deamontools [SME: 9692]
   could be needed for legacy support with rc7.d services

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

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