1 |
# $Id: oidentd.spec 7981 2009-11-03 03:05:34Z dag $ |
2 |
# Authority: matthias |
3 |
# Upstream: Ryan McCabe <ryan$numb,org> |
4 |
|
5 |
Summary: Implementation of the RFC1413 identification server |
6 |
Name: oidentd |
7 |
Version: 2.0.8 |
8 |
Release: 1%{?dist} |
9 |
License: GPL |
10 |
Group: System Environment/Daemons |
11 |
URL: http://ojnk.sourceforge.net/ |
12 |
Packager: Dag Wieers <dag@wieers.com> |
13 |
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
14 |
|
15 |
Source0: http://dl.sf.net/ojnk/oidentd-%{version}.tar.gz |
16 |
Source1: identd.init |
17 |
Source2: identd.spoof |
18 |
Source3: oidentd.users |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
20 |
Requires(post): /sbin/chkconfig |
21 |
Requires(preun): /sbin/service, /sbin/chkconfig |
22 |
Requires(postun): /sbin/service |
23 |
BuildRequires: byacc |
24 |
Provides: identd = %{version} |
25 |
Conflicts: pidentd |
26 |
|
27 |
%description |
28 |
The oidentd package contains identd, which implements the RFC1413 |
29 |
identification server. Identd looks up specific TCP/IP connections |
30 |
and returns either the user name or other information about the |
31 |
process that owns the connection. |
32 |
|
33 |
Install oidentd if you need to look up information about specific |
34 |
TCP/IP connections. |
35 |
|
36 |
|
37 |
%prep |
38 |
%setup |
39 |
|
40 |
|
41 |
%build |
42 |
%configure |
43 |
%{__make} %{?_smp_mflags} |
44 |
|
45 |
|
46 |
%install |
47 |
%{__rm} -rf %{buildroot} |
48 |
%makeinstall |
49 |
%{__install} -Dp -m 755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/identd |
50 |
%{__install} -Dp -m 640 %{SOURCE2} %{buildroot}%{_sysconfdir}/identd.spoof |
51 |
%{__install} -Dp -m 640 %{SOURCE3} %{buildroot}%{_sysconfdir}/oidentd.users |
52 |
|
53 |
|
54 |
%clean |
55 |
%{__rm} -rf %{buildroot} |
56 |
|
57 |
|
58 |
%post |
59 |
/sbin/chkconfig --add identd |
60 |
|
61 |
%preun |
62 |
if [ $1 -eq 0 ]; then |
63 |
/sbin/service identd stop >/dev/null 2>&1 |
64 |
/sbin/chkconfig --del identd |
65 |
fi |
66 |
|
67 |
%postun |
68 |
if [ $1 -ge 1 ]; then |
69 |
/sbin/service identd condrestart >/dev/null 2>&1 |
70 |
fi |
71 |
|
72 |
|
73 |
%files |
74 |
%defattr(-, root, root, 0755) |
75 |
%doc AUTHORS ChangeLog* COPYING* doc/rfc1413 NEWS README TODO |
76 |
%attr(0640, root, nobody) %config(noreplace) %{_sysconfdir}/identd.spoof |
77 |
%attr(0640, root, nobody) %config(noreplace) %{_sysconfdir}/oidentd.users |
78 |
%config /etc/rc.d/init.d/identd |
79 |
%{_sbindir}/oidentd |
80 |
%{_mandir}/man?/* |
81 |
|
82 |
|
83 |
%changelog |
84 |
* Mon Apr 16 2007 Dries Verachtert <dries@ulyssis.org> - 2.0.8-1 - 7981/dag |
85 |
- Updated to release 2.0.8. |
86 |
|
87 |
* Wed Nov 3 2004 Matthias Saou <http://freshrpms.net/> 2.0.7-4 |
88 |
- Rebuild for Fedora Core 3. |
89 |
- Change /etc/init.d to /etc/rc.d/init.d and minor other spec tweaks. |
90 |
|
91 |
* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 2.0.7-3 |
92 |
- Rebuild for Fedora Core 2. |
93 |
|
94 |
* Fri Nov 7 2003 Matthias Saou <http://freshrpms.net/> 2.0.7-2 |
95 |
- Rebuild for Fedora Core 1. |
96 |
|
97 |
* Tue Jul 15 2003 Matthias Saou <http://freshrpms.net/> |
98 |
- Update to 2.0.7. |
99 |
|
100 |
* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/> |
101 |
- Rebuilt for Red Hat Linux 9. |
102 |
|
103 |
* Sun Sep 29 2002 Matthias Saou <http://freshrpms.net/> |
104 |
- Rebuilt for Red Hat Linux 8.0. |
105 |
|
106 |
* Thu Aug 22 2002 Matthias Saou <http://freshrpms.net/> |
107 |
- Fixed the init script's status, thanks to Jørn for spotting this. |
108 |
|
109 |
* Wed Aug 21 2002 Matthias Saou <http://freshrpms.net/> |
110 |
- Update to 2.0.4. |
111 |
|
112 |
* Fri May 3 2002 Matthias Saou <http://freshrpms.net/> |
113 |
- Rebuilt against Red Hat Linux 7.3. |
114 |
- Added the %%{?_smp_mflags} expansion. |
115 |
|
116 |
* Tue Jan 8 2002 Matthias Saou <http://freshrpms.net/> |
117 |
- Update to 2.0.3. |
118 |
- Fix user in %files for "-". |
119 |
|
120 |
* Sun Dec 30 2001 Matthias Saou <http://freshrpms.net/> |
121 |
- Update to 2.0.2. |
122 |
|
123 |
* Thu Oct 4 2001 Matthias Saou <http://freshrpms.net/> |
124 |
- Update to 2.0.1. |
125 |
|
126 |
* Mon Oct 1 2001 Matthias Saou <http://freshrpms.net/> |
127 |
- Update to 2.0.0. |
128 |
|
129 |
* Sat Sep 15 2001 Matthias Saou <http://freshrpms.net/> |
130 |
- Update to 1.9.9.1. |
131 |
|
132 |
* Mon Aug 27 2001 Matthias Saou <http://freshrpms.net/> |
133 |
- Update to 1.9.9 (complete program rewrite). |
134 |
- Added new docs and manpages. |
135 |
|
136 |
* Tue Apr 24 2001 Matthias Saou <http://freshrpms.net/> |
137 |
- Spec file cleanup and rebuilt for Red Hat 7.1. |
138 |
|
139 |
* Tue Jan 2 2001 Matthias Saou <http://freshrpms.net/> |
140 |
- Added a Conflicts: for pidentd |
141 |
- Quick cleanup |
142 |
- Fixed o-r modes |
143 |
- Changed the uid/gid in the initscript |
144 |
|
145 |
* Wed Dec 27 2000 Matthias Saou <http://freshrpms.net/> |
146 |
- Initial RPM release |
147 |
|