1 Summary: A mail checker client and comsat mail checking server.
6 Group: System Environment/Daemons
7 Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/finger/biff+comsat-0.10.tar.gz
9 Patch0: biff+comsat-0.10-misc.patch
10 Patch1: biff+comsat-0.10-nobr.patch
14 BuildRoot: /tmp/%{name}-%{version}-root
17 The biff client and comsat server are an antiquated method of
18 asynchronous mail notification. Although they are still supported, most
19 users use their shell's MAIL variable (or csh shell's mail variable) to
20 check for mail, or a dedicated application like xbiff or xmailbox. If
21 the comsat service is not enabled, biff won't work and you'll need to use
22 either the MAIL or mail variable.
24 You may want to install biff if you'd like to be notified when mail
25 arrives. However, you should probably check out the more modern
26 methodologies of mail notification (xbiff or xmailbox) instead.
29 %setup -q -n biff+comsat-0.10
34 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}}
39 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
41 make install INSTALLROOT=$RPM_BUILD_ROOT \
44 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/comsat
46 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{1,8}/*
49 rm -rf $RPM_BUILD_ROOT
52 if [ -f /var/lock/subsys/rc-inetd ]; then
53 /etc/rc.d/init.d/rc-inetd restart 1>&2
55 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
59 if [ -f /var/lock/subsys/rc-inetd ]; then
60 /etc/rc.d/init.d/rc-inetd restart
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/biff
66 %attr(755,root,root) %{_sbindir}/in.comsat
67 %{_mandir}/man1/biff.1.gz
68 %{_mandir}/man8/in.comsat.8.gz
69 %{_mandir}/man8/comsat.8.gz
70 %attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/rc-inetd/comsat