]>
Commit | Line | Data |
---|---|---|
1 | Summary: Secure finger daemon | |
2 | Summary(pl.UTF-8): Bezpieczny serwer finger | |
3 | Name: ffingerd | |
4 | Version: 1.28 | |
5 | Release: 9 | |
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 | BuildRequires: rpmbuild(macros) >= 1.268 | |
18 | Requires: inetdaemon | |
19 | Requires: rc-inetd >= 0.8.1 | |
20 | Provides: fingerd | |
21 | Obsoletes: bsd-fingerd | |
22 | Obsoletes: cfingerd | |
23 | Obsoletes: efingerd | |
24 | Obsoletes: finger-server | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | The ffingerd program is a drop-in replacement for the standard fingerd | |
29 | daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd | |
30 | does not allow global finger queries (finger @host), indirect finger | |
31 | queries (finger foo@host.a@host.b), it does not give away valuable | |
32 | information like the shell, login directory and time of last login, | |
33 | and users can put a ".nofinger" file in their homes and then ffingerd | |
34 | will respond with "That user does not want to be fingered". | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Program ffingerd jest zamiennikiem dla standardowego demona fingerd. | |
38 | Jest uruchamiany przez inetd i pracuje jako użytkownik nobody. | |
39 | Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania | |
40 | pośrednie (finger foo@host.a@host.b), nie wyświetla informacji o | |
41 | powłoce użytkownika, jego katalogu domowym i czasie ostatniego | |
42 | zalogowania. Umożliwia użytkownikom stworzenie w katalogu domowym | |
43 | pliku ".nofinger". | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | %patch0 -p1 | |
48 | %patch1 -p1 | |
49 | %patch2 -p1 | |
50 | ||
51 | %build | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %configure \ | |
55 | CFLAGS="%{rpmcflags} -D__ss_family=ss_family" \ | |
56 | --enable-ipv6 | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd | |
67 | ||
68 | %post | |
69 | %service -q rc-inetd reload | |
70 | ||
71 | %postun | |
72 | if [ "$1" = 0 ]; then | |
73 | %service -q rc-inetd reload | |
74 | fi | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc README NEWS TODO | |
82 | %attr(755,root,root) %{_sbindir}/* | |
83 | %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd | |
84 | ||
85 | %{_mandir}/man8/* |