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