File oidentd.spec of Package oidentd

# spec file for package oidentd (Version 2.0.8)
# 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:           oidentd
Version:        2.0.8
Release:        123
License:        GPLv2+
Group:          Productivity/Networking/System
AutoReqProv:    on
Summary:        Configurable IDENT Server That Supports NAT/IP Masquerading
Source1:        sysconfig.oidentd
Source2:        rc.oidentd
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %insserv_prereq %fillup_prereq

Oidentd is an ident (rfc1413 compliant) daemon that runs on Linux,
Darwin, FreeBSD, OpenBSD, NetBSD, and Solaris.	oidentd can handle IP
masqueraded/NAT connections on Linux, Darwin, FreeBSD (ipf only),
OpenBSD, and  NetBSD.  Oidentd has a flexible mechanism for specifying
ident responses.  Users can be granted permission to specify their own
ident responses.  Responses can be specified according to host and port

    Kamil Andrusz <wizz at mniam dot net>
    Daniel Brafford <pod at charter dot net>
    Bjarni R. Einarsson <bre at mmedia dot is>
    Slawomir Piotrowski <slawek at telsatgp dot com dot pl>
    Guus Sliepen <sliepen at phys dot uu dot nl>
    Ryan McCabe <ryan at numb dot org>


%{?suse_update_config:%{suse_update_config -f}}
autoreconf --install --force
./configure \
	--prefix=%{_prefix} \
	--mandir=%{_mandir} \
%{__make} all

[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
mkdir -p \
	${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d \
touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/oidentd.conf
touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/oidentd_masq.conf
install -p -m 0755 ${RPM_SOURCE_DIR}/rc.oidentd ${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d/oidentd
ln -fs %{_sysconfdir}/init.d/oidentd ${RPM_BUILD_ROOT}/%{_sbindir}/rcoidentd
cp -p ${RPM_SOURCE_DIR}/sysconfig.oidentd ${RPM_BUILD_ROOT}/%{_var}/adm/fillup-templates

[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}



%config(noreplace) %ghost %{_sysconfdir}/oidentd.conf
%config(noreplace) %ghost %{_sysconfdir}/oidentd_masq.conf
%config %{_sysconfdir}/init.d/oidentd

openSUSE Build Service is sponsored by