From 48fe34459bb824d1d529b8ef96fb7dc72ad5e97d Mon Sep 17 00:00:00 2001 From: kloczek Date: Tue, 11 Jan 2000 15:10:27 +0000 Subject: [PATCH] - release 3, - adapter(ized), - added bsd-fingerd, finger-server, cfingeerd to Obsoletes. Changed files: ffingerd.spec -> 1.17 --- ffingerd.spec | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/ffingerd.spec b/ffingerd.spec index fcee556..3931a61 100644 --- a/ffingerd.spec +++ b/ffingerd.spec @@ -2,35 +2,38 @@ Summary: Secure finger daemon Summary(pl): Bezpieczny serwer finger Name: ffingerd Version: 1.25 -Release: 3 +Release: 4 Group: Networking/Daemons Group(pl): Sieciowe/Serwery -Copyright: GPL +License: GPL Source: ftp://ftp.fu-berlin.de/pub/unix/security/ffingerd/%{name}-%{version}.tar.bz2 Source1: %{name}.inetd Patch0: ffingerd-DESTDIR.patch Patch1: http://www.misiek.eu.org/ipv6/ffingerd-1.25.ipv6.patch.gz Requires: inetdaemon -Prereq: rc-inetd +Prereq: rc-inetd >= 0.8.1 Provides: fingerd BuildRoot: /tmp/%{name}-%{version}-root +Obsoletes: bsd-fingerd +Obsoletes: finger-server +Obsoletes: cfingeerd %description The ffingerd program is a drop-in replacement for the standard fingerd -daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd does -not allow global finger queries (finger @host), indirect finger queries -(finger foo@host.a@host.b), it does not give away valuable information like -the shell, login directory and time of last login, and users can put -a ".nofinger" file in their homes and then ffingerd will respond with -"That user does not want to be fingered". +daemon. Ffingerd is invoked by inetd and it runs as nobody. Ffingerd does +not allow global finger queries (finger @host), indirect finger queries +(finger foo@host.a@host.b), it does not give away valuable information like + the shell, login directory and time of last login, and users can put a +".nofinger" file in their homes and then ffingerd will respond with "That +user does not want to be fingered". %description -l pl -Program ffingerd jest zamiennikiem dla standardowego demona fingerd. -Jest uruchamiany przez inetd i pracuje jako u¿ytkownik nobody. -Ffingerd nie pozwala na zapytania globalne (finger @host), zapytania -po¶rednie (finger foo@host.a@host.b), nie wy¶wietla informacji o pow³oce -u¿ytkownika, jego katalogu domowym i czasie ostatniego zalogowania. -Umo¿liwia u¿ytkownikom stworzenie w katalogu domowym pliku ".nofinger". +Program ffingerd jest zamiennikiem dla standardowego demona fingerd. Jest +uruchamiany przez inetd i pracuje jako u¿ytkownik nobody. Ffingerd nie +pozwala na zapytania globalne (finger @host), zapytania po¶rednie (finger +foo@host.a@host.b), nie wy¶wietla informacji o pow³oce u¿ytkownika, jego +katalogu domowym i czasie ostatniego zalogowania. Umo¿liwia u¿ytkownikom +stworzenie w katalogu domowym pliku ".nofinger". %prep %setup -q @@ -54,16 +57,16 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ffingerd gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \ README NEWS TODO -%post +%post if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd restart 1>&2 + /etc/rc.d/init.d/rc-inetd reload 1>&2 else echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2 fi %postun if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd restart + /etc/rc.d/init.d/rc-inetd reload fi %clean -- 2.44.0