diff options
author | PaweĹ GoĹaszewski | 2002-07-04 07:56:14 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 7ba17eb60da34a6a036fad8b4fe1b7baeb1b146a (patch) | |
tree | bb4e9a00193a24d9fd4acc62211a0cf2371e901e | |
download | cdpr-7ba17eb60da34a6a036fad8b4fe1b7baeb1b146a.zip cdpr-7ba17eb60da34a6a036fad8b4fe1b7baeb1b146a.tar.gz |
- initial release.
Works fine -> STBR
Changed files:
cdpr.spec -> 1.1
-rw-r--r-- | cdpr.spec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cdpr.spec b/cdpr.spec new file mode 100644 index 0000000..74b23cb --- /dev/null +++ b/cdpr.spec @@ -0,0 +1,45 @@ +Summary: Cisco Discovery Protocol Reporter +Summary(pl): Cisco Discovery Protocol Reporter +Name: cdpr +Version: 1.0.2 +Release: 1 +License: GPL v2 +Group: Applications/System +Source0: http://www.monkeymental.com/mmfiles/%{name}-%{version}.tgz +URL: http://www.monkeymental.com/nuke/ +BuildRequires: libpcap-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +cdpr (Cisco Discovery Protocol Reporter) shows the switch and port +that a machine is connected to, provided that the device supports CDP. +It can also optionally decode the full CDP packet. cdpr was written to +help network/system administrators find out about the equipment that a +machine is connected to. This is done by capturing and decoding a +Cisco Discovery Protocol (CDP) packet. + +%description -l pl +cdpr (Cisco Discovery Protocol Reporter) pokazuje stan switcha i +portu, do którego maszyna jest podłączona, jeżeli obsługuje ona CDP. +Może także dekodować cały pakiet CDP. cdpr został napisany aby pomóc +administratorom systemu/sieci dowiedzieć się do jakiego sprzętu są +podłączone maszyny. Jest to robione poprzez przechwytywanie i +dekodowanie pakietów Cisco Discovery Protocol (CDP). + +%prep +%setup -q + +%build +%{__cc} %{rpmcflags} %{rpmldflags} -o cdpr cdpr.c -Wall -lpcap + +%install +rm -rf $RPM_BUILD_ROOT +install -D cdpr $RPM_BUILD_ROOT%{_sbindir}/cdpr + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(754,root,root) %{_sbindir}/cdpr |