1 |
# $Id: smeserver-arpwatch.spec,v 1.1 2013/02/06 20:50:25 unnilennium Exp $ |
# $Id: smeserver-arpwatch.spec,v 1.3 2014/06/17 18:46:23 unnilennium Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-arpwatch |
%define name smeserver-arpwatch |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.2 |
%define version 0.2 |
9 |
%define release 1 |
%define release 2 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
31 |
user-level packet capture. |
user-level packet capture. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-2.sme |
35 |
|
- changed the user pcap to arpwatch [SME: 8429] |
36 |
|
|
37 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 0.2-1.sme |
38 |
- initial import to SME9 contribs |
- initial import to SME9 contribs |
39 |
|
|
60 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
61 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
62 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
63 |
--dir /var/lib/arpwatch 'attr(0750,pcap,pcap)' \ |
--dir /var/lib/arpwatch 'attr(0750,arpwatch,arpwatch)' \ |
64 |
--file /var/lib/arpwatch/arp.dat 'attr(0750,pcap,pcap) %config(noreplace)' \ |
--file /var/lib/arpwatch/arp.dat 'attr(0750,arpwatch,arpwatch) %config(noreplace)' \ |
65 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
66 |
|
|
67 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
69 |
|
|
70 |
%clean |
%clean |
71 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
72 |
|
%pre |
73 |
|
|
74 |
%post |
%post |
75 |
|
|