Summary: A mail checker client and comsat mail checking server. Name: comsat Version: 0.10 Release: 22 Copyright: BSD Group: System Environment/Daemons Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/finger/biff+comsat-0.10.tar.gz Source1: comsat.inetd Patch0: biff+comsat-0.10-misc.patch Patch1: biff+comsat-0.10-nobr.patch Obsoletes: biff Provides: biff Prereq: rc-inetd BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The biff client and comsat server are an antiquated method of asynchronous mail notification. Although they are still supported, most users use their shell's MAIL variable (or csh shell's mail variable) to check for mail, or a dedicated application like xbiff or xmailbox. If the comsat service is not enabled, biff won't work and you'll need to use either the MAIL or mail variable. You may want to install biff if you'd like to be notified when mail arrives. However, you should probably check out the more modern methodologies of mail notification (xbiff or xmailbox) instead. %description -l pl Klient biff oraz serwer comsat to przestarzała metoda asynchronicznego powiadamianiu o nadchodzącej poczcie. Chciaż wciąż się je obsługuje, większość użytkowników ustawia w tym celu zmienną środowiskową MAIL (lub mail w csh i klonach) lub używa oddzielnej aplikacji takiej jak xbiff albo xmailbox. %prep %setup -q -n biff+comsat-0.10 %patch0 -p1 %patch1 -p1 %build make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}} install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd make install INSTALLROOT=$RPM_BUILD_ROOT \ MANDIR=%{_mandir} install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/comsat gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/* %clean rm -rf $RPM_BUILD_ROOT %post if [ -f /var/lock/subsys/rc-inetd ]; then /etc/rc.d/init.d/rc-inetd restart 1>&2 else echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2 fi %postun if [ -f /var/lock/subsys/rc-inetd ]; then /etc/rc.d/init.d/rc-inetd restart fi %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/biff %attr(755,root,root) %{_sbindir}/in.comsat %{_mandir}/man1/biff.1.gz %{_mandir}/man8/in.comsat.8.gz %{_mandir}/man8/comsat.8.gz %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/rc-inetd/comsat