1 Summary: Cisco Discovery Protocol Reporter
2 Summary(pl): Cisco Discovery Protocol Reporter
7 Group: Applications/System
8 Source0: http://www.monkeymental.com/mmfiles/%{name}-%{version}.tgz
9 URL: http://www.monkeymental.com/nuke/
10 BuildRequires: libpcap-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 cdpr (Cisco Discovery Protocol Reporter) shows the switch and port
15 that a machine is connected to, provided that the device supports CDP.
16 It can also optionally decode the full CDP packet. cdpr was written to
17 help network/system administrators find out about the equipment that a
18 machine is connected to. This is done by capturing and decoding a
19 Cisco Discovery Protocol (CDP) packet.
22 cdpr (Cisco Discovery Protocol Reporter) pokazuje stan switcha i
23 portu, do którego maszyna jest pod³±czona, je¿eli obs³uguje ona CDP.
24 Mo¿e tak¿e dekodowaæ ca³y pakiet CDP. cdpr zosta³ napisany aby pomóc
25 administratorom systemu/sieci dowiedzieæ siê do jakiego sprzêtu s±
26 pod³±czone maszyny. Jest to robione poprzez przechwytywanie i
27 dekodowanie pakietów Cisco Discovery Protocol (CDP).
33 %{__cc} %{rpmcflags} %{rpmldflags} -o cdpr cdpr.c -Wall -lpcap
36 rm -rf $RPM_BUILD_ROOT
37 install -D cdpr $RPM_BUILD_ROOT%{_sbindir}/cdpr
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %attr(754,root,root) %{_sbindir}/cdpr