]>
Commit | Line | Data |
---|---|---|
408c1d00 | 1 | Summary: Secure finger daemon |
212f6713 | 2 | Summary(pl.UTF-8): Bezpieczny serwer finger |
e0ad21b7 | 3 | Name: ffingerd |
34daa442 | 4 | Version: 1.28 |
7c6c6b9b | 5 | Release: 9 |
c2492d6c | 6 | License: GPL |
e0ad21b7 | 7 | Group: Networking/Daemons |
3f29dc8e | 8 | Source0: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2 |
2a01b409 | 9 | # Source0-md5: 90e2ebbe8f299e12b4c5da401c0b71b1 |
856c4a8d | 10 | Source1: %{name}.inetd |
dbe8019e | 11 | Patch0: %{name}-DESTDIR.patch |
12 | Patch1: %{name}-gethostbyaddr_is_in_libc_aka_no_libnsl.patch | |
d31ad1a2 | 13 | Patch2: %{name}-SA_LEN.patch |
10945eb2 | 14 | URL: http://www.fefe.de/ffingerd/ |
dbe8019e | 15 | BuildRequires: autoconf |
37e4ba5f | 16 | BuildRequires: automake |
33e0acd8 | 17 | BuildRequires: rpmbuild(macros) >= 1.268 |
856c4a8d | 18 | Requires: inetdaemon |
33e0acd8 | 19 | Requires: rc-inetd >= 0.8.1 |
e0ad21b7 | 20 | Provides: fingerd |
48fe3445 | 21 | Obsoletes: bsd-fingerd |
777d9018 | 22 | Obsoletes: cfingerd |
648c0d72 | 23 | Obsoletes: efingerd |
33e0acd8 ER |
24 | Obsoletes: finger-server |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
e0ad21b7 | 26 | |
27 | %description | |
28 | The ffingerd program is a drop-in replacement for the standard fingerd | |
3f29dc8e | 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". | |
e0ad21b7 | 35 | |
f1f22694 | 36 | %description -l pl.UTF-8 |
3f29dc8e | 37 | Program ffingerd jest zamiennikiem dla standardowego demona fingerd. |
f1f22694 | 38 | Jest uruchamiany przez inetd i pracuje jako użytkownik nobody. |
3f29dc8e | 39 | Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania |
f1f22694 JR |
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 | |
3f29dc8e | 43 | pliku ".nofinger". |
e0ad21b7 | 44 | |
45 | %prep | |
46 | %setup -q | |
3dbaf074 | 47 | %patch0 -p1 |
dbe8019e | 48 | %patch1 -p1 |
d31ad1a2 | 49 | %patch2 -p1 |
e0ad21b7 | 50 | |
51 | %build | |
b65326ed | 52 | %{__aclocal} |
ff600165 | 53 | %{__autoconf} |
37e4ba5f | 54 | %configure \ |
d31ad1a2 | 55 | CFLAGS="%{rpmcflags} -D__ss_family=ss_family" \ |
37e4ba5f | 56 | --enable-ipv6 |
8ed8fcac | 57 | %{__make} |
e0ad21b7 | 58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
37e4ba5f | 61 | install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd |
e0ad21b7 | 62 | |
2f82ade1 PG |
63 | %{__make} install \ |
64 | DESTDIR=$RPM_BUILD_ROOT | |
e0ad21b7 | 65 | |
c2492d6c | 66 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd |
856c4a8d | 67 | |
48fe3445 | 68 | %post |
33e0acd8 | 69 | %service -q rc-inetd reload |
4e914011 | 70 | |
71 | %postun | |
33e0acd8 ER |
72 | if [ "$1" = 0 ]; then |
73 | %service -q rc-inetd reload | |
4e417538 | 74 | fi |
330d93db | 75 | |
e0ad21b7 | 76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
5ab32d8f | 81 | %doc README NEWS TODO |
4e962f57 | 82 | %attr(755,root,root) %{_sbindir}/* |
c2492d6c | 83 | %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd |
e0ad21b7 | 84 | |
a5746cbd | 85 | %{_mandir}/man8/* |