1 Summary: Terminates connections for idle users.
2 Summary(pl): Przerywa po³±czenia bezczynnych u¿ytkowników.
9 Source: ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tgz
10 Patch: autolog-0.34.debian.diff
11 Requires: /etc/crontab.d
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Autolog is a program to automatically log off users who are idle for a specified
16 amount of time. A configuration file allows you to specify different idle times
17 and logout rules for different users, groups, tty lines, etc.
20 Autolog to program automatycznie wylogowuj±cy u¿ytkowników, którzy nie
21 korzystaj± przez okre¶lony czas z terminala. Plik konfiguracyjny pozwala
22 na okre¶lenie czasów oraz regu³ postêpowania dla ró¿nych u¿ytkowników, grup,
30 make CFLAGS="$RPM_OPT_FLAGS"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/{usr/sbin,usr/share/man/{man8,man5},etc/crontab.d}
36 install autolog $RPM_BUILD_ROOT%{_sbindir}
37 install crontab $RPM_BUILD_ROOT/etc/crontab.d/%{name}
38 install autolog.8 $RPM_BUILD_ROOT%{_mandir}/man8
39 install autolog.conf $RPM_BUILD_ROOT/etc
40 install autolog.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README
45 if test -r /var/run/crond.pid; then
46 /etc/rc.d/init.d/crond restart >&2
48 echo "Run \"/etc/rc.d/init.d/crond start\" to activate autolog."
52 if test -r /var/run/crond.pid; then
53 /etc/rc.d/init.d/crond restart >&2
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %attr(700,root,root) %{_sbindir}/autolog
63 %attr(700,root,root) /etc/crontab.d/autolog
64 %attr(600,root,root) %config(noreplace) /etc/autolog.conf