1 | Summary: Displays the users logged into machines on the local network. |
---|
2 | Summary(ja): ローカルネットワーク上のマシンにログインしたユーザを表示する |
---|
3 | Name: rusers |
---|
4 | Version: 0.17 |
---|
5 | Release: 81%{?_dist_release} |
---|
6 | |
---|
7 | License: BSD |
---|
8 | Group: Applications/System |
---|
9 | URL: http://rstatd.sourceforge.net/ |
---|
10 | |
---|
11 | Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-rusers-%{version}.tar.gz |
---|
12 | Source1: rusersd.init |
---|
13 | Source2: rstatd.tar.gz |
---|
14 | Source3: rstatd.init |
---|
15 | Patch0: rstatd-jbj.patch |
---|
16 | Patch1: netkit-rusers-0.15-numusers.patch |
---|
17 | Patch2: netkit-rusers-0.17-2.4.patch |
---|
18 | Patch3: netkit-rusers-0.17-includes.patch |
---|
19 | Patch4: netkit-rusers-0.17-truncate.patch |
---|
20 | Patch5: netkit-rusers-0.17-stats.patch |
---|
21 | Patch6: netkit-rusers-0.17-rstatd-no-static-buffer.patch |
---|
22 | Patch7: netkit-rusers-0.17-strip.patch |
---|
23 | Patch8: netkit-rusers-0.17-rup.patch |
---|
24 | Patch9: netkit-rusers-0.17-rup-timeout.patch |
---|
25 | Patch10: netkit-rusers-0.17-procps.patch |
---|
26 | Patch11: netkit-rusers-0.17-rup-stack.patch |
---|
27 | Patch12: netkit-rusers-0.17-bigendian.patch |
---|
28 | Patch13: netkit-rusers-0.17-return.patch |
---|
29 | Patch14: netkit-rusers-0.17-procdiskstats.patch |
---|
30 | Patch15: netkit-rusers-0.17-rusersd-droppriv.patch |
---|
31 | # Oracle explicitly gave permission for this relicensing on August 18, 2010. |
---|
32 | Patch16: netkit-rusers-0.17-new-rpc-license.patch |
---|
33 | Patch17: rusers-0.17-manhelp.patch |
---|
34 | Patch18: rusers-0.17-freerpc.patch |
---|
35 | |
---|
36 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
37 | BuildRequires: procps |
---|
38 | |
---|
39 | %description |
---|
40 | The rusers program allows users to find out who is logged into various |
---|
41 | machines on the local network. The rusers command produces output |
---|
42 | similar to who, but for the specified list of hosts or for all |
---|
43 | machines on the local network. |
---|
44 | |
---|
45 | Install rusers if you need to keep track of who is logged into your |
---|
46 | local network. |
---|
47 | |
---|
48 | %description -l ja |
---|
49 | rusers プログラムを使うとローカルネットワーク上の様々なマシンに |
---|
50 | 誰がログインしているかを調べることが出来ます.rusers コマンドは |
---|
51 | who に似た出力をしますが,引数で指定したホストあるいはローカル |
---|
52 | ネットワーク上の全ホストの情報を出力するところが異なります. |
---|
53 | |
---|
54 | ローカルネットワークで誰がログインしているかを調べるには |
---|
55 | rusers パッケージをインストールして下さい. |
---|
56 | |
---|
57 | |
---|
58 | %package server |
---|
59 | Summary: Server for the rusers protocol. |
---|
60 | Summary(ja): rusers プロトコルのサーバ |
---|
61 | Group: System Environment/Daemons |
---|
62 | Requires: initscripts |
---|
63 | Requires(pre): /sbin/chkconfig |
---|
64 | Requires: portmap |
---|
65 | |
---|
66 | |
---|
67 | %description server |
---|
68 | The rusers program allows users to find out who is logged into various |
---|
69 | machines on the local network. The rusers command produces output |
---|
70 | similar to who, but for the specified list of hosts or for all |
---|
71 | machines on the local network. The rusers-server package contains the |
---|
72 | server for responding to rusers requests. |
---|
73 | |
---|
74 | Install rusers-server if you want remote users to be able to see |
---|
75 | who is logged into your machine. |
---|
76 | |
---|
77 | %description server -l ja |
---|
78 | rusers プログラムを使うとローカルネットワーク上の様々なマシンに |
---|
79 | 誰がログインしているかを調べることが出来ます.rusers コマンドは |
---|
80 | who に似た出力をしますが,引数で指定したホストあるいはローカル |
---|
81 | ネットワーク上の全ホストの情報を出力するところが異なります. |
---|
82 | この rusers-server パッケージには rusers のリクエストに答える |
---|
83 | サーバが含まれています. |
---|
84 | |
---|
85 | 遠隔ユーザがあなたのマシンに誰がログインしているかを調べることが |
---|
86 | 出来る様にするには,rusers-server パッケージをインストールして下さい. |
---|
87 | |
---|
88 | |
---|
89 | %prep |
---|
90 | %setup -q -n netkit-rusers-%{version} -a 2 |
---|
91 | %patch0 -p1 -b .jbj |
---|
92 | %patch1 -p1 -b .numusers |
---|
93 | %patch2 -p1 -b .2.4 |
---|
94 | %patch3 -p1 -b .includes |
---|
95 | %patch4 -p1 -b .truncate |
---|
96 | %patch5 -p1 -b .stats |
---|
97 | %patch6 -p1 -b .rstatd-no-static-buffer |
---|
98 | %patch7 -p1 -b .strip |
---|
99 | %patch8 -p1 -b .rup |
---|
100 | %patch9 -p1 -b .rup-timeout |
---|
101 | %patch10 -p1 -b .procps |
---|
102 | %patch11 -p1 -b .rup-stack |
---|
103 | %patch12 -p1 -b .bigendian |
---|
104 | %patch13 -p1 -b .return |
---|
105 | %patch14 -p1 -b .procdiskstats |
---|
106 | %patch15 -p1 -b .dropprivs |
---|
107 | %patch16 -p1 -b .licensefix |
---|
108 | %patch17 -p1 -b .manhelp |
---|
109 | %patch18 -p1 -b .freerpc |
---|
110 | |
---|
111 | %build |
---|
112 | cat > MCONFIG <<EOF |
---|
113 | # Generated by configure (confgen version 2) on Wed Jul 17 09:33:22 EDT 2002 |
---|
114 | # |
---|
115 | |
---|
116 | BINDIR=%{_bindir} |
---|
117 | SBINDIR=%{_sbindir} |
---|
118 | MANDIR=%{_mandir} |
---|
119 | BINMODE=755 |
---|
120 | DAEMONMODE=755 |
---|
121 | MANMODE=644 |
---|
122 | PREFIX=/usr |
---|
123 | EXECPREFIX=/usr |
---|
124 | INSTALLROOT= |
---|
125 | CC=cc |
---|
126 | CFLAGS=${RPM_OPT_FLAGS} -fPIC -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline |
---|
127 | LDFLAGS=-pie -Wl,-z,relro,-z,now |
---|
128 | #LIBS=-lsystemd |
---|
129 | USE_GLIBC=1 |
---|
130 | |
---|
131 | EOF |
---|
132 | |
---|
133 | make |
---|
134 | make -C rpc.rstatd |
---|
135 | |
---|
136 | %install |
---|
137 | rm -rf $RPM_BUILD_ROOT |
---|
138 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
139 | mkdir -p $RPM_BUILD_ROOT%{_sbindir} |
---|
140 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,8} |
---|
141 | mkdir -p $RPM_BUILD_ROOT%{_initdir} |
---|
142 | |
---|
143 | make INSTALLROOT=$RPM_BUILD_ROOT install |
---|
144 | make INSTALLROOT=$RPM_BUILD_ROOT install -C rpc.rstatd |
---|
145 | |
---|
146 | install -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_initdir}/rusersd |
---|
147 | install -m 755 %{SOURCE3} ${RPM_BUILD_ROOT}%{_initdir}/rstatd |
---|
148 | |
---|
149 | |
---|
150 | %clean |
---|
151 | rm -rf ${RPM_BUILD_ROOT} |
---|
152 | |
---|
153 | |
---|
154 | %post server |
---|
155 | /sbin/chkconfig --add rusersd |
---|
156 | /sbin/chkconfig --add rstatd |
---|
157 | |
---|
158 | |
---|
159 | %preun server |
---|
160 | if [ $1 = 0 ]; then |
---|
161 | /sbin/chkconfig --del rusersd |
---|
162 | /sbin/chkconfig --del rstatd |
---|
163 | fi |
---|
164 | |
---|
165 | |
---|
166 | %files |
---|
167 | %defattr(-,root,root) |
---|
168 | %doc README |
---|
169 | %{_bindir}/rup |
---|
170 | %{_bindir}/rusers |
---|
171 | %{_mandir}/man1/* |
---|
172 | |
---|
173 | %files server |
---|
174 | %defattr(-,root,root) |
---|
175 | %{_mandir}/man8/* |
---|
176 | %{_sbindir}/rpc.rstatd |
---|
177 | %{_sbindir}/rpc.rusersd |
---|
178 | %config %{_initdir}/rusersd |
---|
179 | %config %{_initdir}/rstatd |
---|
180 | |
---|
181 | |
---|
182 | %changelog |
---|
183 | * Sun Jan 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.17-81 |
---|
184 | - added Patch17 and 18 from Fedora 0.17-80 |
---|
185 | * Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> - 0.17-77 |
---|
186 | - Free already alocated memory when parsing of RPC request failed |
---|
187 | * Mon May 20 2013 Honza Horak <hhorak@redhat.com> - 0.17-75 |
---|
188 | - Fix man page vs. help differences |
---|
189 | - moved to Applications/System |
---|
190 | |
---|
191 | * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-48 |
---|
192 | - rebuilt with current VineSeed |
---|
193 | - added Patch 14, 15 and 16 from FC |
---|
194 | * Thu Aug 26 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-60 |
---|
195 | - replace SunRPC license with BSD (thanks to Oracle) |
---|
196 | * Sat Sep 15 2007 Steve Dickson <steved@redaht.com> 0.17-51 |
---|
197 | - Removed portmap dependency and re-worked when the user |
---|
198 | privilege are drop; allowing port registration with |
---|
199 | rpcbind. (#247985) |
---|
200 | * Wed Aug 09 2006 Phil Knirsch <pknirsch@redhat.com> 0.17-47 |
---|
201 | - Modified the RHEL3 procpartitions patch to work on recent 2.6 |
---|
202 | kernels (#201839) |
---|
203 | |
---|
204 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-47vl5 |
---|
205 | - applied new versioning policy, spec in utf-8 |
---|
206 | |
---|
207 | * Sun Jun 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-46vl1 |
---|
208 | - added Patch 10, 11, 12 and 13 from Fedora 0.17-46 |
---|
209 | * Tue Mar 21 2006 Phil Knirsch <pknirsch@redhat.com> - 0.17-46 |
---|
210 | - Included fix for correct return values for rup (#177419) |
---|
211 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.17-45.2.1 |
---|
212 | - bump again for double-long bug on ppc(64) |
---|
213 | * Wed Sep 07 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-45 |
---|
214 | - Fixed 64bit bigendian problem in rpc.rstatd (#130286) |
---|
215 | * Wed May 04 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-44 |
---|
216 | - Fixed rup stack problem (#154396) |
---|
217 | * Mon Jul 12 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-40 |
---|
218 | - Made patch to make rpc.rstatd independant of procps (#127512) |
---|
219 | - changed Group to Applications/Internet |
---|
220 | |
---|
221 | * Mon Jul 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-30vl1 |
---|
222 | - based on Redhat Rawhide 0.17-30 |
---|
223 | - rebuild with new toolchains |
---|
224 | - to use License instead of Copyright |
---|
225 | |
---|
226 | * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
227 | - 0.17-6vl1 |
---|
228 | - based on 0.17-6 from Rawhide |
---|
229 | - use better macros (%%{_initdir}) |
---|
230 | - added Japanese summary and description |
---|
231 | |
---|
232 | * Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> |
---|
233 | - condrestart fixes |
---|
234 | |
---|
235 | * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com> |
---|
236 | - move initscript back |
---|
237 | |
---|
238 | * Sun Jul 16 2000 Matt Wilson <msw@redhat.com> |
---|
239 | - rebuilt against new procps |
---|
240 | |
---|
241 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
242 | - automatic rebuild |
---|
243 | |
---|
244 | * Mon Jul 10 2000 Preston Brown <pbrown@redhat.com> |
---|
245 | - move initscripts |
---|
246 | |
---|
247 | * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com> |
---|
248 | - FHS packaging. |
---|
249 | - update to 0.17. |
---|
250 | |
---|
251 | * Wed Feb 9 2000 Jeff Johnson <jbj@redhat.com> |
---|
252 | - compress man pages (again). |
---|
253 | |
---|
254 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
255 | - fix description and summary |
---|
256 | - man pages are compressed |
---|
257 | |
---|
258 | * Tue Jan 4 2000 Bill Nottingham <notting@redhat.com> |
---|
259 | - split client and server |
---|
260 | |
---|
261 | * Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com> |
---|
262 | - update to 0.16. |
---|
263 | |
---|
264 | * Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> |
---|
265 | - rebuild against new procps |
---|
266 | |
---|
267 | * Wed Sep 22 1999 Jeff Johnson <jbj@redhat.com> |
---|
268 | - rusers init script started rstatd. |
---|
269 | |
---|
270 | * Mon Sep 20 1999 Jeff Johnson <jbj@redhat.com> |
---|
271 | - (re-)initialize number of users (#5244). |
---|
272 | |
---|
273 | * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com> |
---|
274 | - initscripts check for portmapper running before starting (#2615) |
---|
275 | |
---|
276 | * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> |
---|
277 | - return monitoring statistics like solaris does (#4237). |
---|
278 | |
---|
279 | * Thu Aug 26 1999 Jeff Johnson <jbj@redhat.com> |
---|
280 | - update to netkit-0.15. |
---|
281 | - on startup, rpc.rstatd needs to read information twice (#3994). |
---|
282 | |
---|
283 | * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> |
---|
284 | - initscript munging |
---|
285 | |
---|
286 | * Tue Apr 6 1999 Jeff Johnson <jbj@redhat.com> |
---|
287 | - add rpc.rstatd (#2000) |
---|
288 | |
---|
289 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
290 | - auto rebuild in the new build environment (release 22) |
---|
291 | |
---|
292 | * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
293 | - compile for 6.0. |
---|
294 | |
---|
295 | * Tue May 05 1998 Cristian Gafton <gafton@redhat.com> |
---|
296 | - added /etc/rc.d/init.d/functions to the init script |
---|
297 | |
---|
298 | * Tue May 05 1998 Prospector System <bugs@redhat.com> |
---|
299 | - translations modified for de, fr, tr |
---|
300 | |
---|
301 | * Sat May 02 1998 Cristian Gafton <gafton@redhat.com> |
---|
302 | - enhanced initscript |
---|
303 | |
---|
304 | * Tue Oct 21 1997 Erik Troan <ewt@redhat.com> |
---|
305 | - added init script |
---|
306 | - users %attr |
---|
307 | - supports chkconfig |
---|
308 | |
---|
309 | * Tue Jul 15 1997 Erik Troan <ewt@redhat.com> |
---|
310 | - initial build |
---|