]> git.pld-linux.org Git - packages/cdpr.git/blob - cdpr.spec
- release 2 (ac)
[packages/cdpr.git] / cdpr.spec
1 Summary:        Cisco Discovery Protocol Reporter
2 Summary(pl):    Cisco Discovery Protocol Reporter
3 Name:           cdpr
4 Version:        2.0.0
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://www.monkeymental.com/mmfiles/%{name}-%{version}.tar.gz
9 # Source0-md5:  22d9bca09fb8188aa2b97640f0120343
10 URL:            http://www.monkeymental.com/nuke/
11 BuildRequires:  libpcap-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 cdpr (Cisco Discovery Protocol Reporter) shows the switch and port
16 that a machine is connected to, provided that the device supports CDP.
17 It can also optionally decode the full CDP packet. cdpr was written to
18 help network/system administrators find out about the equipment that a
19 machine is connected to. This is done by capturing and decoding a
20 Cisco Discovery Protocol (CDP) packet.
21
22 %description -l pl
23 cdpr (Cisco Discovery Protocol Reporter) pokazuje stan switcha i
24 portu, do którego maszyna jest pod³±czona, je¿eli obs³uguje ona CDP.
25 Mo¿e tak¿e dekodowaæ ca³y pakiet CDP. cdpr zosta³ napisany aby pomóc
26 administratorom systemu/sieci dowiedzieæ siê do jakiego sprzêtu s±
27 pod³±czone maszyny. Jest to robione poprzez przechwytywanie i
28 dekodowanie pakietów Cisco Discovery Protocol (CDP).
29
30 %prep
31 %setup -q
32
33 %build
34 %{__cc} %{rpmcflags} %{rpmldflags} -o cdpr cdpr.c cdprs.c conffile.c -Wall -lpcap
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -D cdpr $RPM_BUILD_ROOT%{_sbindir}/cdpr
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %attr(754,root,root) %{_sbindir}/cdpr
This page took 0.10621 seconds and 4 git commands to generate.