1 Summary: Displays the users logged into machines on the local network
2 Summary(de.UTF-8): Anzeige von Login-Infos für entfernte Computer
3 Summary(es.UTF-8): El cliente rusers
4 Summary(fr.UTF-8): Affiche des informations de login pour les machines distantes
5 Summary(pl.UTF-8): Wyświetla listę użytkowników zalogowanych na komputerach w sieci lokalnej
6 Summary(pt_BR.UTF-8): Mostra a informação de login para máquinas remotas
7 Summary(tr.UTF-8): Ağ üzerindeki makinalardaki kullanıcıları sorgular
13 Source0: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
14 # Source0-md5: dc99a80b9fde2ab427c874f88f1c1602
15 Source1: %{name}d.init
17 Source3: rstatd.tar.gz
18 # Source3-md5: 75c1f4b3df318cf509593af1ee1d52e5
19 Patch0: netkit-%{name}-numusers.patch
20 Patch1: rstatd-jbj.patch
21 Patch2: netkit-%{name}-droppriv-later.patch
22 Patch3: netkit-%{name}-includes.patch
23 BuildRequires: procps-devel >= 1:3.2.5-3
24 BuildRequires: rpmbuild(macros) >= 1.268
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The rusers program allows users to find out who is logged into various
29 machines on the local network. The rusers command produces output
30 similar to who, but for the specified list of hosts or for all
31 machines on the local network.
33 %description -l de.UTF-8
34 Mit Hilfe des rusers-Server und Client (beide Teil dieses Pakets) kann
35 man herausfinden, welche Benutzer an welchen Rechnern im lokalen
36 Netwerk angemeldet sind.
38 %description -l fr.UTF-8
39 Le client et le serveur rusers, tous deux inclus dans ce package,
40 permettent aux utilisateurs de trouver quels utilisateurs sont
41 connectés sur les différentes machines du réseau local.
43 %description -l pl.UTF-8
44 Program rusers pozwala użytkownikom sprawdzić kto jest zalogowany na
45 różnych maszynach w sieci lokalnej. Wynik komendy rusers jest podobne
46 do komendy who, ale dla określonej listy komputerów lub wszystkich
47 maszyn z sieci lokalnej.
49 %description -l pt_BR.UTF-8
50 O programa rusers permite descobrir quem está em várias máquinas na
51 rede. O comando rusers fornece uma saída similar a do comando who para
52 a lista de máquinas especificada ou para todas as máquinas da rede
55 %description -l tr.UTF-8
56 Bu pakette yer alan rusers sunucusu ve istemcisi ile bir kullanıcı ağ
57 üzerinde bu hizmeti sunan diğer makinalardaki kullanıcıları
61 Summary: Server for the rusers protocol
62 Summary(es.UTF-8): El servidor rusers
63 Summary(pl.UTF-8): Serwer protokołu rusers
64 Summary(pt_BR.UTF-8): Servidor para o protocolo rusers
65 Group: Networking/Daemons
66 Requires(post,preun): /sbin/chkconfig
68 Obsoletes: rusers-server
70 %description -n rusersd
71 The rusersd package contains the server for responding to rusers
74 %description -n rusersd -l es.UTF-8
75 El servidor rusers incluido en este paquete, permiten ver cual de los
76 usuarios están "logados" en otras máquinas de la red.
78 %description -n rusersd -l pl.UTF-8
79 Pakiet rusersd zawiera serwer odpowiadający na zapytania rusers.
81 %description -n rusersd -l pt_BR.UTF-8
82 Servidor para o protocolo rusers.
85 Summary: rstatd client
86 Summary(pl.UTF-8): Klient rstatd
90 rup displays a summary of the current system status of a particular
91 host or all hosts on the local network. The output shows the current
92 time of day, how long the system has been up, and the load averages.
93 The load average numbers give the number of jobs in the run queue
94 averaged over 1, 5 and 15 minutes.
96 %description -n rup -l pl.UTF-8
97 rup wyświetla podsumowanie aktualnego stanu systemu dla określonego
98 komputera lub wszystkich z sieci lokalnej. Wyjście zawiera aktualny
99 czas, jak długo system jest włączony i obciążenie. Obciążenie podawane
100 jest jako ilość procesów w kolejce średnio w 1, 5 i 15 minut.
103 Summary: kernel statistics server
104 Summary(pl.UTF-8): Serwer rstatd
105 Group: Networking/Daemons
106 Requires(post,preun): /sbin/chkconfig
109 %description -n rstatd
110 rpc.rstatd is a server which returns performance statistics obtained
111 from the kernel. These statistics are usually read using the rup(1)
114 %description -n rstatd -l pl.UTF-8
115 rpc.rstatd to serwer podający statystyki wydajności pobrane od jądra.
116 Statystyki te zwykle są czytane komendą rup(1).
119 %setup -q -n netkit-%{name}-%{version} -a3
130 CFLAGS="%{rpmcflags} -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME"
132 %{__make} -C rpc.rstatd \
134 CFLAGS="%{rpmcflags}" \
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}} \
140 $RPM_BUILD_ROOT/etc/rc.d/init.d
143 INSTALLROOT=$RPM_BUILD_ROOT \
146 %{__make} install install -C rpc.rstatd \
147 INSTALLROOT=$RPM_BUILD_ROOT \
150 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rusersd
151 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rstatd
153 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{rstatd,rusersd}.8
155 echo ".so rpc.rstatd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rstatd.8
156 echo ".so rpc.rusersd.8" > $RPM_BUILD_ROOT%{_mandir}/man8/rusersd.8
159 rm -rf $RPM_BUILD_ROOT
162 /sbin/chkconfig --add rusersd
163 %service rusersd restart "rusersd server"
166 if [ "$1" = "0" ]; then
167 %service rusersd stop
168 /sbin/chkconfig --del rusersd
172 /sbin/chkconfig --add rstatd
173 %service rstatd restart "rstatd server"
176 if [ "$1" = "0" ]; then
178 /sbin/chkconfig --del rstatd
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/rusers
184 %{_mandir}/man1/rusers.1*
187 %defattr(644,root,root,755)
188 %attr(754,root,root) %config /etc/rc.d/init.d/rusersd
189 %attr(755,root,root) %{_sbindir}/rpc.rusersd
190 %{_mandir}/man8/rpc.rusersd.8*
191 %{_mandir}/man8/rusersd.8*
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_bindir}/rup
196 %{_mandir}/man1/rup.1*
199 %defattr(644,root,root,755)
200 %attr(754,root,root) %config /etc/rc.d/init.d/rstatd
201 %attr(755,root,root) %{_sbindir}/rpc.rstatd
202 %{_mandir}/man8/rpc.rstatd.8*
203 %{_mandir}/man8/rstatd.8*