# $Id: oidentd.spec 7981 2009-11-03 03:05:34Z dag $ # Authority: matthias # Upstream: Ryan McCabe Summary: Implementation of the RFC1413 identification server Name: oidentd %define version 2.0.8 %define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: System Environment/Daemons URL: http://ojnk.sourceforge.net/ Packager: Dag Wieers Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Source0: http://dl.sf.net/ojnk/oidentd-%{version}.tar.gz Source1: identd.init Source2: identd.spoof Source3: oidentd.users Patch0: oidentd-2.0.8-linux-2.6.21.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires(post): /sbin/chkconfig Requires(preun): /sbin/service, /sbin/chkconfig Requires(postun): /sbin/service BuildRequires: byacc BuildRequires: bison, flex Provides: identd = %{version} Conflicts: pidentd %description The oidentd 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. Install oidentd if you need to look up information about specific TCP/IP connections. %prep %setup %patch0 -p1 %build %configure \ --enable-masq \ --enable-ipv6 \ --disable-debug \ --disable-warn \ CFLAGS="${RPM_OPT_FLAGS} -std=gnu89" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %{__install} -Dp -m 755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/identd %{__install} -Dp -m 640 %{SOURCE2} %{buildroot}%{_sysconfdir}/identd.spoof %{__install} -Dp -m 640 %{SOURCE3} %{buildroot}%{_sysconfdir}/oidentd.users %clean %{__rm} -rf %{buildroot} %post /sbin/chkconfig --add identd %preun if [ $1 -eq 0 ]; then /sbin/service identd stop >/dev/null 2>&1 /sbin/chkconfig --del identd fi %postun if [ $1 -ge 1 ]; then /sbin/service identd condrestart >/dev/null 2>&1 fi %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog* COPYING* doc/rfc1413 NEWS README TODO %attr(0640, root, nobody) %config(noreplace) %{_sysconfdir}/identd.spoof %attr(0640, root, nobody) %config(noreplace) %{_sysconfdir}/oidentd.users %config /etc/rc.d/init.d/identd %{_sbindir}/oidentd %{_mandir}/man?/* %changelog * Fri Jul 14 2023 BogusDateBot - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct and changing the weekday. * Tue Mar 29 2016 Jean-Philipe Pialasse 2.0.8-4.sme - fix missing masquerade [SME: 9404] - fedora patch https://bugzilla.redhat.com/show_bug.cgi?id=1305491 * Fri Mar 18 2016 Jean-Philipe Pialasse 2.08-2.sme - Import for SME 10 [SME: 9340] * Mon Apr 16 2007 Dries Verachtert - 2.0.8-1 - 7981/dag - Updated to release 2.0.8. * Wed Nov 3 2004 Matthias Saou 2.0.7-4 - Rebuild for Fedora Core 3. - Change /etc/init.d to /etc/rc.d/init.d and minor other spec tweaks. * Wed May 19 2004 Matthias Saou 2.0.7-3 - Rebuild for Fedora Core 2. * Fri Nov 7 2003 Matthias Saou 2.0.7-2 - Rebuild for Fedora Core 1. * Tue Jul 15 2003 Matthias Saou - Update to 2.0.7. * Mon Mar 31 2003 Matthias Saou - Rebuilt for Red Hat Linux 9. * Sun Sep 29 2002 Matthias Saou - Rebuilt for Red Hat Linux 8.0. * Thu Aug 22 2002 Matthias Saou - Fixed the init script's status, thanks to Jørn for spotting this. * Wed Aug 21 2002 Matthias Saou - Update to 2.0.4. * Fri May 3 2002 Matthias Saou - Rebuilt against Red Hat Linux 7.3. - Added the %%{?_smp_mflags} expansion. * Tue Jan 8 2002 Matthias Saou - Update to 2.0.3. - Fix user in %files for "-". * Sun Dec 30 2001 Matthias Saou - Update to 2.0.2. * Thu Oct 4 2001 Matthias Saou - Update to 2.0.1. * Mon Oct 1 2001 Matthias Saou - Update to 2.0.0. * Sat Sep 15 2001 Matthias Saou - Update to 1.9.9.1. * Mon Aug 27 2001 Matthias Saou - Update to 1.9.9 (complete program rewrite). - Added new docs and manpages. * Tue Apr 24 2001 Matthias Saou - Spec file cleanup and rebuilt for Red Hat 7.1. * Tue Jan 2 2001 Matthias Saou - Added a Conflicts: for pidentd - Quick cleanup - Fixed o-r modes - Changed the uid/gid in the initscript * Wed Dec 27 2000 Matthias Saou - Initial RPM release