]> git.pld-linux.org Git - packages/ffingerd.git/blob - ffingerd.spec
- use macros in %{pre,post}{,un}
[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:        5
6 License:        GPL
7 Group:          Networking/Daemons
8 Group(de):      Netzwerkwesen/Server
9 Group(pl):      Sieciowe/Serwery
10 Source0:        ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2
11 Source1:        %{name}.inetd
12 Patch0:         %{name}-DESTDIR.patch
13 Patch1:         %{name}-gethostbyaddr_is_in_libc_aka_no_libnsl.patch
14 URL:            http://www.fefe.de/ffingerd/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 Requires:       inetdaemon
18 Prereq:         rc-inetd >= 0.8.1
19 Provides:       fingerd
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      bsd-fingerd
22 Obsoletes:      finger-server
23 Obsoletes:      cfingerd
24 Obsoletes:      efingerd
25
26 %description
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".
34
35 %description -l pl
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
42 pliku ".nofinger".
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 aclocal
51 autoconf
52 %configure \
53         --enable-ipv6
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
59
60 %{__make} install DESTDIR=$RPM_BUILD_ROOT
61
62 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
63
64 gzip -9nf README NEWS TODO
65
66 %post
67 %rc_inetd_post
68
69 %postun
70 %rc_inetd_postun
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.09262 seconds and 3 git commands to generate.