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: /tmp/%{name}-%{version}-root
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/man/{man8,man5},etc/crontab.d}
36 install autolog $RPM_BUILD_ROOT/usr/sbin
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 stop >&2
47 /etc/rc.d/init.d/crond start >&2
49 echo "Run \"/etc/rc.d/init.d/crond start\" to activate autolog."
53 if test -r /var/run/crond.pid; then
54 /etc/rc.d/init.d/crond stop >&2
55 /etc/rc.d/init.d/crond start >&2
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(700,root,root) /usr/sbin/autolog
65 %attr(700,root,root) /etc/crontab.d/autolog
66 %attr(600,root,root) %config(noreplace) /etc/autolog.conf
70 * Tue Apr 6 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
73 - added %post, %preun with restarting crond on install, upgrade and
74 uninstall autolog; this allow automated {de}activate autolog.
76 * Fri Oct 16 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
77 - initial rpm release.