1 |
slords |
1.1 |
Summary: a UNIX init scheme with service supervision |
2 |
|
|
Name: runit |
3 |
|
|
Version: 1.7.2 |
4 |
|
|
Release: 1%{?dist} |
5 |
|
|
License: BSD style |
6 |
|
|
Group: System Enviornment/Daemons |
7 |
|
|
Url: http://smarden.org/runit/ |
8 |
|
|
Source: %{name}-%{version}.tar.gz |
9 |
|
|
Source1: runit.svup |
10 |
|
|
Source2: runit.svdown |
11 |
|
|
Source3: runit.svdepcalc |
12 |
|
|
Source4: runit.dependencies.README |
13 |
|
|
BuildRequires: dietlibc |
14 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}.root |
15 |
|
|
%description |
16 |
|
|
|
17 |
|
|
runit is a daemontools alike replacement for sysvinit and other init |
18 |
|
|
schemes. runit runs on GNU/Linux, OpenBSD, FreeBSD, and can easily be |
19 |
|
|
adapted to other unix operating systems. If runit runs for you on any |
20 |
|
|
other operating system or Linux distribution, please let me know. |
21 |
|
|
|
22 |
|
|
Warning: Replacing sysvinit or init can cause the system's boot to |
23 |
|
|
fail. Make sure you are able to recover and repair your system, for |
24 |
|
|
example if you run a boot loader, it should be able to pass init=/bin/sh |
25 |
|
|
to the kernel. |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
29 |
|
|
- Clean up spec so package can be built by koji/plague |
30 |
|
|
|
31 |
|
|
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> |
32 |
|
|
- Update to 1.7.2 |
33 |
|
|
|
34 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
35 |
|
|
- Update to new release naming. No functional changes. |
36 |
|
|
- Make Packager generic |
37 |
|
|
|
38 |
|
|
* Thu Nov 09 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.1-01 |
39 |
|
|
- Update to 1.7.1 |
40 |
|
|
|
41 |
|
|
* Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-02 |
42 |
|
|
- Build with dietlibc |
43 |
|
|
|
44 |
|
|
* Wed Nov 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.7.0-01 |
45 |
|
|
- Update to 1.7.0 |
46 |
|
|
|
47 |
|
|
* Thu Jun 29 2006 Charlie Brady <charlie_brady@mitel.com> 1.6.0-01 |
48 |
|
|
- Update to 1.6.0 |
49 |
|
|
|
50 |
|
|
* Sun May 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.5.1-01 |
51 |
|
|
- Update to 1.5.1 |
52 |
|
|
|
53 |
|
|
* Fri Feb 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.3.3-01 |
54 |
|
|
- Update to 1.3.3 |
55 |
|
|
|
56 |
|
|
* Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com> 1.3.1-01 |
57 |
|
|
- Update to 1.3.1. |
58 |
|
|
|
59 |
|
|
* Sun Jan 16 2005 Charlie Brady <charlieb@e-smith.com> 1.2.1-01 |
60 |
|
|
- Update to 1.2.1. |
61 |
|
|
|
62 |
|
|
* Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> 1.2.0-01 |
63 |
|
|
- Update to 1.2.0. |
64 |
|
|
|
65 |
|
|
* Thu Sep 23 2004 Charlie Brady <charlieb@e-smith.com> 1.0.5-01 |
66 |
|
|
- Update to 1.0.5. |
67 |
|
|
|
68 |
|
|
* Tue May 11 2004 Charlie Brady <charlieb@e-smith.com> 1.0.2-01 |
69 |
|
|
- Update to 1.0.2. |
70 |
|
|
- Do not build against uCLibc. |
71 |
|
|
|
72 |
|
|
* Tue Nov 04 2003 Charlie Brady <charlieb@e-smith.com> 0.12.0-01 |
73 |
|
|
- Update to rev 0.12.0 (which includes the isup/isdown patch). |
74 |
|
|
|
75 |
|
|
* Wed Oct 29 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-02 |
76 |
|
|
- Add dependency management and isupdown patches from Torne Wuff |
77 |
|
|
<torne-runit@wolfpuppy.org.uk>. |
78 |
|
|
- Build against uClibc. |
79 |
|
|
- Add missing man pages. |
80 |
|
|
|
81 |
|
|
* Thu Oct 02 2003 Charlie Brady <charlieb@e-smith.com> 0.11.2-01 |
82 |
|
|
- Upgrade to version 0.11.2. |
83 |
|
|
|
84 |
|
|
* Fri Jul 18 2003 Charlie Brady <charlieb@e-smith.com> 0.10-01 |
85 |
|
|
- Upgrade to version 0.10.0. Drop references to dietlibc (which wasn't |
86 |
|
|
actually used, but appears to have an incompatible license). |
87 |
|
|
|
88 |
|
|
* Wed Jun 18 2003 Charlie Brady <charlieb@e-smith.com> 0.95-01 |
89 |
|
|
- Initial |
90 |
|
|
|
91 |
|
|
%prep |
92 |
|
|
%setup -c -n %{name}-%{version} |
93 |
|
|
|
94 |
|
|
%build |
95 |
|
|
cd admin/%{name}-%{version} |
96 |
|
|
#Change the conf-cc and conf-ld to use diet |
97 |
|
|
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
98 |
|
|
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
99 |
|
|
./package/compile |
100 |
|
|
|
101 |
|
|
%install |
102 |
|
|
cd admin/%{name}-%{version} |
103 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
104 |
|
|
install %{SOURCE1} command/svisup |
105 |
|
|
install %{SOURCE2} command/svisdown |
106 |
|
|
install %{SOURCE3} command/svdepcalc |
107 |
|
|
install %{SOURCE4} doc/dependencies.README |
108 |
|
|
for i in $(cat package/commands) svisup svisdown svdepcalc |
109 |
|
|
do |
110 |
|
|
install command/$i $RPM_BUILD_ROOT/%{_bindir} |
111 |
|
|
done |
112 |
|
|
#mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 |
113 |
|
|
#install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
114 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 |
115 |
|
|
install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8 |
116 |
|
|
|
117 |
|
|
%clean |
118 |
|
|
rm -r $RPM_BUILD_ROOT |
119 |
|
|
|
120 |
|
|
%files |
121 |
|
|
%defattr(-,root,root) |
122 |
|
|
%{_bindir}/* |
123 |
|
|
%doc %{_mandir}/man8/* |
124 |
|
|
#%{_mandir}/man1/* |
125 |
|
|
%doc admin/%{name}-%{version}/package/COPYING |
126 |
|
|
%doc admin/%{name}-%{version}/doc/* |