1 Summary: Secure finger daemon
2 Summary(pl): Bezpieczny serwer finger
7 Group: Networking/Daemons
8 Source0: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2
9 # Source0-md5: 90e2ebbe8f299e12b4c5da401c0b71b1
10 Source1: %{name}.inetd
11 Patch0: %{name}-DESTDIR.patch
12 Patch1: %{name}-gethostbyaddr_is_in_libc_aka_no_libnsl.patch
13 Patch2: %{name}-SA_LEN.patch
14 URL: http://www.fefe.de/ffingerd/
15 BuildRequires: autoconf
16 BuildRequires: automake
18 Prereq: rc-inetd >= 0.8.1
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes: bsd-fingerd
22 Obsoletes: finger-server
27 The ffingerd program is a drop-in replacement for the standard fingerd
28 daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd
29 does not allow global finger queries (finger @host), indirect finger
30 queries (finger foo@host.a@host.b), it does not give away valuable
31 information like the shell, login directory and time of last login,
32 and users can put a ".nofinger" file in their homes and then ffingerd
33 will respond with "That user does not want to be fingered".
36 Program ffingerd jest zamiennikiem dla standardowego demona fingerd.
37 Jest uruchamiany przez inetd i pracuje jako u¿ytkownik nobody.
38 Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania
39 po¶rednie (finger foo@host.a@host.b), nie wy¶wietla informacji o
40 pow³oce u¿ytkownika, jego katalogu domowym i czasie ostatniego
41 zalogowania. Umo¿liwia u¿ytkownikom stworzenie w katalogu domowym
54 CFLAGS="%{rpmcflags} -D__ss_family=ss_family" \
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
64 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
67 if [ -f /var/lock/subsys/rc-inetd ]; then
68 /etc/rc.d/init.d/rc-inetd reload 1>&2
70 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
74 if [ -f /var/lock/subsys/rc-inetd ]; then
75 /etc/rc.d/init.d/rc-inetd reload
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_sbindir}/*
85 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd