2 Summary: DJB daemontools
6 Copyright: D. J. Bernstein
7 Group: Networking/Admin
8 Source: ftp://koobera.math.uic.edu/www/software/daemontools-0.53.tar.gz
9 Buildroot: /tmp/%{name}-root
12 supervise monitors a service. It starts the service and restarts the
13 service if it dies. The companion svc program stops, pauses, or restarts
14 the service on sysadmin request. The svstat program prints a one-line
17 cyclog writes a log to disk. It automatically synchronizes the log every
18 100KB (by default) to guarantee data integrity after a crash. It
19 automatically rotates the log to keep it below 1MB (by default). If the
20 disk fills up, cyclog pauses and then tries again, without losing any
23 accustamp puts a precise timestamp on each line of input. The timestamp
24 is a numeric TAI timestamp with microsecond precision. The companion
25 tailocal program converts TAI timestamps to local time.
27 usually watches a log for lines that do not match specified patterns,
28 copying those lines to stderr. The companion errorsto program redirects
31 setuser runs a program under a user's uid and gid. Unlike su, setuser
32 does not gain privileges; it does not check passwords, and it cannot be
40 echo %{_bindir} >conf-bin
41 echo %{_mandir} >conf-man
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
48 install accustamp $RPM_BUILD_ROOT%{_bindir}
49 install cyclog $RPM_BUILD_ROOT%{_bindir}
50 install errorsto $RPM_BUILD_ROOT%{_bindir}
51 install fifo $RPM_BUILD_ROOT%{_bindir}
52 install supervise $RPM_BUILD_ROOT%{_bindir}
53 install svc $RPM_BUILD_ROOT%{_bindir}
54 install svstat $RPM_BUILD_ROOT%{_bindir}
55 install tailocal $RPM_BUILD_ROOT%{_bindir}
56 install testfilelock $RPM_BUILD_ROOT%{_bindir}
57 install usually $RPM_BUILD_ROOT%{_bindir}
58 install setuser $RPM_BUILD_ROOT%{_bindir}
59 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
61 gzip -9nf BLURB CHANGES INSTALL README THANKS TODO VERSION $RPM_BUILD_ROOT%{_mandir}/man1/*.1
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc {BLURB,CHANGES,INSTALL,README,THANKS,TODO,VERSION}.gz
69 %attr(644,root,root) %{_mandir}/*
70 %attr(755,root,root) %{_bindir}/*