cvsdist 2ec925
Summary: The finger client.
cvsdist 2ec925
Name: finger
cvsdist 2ec925
Version: 0.17
cvsdist d3f137
Release: 9
cvsdist 2ec925
Copyright: BSD
cvsdist 2ec925
Group: Applications/Internet
cvsdist d3f137
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-%{version}.tar.gz
cvsdist 2ec925
Source1: finger-xinetd
cvsdist 2ec925
Patch5: bsd-finger-0.16-pts.patch
cvsdist 2ec925
Patch7: bsd-finger-0.17-exact.patch
cvsdist 2ec925
Patch8: bsd-finger-0.16-allocbroken.patch
cvsdist 2ec925
Patch9: bsd-finger-0.17-rfc742.patch
cvsdist 5ac8d5
Patch10: bsd-finger-0.17-time.patch
cvsdist d3f137
Patch11: bsd-finger-0.17-usagi-ipv6.patch
cvsdist 2ec925
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 2ec925
cvsdist 2ec925
%description
cvsdist 2ec925
Finger is a utility which allows users to see information about system
cvsdist 2ec925
users (login name, home directory, name, how long they've been logged
cvsdist 2ec925
in to the system, etc.).  The finger package includes a standard
cvsdist 2ec925
finger client.
cvsdist 2ec925
cvsdist 2ec925
You should install finger if you'd like to retrieve finger information
cvsdist 2ec925
from other systems.
cvsdist 2ec925
cvsdist 2ec925
%package server
cvsdist 2ec925
Summary: The finger daemon.
cvsdist 2ec925
Group: System Environment/Daemons
cvsdist 2ec925
Requires: xinetd
cvsdist 2ec925
cvsdist 2ec925
%description server
cvsdist 2ec925
Finger is a utility which allows users to see information about system
cvsdist 2ec925
users (login name, home directory, name, how long they've been logged
cvsdist 2ec925
in to the system, etc.).  The finger-server package includes a standard
cvsdist 2ec925
finger server. The server daemon (fingerd) runs from /etc/inetd.conf,
cvsdist 2ec925
which must be modified to disable finger requests.
cvsdist 2ec925
cvsdist 2ec925
You should install finger-server if your system is used by multiple users
cvsdist 2ec925
and you'd like finger information to be available.
cvsdist 2ec925
cvsdist 2ec925
%prep
cvsdist d3f137
%setup -q -n bsd-finger-%{version}
cvsdist 2ec925
%patch5 -p1 -b .pts
cvsdist 2ec925
# XXX not applied
cvsdist 2ec925
%patch7 -p1 -b .exact
cvsdist 2ec925
%patch8 -p1
cvsdist 2ec925
%patch9 -p1 -b .rfc742
cvsdist 5ac8d5
%patch10 -p1 -b .time
cvsdist d3f137
%patch11 -p1 -b .ipv6
cvsdist 2ec925
cvsdist 2ec925
%build
cvsdist d3f137
sh configure --enable-ipv6
cvsdist 2ec925
perl -pi -e '
cvsdist 2ec925
    s,^CC=.*$,CC=cc,;
cvsdist 2ec925
    s,-O2,\$(RPM_OPT_FLAGS),;
cvsdist 2ec925
    s,^BINDIR=.*$,BINDIR=%{_bindir},;
cvsdist 2ec925
    s,^MANDIR=.*$,MANDIR=%{_mandir},;
cvsdist 2ec925
    s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
cvsdist 2ec925
    ' MCONFIG
cvsdist 2ec925
cvsdist 2ec925
make
cvsdist 2ec925
cvsdist 2ec925
%install
cvsdist 2ec925
rm -rf ${RPM_BUILD_ROOT}
cvsdist 2ec925
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
cvsdist 2ec925
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
cvsdist 2ec925
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
cvsdist 2ec925
cvsdist 2ec925
mkdir -p ${RPM_BUILD_ROOT}/etc/xinetd.d
cvsdist 2ec925
install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}/etc/xinetd.d/finger
cvsdist 2ec925
cvsdist 2ec925
make INSTALLROOT=${RPM_BUILD_ROOT} install
cvsdist 2ec925
cvsdist 2ec925
%clean
cvsdist 2ec925
rm -rf ${RPM_BUILD_ROOT}
cvsdist 2ec925
cvsdist 2ec925
%files
cvsdist 2ec925
%defattr(-,root,root)
cvsdist 2ec925
%attr(0711,root,root)	%{_bindir}/finger
cvsdist 2ec925
%{_mandir}/man1/finger.1*
cvsdist 2ec925
cvsdist 2ec925
%files server
cvsdist 2ec925
%defattr(-,root,root)
cvsdist 5ac8d5
%config(noreplace) /etc/xinetd.d/finger
cvsdist 2ec925
%attr(0711,root,root)	%{_sbindir}/in.fingerd
cvsdist 2ec925
%{_mandir}/man8/in.fingerd.8*
cvsdist 2ec925
%{_mandir}/man8/fingerd.8*
cvsdist 2ec925
cvsdist 2ec925
%changelog
cvsdist d3f137
* Wed Apr 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
cvsdist d3f137
- Approved
cvsdist d3f137
- * Sun Mar 11 2001 Pekka Savola <pekkas@netcore.fi>
cvsdist d3f137
- - Add IPv6 support from USAGI, update to 0.17 final (no changes)
cvsdist d3f137
cvsdist 5ac8d5
* Tue Feb 27 2001 Preston Brown <pbrown@redhat.com>
cvsdist 5ac8d5
- noreplace xinetd.d config file
cvsdist 5ac8d5
cvsdist 5ac8d5
* Mon Feb 12 2001 Crutcher Dunnavant <crutcher@redhat.com>
cvsdist 5ac8d5
- time patch to handle time.h moving, credit to howarth@fuse.net
cvsdist 5ac8d5
- closes bug #26766
cvsdist 5ac8d5
cvsdist 5ac8d5
* Fri Dec  1 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 5ac8d5
- make sure finger is turned off by default
cvsdist 5ac8d5
cvsdist 2ec925
* Sun Aug 27 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2ec925
- add patch to always call getpwnam() instead of just when -m is specified
cvsdist 2ec925
cvsdist 2ec925
* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- fix RFC742 problem (again) (#6728).
cvsdist 2ec925
cvsdist 2ec925
* Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2ec925
- add description & default to xinetd file
cvsdist 2ec925
cvsdist 2ec925
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 2ec925
- automatic rebuild
cvsdist 2ec925
cvsdist 2ec925
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- FHS packaging.
cvsdist 2ec925
- update to 0.17.
cvsdist 2ec925
cvsdist 2ec925
* Wed May 31 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 2ec925
- fix the broken malloc code in finger client
cvsdist 2ec925
cvsdist 2ec925
* Mon May 22 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 2ec925
- converted to use /etc/xinetd.d
cvsdist 2ec925
cvsdist 2ec925
* Tue May 16 2000 Chris Evans <chris@ferret.lmh.ox.ac.uk>
cvsdist 2ec925
- make some files mode -rwx--x--x as a security hardening measure 
cvsdist 2ec925
cvsdist 2ec925
* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2ec925
- fix description
cvsdist 2ec925
cvsdist 2ec925
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2ec925
- handle compressed manpages
cvsdist 2ec925
cvsdist 2ec925
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 2ec925
- fix description
cvsdist 2ec925
- man pages are compressed
cvsdist 2ec925
cvsdist 2ec925
* Tue Jan  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2ec925
- split client and server
cvsdist 2ec925
cvsdist 2ec925
* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- update to 0.16.
cvsdist 2ec925
cvsdist 2ec925
* Wed Jul 28 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- exact match w/o -m and add missing pts patch (#2118).
cvsdist 2ec925
- recompile with correct PATH_MAILDIR (#4218).
cvsdist 2ec925
cvsdist 2ec925
* Thu Apr  8 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- fix process table filled DOS attack (#1271)
cvsdist 2ec925
- fix pts display problems (#1987 partially)
cvsdist 2ec925
cvsdist 2ec925
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 2ec925
- auto rebuild in the new build environment (release 22)
cvsdist 2ec925
cvsdist 2ec925
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- compile for 6.0.
cvsdist 2ec925
cvsdist 2ec925
* Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- fix error message typo.
cvsdist 2ec925
cvsdist 2ec925
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2ec925
- build root
cvsdist 2ec925
cvsdist 2ec925
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 2ec925
- translations modified for de, fr, tr
cvsdist 2ec925
cvsdist 2ec925
* Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
cvsdist 2ec925
- added check for getpwnam() failure