## $Id$ ## This package understands the following switches: ## --without dietlibc ... disable usage of dietlibc %{!?release_func:%global release_func() %1%{?dist}} Name: freedt Version: 0.21 Release: %release_func 1 Summary: Reimplementation of Dan Bernstein's daemontools under the GNU GPL Group: System Environment/Base License: GPL URL: http://offog.org/code/freedt.html Source0: http://offog.org/files/%name-%version.tar.gz BuildRoot: %_tmppath/%name-%version-%release-root-%(%__id_u -n) Provides: djb(daemontools) = %name %{!?_without_dietlibc:BuildRequires: dietlibc} %description freedt is a reimplementation of Dan Bernstein's daemontools under the GNU GPL, sharing no code with the original implementation. It currently includes feature-equivalent replacements for argv0, envdir, envuidgid, setlock, setuidgid, softlimit, supervise, svc, svok, svscan, svstat and recordio. It also includes dumblog (a simple multilog replacement), mkservice (a script for automatically creating service directories), anonidentd (an anonymising identd implementation) and ratelimit (a bandwidth-limiting filter along the lines of recordio). All the tools include usage messages; for instance, do "ratelimit -h" for a brief rundown of the options. Please note that this package is not a drop-in replacement for daemontools; the internal state files in service directories are different, and the error messages (and a few of the options) aren't quite the same. While it's stable enough that the author (and several other people) are using it, it's also still somewhat experimental, so the author recommends sticking with daemontools on production systems until a stable release. %prep %setup -q %build %{!?_without_dietlibc:export CC='diet -Os %__cc'} %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %_bindir/* %changelog * Tue Dec 27 2005 Enrico Scholz - 0.21-1 - initial build