1 Summary: Secure finger daemon
2 Summary(pl): Bezpieczny serwer finger
7 Group: Networking/Daemons
8 Group(pl): Sieciowe/Serwery
9 Source0: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2
10 Source1: %{name}.inetd
11 Patch0: ffingerd-DESTDIR.patch
12 URL: http://www.fefe.de/ffingerd/
14 Prereq: rc-inetd >= 0.8.1
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Obsoletes: bsd-fingerd
18 Obsoletes: finger-server
22 The ffingerd program is a drop-in replacement for the standard fingerd
23 daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd
24 does not allow global finger queries (finger @host), indirect finger
25 queries (finger foo@host.a@host.b), it does not give away valuable
26 information like the shell, login directory and time of last login,
27 and users can put a ".nofinger" file in their homes and then ffingerd
28 will respond with "That user does not want to be fingered".
31 Program ffingerd jest zamiennikiem dla standardowego demona fingerd.
32 Jest uruchamiany przez inetd i pracuje jako u¿ytkownik nobody.
33 Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania
34 po¶rednie (finger foo@host.a@host.b), nie wy¶wietla informacji o
35 pow³oce u¿ytkownika, jego katalogu domowym i czasie ostatniego
36 zalogowania. Umo¿liwia u¿ytkownikom stworzenie w katalogu domowym
44 LDFLAGS="-s"; export LDFLAGS
47 %configure --enable-ipv6
51 rm -rf $RPM_BUILD_ROOT
53 make install DESTDIR=$RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
58 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
62 if [ -f /var/lock/subsys/rc-inetd ]; then
63 /etc/rc.d/init.d/rc-inetd reload 1>&2
65 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
69 if [ -f /var/lock/subsys/rc-inetd ]; then
70 /etc/rc.d/init.d/rc-inetd reload
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc {README,NEWS,TODO}.gz
79 %attr(755,root,root) %{_sbindir}/*
80 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd