]>
Commit | Line | Data |
---|---|---|
e14ceeee | 1 | Summary: Displays the users logged into machines on the local network |
16443996 ER |
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 | |
c95cd824 | 8 | Name: rusers |
bff403be | 9 | Version: 0.17 |
07beb611 | 10 | Release: 30 |
e14ceeee | 11 | License: BSD |
f84b3574 | 12 | Group: Networking |
bff403be | 13 | Source0: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz |
34271a7f | 14 | # Source0-md5: dc99a80b9fde2ab427c874f88f1c1602 |
e14ceeee | 15 | Source1: %{name}d.init |
c95cd824 JR |
16 | Source2: rstatd.init |
17 | Source3: rstatd.tar.gz | |
34271a7f | 18 | # Source3-md5: 75c1f4b3df318cf509593af1ee1d52e5 |
e14ceeee | 19 | Patch0: netkit-%{name}-numusers.patch |
7558bde2 | 20 | Patch1: rstatd-jbj.patch |
fe535b78 | 21 | Patch2: netkit-%{name}-droppriv-later.patch |
e0456508 | 22 | Patch3: netkit-%{name}-includes.patch |
496476e7 | 23 | BuildRequires: procps-devel >= 1:3.2.5-3 |
2d891d9b | 24 | BuildRequires: rpmbuild(macros) >= 1.268 |
b8dfc48f | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46bb0ac2 JR |
26 | |
27 | %description | |
e14ceeee | 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. | |
46bb0ac2 | 32 | |
215f6d36 | 33 | %description -l de.UTF-8 |
989e56fc | 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. | |
37 | ||
215f6d36 | 38 | %description -l fr.UTF-8 |
989e56fc | 39 | Le client et le serveur rusers, tous deux inclus dans ce package, |
40 | permettent aux utilisateurs de trouver quels utilisateurs sont | |
215f6d36 | 41 | connectés sur les différentes machines du réseau local. |
989e56fc | 42 | |
215f6d36 JR |
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 | |
b10e720b JB |
47 | maszyn z sieci lokalnej. |
48 | ||
215f6d36 JR |
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 | |
a9f25f81 | 53 | local. |
54 | ||
215f6d36 JR |
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ı | |
989e56fc | 58 | sorgulayabilir. |
59 | ||
f84b3574 | 60 | %package -n rusersd |
61 | Summary: Server for the rusers protocol | |
16443996 ER |
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 | |
f84b3574 | 65 | Group: Networking/Daemons |
abcae938 | 66 | Requires(post,preun): /sbin/chkconfig |
2d891d9b | 67 | Requires: rc-scripts |
f84b3574 | 68 | Obsoletes: rusers-server |
f84b3574 | 69 | |
70 | %description -n rusersd | |
b10e720b JB |
71 | The rusersd package contains the server for responding to rusers |
72 | requests. | |
73 | ||
215f6d36 | 74 | %description -n rusersd -l es.UTF-8 |
d6f8c5a1 | 75 | El servidor rusers incluido en este paquete, permiten ver cual de los |
215f6d36 | 76 | usuarios están "logados" en otras máquinas de la red. |
a9f25f81 | 77 | |
215f6d36 JR |
78 | %description -n rusersd -l pl.UTF-8 |
79 | Pakiet rusersd zawiera serwer odpowiadający na zapytania rusers. | |
f84b3574 | 80 | |
215f6d36 | 81 | %description -n rusersd -l pt_BR.UTF-8 |
d6f8c5a1 | 82 | Servidor para o protocolo rusers. |
a9f25f81 | 83 | |
f84b3574 | 84 | %package -n rup |
85 | Summary: rstatd client | |
16443996 | 86 | Summary(pl.UTF-8): Klient rstatd |
f84b3574 | 87 | Group: Networking |
f84b3574 | 88 | |
89 | %description -n rup | |
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. | |
95 | ||
215f6d36 JR |
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. | |
b10e720b | 101 | |
f84b3574 | 102 | %package -n rstatd |
103 | Summary: kernel statistics server | |
16443996 | 104 | Summary(pl.UTF-8): Serwer rstatd |
f84b3574 | 105 | Group: Networking/Daemons |
abcae938 | 106 | Requires(post,preun): /sbin/chkconfig |
2d891d9b | 107 | Requires: rc-scripts |
f84b3574 | 108 | |
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) | |
112 | command. | |
46bb0ac2 | 113 | |
215f6d36 JR |
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). | |
b10e720b | 117 | |
46bb0ac2 | 118 | %prep |
2d891d9b | 119 | %setup -q -n netkit-%{name}-%{version} -a3 |
46bb0ac2 JR |
120 | %patch0 -p1 |
121 | %patch1 -p1 | |
fe535b78 | 122 | %patch2 -p1 |
e0456508 | 123 | %patch3 -p1 |
46bb0ac2 JR |
124 | |
125 | %build | |
7558bde2 JR |
126 | ./configure |
127 | ||
eacc882f JB |
128 | %{__make} \ |
129 | CC="%{__cc}" \ | |
72ccc365 | 130 | CFLAGS="%{rpmcflags} -DGNU_LIBC -D_GNU_SOURCE -D_NO_UT_TIME" |
f84b3574 | 131 | |
eacc882f JB |
132 | %{__make} -C rpc.rstatd \ |
133 | CC="%{__cc}" \ | |
134 | CFLAGS="%{rpmcflags}" \ | |
62537b6f | 135 | LIBS="-lprocps" |
46bb0ac2 JR |
136 | |
137 | %install | |
138 | rm -rf $RPM_BUILD_ROOT | |
e14ceeee | 139 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,8}} \ |
140 | $RPM_BUILD_ROOT/etc/rc.d/init.d | |
46bb0ac2 | 141 | |
58f261bd | 142 | %{__make} install \ |
7558bde2 JR |
143 | INSTALLROOT=$RPM_BUILD_ROOT \ |
144 | MANDIR=%{_mandir} | |
145 | ||
58f261bd | 146 | %{__make} install install -C rpc.rstatd \ |
7558bde2 JR |
147 | INSTALLROOT=$RPM_BUILD_ROOT \ |
148 | MANDIR=%{_mandir} | |
46bb0ac2 | 149 | |
c95cd824 JR |
150 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rusersd |
151 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rstatd | |
152 | ||
7558bde2 JR |
153 | rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{rstatd,rusersd}.8 |
154 | ||
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 | |
157 | ||
46bb0ac2 JR |
158 | %clean |
159 | rm -rf $RPM_BUILD_ROOT | |
160 | ||
f84b3574 | 161 | %post -n rusersd |
c72e4d55 | 162 | /sbin/chkconfig --add rusersd |
2d891d9b | 163 | %service rusersd restart "rusersd server" |
cd1b8041 | 164 | |
7758eeb0 | 165 | %preun -n rusersd |
c72e4d55 | 166 | if [ "$1" = "0" ]; then |
2d891d9b | 167 | %service rusersd stop |
c72e4d55 | 168 | /sbin/chkconfig --del rusersd |
169 | fi | |
f84b3574 | 170 | |
171 | %post -n rstatd | |
c72e4d55 | 172 | /sbin/chkconfig --add rstatd |
2d891d9b | 173 | %service rstatd restart "rstatd server" |
cd1b8041 | 174 | |
7758eeb0 | 175 | %preun -n rstatd |
c72e4d55 | 176 | if [ "$1" = "0" ]; then |
2d891d9b | 177 | %service rstatd stop |
c72e4d55 | 178 | /sbin/chkconfig --del rstatd |
179 | fi | |
46bb0ac2 JR |
180 | |
181 | %files | |
c95cd824 | 182 | %defattr(644,root,root,755) |
c95cd824 | 183 | %attr(755,root,root) %{_bindir}/rusers |
f84b3574 | 184 | %{_mandir}/man1/rusers.1* |
185 | ||
186 | %files -n rusersd | |
187 | %defattr(644,root,root,755) | |
188 | %attr(754,root,root) %config /etc/rc.d/init.d/rusersd | |
c95cd824 | 189 | %attr(755,root,root) %{_sbindir}/rpc.rusersd |
f84b3574 | 190 | %{_mandir}/man8/rpc.rusersd.8* |
191 | %{_mandir}/man8/rusersd.8* | |
192 | ||
193 | %files -n rup | |
194 | %defattr(644,root,root,755) | |
195 | %attr(755,root,root) %{_bindir}/rup | |
c95cd824 | 196 | %{_mandir}/man1/rup.1* |
f84b3574 | 197 | |
198 | %files -n rstatd | |
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 | |
c95cd824 | 202 | %{_mandir}/man8/rpc.rstatd.8* |
7558bde2 | 203 | %{_mandir}/man8/rstatd.8* |