Summary: Implementation of the RFC1413 identification server Name: oidentd Version: 2.0.8 Release: 9%{?dist} # A few files taken from other projects are GPLv2+, but the core of oidentd # is definitely GPLv2 only. License: GPLv2 Group: System Environment/Daemons URL: http://ojnk.sourceforge.net/ Source0: http://dl.sf.net/ojnk/oidentd-%{version}.tar.gz Source1: oidentd.init Source2: oidentd.sysconfig 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: bison, flex Provides: identd = %{version}-%{release} %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 -q %patch0 -p1 -b .masq %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} %{__install} -D -p -m 0755 %{SOURCE1} \ %{buildroot}/etc/rc.d/init.d/oidentd %{__install} -D -p -m 0640 %{SOURCE2} \ %{buildroot}%{_sysconfdir}/sysconfig/oidentd touch %{buildroot}%{_sysconfdir}/oidentd{,_masq}.conf %clean %{__rm} -rf %{buildroot} %post /sbin/chkconfig --add oidentd %preun if [ $1 -eq 0 ]; then /sbin/service oidentd stop &>/dev/null /sbin/chkconfig --del oidentd fi %postun if [ $1 -ge 1 ]; then # The most common case /sbin/service oidentd condrestart &>/dev/null # The special case, since we renamed the service from "identd" to "oidentd" # between 2.0.7 and 2.0.8 packages - this is a "name change" condrestart if [ -f /var/lock/subsys/identd ]; then /sbin/service identd stop &>/dev/null /sbin/service oidentd start &>/dev/null fi fi %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog* COPYING* NEWS README TODO doc/rfc1413 %ghost %config(noreplace) %{_sysconfdir}/oidentd.conf %ghost %config(noreplace) %{_sysconfdir}/oidentd_masq.conf %config(noreplace) %{_sysconfdir}/sysconfig/oidentd /etc/rc.d/init.d/oidentd %{_sbindir}/oidentd %{_mandir}/man?/* %changelog * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Apr 11 2009 Matthias Saou <http://freshrpms.net/> 2.0.8-7 - Update init script (#247006). - Mark the ghosted config files as noreplace just in case. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - Autorebuild for GCC 4.3 * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 2.0.8-4 - Rebuild for new BuildID feature. * Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 2.0.8-3 - Include masquerade patch fix for 2.6.21+ (#247868, Vilius Šumskas). - Update License field. - Switch to using DESTDIR install method. * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 2.0.8-2 - FC6 rebuild. * Thu Jun 29 2006 Matthias Saou <http://freshrpms.net/> 2.0.8-1 - Update to 2.0.8 which fixes bugzilla #173754. - Don't flag init script as %%config. - Rename init script "identd" -> "oidentd", remove pidentd conflict and add update scriplet special case when upgrading from the "identd" service. - Move options into a sysconfig file. * Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 2.0.7-9 - FC5 rebuild. * Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 2.0.7-8 - Remove obsolete identd.spoof and oidentd.users files (thanks to Apu). - Ghost new configuration files (oidentd.conf & oidentd_masq.conf), but including some sane defaults would be even better. - Cosmetic changes to the init file, and now default to disabled. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.0.7-7 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - rebuilt * Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 2.0.7-5 - Bump release to provide Extras upgrade path. * Wed Nov 3 2004 Matthias Saou <http://freshrpms.net/> 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 <http://freshrpms.net/> 2.0.7-3 - Rebuild for Fedora Core 2. * Fri Nov 7 2003 Matthias Saou <http://freshrpms.net/> 2.0.7-2 - Rebuild for Fedora Core 1. * Tue Jul 15 2003 Matthias Saou <http://freshrpms.net/> - Update to 2.0.7. * Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/> - Rebuilt for Red Hat Linux 9. * Sun Sep 29 2002 Matthias Saou <http://freshrpms.net/> - Rebuilt for Red Hat Linux 8.0. * Thu Aug 22 2002 Matthias Saou <http://freshrpms.net/> - Fixed the init script's status, thanks to Jørn for spotting this. * Wed Aug 21 2002 Matthias Saou <http://freshrpms.net/> - Update to 2.0.4. * Fri May 3 2002 Matthias Saou <http://freshrpms.net/> - Rebuilt against Red Hat Linux 7.3. - Added the %%{?_smp_mflags} expansion. * Tue Jan 8 2002 Matthias Saou <http://freshrpms.net/> - Update to 2.0.3. - Fix user in %%files for "-". * Sun Dec 30 2001 Matthias Saou <http://freshrpms.net/> - Update to 2.0.2. * Thu Oct 4 2001 Matthias Saou <http://freshrpms.net/> - Update to 2.0.1. * Mon Oct 1 2001 Matthias Saou <http://freshrpms.net/> - Update to 2.0.0. * Sat Sep 15 2001 Matthias Saou <http://freshrpms.net/> - Update to 1.9.9.1. * Mon Aug 27 2001 Matthias Saou <http://freshrpms.net/> - Update to 1.9.9 (complete program rewrite). - Added new docs and manpages. * Tue Apr 24 2001 Matthias Saou <http://freshrpms.net/> - Spec file cleanup and rebuilt for Red Hat 7.1. * Tue Jan 2 2001 Matthias Saou <http://freshrpms.net/> - Added a Conflicts: for pidentd - Quick cleanup - Fixed o-r modes - Changed the uid/gid in the initscript * Wed Dec 27 2000 Matthias Saou <http://freshrpms.net/> - Initial RPM release