1 |
# $Id: smeserver-arpwatch.spec,v 1.2 2020/10/12 10:02:16 jcrisp Exp $ |
# $Id: smeserver-arpwatch.spec,v 1.3 2020/10/12 10:14:09 jcrisp 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.3 |
%define version 0.3 |
9 |
%define release 1 |
%define release 2 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
30 |
user-level packet capture. |
user-level packet capture. |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Wed Nov 04 2020 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme |
34 |
|
- Add in systemd startup for arpwatch to spec file [SME: 11026] |
35 |
|
|
36 |
* Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme |
* Mon Oct 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-1.sme |
37 |
- based on work by Brian Read [SME: 11026] |
- based on work by Brian Read [SME: 11026] |
38 |
- Build for Koozali SME v10 |
- Build for Koozali SME v10 |
78 |
%pre |
%pre |
79 |
|
|
80 |
%post |
%post |
81 |
|
systemctl enable arpwatch |
82 |
|
systemctl start arpwatch |
83 |
|
|
84 |
%preun |
%preun |
85 |
if [ $1 -eq 0 ] ; then |
if [ $1 -eq 0 ] ; then |