1 Summary: Secure finger daemon
2 Summary(pl): Bezpieczny serwer finger
6 Group: Networking/Daemons
7 Group(pl): Sieciowe/Serwery
9 Source: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2
10 Source1: %{name}.inetd
11 Patch0: ffingerd-DESTDIR.patch
12 Patch1: http://www.misiek.eu.org/ipv6/ffingerd-1.25.ipv6.patch.gz
16 BuildRoot: /tmp/%{name}-%{version}-root
19 The ffingerd program is a drop-in replacement for the standard fingerd
20 daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd does
21 not allow global finger queries (finger @host), indirect finger queries
22 (finger foo@host.a@host.b), it does not give away valuable information like
23 the shell, login directory and time of last login, and users can put
24 a ".nofinger" file in their homes and then ffingerd will respond with
25 "That user does not want to be fingered".
28 Program ffingerd jest zamiennikiem dla standardowego demona fingerd.
29 Jest uruchamiany przez inetd i pracuje jako u¿ytkownik nobody.
30 Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania
31 po¶rednie (finger foo@host.a@host.b), nie wy¶wietla informacji o pow³oce
32 u¿ytkownika, jego katalogu domowym i czasie ostatniego zalogowania.
33 Umo¿liwia u¿ytkownikom stworzenie w katalogu domowym pliku ".nofinger".
41 LDFLAGS="-s"; export LDFLAGS
43 %configure --enable-ipv6
47 rm -rf $RPM_BUILD_ROOT
49 make install DESTDIR=$RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
52 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ffingerd
54 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
58 if [ -f /var/lock/subsys/rc-inetd ]; then
59 /etc/rc.d/init.d/rc-inetd restart 1>&2
61 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
65 if [ -f /var/lock/subsys/rc-inetd ]; then
66 /etc/rc.d/init.d/rc-inetd restart
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc {README,NEWS,TODO}.gz
75 %attr(755,root,root) %{_sbindir}/*
76 %attr(640,root,root) /etc/sysconfig/rc-inetd/ffingerd