]> git.pld-linux.org Git - packages/ffingerd.git/blob - ffingerd.spec
- release 8 to rebuild with ac
[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:        8
6 License:        GPL
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
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 %patch2 -p1
49
50 %build
51 %{__aclocal}
52 %{__autoconf}
53 %configure \
54         CFLAGS="%{rpmcflags} -D__ss_family=ss_family" \
55         --enable-ipv6
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
66
67 %post
68 if [ -f /var/lock/subsys/rc-inetd ]; then
69         /etc/rc.d/init.d/rc-inetd reload 1>&2
70 else
71         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
72 fi
73
74 %postun
75 if [ -f /var/lock/subsys/rc-inetd ]; then
76         /etc/rc.d/init.d/rc-inetd reload
77 fi
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc README NEWS TODO
85 %attr(755,root,root) %{_sbindir}/*
86 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd
87
88 %{_mandir}/man8/*
This page took 0.105281 seconds and 3 git commands to generate.