File pidentd.spec of Package pidentd

# spec file for package pidentd (Version 3.1a25)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           pidentd
# spec file for package pidentd (Version 3.1a25)
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via
Group:          Productivity/Networking/System
PreReq:         %insserv_prereq %fillup_prereq
Provides:       nkitb:/usr/sbin/in.identd
AutoReqProv:    on
Version:        3.1a25
Release:        327
Summary:        An Implementation of the RFC1413 Identification Server
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-SuSE.tar.bz2
Source2:        %{name}.xinetd
Patch0:         %{name}-%{version}-config.diff
Patch1:         %{name}-%{version}-allocfix.diff
Patch2:         %{name}-%{version}-buffer-overflow.diff
Patch3:         %{name}-%{version}-fmt.diff
Patch4:         %{name}-%{version}-prototypes.diff
Patch5:         %{name}-%{version}-autoconf.diff
Patch6:         %{name}-%{version}-warnings-fix.diff
Patch7:         %{name}-%{version}-send.diff
Patch8:         %{name}-%{version}-ipv6.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       inet-daemon

This package contains identd, which implements a RFC1413 identification
server.  Identd looks up specific TCP/IP connections and returns the
user name and other information about the connection.

    Peter Eriksson <>

%define prefix   /usr

%setup -q -a 1

%{suse_update_config -f aux/ plib/aux/}
aclocal --force
autoconf --force
(cd plib
    libtoolize --force
    aclocal --force
    autoconf --force
	./configure \
	--prefix=%{prefix} \
	--sysconfdir=%{_sysconfdir} \
	--mandir=%{_mandir} \
	--infodir=%{_infodir} \

install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d
install -m 0644 etc/identd.conf $RPM_BUILD_ROOT/etc/identd.conf
mv $RPM_BUILD_ROOT%{_sbindir}/identd $RPM_BUILD_ROOT%{_sbindir}/in.identd
echo ".so man8/identd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/in.identd.8
install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/xinetd.d/pidentd


%{fillup_and_insserv -n identd identd}

%stop_on_removal identd

%restart_on_update identd

%config(noreplace) /etc/xinetd.d/pidentd
%config /etc/init.d/identd
%config /etc/identd.conf
%doc ChangeLog* FAQ README TODO Y2K doc/
%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by