Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042819
en ru br
ALT Linux repos
S:3.0.19-alt1.qa1
5.0: 3.0.19-alt1
4.1: 3.0.19-alt1
4.0: 3.0.19-alt1
3.0: 3.0.16-alt1.2
+updates:3.0.19-alt1

Group :: System/Servers
RPM: pidentd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pidentd
Version: 3.0.19
Release: alt1

Summary: An implementation of the RFC1413 identification server.
Copyright: Public domain/GPL
Group: System/Servers
Source: ftp://ftp.lysator.liu.se/pub/unix/ident/servers/%name-%version.tar.gz
Source1: identd.conf
Source2: pidentd.xinetd
Source3: identd.init

Patch1: pidentd-3.0.19-dummy.patch
Patch2: pidentd-3.0.11-nossl.patch
Patch3: pidentd-3.0.14-droproot.patch

Requires: xinetd
PreReq: shadow-utils chkconfig

%description
The %name package contains identd, which implements the RFC1413
identification server. Identd looks up specific TCP/IP connections
and returns either the user name or other information about the
process that owns the connection.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
autoconf
%configure --with-threads=yes
%make_build

%install
mkdir -p $RPM_BUILD_ROOT{%_sbindir,%_mandir/man8}
%makeinstall

ln -s identd $RPM_BUILD_ROOT%_sbindir/in.identd
ln -s identd.8 $RPM_BUILD_ROOT%_mandir/man8/in.identd.8

install -p -m640 -D %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/identd.conf
install -p -m640 -D %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/xinetd.d/auth
install -p -m755 -D %SOURCE3 $RPM_BUILD_ROOT%_initdir/identd

%pre                                                                                                  
/usr/sbin/useradd -r -g proc -d /dev/null -s /dev/null -n %name &>/dev/null ||:

%post
%post_service identd

%preun
%preun_service identd


%files
%config(noreplace) %_sysconfdir/identd.conf
%config(noreplace) %_sysconfdir/xinetd.d/*
%config %_initdir/identd
%_sbindir/*
%_mandir/man?/*
%doc *BUGS ChangeLog FAQ INSTALL README Y2K doc/*.txt

%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