1 |
# $Id: smeserver-arpwatch.spec,v 1.5 2015/09/07 19:39:41 stephdl Exp $ |
# $Id: smeserver-arpwatch.spec,v 1.1 2020/10/10 10:04:35 brianr Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
Summary: Arpwatch is a tool that monitors ethernet activity |
Summary: Arpwatch is a tool that monitors ethernet activity |
6 |
%define name smeserver-arpwatch |
%define name smeserver-arpwatch |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.2 |
%define version 0.3 |
9 |
%define release 3 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Monitoring |
Group: Monitoring |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-arpwatch-0.2.bz8429.change-user2arpwatch.patch |
#Patch0: smeserver-arpwatch-somepatch.patch |
|
#REM contribs9 Patch0: smeserver-arpwatch-0.2-not_supervised.patch |
|
16 |
|
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
30 |
user-level packet capture. |
user-level packet capture. |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme |
34 |
|
- based on work by Brain Read [SME: 11026] |
35 |
|
- Build for Koozali SME v10 |
36 |
|
- remove createlinks safetouch to fix conflict |
37 |
|
- remove /var/lib/arpwatch lines in genfilelist |
38 |
|
|
39 |
* Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-3.sme |
* Mon Sep 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-3.sme |
40 |
- changed the user pcap to arpwatch [SME: 8429] |
- changed the user pcap to arpwatch [SME: 8429] |
41 |
|
|
55 |
%prep |
%prep |
56 |
|
|
57 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
58 |
#REM contribs9 %patch0 -p1 |
#%patch0 -p1 |
|
%patch0 -p1 |
|
59 |
|
|
60 |
%build |
%build |
61 |
perl createlinks |
perl createlinks |
65 |
(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) |
66 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
67 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /var/lib/arpwatch 'attr(0750,arpwatch,arpwatch)' \ |
|
|
--file /var/lib/arpwatch/arp.dat 'attr(0750,arpwatch,arpwatch) %config(noreplace)' \ |
|
68 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
69 |
|
|
70 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |