Summary: The finger client Name: finger Version: 0.17 Release: %mkrel 17 License: BSD Group: Networking/Other URL: ftp://sunsite.unc.edu/pub/Linux/system/network/finger Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/finger/bsd-finger-%{version}.tar.bz2 Source1: finger.xinetd Patch0: bsd-finger-0.16-pts.patch Patch1: bsd-finger-0.10-exact.patch Patch2: bsd-finger-0.16-allocbroken.patch Patch3: bsd-finger-0.17-rfc742.patch Patch4: bsd-finger-0.17-glibc-2.2.2.patch %description Finger is a utility which allows users to see information about system users (login name, home directory, name, how long they've been logged in to the system, etc.). The finger package includes a standard finger client. You should install finger if you'd like to retreive finger information from other systems. %package server Summary: The finger daemon Group: System/Servers Requires(post): xinetd Requires(postun): xinetd %description server Finger is a utility which allows users to see information about system users (login name, home directory, name, how long they've been logged in to the system, etc.). The finger-server package includes a standard finger server. The server daemon (fingerd) runs from /etc/inetd.conf, which must be modified to disable finger requests. You should install finger-server if your system is used by multiple users and you'd like finger information to be available. %prep %setup -q -n bsd-finger-%{version} %patch0 -p1 #%patch2 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build sh configure perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS),; s,^BINDIR=.*$,BINDIR=%{_bindir},; s,^MANDIR=.*$,MANDIR=%{_mandir},; s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; ' MCONFIG %make %install mkdir -p %{buildroot}/{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}} install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/finger make INSTALLROOT=%{buildroot} install %post server /sbin/service xinetd reload > /dev/null 2>&1 || : %postun server /sbin/service xinetd reload > /dev/null 2>&1 || : %files %{_bindir}/finger %{_mandir}/man1/finger.1* %files server %config(noreplace) %{_sysconfdir}/xinetd.d/finger %{_sbindir}/in.fingerd %{_mandir}/man8/in.fingerd.8* %{_mandir}/man8/fingerd.8* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.17-17.mga5 + Revision: 745125 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.17-16.mga5 + Revision: 679198 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.17-15.mga4 + Revision: 504452 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 0.17-14.mga3 + Revision: 350362 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Jan 09 2011 kharec <kharec> 0.17-13.mga1 + Revision: 2526 - imported package finger * Thu Dec 02 2010 Oden Eriksson <oeriksson@mandriva.com> 0.17-13mdv2011.0 + Revision: 605143 - rebuild * Mon Mar 15 2010 Oden Eriksson <oeriksson@mandriva.com> 0.17-12mdv2010.1 + Revision: 520108 - rebuilt for 2010.1 * Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.17-11mdv2010.0 + Revision: 424442 - rebuild * Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 0.17-10mdv2009.0 + Revision: 220825 - rebuild * Sat Jan 12 2008 Thierry Vignaud <tv@mandriva.org> 0.17-9mdv2008.1 + Revision: 149726 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Mar 17 2007 Oden Eriksson <oeriksson@mandriva.com> 0.17-8mdv2007.1 + Revision: 145531 - Import finger * Sat Mar 17 2007 Oden Eriksson <oeriksson@mandriva.com> 0.17-8mdv2007.1 - use the %%mrel macro - bunzip patches * Mon May 15 2006 Stefan van der Eijk <stefan@eijk.nu> 0.17-7mdk - rebuild for sparc * Fri Oct 14 2005 Pixel <pixel@mandriva.com> 0.17-6mdk - rebuild