]> git.pld-linux.org Git - packages/cpm.git/blame - cpm.spec
- tabs in preamble
[packages/cpm.git] / cpm.spec
CommitLineData
502e2a96 1Summary: cpm - check for network interfaces in promiscuous mode
ae04770a 2Summary(pl.UTF-8): cpm - szukanie interfejsów sieciowych w trybie promiscuous
502e2a96 3Name: cpm
4Version: 1.2
c28f4431 5Release: 2
502e2a96 6License: custom (free)
7Group: Networking/Admin
8Source0: ftp://coast.cs.purdue.edu/pub/tools/unix/sysutils/%{name}/%{name}.%{version}.tar.gz
26ec8492 9# Source0-md5: e689ca1c663e4c643887245f41f13a84
502e2a96 10Patch0: %{name}-include.patch
502e2a96 11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Cpm checks whether any network interface on a host is in promiscuous
e025d2fa 15mode. Cpm uses standard BSD Unix socket(2) and ioctl(2) system calls to
502e2a96 16determine a system's configured network interfaces, and to check whether
17any of the network interfaces are currently in promiscuous mode.
18
6ba2f924
JR
19%description -l pl.UTF-8
20Cpm sprawdza, czy jakiś interfejs sieciowy jest w trybie promiscuous.
21Używa standardowych wywołań systemowych socket(2) i ioctl(2) do
22wyszukania skonfigurowanych w systemie interfejsów sieciowych oraz do
23sprawdzenia, czy któreś z nich jest aktualnie w trybie promiscuous.
502e2a96 24
25%prep
26%setup -q -n %{name}.%{version}
27%patch0 -p0
28
29%build
30%{__cc} cpm.c -o cpm %{rpmcflags}
31
32%install
33rm -rf $RPM_BUILD_ROOT
59b03226 34install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
502e2a96 35
e025d2fa 36install cpm $RPM_BUILD_ROOT%{_bindir}
37install cpm.1 $RPM_BUILD_ROOT%{_mandir}/man1
502e2a96 38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc README
45%attr(755,root,root) %{_bindir}/*
46%{_mandir}/man1/*
This page took 0.152228 seconds and 4 git commands to generate.