Radek Vokál a77c56
Summary: The finger client
cvsdist 2ec925
Name: finger
cvsdist 2ec925
Version: 0.17
Dennis Gilmore d4ed43
Release: 45%{?dist}
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
Petr Lautrbach e83318
#BSD license text from sources
Petr Lautrbach e83318
Source2: COPYING
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
Radek Vokál 13963e
Patch10: bsd-finger-wide-char-support5.patch
Radek Vokál 14f64a
Patch11: bsd-finger-0.17-init-realname.patch
Petr Lautrbach 6fcb5f
Patch12: bsd-finger-0.17-host-info.patch
Radek Vokál a77c56
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Radek Vokál a77c56
BuildRequires: glibc-devel
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
Radek Vokál a77c56
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
Radek Vokál 74433a
%patch10 -p1 -b .widechar
Radek Vokál 14f64a
%patch11 -p1 
Petr Lautrbach 6fcb5f
%patch12 -p1 -b .host
cvsdist 2ec925
Petr Lautrbach e83318
install -m 644 %SOURCE2 COPYING
Petr Lautrbach e83318
cvsdist 2ec925
%build
cvsdist d3f137
sh configure --enable-ipv6
cvsdist 2ec925
perl -pi -e '
Radek Vokál a77c56
	s,^CC=.*$,CC=cc,;
Radek Vokál a77c56
	s,-O2,-fPIC \$(RPM_OPT_FLAGS),;
Radek Vokál a77c56
	s,^BINDIR=.*$,BINDIR=%{_bindir},;
Radek Vokál a77c56
	s,^MANDIR=.*$,MANDIR=%{_mandir},;
Radek Vokál a77c56
	s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
Radek Vokál a77c56
	s,^LDFLAGS=.*$,LDFLAGS=-pie,;
Radek Vokál a77c56
	' MCONFIG
cvsdist 2ec925
Radek Vokál a77c56
make %{?_smp_mflags}
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)
Radek Vokál aebea4
%attr(0755,root,root)	%{_bindir}/finger
cvsdist 2ec925
%{_mandir}/man1/finger.1*
Petr Lautrbach e83318
%doc COPYING
cvsdist 2ec925
cvsdist 2ec925
%files server
cvsdist 2ec925
%defattr(-,root,root)
cvsdist 5ac8d5
%config(noreplace) /etc/xinetd.d/finger
Radek Vokál 6c7c7a
%attr(0755,root,root)	%{_sbindir}/in.fingerd
cvsdist 2ec925
%{_mandir}/man8/in.fingerd.8*
cvsdist 2ec925
%{_mandir}/man8/fingerd.8*
Petr Lautrbach e83318
%doc COPYING
cvsdist 2ec925
cvsdist 2ec925
%changelog
Dennis Gilmore d4ed43
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-45
Dennis Gilmore d4ed43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore d4ed43
Dennis Gilmore ef25f8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-44
Dennis Gilmore ef25f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore ef25f8
Dennis Gilmore 56918d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-43
Dennis Gilmore 56918d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 56918d
Petr Lautrbach 6fcb5f
* Tue Jul 13 2010 Petr Lautrbach <plautrba@redhat.com> 0.17-42
Petr Lautrbach 6fcb5f
- print user host information in better format  (#532414) - <spoyarek@redhat.com>
Petr Lautrbach 6fcb5f
Petr Lautrbach 55d134
* Mon Jul 12 2010 Petr Lautrbach <plautrba@redhat.com> 0.17-41
Petr Lautrbach 55d134
- fix UTF-8 output in list of logged users (#490443)
Petr Lautrbach 55d134
Petr Lautrbach e83318
* Thu Jul 08 2010 Petr Lautrbach <plautrba@redhat.com> 0.17-40
Petr Lautrbach e83318
- added license text
Petr Lautrbach e83318
Radek Vokál 14f64a
* Mon Sep  7 2009 Radek Vokal <rvokal@redhat.com> - 0.17-39
Radek Vokál 14f64a
- init realname fix (#520203)
Radek Vokál 14f64a
Jesse Keating d029a9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-38
Jesse Keating d029a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating d029a9
Jesse Keating 94ca03
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-37
Jesse Keating 94ca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 94ca03
Jesse Keating 41fba7
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-36
Jesse Keating 41fba7
- Autorebuild for GCC 4.3
Jesse Keating 41fba7
Radek Vokál c45313
* Thu Aug 23 2007 Radek Vokál <rvokal@redhat.com> - 0.17-35
Radek Vokál c45313
- rebuilt
Radek Vokál c45313
Radek Vokál 6c7c7a
* Sun Feb  4 2007 Radek Vokál <rvokal@redhat.com> - 0.17-34
Radek Vokál 6c7c7a
- finger server permissions (#225754)
Radek Vokál 6c7c7a
Radek Vokál a77c56
* Sun Feb  4 2007 Radek Vokál <rvokal@redhat.com> - 0.17-33
Radek Vokál a77c56
- spec files cleanups according to MergeReview (#225754)
Radek Vokál a77c56
- dist tag added
Radek Vokál a77c56
Jesse Keating 332ff2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.2.1.1
Jesse Keating 332ff2
- rebuild
Jesse Keating 332ff2
Jesse Keating 1de686
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.2.1
Jesse Keating 1de686
- rebuild
Jesse Keating 1de686
Jesse Keating 35873b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.2
Jesse Keating 35873b
- bump again for double-long bug on ppc(64)
Jesse Keating 35873b
Jesse Keating 0afde3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.1
Jesse Keating 0afde3
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating 0afde3
Radek Vokál 13963e
* Thu Dec 15 2005 Radek Vokal <rvokal@redhat.com> 0.17-32
Radek Vokál 13963e
- another UTF-8 fix
Radek Vokál 13963e
Radek Vokál 74433a
* Tue Dec 13 2005 Radek Vokal <rvokal@redhat.com> 0.17-31
Radek Vokál 13963e
- real UTF-8 patch by <bnocera@redhat.com>
Radek Vokál 74433a
Jesse Keating 30f0dd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 30f0dd
- rebuilt
Jesse Keating 30f0dd
Radek Vokál cc3a11
* Mon Nov 28 2005 Radek Vokal <rvokal@redhat.com> 0.17-30
Radek Vokál cc3a11
- make finger UTF-8 happy (#174352)
Radek Vokál cc3a11
Radek Vokál aebea4
* Wed Jul 13 2005 Radek Vokal <rvokal@redhat.com> 0.17-29
Radek Vokál aebea4
- make finger world readable (#162643)
Radek Vokál aebea4
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
Radek Vokál a77c56
* Fri Dec  1 2000 Trond Eivind Glomsred <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
Radek Vokál a77c56
* Mon May 22 2000 Trond Eivind Glomsred <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