Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37043060
en ru br
ALT Linux repos
S:1.3-alt3
5.0: 1.3-alt1.0
4.1: 1.3-alt1.0
4.0: 1.3-alt1.0
3.0: 0.17-ipl4mdk

Group :: Networking/Other
RPM: finger

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: finger
Version: 1.3
Release: alt3

Summary: Show user information (client)
License: BSD
Group: Networking/Other
Url: https://build.opensuse.org/package/show/openSUSE:Factory/finger

Source: finger-bsd-%version.tar
Source1: %name.xinetd

# These patches were taken from the:

# https://build.opensuse.org/package/show/openSUSE:Factory/finger
Patch1: finger-memory-leak.patch
Patch2: finger-utf8_segfault.patch
Patch3: finger-no-common.patch

%package server
Summary: A Server for Showing User Information
Group: System/Servers

%description
Finger is a utility that allows users to see information about system
users (login name, home directory, name, and more), on local and remote
systems. The %name package includes a standard finger client.

%description server
Finger is a utility that allows users to see information about system
users (login name, home directory, name, and more), on local and remote
systems. The %name-server package includes a standard finger server.
The server daemon (%{name}d) usually runs from %_sysconfdir/xinetd.d/%name.

You should install %name-server if your system is used by multiple users
and you'd like finger information to be available.

%prep
%setup -q -n finger-bsd-%version
%patch1 -p1
%patch2 -p0
%patch3 -p1

%build
export CFLAGS=-fno-common
%configure
%make_build

%install
install -D -m640 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/xinetd.d/%name
%makeinstall

%find_lang finger-bsd

%files -f finger-bsd.lang
%attr(711,root,root) %_bindir/*
%_man1dir/*

%files server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%attr(711,root,root) %_sbindir/*
%_man8dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin