]> git.pld-linux.org Git - packages/ffingerd.git/blame - ffingerd.spec
- converted to UTF-8
[packages/ffingerd.git] / ffingerd.spec
CommitLineData
408c1d00 1Summary: Secure finger daemon
f1f22694 2Summary(pl.UTF-8): Bezpieczny serwer finger
e0ad21b7 3Name: ffingerd
34daa442 4Version: 1.28
7c6c6b9b 5Release: 9
c2492d6c 6License: GPL
e0ad21b7 7Group: Networking/Daemons
3f29dc8e 8Source0: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2
2a01b409 9# Source0-md5: 90e2ebbe8f299e12b4c5da401c0b71b1
856c4a8d 10Source1: %{name}.inetd
dbe8019e 11Patch0: %{name}-DESTDIR.patch
12Patch1: %{name}-gethostbyaddr_is_in_libc_aka_no_libnsl.patch
d31ad1a2 13Patch2: %{name}-SA_LEN.patch
10945eb2 14URL: http://www.fefe.de/ffingerd/
dbe8019e 15BuildRequires: autoconf
37e4ba5f 16BuildRequires: automake
33e0acd8 17BuildRequires: rpmbuild(macros) >= 1.268
856c4a8d 18Requires: inetdaemon
33e0acd8 19Requires: rc-inetd >= 0.8.1
e0ad21b7 20Provides: fingerd
48fe3445 21Obsoletes: bsd-fingerd
777d9018 22Obsoletes: cfingerd
648c0d72 23Obsoletes: efingerd
33e0acd8
ER
24Obsoletes: finger-server
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e0ad21b7 26
27%description
28The ffingerd program is a drop-in replacement for the standard fingerd
3f29dc8e 29daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd
30does not allow global finger queries (finger @host), indirect finger
31queries (finger foo@host.a@host.b), it does not give away valuable
32information like the shell, login directory and time of last login,
33and users can put a ".nofinger" file in their homes and then ffingerd
34will respond with "That user does not want to be fingered".
e0ad21b7 35
f1f22694 36%description -l pl.UTF-8
3f29dc8e 37Program ffingerd jest zamiennikiem dla standardowego demona fingerd.
f1f22694 38Jest uruchamiany przez inetd i pracuje jako użytkownik nobody.
3f29dc8e 39Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania
f1f22694
JR
40pośrednie (finger foo@host.a@host.b), nie wyświetla informacji o
41powłoce użytkownika, jego katalogu domowym i czasie ostatniego
42zalogowania. Umożliwia użytkownikom stworzenie w katalogu domowym
3f29dc8e 43pliku ".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
60rm -rf $RPM_BUILD_ROOT
37e4ba5f 61install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
e0ad21b7 62
2f82ade1
PG
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
e0ad21b7 65
c2492d6c 66install %{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
72if [ "$1" = 0 ]; then
73 %service -q rc-inetd reload
4e417538 74fi
330d93db 75
e0ad21b7 76%clean
77rm -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/*
This page took 0.070312 seconds and 4 git commands to generate.