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