cvsdist 2ec925
Summary: The finger client.
cvsdist 2ec925
Name: finger
cvsdist 2ec925
Version: 0.17
Radek Vokál 931dc0
Release: 28
cvsdist f4eb08
License: 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 a38ea6
Patch1: bsd-finger-0.16-pts.patch
cvsdist a38ea6
Patch2: bsd-finger-0.17-exact.patch
cvsdist a38ea6
Patch3: bsd-finger-0.16-allocbroken.patch
cvsdist a38ea6
Patch4: bsd-finger-0.17-rfc742.patch
cvsdist a38ea6
Patch5: bsd-finger-0.17-time.patch
cvsdist a38ea6
Patch6: bsd-finger-0.17-usagi-ipv6.patch
cvsdist a38ea6
Patch7: bsd-finger-0.17-typo.patch
cvsdist a38ea6
Patch8: bsd-finger-0.17-strip.patch
cvsdist a38ea6
Patch9: bsd-finger-0.17-utmp.patch
cvsdist 2ec925
BuildRoot: %{_tmppath}/%{name}-root
cvsdist ac03de
BuildRequires: gcc, glibc-devel, perl
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 a38ea6
%patch1 -p1 -b .pts
cvsdist a38ea6
%patch2 -p1 -b .exact
cvsdist a38ea6
%patch3 -p1
cvsdist a38ea6
%patch4 -p1 -b .rfc742
cvsdist a38ea6
%patch5 -p1 -b .time
cvsdist a38ea6
%patch6 -p1 -b .ipv6
cvsdist a38ea6
%patch7 -p1 -b .typo
cvsdist a38ea6
%patch8 -p1 -b .strip
cvsdist a38ea6
%patch9 -p1 -b .utmp
cvsdist 2ec925
cvsdist 2ec925
%build
cvsdist d3f137
sh configure --enable-ipv6
cvsdist 2ec925
perl -pi -e '
cvsdist 2ec925
    s,^CC=.*$,CC=cc,;
cvsdist f4eb08
    s,-O2,-fPIC \$(RPM_OPT_FLAGS),;
cvsdist 2ec925
    s,^BINDIR=.*$,BINDIR=%{_bindir},;
cvsdist 2ec925
    s,^MANDIR=.*$,MANDIR=%{_mandir},;
cvsdist 2ec925
    s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
cvsdist f4eb08
    s,^LDFLAGS=.*$,LDFLAGS=-pie,;
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
Radek Vokál 931dc0
* Fri Mar 04 2005 Radek Vokal <rvokal@redhat.com> 0.17-28
Radek Vokál 931dc0
- gcc4 rebuilt
Radek Vokál 931dc0
Radek Vokál e1640d
* Wed Feb 09 2005 Radek Vokal <rvokal@redhat.com> 0.17-27
Radek Vokál e864d6
- rebuilt to get fortified
Radek Vokál e864d6
cvsdist a38ea6
* Mon Sep 06 2004 Radek Vokal <rvokal@redhat.com> 0.17-26
cvsdist a38ea6
- rebuilt
cvsdist a38ea6
cvsdist ac03de
* Tue Jun 15 2004 Alan Cox <alan@redhat.com>
cvsdist ac03de
- Made finger agree with our other apps about how utmp is managed
cvsdist ac03de
- Removed dead users from the lists as a result
cvsdist ac03de
- Fixed random idle time bug
cvsdist ac03de
cvsdist b3c3e0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b3c3e0
- rebuilt
cvsdist b3c3e0
cvsdist f4eb08
* Wed Feb 25 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-21
cvsdist f4eb08
- rebuilt
cvsdist f4eb08
- Made fingerd PIE.
cvsdist f4eb08
cvsdist f4eb08
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f4eb08
- rebuilt
cvsdist f4eb08
cvsdist 2031a8
* Mon Sep 01 2003 Phil Knirsch <pknirsch@redhat.com> 0.17-18.1
cvsdist 2031a8
- rebuilt
cvsdist 2031a8
cvsdist 2031a8
* Mon Sep 01 2003 Phil Knirsch <pknirsch@redhat.com> 0.17-18
cvsdist 2031a8
- Fixed manpage bug (#75705).
cvsdist 2031a8
cvsdist 2031a8
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 0.17-17
cvsdist 2031a8
- rebuilt
cvsdist 2031a8
cvsdist 2031a8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 0.17-16
cvsdist d01319
- rebuilt
cvsdist d01319
cvsdist d01319
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.17-15
cvsdist d01319
- rebuild on all arches
cvsdist d01319
cvsdist 2031a8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.17-14
cvsdist 461d74
- automated rebuild
cvsdist 461d74
cvsdist 8caaf6
* Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-13
cvsdist 8caaf6
- Don't forcibly strip binaries
cvsdist 8caaf6
cvsdist 8caaf6
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 8caaf6
- automated rebuild
cvsdist 8caaf6
cvsdist 8caaf6
* Thu Jan 24 2002 Phil Knirsch <pknirsch@redhat.com>
cvsdist 8caaf6
- Fixed various typos in manpage/app (#51891, #54916, #57588)
cvsdist 8caaf6
cvsdist 8caaf6
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 8caaf6
- automated rebuild
cvsdist 8caaf6
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