]> git.pld-linux.org Git - packages/cdpr.git/commitdiff
- initial release.
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 4 Jul 2002 07:56:14 +0000 (07:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Works fine -> STBR

Changed files:
    cdpr.spec -> 1.1

cdpr.spec [new file with mode: 0644]

diff --git a/cdpr.spec b/cdpr.spec
new file mode 100644 (file)
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
This page took 0.081272 seconds and 4 git commands to generate.