]> git.pld-linux.org Git - packages/ffingerd.git/blob - ffingerd.spec
- updated to 1.28.
[packages/ffingerd.git] / ffingerd.spec
1 Summary:        Secure finger daemon
2 Summary(pl):    Bezpieczny serwer finger
3 Name:           ffingerd
4 Version:        1.28
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 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 URL:            http://www.fefe.de/ffingerd/
13 Requires:       inetdaemon
14 Prereq:         rc-inetd >= 0.8.1
15 Provides:       fingerd
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Obsoletes:      bsd-fingerd
18 Obsoletes:      finger-server
19 Obsoletes:      cfingerd
20
21 %description
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 does
24 not allow global finger queries (finger @host), indirect finger queries
25 (finger foo@host.a@host.b), it does not give away valuable information like
26  the shell, login directory and time of last login, and users can put a
27 ".nofinger" file in their homes and then ffingerd will respond with "That
28 user does not want to be fingered".
29
30 %description -l pl
31 Program ffingerd jest zamiennikiem dla standardowego demona fingerd. Jest
32 uruchamiany przez inetd i pracuje jako u¿ytkownik nobody. Ffingerd nie
33 pozwala na zapytania globalne (finger @host), zapytania  po¶rednie (finger
34 foo@host.a@host.b), nie wy¶wietla informacji o pow³oce u¿ytkownika, jego
35 katalogu domowym i czasie ostatniego zalogowania. Umo¿liwia u¿ytkownikom
36 stworzenie w katalogu domowym pliku ".nofinger".
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 %build
43 LDFLAGS="-s"; export LDFLAGS
44 autoconf
45 automake -a ||
46 %configure --enable-ipv6
47 make
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 make install DESTDIR=$RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
55 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
56
57 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
58         README NEWS TODO
59
60 %post
61 if [ -f /var/lock/subsys/rc-inetd ]; then
62         /etc/rc.d/init.d/rc-inetd reload 1>&2
63 else
64         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
65 fi
66
67 %postun
68 if [ -f /var/lock/subsys/rc-inetd ]; then
69         /etc/rc.d/init.d/rc-inetd reload
70 fi
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc {README,NEWS,TODO}.gz
78 %attr(755,root,root) %{_sbindir}/*
79 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd
80
81 %{_mandir}/man8/*
This page took 0.06515 seconds and 3 git commands to generate.